
if(window.event + "" == "undefined") event = null;
var javascriptcharge=true;

HM_PG_MenuWidth = 172;
HM_PG_FontFamily = "Arial,sans-serif";
HM_PG_FontSize = 9;
HM_PG_FontBold = 0;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "#0F238C";
HM_PG_FontColorOver = "#0F238C";
HM_PG_BGColor = "#99B2DD";
HM_PG_BGColorOver = "#A7BBDF";
HM_PG_ItemPadding = 3;

HM_PG_BorderWidth = 0;
HM_PG_BorderColor = "#85B0B0";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 0;
HM_PG_SeparatorColor = "#99CCCC";

HM_PG_ImageSrc = "/static/img/arrow_right_blue.gif";
HM_PG_ImageSrcLeft = "/static/img/arrow_left_blue.gif";
HM_PG_ImageSrcOver = "/static/img/arrow_right_blue.gif";
HM_PG_ImageSrcLeftOver = "/static/img/arrow_left_blue.gif";
HM_PG_ImageSize = 12;
HM_PG_ImageHorizSpace = 0;
HM_PG_ImageVertSpace = 0;

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 0;
HM_PG_ChildOffset = 0;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .5;
HM_PG_StatusDisplayBuild =0;
HM_PG_StatusDisplayLink = 0;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = false;

HM_PG_CreateTopOnly = 1;
HM_PG_ShowLinkCursor = 1;
HM_PG_NSFontOver = true;



BL_imgA=0;
BL_imgB=0;
BL_imgC=0;
BL_imgD=0;
BL_imgH=0;

browserVer = parseInt(navigator.appVersion);
if (browserVer >= 2) version = "OK";
else version = "";
if (version == "OK")
{
	imgA0 = new Image();
	imgA0.src = "/images/menu_equipement_off.gif";
	imgB0 = new Image();
	imgB0.src = "/images/menu_turnkey_off.gif";
	imgC0 = new Image();
	imgC0.src = "/images/menu_service_off.gif";
	imgD0 = new Image();
	imgD0.src = "/images/menu_markets_off.gif";
	imgE0 = new Image();
	imgE0.src = "/images/menu_contact_off.gif";
	imgF0 = new Image();
	imgF0.src = "/images/menu_map_off.gif";
	imgG0 = new Image();
	imgG0.src = "/images/menu_search_off.gif";
	imgH0 = new Image();
	imgH0.src = "/images/menu_home_off.gif";

	imgA1 = new Image();
	imgA1.src = "/images/menu_equipement_on.gif";
	imgB1 = new Image();
	imgB1.src = "/images/menu_turnkey_on.gif";
	imgC1 = new Image();
	imgC1.src = "/images/menu_service_on.gif";
	imgD1 = new Image();
	imgD1.src = "/images/menu_markets_on.gif";
	imgE1 = new Image();
	imgE1.src = "/images/menu_contact_on.gif";
	imgF1 = new Image();
	imgF1.src = "/images/menu_map_on.gif";
	imgG1 = new Image();
	imgG1.src = "/images/menu_search_on.gif";
	imgH1 = new Image();
	imgH1.src = "/images/menu_home_on.gif";
}
function placeimg0(name)
{
	if (version == "OK") {
		eval("BL_"+name+"=0");
		document[name].src = eval(name + "0.src");
		}
		
}
function placeimg1(name)
{
	if (version == "OK") {
		eval("BL_"+name+"=1");
		document[name].src = eval(name + "1.src");
		}
}

function placeimgclear()
{
	if (version == "OK")
		{
		if (BL_imgA==0) {placeimg0('imgA');}
		if (BL_imgB==0) {placeimg0('imgB');}
		if (BL_imgC==0) {placeimg0('imgC');}
		if (BL_imgD==0) {placeimg0('imgD');}
		
		if (BL_imgH==0) {placeimg0('imgH');}
		}
}



function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}


// javascript select

var entree=0;
NS6 = (navigator.vendor == ("Netscape6") || navigator.product == ("Gecko"));
NS4 = (document.layers) ? true : false;
NS = NS6 || NS4;


function voidjy(){}

function valeurChoix(sel)
{
if (sel.options[sel.selectedIndex].value.indexOf("javascript:")!=-1) {eval(sel.options[sel.selectedIndex].value)
} else {
	if (NS) {
		window.location= (sel.options[sel.selectedIndex].value);
	} else {
		if (entree==2){
			window.location= (sel.options[sel.selectedIndex].value);
			} else {
			entree=2;
			}
		}
	}
}

function valeurChoixW(sel,args)
{
 if (NS) {
 		if(sel.options[sel.selectedIndex].value!=-1){
			newwin = window.open(sel.options[sel.selectedIndex].value+args,"ALSTOM","width=620,height=500,scrollbars=0,resizable=1,toolbar=0,top=0 ,left=0,screenX=0,screenY=0").focus();
		}
	} else {
	if (entree==2){
		if(sel.options[sel.selectedIndex].value!=-1){
  			newwin = window.open(sel.options[sel.selectedIndex].value+args,"ALSTOM","width=620,height=500,scrollbars=0,resizable=1,toolbar=0,top=0 ,left=0,screenX=0,screenY=0").focus();
  		}
  } else {
  entree=2;
  }
 }
}


function MM_openBrWindow(theURL,winName,features) { 
   newwin = window.open(theURL,winName,features).focus();
}




function openLegal(url,nom,large,haut)
{
	var MinWin, winOpts="width="+large+",height="+haut+",scrollbars=no,alwaysRaised=yes,top=0,left=0";
	MinWin = window.open(url, nom, winOpts); 
	if (navigator.appVersion.indexOf("(X11") != -1 || navigator.appVersion.indexOf("(Mac") != -1)
	   MinWin = window.open(url, nom, winOpts);
	if (navigator.appName == "Netscape" && (parseInt(navigator.appVersion) >=3 ))
	   MinWin.focus()
}

f1=null;
function lex(n)
{
if ((f1!=null)&&(!f1.closed)){f1.frames["mainFrame"].scrollTo(0,0);f1.frames["mainFrame"].location.href="/htmlstatic/lexique/popup_middle_lexique.htm#"+n;} 
f1=window.open('/htmlstatic/lexique/popup_lexique.htm#'+n,'Lexique','width=450,height=400,innerWidth=450,scrollbars=1,resizable=1,toolbar=0,top=0 ,left=0,screenX=0,screenY=0');
f1.focus();
void(0);
}


 
function chgCol(lemenu,n){
if(document.all){
   //ie
if (n==1){
   eval("document.all."+lemenu+".style.backgroundColor=HM_PG_BGColorOver;");
   eval("document.all."+lemenu+".style.cursor ='hand';");
   } else {
	 eval("document.all."+lemenu+".style.backgroundColor='#FFFFFF';");
     eval("document.all."+lemenu+".style.cursor ='default';");
		}
   }  
}  

function RollMenu(idmenu,nombreitemmenu){

for (i=1;i<=nombreitemmenu;i++){
		idm=idmenu.substr(0,1)+i.toString();
		if (idm==idmenu){chgCol(idm,1)}else{chgCol(idm,0)}
		}
}

function MM_setTextOfLayer(objName,x,newText) { //v3.0
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (navigator.appName=='Netscape') {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}

//

function varitext(text){
text=document
print(text)
}
