// JavaScript Document
bgstart=false;
bgname = "";

start=false;
cc = "";
star = "";
bgstar = "";

function hidealllayer()
	{
	Layer1.style.display = 'none';	
	Layer2.style.display = 'none';	
	Layer3.style.display = 'none';
	Layer3.style.display = 'none';
	}
function hidealllayerb()
	{
	Layer1b.style.display = 'none';	
	Layer2b.style.display = 'none';	
	Layer3b.style.display = 'none';
	Layer4b.style.display = 'none';
	}
		
		function showlayer(layer)
		{
		aa = document.getElementById(layer);
		if (start == true)
		{
		clearTimeout(star)
		}
		aa.style.display = 'block';
		}
		
		function hideLaryer(layer){
			aa = document.getElementById(layer);
			if (start == true)
			{
			clearTimeout(star)
			}
			cc = aa
			star = window.setTimeout("aa.style.display = 'none'",100);
			start = true;
		}
		
		function stophide()
		{	
			if (star != 'undefined'){
			clearTimeout(star);
			start = false;
			}
			
		}
