/************************************************
*	function JavaScript for MEPSCO
*
*	@by MEPSCO Support
*	started	:	10-11-09
*	updated	:	11-11-09
*
************************************************/
/***********************************************/
//Global variable NONE

/***********************************************/
//Start page function
function startPage()
{

	//Check Resolution//////////////////////////////////
	/*var cResolution = "";
	if(screen.width==768){
		//alert(screen.width);
		cResolution = "srceen_768-1024/";
	}else if(screen.width==1024){
		cResolution = "srceen_1024-768/";
	}else if(screen.width==1280){
		cResolution = "screen_1280-800/";
	}else if(screen.width==1440){	
		cResolution = "screen_1440-900/";
	}else if(screen.width>1366){
		cResolution = "srceen_1920-1020/";
	}
	document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Home.jpg";*/
	/////////////////-!!_RESOLUTION_!!-/////////////////

	//showImage();
}

function notice()
{
	var method = "get";
	var URL = "include/module_zother/su_notice.php";
	var waitText = "";
	var displayId = "notice";
	var data="";
	ajaxLoad(method, URL, data, displayId, waitText);
}

//////////////////////////////////////////////////
//Main Script
	var cur_home = 0;

	var cur_menu = 0;
	var cur_tree2_menu=0;
	var cur_tree3_menu=0;
	var cur_tree32_menu=0;
	var cur_tree33_menu=0;
	var cur_tree34_menu=0;
	var cur_tree35_menu=0;

	var cur_tree23_menu=0;
	
	function clickOverview(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Overview.jpg";*/
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Overview.jpg";

		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";
		div_cpy.innerHTML = "<img src=images/mepsco_cpy.png>";
		document.getElementById('div_logo_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_tre_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_cpy_line').style.backgroundColor = "#aaaaaa";

		 cur_tree2_menu=0;
		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_overview.png>";
		//div_content.filters.alpha.opacity=1;
		
		document.src_overview.src = "images/menu_overview.png";
		document.src_cleanroom.src = "images/menu_cleanroom-white.png";
		document.src_lighting.src = "images/menu_lighting-white.png";
		document.src_services.src = "images/menu_services-white.png";
		document.src_contact.src = "images/menu_contact-white.png";
		
		cur_menu = 1;
		document.getElementById('div_tree_line').style.backgroundColor = "";
		document.getElementById('div_table_cleanroom').style.display   = 'none';
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		//clear tree3
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';

		document.getElementById('div_table_lighting').style.display   = 'none';
		cur_tree23_menu=0;

		cur_home = 1;

		//showImage(14);
		//document.getElementById('supersize') = "<script language='JavaScript' type='text/javascript'>showImage(9);</script>";
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Overview.jpg";
	}
	
	function clickCleanroom(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";
		div_cpy.innerHTML = "<img src=images/mepsco_cpy.png>";
		document.getElementById('div_logo_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_tre_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_cpy_line').style.backgroundColor = "#aaaaaa";

		 cur_tree2_menu=0;
		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_cleanroom.png>";
		
		document.src_overview.src = "images/menu_overview-white.png";
		document.src_cleanroom.src = "images/menu_cleanroom.png";
		document.src_lighting.src = "images/menu_lighting-white.png";
		document.src_services.src = "images/menu_services-white.png";
		document.src_contact.src = "images/menu_contact-white.png";
		
		cur_menu = 2;
		document.getElementById('div_tree_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_table_cleanroom').style.display   = '';
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		//clear tree2
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings-white.png";
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting-white.png";
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans-white.png";
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall-white.png";
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors-white.png";
		
		//clear tree3
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';

		document.getElementById('div_table_lighting').style.display   = 'none';
		cur_tree23_menu=0;

		cur_home = 1;
	}
	
	function clickLighting(){
		//alert("InProgress");
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Lighting.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Lighting.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Lighting.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo-white.png>";
		div_cpy.innerHTML = "<img src=images/mepsco_cpy-white.png>";
		document.getElementById('div_logo_line').style.backgroundColor = "#eaeaea";
		document.getElementById('div_tre_line').style.backgroundColor = "#eaeaea";
		document.getElementById('div_cpy_line').style.backgroundColor = "#eaeaea";
			//set level1
			document.src_overview.src = "images/menu_overviewL.png";
			document.src_cleanroom.src = "images/menu_cleanroomL.png";
			document.src_lighting.src = "images/menu_lighting-white.png";
			document.src_services.src = "images/menu_servicesL.png";
			document.src_contact.src = "images/menu_contactL.png";
		
		document.getElementById('div_treee_line').style.backgroundColor = "";
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';

		 cur_tree2_menu=0;
		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#eaeaea";
		div_content.innerHTML = "<img src=images/cont_lighting.png><br><br><img src=images/cont_lighting/media.png><br> <div id=div_media1  onMouseOver=overMedia1(); onMouseOut=outMedia1();  onclick=clickMedia1();><img name='src_Media1' src='images/cont_lighting/add_w.png'  style='cursor:pointer'/></div>";
		//";
		
		/*document.src_overview.src = "images/menu_overview-white.png";
		document.src_cleanroom.src = "images/menu_cleanroom-white.png";
		document.src_lighting.src = "images/menu_lighting.png";
		document.src_services.src = "images/menu_services-white.png";
		document.src_contact.src = "images/menu_contact-white.png";*/
		
		cur_menu = 3;
		document.getElementById('div_tree_line').style.backgroundColor = "#eaeaea";
		document.getElementById('div_table_cleanroom').style.display   = 'none';

		//clear tree3
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';

		document.getElementById('div_table_lighting').style.display   = '';

		//default tree2 lighting
		document.src_lightingMcl.src = "images/menu_lighting_mcl.png";
		document.src_lightingMcll.src = "images/menu_lighting_mcll.png";
		document.src_lightingMclll.src = "images/menu_lighting_mclll.png";
		cur_tree23_menu = 99;

		cur_home = 1;
	}
	
	function clickServices(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Services.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Services.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Services.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";
		div_cpy.innerHTML = "<img src=images/mepsco_cpy.png>";
		document.getElementById('div_logo_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_tre_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_cpy_line').style.backgroundColor = "#aaaaaa";

		 cur_tree2_menu=0;
		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_services.png>";
		
		document.src_overview.src = "images/menu_overview-white.png";
		document.src_cleanroom.src = "images/menu_cleanroom-white.png";
		document.src_lighting.src = "images/menu_lighting-white.png";
		document.src_services.src = "images/menu_services.png";
		document.src_contact.src = "images/menu_contact-white.png";
		
		cur_menu = 4;
		document.getElementById('div_tree_line').style.backgroundColor = "";
		document.getElementById('div_table_cleanroom').style.display   = 'none';
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		//clear tree3
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';

		document.getElementById('div_table_lighting').style.display   = 'none';
		cur_tree23_menu=0;

		cur_home = 1;
	}
	
	function clickContact(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Contact.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Contact.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Contact.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";
		div_cpy.innerHTML = "<img src=images/mepsco_cpy.png>";
		document.getElementById('div_logo_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_tre_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_cpy_line').style.backgroundColor = "#aaaaaa";

		 cur_tree2_menu=0;
		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		//div_content.innerHTML = "<img src=images/cont_contact.png>";
		div_content.innerHTML = "<table border='0' cellspacing='0' cellpadding='0'><tr><td><img src='images/cont_contact/cont_contact_01.png'/></td><td><img src='images/cont_contact/cont_contact_02.png'/></td><td><img src='images/cont_contact/cont_contact_03.png'/></td><td><img src='images/cont_contact/cont_contact_04.png'/></td></tr><tr><td><img src='images/cont_contact/cont_contact_05.png'/></td><td><img src='images/cont_contact/cont_contact_06.png'/></td><td><div id=div_contact_email onMouseOver=overContactMail(); onMouseOut=outContactMail(); onclick=clickContactMail();><img name=src_contact_mail src='images/cont_contact/cont_contact_07.png' style='cursor:pointer'/></div></td><td><img src='images/cont_contact/cont_contact_08.png'/></td></tr><tr><td><img src='images/cont_contact/cont_contact_09.png'/></td><td><img src='images/cont_contact/cont_contact_10.png'/></td><td><img src='images/cont_contact/cont_contact_11.png'/></td><td><img src='images/cont_contact/cont_contact_12.png'/></td></tr><tr><td><div id=div_contact_map  onMouseOver=overContactMap(); onMouseOut=outContactMap();  onclick=clickContactMap();><img name=src_contact_map src='images/cont_contact/cont_contact_13.png'  style='cursor:pointer'/></div></td><td><img src='images/cont_contact/cont_contact_14.png'/></td><td><img src='images/cont_contact/cont_contact_15.png'/></td><td><img src='images/cont_contact/cont_contact_16.png'/></td></tr><tr><td><img src='images/cont_contact/cont_contact_17.png'/></td><td><img src='images/cont_contact/cont_contact_18.png'/></td><td><img src='images/cont_contact/cont_contact_19.png'/></td><td><img src='images/cont_contact/cont_contact_20.png'/></td></tr><tr><td><div id=div_contact_mapp  onclick=clickContactMapp(); onMouseOver=overContactMapp(); onMouseOut=outContactMapp();><img name=src_contact_mapp src='images/cont_contact/cont_contact_21.png'  style='cursor:pointer'/></div></td><td><img src='images/cont_contact/cont_contact_22.png'/></td><td><img src='images/cont_contact/cont_contact_23.png'/></td><td><img src='images/cont_contact/cont_contact_24.png'/></td></tr></table> <br><img src='images/cont_contact/Mepsco-Com2.png'/><br><div id=div_contact_pdf  onMouseOver=overContactPDF(); onMouseOut=outContactPDF();  onclick=clickContactPDF();><img name=src_contact_pdf src='images/cont_contact/pdf.png'  style='cursor:pointer'/></div>";
		//

		document.src_overview.src = "images/menu_overview-white.png";
		document.src_cleanroom.src = "images/menu_cleanroom-white.png";
		document.src_lighting.src = "images/menu_lighting-white.png";
		document.src_services.src = "images/menu_services-white.png";
		document.src_contact.src = "images/menu_contact.png";
		
		cur_menu = 5;
		document.getElementById('div_tree_line').style.backgroundColor = "";
		document.getElementById('div_table_cleanroom').style.display   = 'none';
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		//clear tree2
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings-white.png";
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting-white.png";
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans-white.png";
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall-white.png";
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors-white.png";
		
		//clear tree3
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';

		document.getElementById('div_table_lighting').style.display   = 'none';
		cur_tree23_menu=0;

		cur_home = 1;
	}
	
	//Tree2 Cleanroom
	function clickCleanroomCeilings(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom-Ceilings.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom-Ceilings.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom-Ceilings.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";

		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_cleanroom_ceilings.png>";
		
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings.png";
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting-white.png";
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans-white.png";
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall-white.png";
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors-white.png";
		
		cur_tree2_menu = 1;
		document.getElementById('div_table_cleanroom_ceilings').style.display   = '';
		document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";
		
		//clear tree3
		document.src_cleanroomCeilingsMcg.src = "images/menu_cleanroom_ceilings_mcg-white.png";
		document.src_cleanroomCeilingsMcgg.src = "images/menu_cleanroom_ceilings_mcgg-white.png";
		
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';

		cur_home = 1;
	}
	function clickCleanroomLighting(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom-Lighting.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom-Lighting.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom-Lighting.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";

		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_cleanroom_lighting.png>";
		
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings-white.png";
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting.png";
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans-white.png";
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall-white.png";
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors-white.png";
		
		cur_tree2_menu = 2;
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		document.getElementById('div_table_cleanroom_lighting').style.display   = '';
		document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';
		
		//clear tree32
		document.src_cleanroomLightingMcl.src = "images/menu_cleanroom_lighting_mcl-white.png";

		cur_home = 1;

		clickCleanroomLightingMcl();
	}
	function clickCleanroomFans(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom-Fans.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom-Fans.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom-Fans.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";

		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_cleanroom_fans.png>";
		
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings-white.png";
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting-white.png";
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans.png";
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall-white.png";
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors-white.png";
		
		cur_tree2_menu = 3;
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		
		document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_table_cleanroom_fans').style.display   = '';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';

		cur_home = 1;

		clickCleanroomFansMfu();
	}
	function clickCleanroomWall(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom-Wall.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom-Wall.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom-Wall.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";

		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_cleanroom_wall.png>";
		
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings-white.png";
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting-white.png";
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans-white.png";
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall.png";
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors-white.png";
		
		cur_tree2_menu = 4;
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_doors').style.display   = 'none';
		
		document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_table_cleanroom_wall').style.display   = '';

		cur_home = 1;

		clickCleanroomWallMws();
	}
	function clickCleanroomDoors(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom-Doors.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom-Doors.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom-Doors.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";

		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		div_content.innerHTML = "<img src=images/cont_cleanroom_doors.png>";
		
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings-white.png";
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting-white.png";
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans-white.png";
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall-white.png";
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors.png";
		
		cur_tree2_menu = 5;
		document.getElementById('div_table_cleanroom_ceilings').style.display   = 'none';
		document.getElementById('div_treee_line').style.backgroundColor = "";
		
		document.getElementById('div_table_cleanroom_lighting').style.display   = 'none';
		document.getElementById('div_table_cleanroom_fans').style.display   = 'none';
		document.getElementById('div_table_cleanroom_wall').style.display   = 'none';
		
		document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";
		document.getElementById('div_table_cleanroom_doors').style.display   = '';

		cur_home = 1;

		clickCleanroomDoorsMds();
	}
	//Tree2 Lighting
	function clickLightingMcl(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Lighting-MCL200.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Lighting-MCL200.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Lighting-MCL200.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo-white.png>";

		cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#eaeaea";
		//div_content.innerHTML = "<img src=images/cont_lighting_mcl.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_mcl200/cont_lighting_mcl_01.png'/></td><td><img src='images/cont_mcl200/cont_lighting_mcl_02.png'/></td></tr><tr><td><div id=div_lighting_mclB onclick=clickMclB(); onmouseover=overMclB(); onmouseout=outMclB();><img style='cursor:pointer' name=src_mclB src='images/cont_mcl200/cont_lighting_mcl_03.png'/></div></td><td><img src='images/cont_mcl200/cont_lighting_mcl_04.png'/></td></tr><tr><td><img style='cursor:pointer' name=src_mds src='images/cont_mcl200/cont_lighting_mcl_05.png'/></td><td><img src='images/cont_mcl200/cont_lighting_mcl_06.png'/></td></tr><tr><td><div id=div_doors_mclS onclick=clickMclS(); onmouseover=overMclS(); onmouseout=outMclS();><img style='cursor:pointer' name=src_mclS src='images/cont_mcl200/cont_lighting_mcl_07.png'/></div></td><td><img src='images/cont_mcl200/cont_lighting_mcl_08.png'/></td></tr></table>";
		
		document.src_lightingMcl.src = "images/menu_lighting_mcl-white.png";
		document.src_lightingMcll.src = "images/menu_lighting_mcll.png";
		document.src_lightingMclll.src = "images/menu_lighting_mclll.png";
		
		cur_tree23_menu = 1;

		cur_home = 1;
	}
	function clickLightingMcll(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Lighting-MCL400.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Lighting-MCL400.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Lighting-MCL400.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo-white.png>";

		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#eaeaea";
		//div_content.innerHTML = "<img src=images/cont_lighting_mcll.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_mcl400/cont_lighting_mcll_01.png'/></td><td><img src='images/cont_mcl400/cont_lighting_mcll_02.png'/></td></tr><tr><td><div id=div_lighting_mcllB onclick=clickMcllB(); onmouseover=overMcllB(); onmouseout=outMcllB();><img style='cursor:pointer' name=src_mcllB src='images/cont_mcl400/cont_lighting_mcll_03.png'/></div></td><td><img src='images/cont_mcl400/cont_lighting_mcll_04.png'/></td></tr><tr><td><img style='cursor:pointer' name=src_mds src='images/cont_mcl400/cont_lighting_mcll_05.png'/></td><td><img src='images/cont_mcl400/cont_lighting_mcll_06.png'/></td></tr><tr><td><div id=div_doors_mcllS onclick=clickMcllS(); onmouseover=overMcllS(); onmouseout=outMcllS();><img style='cursor:pointer' name=src_mcllS src='images/cont_mcl400/cont_lighting_mcll_07.png'/></div></td><td><img src='images/cont_mcl400/cont_lighting_mcll_08.png'/></td></tr></table>";
		
		document.src_lightingMcl.src = "images/menu_lighting_mcl.png";
		document.src_lightingMcll.src = "images/menu_lighting_mcll-white.png";
		document.src_lightingMclll.src = "images/menu_lighting_mclll.png";
		
		cur_tree23_menu = 2;

		cur_home = 1;
	}
	function clickLightingMclll(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Lighting-MCL500.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Lighting-MCL500.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Lighting-MCL500.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo-white.png>";

		 cur_tree3_menu=0;
		document.getElementById('div_cont_line').style.backgroundColor = "#eaeaea";
		//div_content.innerHTML = "<img src=images/cont_lighting_mclll.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_mcl500/cont_lighting_mclll_01.png'/></td><td><img src='images/cont_mcl500/cont_lighting_mclll_02.png'/></td></tr><tr><td><div id=div_lighting_mclllB onclick=clickMclllB(); onmouseover=overMclllB(); onmouseout=outMclllB();><img style='cursor:pointer' name=src_mclllB src='images/cont_mcl500/cont_lighting_mclll_03.png'/></div></td><td><img src='images/cont_mcl500/cont_lighting_mclll_04.png'/></td></tr><tr><td><img style='cursor:pointer' name=src_mds src='images/cont_mcl500/cont_lighting_mclll_05.png'/></td><td><img src='images/cont_mcl500/cont_lighting_mclll_06.png'/></td></tr><tr><td><div id=div_doors_mclllS onclick=clickMclllS(); onmouseover=overMclllS(); onmouseout=outMclllS();><img style='cursor:pointer' name=src_mclllS src='images/cont_mcl500/cont_lighting_mclll_07.png'/></div></td><td><img src='images/cont_mcl500/cont_lighting_mclll_08.png'/></td></tr></table>";
		
		document.src_lightingMcl.src = "images/menu_lighting_mcl.png";
		document.src_lightingMcll.src = "images/menu_lighting_mcll.png";
		document.src_lightingMclll.src = "images/menu_lighting_mclll-white.png";
		
		cur_tree23_menu = 3;

		cur_home = 1;
	}
	
	//Tree3 Cleanroom_ceilings
	function clickCleanroomCeilingsMcg(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom-Ceilings-MCG200.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom-Ceilings-MCG200.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom-Ceilings-MCG200.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";

		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		//div_content.innerHTML = "<img src=images/cont_cleanroom_ceilings_mcg.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_mcg200/cont_lighting_01.png'/></td><td><img src='images/cont_mcg200/cont_lighting_02.png'/></td></tr><tr><td><div id=div_cleanroom_ceilings_mcg onclick=clickMcg(); onmouseover=overMcg(); onmouseout=outMcg();><img style=cursor:pointer name=src_mcg src='images/cont_mcg200/cont_lighting_03.png'/></div></td><td><img src='images/cont_mcg200/cont_lighting_04.png'/></td></tr></table>";
		
		document.src_cleanroomCeilingsMcg.src = "images/menu_cleanroom_ceilings_mcg.png";
		document.src_cleanroomCeilingsMcgg.src = "images/menu_cleanroom_ceilings_mcgg-white.png";

		cur_tree3_menu = 1;
		//document.getElementById('div_table_cleanroom_ceilings').style.display   = '';
		//document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";

		cur_home = 1;
	}
	function clickCleanroomCeilingsMcgg(){
		//Set screen
		//Check Resolution//////////////////////////////////
		/*var cResolution = "";
		if(screen.width==768){
			//alert(screen.width);
			cResolution = "srceen_768-1024/";
		}else if(screen.width==1024){
			cResolution = "srceen_1024-768/";
		}else if(screen.width==1280){
			cResolution = "screen_1280-800/";
		}else if(screen.width==1440){	
			cResolution = "screen_1440-900/";
		}else if(screen.width>1366){
			cResolution = "srceen_1920-1020/";
		}
		document.body.background="images/mepsco_bg/"+cResolution+"Mepsco-Cleanroom-Ceilings-MCG300.jpg";*/
		document.src_kueng.src = "images/IndexPageImages/Mepsco-Cleanroom-Ceilings-MCG300.jpg";
		/////////////////-!!_RESOLUTION_!!-/////////////////
		//document.body.background  = "images/mepsco_bg/Mepsco-Cleanroom-Ceilings-MCG300.jpg";
		div_logo.innerHTML = "<img src=images/mepsco_logo.png>";

		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		//div_content.innerHTML = "<img src=images/cont_cleanroom_ceilings_mcgg.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_mcg300/cont_cleanroom_ceiling_mcgg_01.png'/></td><td><img src='images/cont_mcg300/cont_cleanroom_ceiling_mcgg_02.png'/></td></tr><tr><td><div id=div_cleanroom_ceilings_mcgg onclick=clickMcgg(); onmouseover=overMcgg(); onmouseout=outMcgg();><img style='cursor:pointer' name=src_mcgg src='images/cont_mcg300/cont_cleanroom_ceiling_mcgg_03.png'/></div></td><td><img src='images/cont_mcg300/cont_cleanroom_ceiling_mcgg_04.png'/></td></tr></table>";
		
		document.src_cleanroomCeilingsMcg.src = "images/menu_cleanroom_ceilings_mcg-white.png";
		document.src_cleanroomCeilingsMcgg.src = "images/menu_cleanroom_ceilings_mcgg.png";

		cur_tree3_menu = 2;
		//document.getElementById('div_table_cleanroom_ceilings').style.display   = '';
		//document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";

		cur_home = 1;
	}
	//Tree3 Cleanroom_lighting
	function clickCleanroomLightingMcl(){
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		//div_content.innerHTML = "<img src=images/cont_cleanroom_lighting.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_lighting/cont_cleanroom_lighting_01.png'/></td><td><img src='images/cont_lighting/cont_cleanroom_lighting_02.png'/></td></tr><tr><td><div id=div_lighting_mcl onclick=clickMcl(); onmouseover=overMcl(); onmouseout=outMcl();><img style='cursor:pointer' name=src_mcl src='images/cont_lighting/cont_cleanroom_lighting_03.png'/></div></td><td><img src='images/cont_lighting/cont_cleanroom_lighting_04.png'/></td></tr></table>";
		
		document.src_cleanroomLightingMcl.src = "images/menu_cleanroom_lighting_mcl.png";

		cur_tree32_menu = 1;
		//document.getElementById('div_table_cleanroom_ceilings').style.display   = '';
		//document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";

		cur_home = 1;
	}
	//Tree3 Cleanroom_fans
	function clickCleanroomFansMfu(){
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		//div_content.innerHTML = "<img src=images/cont_cleanroom_fans.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_fans/cont_cleanroom_fans_01.png'/></td><td><img src='images/cont_fans/cont_cleanroom_fans_02.png'/></td></tr><tr><td><div id=div_fans_mfu onclick=clickMfu(); onmouseover=overMfu(); onmouseout=outMfu();><img style='cursor:pointer' name=src_mfu src='images/cont_fans/cont_cleanroom_fans_03.png'/></div></td><td><img src='images/cont_fans/cont_cleanroom_fans_04.png'/></td></tr></table>";
		
		document.src_cleanroomFansMfu.src = "images/menu_cleanroom_fans_mfu.png";

		cur_tree33_menu = 1;
		//document.getElementById('div_table_cleanroom_ceilings').style.display   = '';
		//document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";

		cur_home = 1;
	}
	//Tree3 Cleanroom_Wall
	function clickCleanroomWallMws(){
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		//div_content.innerHTML = "<img src=images/cont_cleanroom_wall.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_wall/cont_cleanroom_wall_01.png'/></td><td><img src='images/cont_wall/cont_cleanroom_wall_02.png'/></td></tr><tr><td><div id=div_wall_mws onclick=clickMws(); onmouseover=overMws(); onmouseout=outMws();><img style='cursor:pointer' name=src_mws src='images/cont_wall/cont_cleanroom_wall_03.png'/></div></td><td><img src='images/cont_wall/cont_cleanroom_wall_04.png'/></td></tr></table>";
		
		document.src_cleanroomWallMws.src = "images/menu_cleanroom_wall_mws.png";

		cur_tree34_menu = 1;
		//document.getElementById('div_table_cleanroom_ceilings').style.display   = '';
		//document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";

		cur_home = 1;
	}
	//Tree3 Cleanroom_Doors
	function clickCleanroomDoorsMds(){
		document.getElementById('div_cont_line').style.backgroundColor = "#aaaaaa";
		//div_content.innerHTML = "<img src=images/cont_cleanroom_doors.png>";
		div_content.innerHTML = "<table border='0'cellspacing='0'cellpadding='0'><tr><td><img src='images/cont_doors/cont_cleanroom_doors_01.png'/></td><td><img src='images/cont_doors/cont_cleanroom_doors_02.png'/></td></tr><tr><td><div id=div_doors_mds onclick=clickMds(); onmouseover=overMds(); onmouseout=outMds();><img style='cursor:pointer' name=src_mds src='images/cont_doors/cont_cleanroom_doors_03.png'/></div></td><td><img src='images/cont_doors/cont_cleanroom_doors_04.png'/></td></tr></table>";
		
		document.src_cleanroomDoorsMds.src = "images/menu_cleanroom_doors_mds.png";

		cur_tree35_menu = 1;
		//document.getElementById('div_table_cleanroom_ceilings').style.display   = '';
		//document.getElementById('div_treee_line').style.backgroundColor = "#aaaaaa";

		cur_home = 1;
	}
	
	//Mouse Over
	function overOverview(){
		if(cur_home == 0){
			document.src_overview.src = "images/menu_overviewL.png";
			return false;
		}

		if(cur_tree23_menu != 0){
			document.src_overview.src = "images/menu_overview-white.png";
		}else{
			document.src_overview.src = "images/menu_overview.png";
		}
	}
	function overCleanroom(){
		if(cur_home == 0){
			document.src_cleanroom.src = "images/menu_cleanroomL.png";
			return false;
		}

		if(cur_tree23_menu != 0){
			document.src_cleanroom.src = "images/menu_cleanroom-white.png";
		}else{
			document.src_cleanroom.src = "images/menu_cleanroom.png";
		}
	}
	function overLighting(){
		if(cur_home == 0){
			document.src_lighting.src = "images/menu_lightingL.png";
			return false;
		}

		if(cur_tree23_menu != 0){
			document.src_lighting.src = "images/menu_lighting-white.png";
		}else{
			document.src_lighting.src = "images/menu_lighting.png";
		}
	}
	function overServices(){
		if(cur_home == 0){
			document.src_services.src = "images/menu_servicesL.png";
			return false;
		}

		if(cur_tree23_menu != 0){
			document.src_services.src = "images/menu_services-white.png";
		}else{
			document.src_services.src = "images/menu_services.png";
		}
	}
	function overContact(){
		if(cur_home == 0){
			document.src_contact.src = "images/menu_contactL.png";
			return false;
		}

		if(cur_tree23_menu != 0){
			document.src_contact.src = "images/menu_contact-white.png";
		}else{
			document.src_contact.src = "images/menu_contact.png";
		}
	}
	
	//Mouse Out
	function outOverview(){
		if(cur_tree23_menu != 0){
			document.src_overview.src = "images/menu_overviewL.png";
			return false;
		}
		if(cur_menu != 1){
			document.src_overview.src = "images/menu_overview-white.png";
		}
	}
	function outCleanroom(){
		if(cur_tree23_menu != 0){
			document.src_cleanroom.src = "images/menu_cleanroomL.png";
			return false;
		}
		if(cur_menu != 2){
			document.src_cleanroom.src = "images/menu_cleanroom-white.png";
		}
	}
	function outLighting(){
		if(cur_tree23_menu != 0){
			document.src_lighting.src = "images/menu_lighting-white.png";
			return false;
		}
		if(cur_menu != 3){
			document.src_lighting.src = "images/menu_lighting-white.png";
		}
	}
	function outServices(){
		if(cur_tree23_menu != 0){
			document.src_services.src = "images/menu_servicesL.png";
			return false;
		}
		if(cur_menu != 4){
			document.src_services.src = "images/menu_services-white.png";
		}
	}
	function outContact(){
		if(cur_tree23_menu != 0){
			document.src_contact.src = "images/menu_contactL.png";
			return false;
		}
		if(cur_menu != 5){
			document.src_contact.src = "images/menu_contact-white.png";
		}
	}
	
	//Tree2 Cleanroom
	//Mouse Over
	function overCleanroomCeilings(){
		document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings.png";
	}
	function overCleanroomLighting(){
		document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting.png";
	}
	function overCleanroomFans(){
		document.src_cleanroomFans.src = "images/menu_cleanroom_fans.png";
	}
	function overCleanroomWall(){
		document.src_cleanroomWall.src = "images/menu_cleanroom_wall.png";
	}
	function overCleanroomDoors(){
		document.src_cleanroomDoors.src = "images/menu_cleanroom_doors.png";
	}
	//Mouse Out
	function outCleanroomCeilings(){
		if(cur_tree2_menu != 1){
			document.src_cleanroomCeilings.src = "images/menu_cleanroom_ceilings-white.png";
		}
	}
	function outCleanroomLighting(){
		if(cur_tree2_menu != 2){
			document.src_cleanroomLighting.src = "images/menu_cleanroom_lighting-white.png";
		}
	}
	function outCleanroomFans(){
		if(cur_tree2_menu != 3){
			document.src_cleanroomFans.src = "images/menu_cleanroom_fans-white.png";
		}
	}
	function outCleanroomWall(){
		if(cur_tree2_menu != 4){
			document.src_cleanroomWall.src = "images/menu_cleanroom_wall-white.png";
		}
	}
	function outCleanroomDoors(){
		if(cur_tree2_menu != 5){
			document.src_cleanroomDoors.src = "images/menu_cleanroom_doors-white.png";
		}
	}
	//Lighting
	function overLightingMcl(){
		//alert('test');
		document.src_lightingMcl.src = "images/menu_lighting_mcl-white.png";
	}
	function overLightingMcll(){
		//alert('testt');
		document.src_lightingMcll.src = "images/menu_lighting_mcll-white.png";
	}
	function overLightingMclll(){
		//alert('testtt');
		document.src_lightingMclll.src = "images/menu_lighting_mclll-white.png";
	}
	function outLightingMcl(){
		if(cur_tree23_menu != 1){
			document.src_lightingMcl.src = "images/menu_lighting_mcl.png";
		}
	}
	function outLightingMcll(){
		if(cur_tree23_menu != 2){
			document.src_lightingMcll.src = "images/menu_lighting_mcll.png";
		}
	}
	function outLightingMclll(){
		if(cur_tree23_menu != 3){
			document.src_lightingMclll.src = "images/menu_lighting_mclll.png";
		}
	}
	
	//Tree3 Cleanroom_ceilings
	//Mouse Over
	function overCleanroomCeilingsMcg(){
		document.src_cleanroomCeilingsMcg.src = "images/menu_cleanroom_ceilings_mcg.png";
	}
	function overCleanroomCeilingsMcgg(){
		document.src_cleanroomCeilingsMcgg.src = "images/menu_cleanroom_ceilings_mcgg.png";
	}
	//Mouse Out
	function outCleanroomCeilingsMcg(){
		if(cur_tree3_menu != 1){
			document.src_cleanroomCeilingsMcg.src = "images/menu_cleanroom_ceilings_mcg-white.png";
		}
	}
	function outCleanroomCeilingsMcgg(){
		if(cur_tree3_menu != 2){
			document.src_cleanroomCeilingsMcgg.src = "images/menu_cleanroom_ceilings_mcgg-white.png";
		}
	}
	//Tree3 Cleanroom_Lighting
	//Mouse Over
	function overCleanroomLightingMcl(){
		document.src_cleanroomLightingMcl.src = "images/menu_cleanroom_lighting_mcl.png";
	}
	//Mouse Out
	function outCleanroomLightingMcl(){
		if(cur_tree32_menu != 1){
			document.src_cleanroomLightingMcl.src = "images/menu_cleanroom_lighting_mcl-white.png";
		}
	}
	//Tree3 Cleanroom_Fans
	//Mouse Over
	function overCleanroomFansMfu(){
		document.src_cleanroomFansMfu.src = "images/menu_cleanroom_fans_mfu.png";
	}
	//Mouse Out
	function outCleanroomFansMfu(){
		if(cur_tree33_menu != 1){
			document.src_cleanroomFansMfu.src = "images/menu_cleanroom_fans_mfu-white.png";
		}
	}
	//Tree3 Cleanroom_Fans
	//Mouse Over
	function overCleanroomWallMws(){
		document.src_cleanroomWallMws.src = "images/menu_cleanroom_wall_mws.png";
	}
	//Mouse Out
	function outCleanroomWallMws(){
		if(cur_tree34_menu != 1){
			document.src_cleanroomWallMws.src = "images/menu_cleanroom_wall_mws-white.png";
		}
	}
	//Tree3 Cleanroom_Doors
	//Mouse Over
	function overCleanroomDoorsMds(){
		document.src_cleanroomDoorsMds.src = "images/menu_cleanroom_doors_mds.png";
	}
	//Mouse Out
	function outCleanroomDoorsMds(){
		if(cur_tree35_menu != 1){
			document.src_cleanroomDoorsMds.src = "images/menu_cleanroom_doors_mds-white.png";
		}
	}

	////////////////////
	function overContactMail(){
		//alert("test");
		document.src_contact_mail.src = "images/cont_contact/cont_contact_07_white.png";
	}
	function overContactMap(){
		//alert("test");
		document.src_contact_map.src = "images/cont_contact/cont_contact_13_white.png";
	}
	function overContactMapp(){
		//alert("test");
		document.src_contact_mapp.src = "images/cont_contact/cont_contact_21_white.png";
	}

	function overContactPDF(){
		//alert("test");
		document.src_contact_pdf.src = "images/cont_contact/pdf_w.png";
	}

	function clickContactPDF(){
		var link = "downloads/mepscopdfs/Mepsco-Profile.pdf";
		window.open(link);
	}

	function outContactMail(){
		document.src_contact_mail.src = "images/cont_contact/cont_contact_07.png";
	}
	function outContactMap(){
		document.src_contact_map.src = "images/cont_contact/cont_contact_13.png";
	}
	function outContactMapp(){
		document.src_contact_mapp.src = "images/cont_contact/cont_contact_21.png";
	}
	function outContactPDF(){
		document.src_contact_pdf.src = "images/cont_contact/pdf.png";
	}


	function overMedia1(){//moo
		//alert("test");
		document.src_Media1.src = "images/cont_lighting/add_b.png";
	}

		function outMedia1(){//moo
		//alert("test");
		document.src_Media1.src = "images/cont_lighting/add_w.png";
	}


	function clickMedia1(){//moo
		//alert("moo");
				var link = "http://www.youtube.com/watch?v=w_jHOqxiKzo";
		window.open(link,'jav','width=700,height=500,resizable=yes');
	}

	function clickContactMail(){
		//alert("test");
		//var daReferrer = document.referrer;
		var email = "info@mepscosystems.com";
		//var errorMsg = "";
		var subject = "";
		//var body_message = "%0D%0DReferring Page: "+daReferrer+" %0D%0DException Error Message:%0D-------------------------------------------%0D"+errorMsg;
		var body_message = "";

		var mailto_link = 'mailto:'+email+'?subject='+subject;

		win = window.open(mailto_link,'emailWindow');
		if (win && win.open &&!win.closed) win.close();
	}
	function clickContactMap(){
		//alert("test");
		var link = "http://maps.google.co.th/maps/ms?hl=th&ie=UTF8&msa=0&ll=13.723804,100.537219&spn=0.005034,0.009645&z=17&msid=209753658722834310073.0004a15b6287b1d7e19ae";
		window.open(link,'jav','width=500,height=500,resizable=yes'); 
	}
	function clickContactMapp(){
		//alert("test");
		var link = "http://maps.google.co.th/maps/ms?hl=th&ie=UTF8&msa=0&ll=13.644204,100.597751&spn=0.005036,0.009645&z=17&msid=209753658722834310073.0004a15b87e247ea1213e";
		window.open(link,'jav','width=500,height=500,resizable=yes');
	}

	function overMcg(){
		//alert("test");
		document.src_mcg.src = "images/cont_mcg200/cont_cleanroom_ceiling_mcg_03_white.png";
	}
	function outMcg(){
		document.src_mcg.src = "images/cont_mcg200/cont_lighting_03.png";
	}
	function clickMcg(){
		//alert("test");
		var link = "downloads/mepscopdfs/Mepsco-MCG200-Tech.pdf";
		window.open(link);
	}
	function overMcgg(){
		//alert("test");
		document.src_mcgg.src = "images/cont_mcg300/cont_cleanroom_ceiling_mcgg_03_white.png";
	}
	function outMcgg(){
		document.src_mcgg.src = "images/cont_mcg300/cont_cleanroom_ceiling_mcgg_03.png";
	}
	function clickMcgg(){
		var link = "downloads/mepscopdfs/Mepsco-MCG300-Tech.pdf";
		window.open(link);
	}

	function overMcl(){
		//alert("test");
		document.src_mcl.src = "images/cont_lighting/cont_cleanroom_lighting_03_white.png";
	}
	function outMcl(){
		document.src_mcl.src = "images/cont_lighting/cont_cleanroom_lighting_03.png";
	}
	function clickMcl(){
		var link = "downloads/mepscopdfs/Mepsco-MCL100-Tech.pdf";
		window.open(link);
	}

	function overMfu(){
		//alert("test");
		document.src_mfu.src = "images/cont_fans/cont_cleanroom_fans_03_white.png";
	}
	function outMfu(){
		document.src_mfu.src = "images/cont_fans/cont_cleanroom_fans_03.png";
	}
	function clickMfu(){
		var link = "downloads/mepscopdfs/Mepsco-MFU220-240-400-Tech.pdf";
		window.open(link);
	}

	function overMws(){
		//alert("test");
		document.src_mws.src = "images/cont_wall/cont_cleanroom_wall_03_white.png";
	}
	function outMws(){
		document.src_mws.src = "images/cont_wall/cont_cleanroom_wall_03.png";
	}
	function clickMws(){
		var link = "downloads/mepscopdfs/Mepsco-MWS100-Tech.pdf";
		window.open(link);
	}

	function overMds(){
		//alert("test");
		document.src_mds.src = "images/cont_doors/cont_cleanroom_doors_03_white.png";
	}
	function outMds(){
		document.src_mds.src = "images/cont_doors/cont_cleanroom_doors_03.png";
	}
	function clickMds(){
		var link = "downloads/mepscopdfs/Mepsco-MDS100-Tech.pdf";
		window.open(link);
	}

	function overMclB(){
		//alert("test");
		document.src_mclB.src = "images/cont_mcl200/cont_lighting_mcl_03_white.png";
	}
	function outMclB(){
		document.src_mclB.src = "images/cont_mcl200/cont_lighting_mcl_03.png";
	}
	function clickMclB(){
		var link = "downloads/mepscopdfs/Mepsco-MCL200-Tech.pdf";
		window.open(link);
	}
	function overMclS(){
		//alert("test");
		document.src_mclS.src = "images/cont_mcl200/cont_lighting_mcl_07_white.png";
	}
	function outMclS(){
		document.src_mclS.src = "images/cont_mcl200/cont_lighting_mcl_07.png";
	}
	function clickMclS(){
		var link = "downloads/mepscopdfs/Mepsco-MCL200-Flyer.pdf";
		window.open(link);
	}

	function overMcllB(){
		//alert("test");
		document.src_mcllB.src = "images/cont_mcl400/cont_lighting_mcll_03_white.png";
	}
	function outMcllB(){
		document.src_mcllB.src = "images/cont_mcl400/cont_lighting_mcll_03.png";
	}
	function clickMcllB(){
		var link = "downloads/mepscopdfs/Mepsco-MCL400-Tech.pdf";
		window.open(link);
	}
	function overMcllS(){
		//alert("test");
		document.src_mcllS.src = "images/cont_mcl400/cont_lighting_mcll_07_white.png";
	}
	function outMcllS(){
		document.src_mcllS.src = "images/cont_mcl400/cont_lighting_mcll_07.png";
	}
	function clickMcllS(){
		var link = "downloads/mepscopdfs/Mepsco-MCL400-Flyer.pdf";
		window.open(link);
	}

	function overMclllB(){
		//alert("test");
		document.src_mclllB.src = "images/cont_mcl500/cont_lighting_mclll_03_white.png";
	}
	function outMclllB(){
		document.src_mclllB.src = "images/cont_mcl500/cont_lighting_mclll_03.png";
	}
	function clickMclllB(){
		var link = "downloads/mepscopdfs/Mepsco-MCL500-Tech.pdf";
		window.open(link);
	}
	function overMclllS(){
		//alert("test");
		document.src_mclllS.src = "images/cont_mcl500/cont_lighting_mclll_07_white.png";
	}
	function outMclllS(){
		document.src_mclllS.src = "images/cont_mcl500/cont_lighting_mclll_07.png";
	}
	function clickMclllS(){
		var link = "downloads/mepscopdfs/Mepsco-MCL-Group-Flyer.pdf";
		window.open(link);
	}
