 
	 
	var lastMenu; 
	var lastHeader;  
	var lastThumb; 
	 
	var n_mi_goto; 
	var n_mi_installations; 
	var n_mi_links; 
	var n_mi_contact; 
	var n_mi_camera; 
	var n_gtm_img; 
	 

	var n_m_links; 
	var n_m_installations; 
	var n_m_contact; 
	var n_m_goto;
	
	var gti_applications;		
 	var gti_products;		
	var gti_technology;		
	var gti_publications;		
	var gti_links;		
	var gti_staff;		
	var gti_stream;		

	function getObj(name) 
	{ 
		if (document.getElementById) 
		{ 
		   this.obj = document.getElementById(name); 
		   this.style = document.getElementById(name).style; 
		} 
		else if (document.all) 
		{ 
			this.obj = document.all[name]; 
			this.style = document.all[name].style; 
		} 
		else if (document.layers) 
		{ 
			if (document.layers[name]) 
			{ 
				this.obj = document.layers[name]; 
				this.style = document.layers[name]; 
			} 
			else 
			{ 
				this.obj = document.layers.testP.layers[name]; 
				this.style = document.layers.testP.layers[name]; 
			} 
		} 
		this.posX = findPosX(this.obj); 
		this.posY = findPosY(this.obj); 
	} 
 
	 function Refresh_Pos()
	 {
	 	n_mi_links.posX = findPosX(n_mi_links.obj);
		n_mi_installations.posX = findPosX(n_mi_installations.obj);
		n_mi_contact.posX = findPosX(n_mi_contact.obj) ;
 		n_mi_goto.posX = findPosY(n_mi_goto.obj) ;
 		
 		
 		n_mi_links.posY = findPosY(n_mi_links.obj);
		n_mi_installations.posY = findPosY(n_mi_installations.obj);
		n_mi_contact.posY = findPosY(n_mi_contact.obj) ;
	 	n_mi_goto.posY = findPosY(n_mi_goto.obj) ;
	 	
	 	Position_Menus();
	 } 
	
	function Make_Nodes () 
	{ 

		nHeader = new getObj("header"); 
	 
		n_mi_goto = new getObj("MI_GoTo"); 
		n_mi_installations = new getObj("MI_Installations"); 
		n_mi_links = new getObj("MI_Links"); 
		n_mi_contact = new getObj("MI_Contact"); 
		
		n_m_links = new getObj("Links_Menu"); 
		n_m_installations = new getObj("Installations_Menu"); 
		n_m_contact = new getObj("Contact_Menu"); 
		n_m_goto = new getObj("GoTo_Menu");
		
		n_gtm_img = new getObj("GTM_IMG");
	} 
	 
	function Position_Menus() 
	{ 
			n_m_links.style.left = n_mi_links.posX -2; 
			n_m_installations.style.left = n_mi_installations.posX-2; 
			n_m_contact.style.left = n_mi_contact.posX-2; 
 			n_m_goto.style.left = n_mi_goto.posX+21;
 	
			n_m_links.style.top = n_mi_links.posY + 26; 
			n_m_installations.style.top = n_mi_installations.posY + 26; 
			n_m_contact.style.top = n_mi_contact.posY + 26; 
			n_m_goto.style.top = n_mi_goto.posY + 26;
			

 	
	} 
 
	function init() 
	{ 
		Make_Nodes(); 
		 
		Position_Menus(); 
		
		Get_Images();
		 
	} 
 
	function Menu_Toggel(m_var, mi_var)  
	{ 
		 
 		Refresh_Pos();
		if(lastMenu != null) 
		{ 
			if (lastMenu != m_var && lastMenu.visibility == 'visible') 
			{ 
				lastMenu.visibility = 'hidden'; 
			} 
		} 
		if (m_var.visibility == 'visible')  
		{ 
			m_var.visibility = 'hidden'; 
		//	mi_var.background = "ffea4e"; 
		} 
		else 
		{ 
			if (lastHeader != null) 
			{ 
			//	lastHeader.background = "ffea4e"; 
			} 
			m_var.visibility = 'visible'; 
			//mi_var.background = "FFFFFF"; 
		} 
	 
		lastMenu = m_var; 
		lastHeader = mi_var; 
		 
		 
 
	} 
 
	 
 
	function findPosX(obj) 
	{ 
		var curleft = 0; 
		if (document.getElementById || document.all) 
		{ 
			while (obj.offsetParent) 
			{ 
				curleft += obj.offsetLeft 
				obj = obj.offsetParent; 
			} 
		} 
		else if (document.layers) 
			curleft += obj.x; 
		return curleft; 
	} 
 
	function findPosY(obj) 
	{ 
		var curtop = 0; 
		if (document.getElementById || document.all) 
		{ 
			while (obj.offsetParent) 
				{ 
				curtop += obj.offsetTop 
				obj = obj.offsetParent; 
			} 
		} 
		else if (document.layers) 
			curtop += obj.y; 
		return  curtop; 
	}
	
	
	