if(BackCount!=-1){

	BackCount = "../";

}else{

	BackCount = '';

}



imgBt1 = new Image();

imgBt1.src = BackCount + "templates/en/images/menu/but.gif";



imgBt2 = new Image();

imgBt2.src = BackCount + "templates/en/images/menu/butov.gif";



//Cache menu templates/en/images



imgMnu1 = new Image();

imgMnu1.src = strImgPath + 'thl.gif';

imgMnu2 = new Image(); 

imgMnu2.src = strImgPath + 'mthl.gif'; 



imgMnu3 = new Image();

imgMnu3.src = strImgPath + 'mnuTopbar.gif'; 

imgMnu3 = new Image();

imgMnu3.src = strImgPath + 'mnurow.gif'; 





imgMnu4 = new Image();

imgMnu4.src = strImgPath + 'mnubotbar.gif'; 

imgMnu4 = new Image();

imgMnu4.src = strImgPath + 'mbhl.gif'; 



imgMnu4 = new Image();

imgMnu4.src = strImgPath + 'bhl.gif'; 



/////////////////////////////////////////////////

window.menu2= new objMenu();

window.menu4= new objMenu();

window.menu6= new objMenu();

window.menu7= new objMenu();

window.menu5= new objMenu();



strImgPath = BackCount + "templates/en/images/menu/";

var tdEl = null;

var tdNm = 0;



	function fn_over(ele,td,flg){

		var ttd = document.getElementById('tdMbt'+td);

		//var mntov = document.getElementById('mnte_ov'+td);
		var ttdtxt = document.getElementById('tdMtxt'+td);



		ele = document.getElementById(ele);





		if(tdEl){

			tdEl.src = BackCount + "templates/en/images/menu/but.gif"

			//var mnte_ov = document.getElementById('mnte_ov'+tdNm);
			var ttdtxt = document.getElementById('tdMtxt'+td);



			/*if(mnte_ov){

				mnte_ov.src = BackCount + "templates/en/images/menu/mnte"+tdNm+".gif";

			}*/
			ttdtxt.className='menu_main';

		}



		tdNm = td;				

		ele.src = BackCount + "templates/en/images/menu/butov.gif";

		//mntov.src = BackCount + "templates/en/images/menu/mnteov"+tdNm+".gif";
		ttdtxt.className='menu_main_hover';

		tdEl = ele ;



		



		if(flg){

			menu2.HideMenus(2,7);

			return;

		}



		switch(ttd.id){



			case 'tdMbt1': // About us

				window.location.href = BackCount+'index.php?module=eng_about_us&action=default';

				menu2.HideMenus(2,7);			

				break;



			case 'tdMbt2': // Products & Services

				menu2.HideMenus(2,7);

				menu2.show_menu(2);				

				break;		

/*

			case 'tdMbt3': //La actualle

				window.location.href = BackCount+'index.php?module=eng_news&action=load';

				menu2.HideMenus(2,7);	

				break;		

*/

			case 'tdMbt3'://Journal online

				window.location.href = BackCount+'index.php?module=eng_news&action=load';

				//menu3.HideMenus(2,7);

				break;		

/*

			case 'tdMbt5'://archives 

				//menu5.show_menu(5);	



				window.location.href=BackCount + "index.php?module=archive&action=load";	

				menu5.HideMenus(2,7);			

				break;		



			case 'tdMbt6':

				menu6.HideMenus(2,7);

				menu6.show_menu(6);				

				break;		

*/

			case 'tdMbt4':

				window.location.href = BackCount+'index.php?module=eng_market_fig&action=load';

				menu2.HideMenus(2,7);			

				break;		

		}

	}





	function fn_out(ele,td){

		var ttd = document.getElementById('tdMbt'+td);

		//var mntov = document.getElementById('mnte_ov'+td);
		var ttdtxt = document.getElementById('tdMtxt'+td);

		tdNm = td;



		if((ttd.id != 'tdMbt2') && (ttd.id != 'tdMbt6') && (ttd.id != 'tdMbt7')){

			ele.src = BackCount + "templates/en/images/menu/but.gif";			

			/*if(mntov){

				mntov.src = BackCount + "templates/en/images/menu/mnte"+tdNm+".gif";

			}*/
			ttdtxt.className='menu_main';

		}	

	}





	function Init_Menu(){

		menu2.CreateLayer(2);

		menu2.mnuLeft = 300;

		menu2.mnuTop = -1;

		menu2.AddMenu(2,"Nos offres",0,"Newsletter",BackCount + "index.php?module=eng_newspaper&action=default");

		menu2.AddMenu(2,"Nos offres",1,"The Atlas",BackCount + "index.php?module=eng_atlas&action=default");

		menu2.AddMenu(2,"Nos offres",2,"Market surveys",BackCount + "index.php?module=eng_market_surv&action=default");

		menu2.AddMenu(2,"Nos offres",3,"Consulting",BackCount + "index.php?module=eng_consulting&action=default");

		menu2.AddMenu(2,"Nos offres",4,"E-mail Alerts",BackCount + "index.php?module=eng_mailalert&action=default");

		menu2.init_menu();			



		/*

		menu6.CreateLayer(6);

		menu6.mnuLeft = 602;

		menu6.mnuTop = -1;

		menu6.AddMenu(6,"La profession",0,"Catalogue produits",BackCount + "prodcat/prodcat.php");

		menu6.AddMenu(6,"La profession",1,"Contrats signés",BackCount + "contract/contractsign.php");

		menu6.AddMenu(6,"La profession",1,"Appels d’offres",BackCount + "calloffer/calloffermain.php");

		menu6.AddMenu(6,"La profession",1,"Agenda",BackCount + "agenda/agenda.php");

		menu6.AddMenu(6,"La profession",1,"Emploi",BackCount + "jobs/jobsmain.php");

		menu6.init_menu();	



		menu7.CreateLayer(7);

		menu7.mnuLeft = 688;

		menu7.mnuTop = -1;

		menu7.AddMenu(7,"Infos pratiques",0,"Chiffres clés",BackCount+"infospratiques/chiffres.php");

		//menu7.AddMenu(7,"Infos pratiques",0,"Syndicats",BackCount + "tradeunion/tradeunion.php");

		menu7.AddMenu(7,"Infos pratiques",0,"Syndicats",BackCount + "infospratiques/syndicats.php");

		menu7.AddMenu(7,"Infos pratiques",0,"Liens",BackCount + "infospratiques/liens.php");

		menu7.init_menu();

		*/	



	}



	function ChangeButton(stat){

		var mntov = document.getElementById('mnte_ov'+tdNm);
		var ttdtxt = document.getElementById('tdMtxt'+tdNm);



		if(stat){

			tdEl.src = BackCount + "templates/en/images/menu/butov.gif";

			//mntov.src = BackCount + "templates/en/images/menu/mnteov"+tdNm+".gif";
			ttdtxt.className='menu_main_hover';

		}else{

			tdEl.src = BackCount + "templates/en/images/menu/but.gif";

			//mntov.src = BackCount + "templates/en/images/menu/mnte"+tdNm+".gif";
			ttdtxt.className='menu_main';

		}



	}

