function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function flipversion(){ //v3.0

            var theString;

            theString = "" + window.location + "";

            theString = theString.replace('/fr/', '/en/');

            window.location=theString;

}
function flipversionen(){ //v3.0

            var theString;

            theString = "" + window.location + "";

            theString = theString.replace('/en/', '/fr/');

            window.location=theString;

}

//changement de langue section expertise fr-en
//appel dans include/menu-strategique.asp
function changeLg(xFile){ //v3.0

            var theString;

            theString = "" + window.location + "";
			
			switch (xFile){
				case 1 : //droit bancaire
					theString = theString.replace('/fr/droit-bancaire/', '/en/banking-finance/');
				break;
				case 2 :
					theString = theString.replace('/fr/transfert-entreprises/', '/en/business-transfers/');
				break;
				
				case 3 :
					theString = theString.replace('/fr/sciences-vie/', '/en/life-sciences/');

				case 4 :
					theString = theString.replace('/fr/affaires-technologies/', '/en/business-technology/');
					
				case 5 :
					theString = theString.replace('/fr/protection-patrimoine/', '/en/wealth-protection/');
				
				case 6 :
					theString = theString.replace('/fr/valeurs-mobilieres/', '/en/securities/');
					
				case 7 :
					theString = theString.replace('/fr/immigration-affaires/', '/en/business-immigration/');
				case 8 :
					theString = theString.replace('/fr/droit-immobilier/', '/en/real-estate-law/');
					
				case 9 :
					theString = theString.replace('/fr/resolution-conflits/', '/en/dispute-resolution/');
					
				case 10 :
					theString = theString.replace('/fr/gouvernance-entreprise/', '/en/corporate-governance/');
				
				case 11 :
				theString = theString.replace('/fr/propriete-intellectuelle/', '/en/intellectual-property/');
				
				case 12 :
				theString = theString.replace('/fr/restructuration-insolvabilite/', '/en/restructuring-insolvency/');
				
				case 13 :
				theString = theString.replace('/fr/fusions-acquisitions/', '/en/mergers-acquisitions/');
				
				case 14 :
				theString = theString.replace('/fr/droit-travail-emploi/', '/en/labour-employment-law/');
				
				default :
				}

            window.location=theString;

}

//changement de langue section expertise en-fr
//appel dans include/menu-strategique.asp
function changeLgEn(xFile){ //v3.0

            var theString;

            theString = "" + window.location + "";
			
			switch (xFile){
				case 1 : //droit bancaire
					theString = theString.replace('/en/banking-finance/', '/fr/droit-bancaire/');
				break;
				case 2 :
					theString = theString.replace('/en/business-transfers/', '/fr/transfert-entreprises/');
				break;
				
				case 3 :
					theString = theString.replace('/en/life-sciences/', '/fr/sciences-vie/');

				case 4 :
					theString = theString.replace('/en/business-technology/', '/fr/affaires-technologies/');
					
				case 5 :
					theString = theString.replace('/en/wealth-protection/', '/fr/protection-patrimoine/');
				
				case 6 :
					theString = theString.replace('/en/securities/', '/fr/valeurs-mobilieres/');
				
				case 7 :
					theString = theString.replace('/en/business-immigration/', '/fr/immigration-affaires/');
				case 8 :
					theString = theString.replace('/en/real-estate-law/', '/fr/droit-immobilier/');
				
				case 9 :
					theString = theString.replace('/en/dispute-resolution/', '/fr/resolution-conflits/');
				
				case 10 :
					theString = theString.replace('/en/corporate-governance/', '/fr/gouvernance-entreprise/');
				
				case 11 :
					theString = theString.replace('/en/intellectual-property/', '/fr/propriete-intellectuelle/');
					
				case 12 :
				theString = theString.replace('/en/restructuring-insolvency/', '/fr/restructuration-insolvabilite/');
				
				case 13 :
				theString = theString.replace('/en/mergers-acquisitions/', '/fr/fusions-acquisitions/');
				
				case 14 :
				theString = theString.replace('/en/labour-employment-law/', '/fr/droit-travail-emploi/');
				
				default :
				}

            window.location=theString;

}