function showLayer(AllCount,CurrentID)
{
	var ss;
	for (i=1;i<=AllCount;i++)
	{
		ss=eval("sort"+i);
		if (CurrentID==i)
		{
			if (ss.style.display =="")
			{
				ss.style.display ="none";
			}
			else 
			{
				ss.style.display ="";
			}
		}
		else
		{
			ss.style.display ="none";
		}
	}
}


function showLayerz(AllCount,CurrentID)
{
	var ss;
	for (i=1;i<=AllCount;i++)
	{
		ss=eval("Zgs"+i);
		if (CurrentID==i)
		{
			if (ss.style.display =="")
			{
				ss.style.display ="none";
			}
			else 
			{
				ss.style.display ="";
			}
		}
		else
		{
			ss.style.display ="none";
		}
	}
}

function ShowMenu(ID)
{
	if (ID==1)
	{
	document.all.AboutL.style.display='none';
	document.all.ProductL.style.display='none';
	document.all.ServiceL.style.display='none';
	document.all.ContactL.style.display='none';
	}
	if (ID==2)
	{
	document.all.AboutL.style.display='';
	document.all.ProductL.style.display='none';
	document.all.ServiceL.style.display='none';
	document.all.ContactL.style.display='none';
	}
	if (ID==3)
	{
	document.all.AboutL.style.display='none';
	document.all.ProductL.style.display='';
	document.all.ServiceL.style.display='none';
	document.all.ContactL.style.display='none';
	}
	if (ID==4)
	{
	document.all.AboutL.style.display='none';
	document.all.ProductL.style.display='none';
	document.all.ServiceL.style.display='';
	document.all.ContactL.style.display='none';
	}
	if (ID==5)
	{
	document.all.AboutL.style.display='none';
	document.all.ProductL.style.display='none';
	document.all.ServiceL.style.display='none';
	document.all.ContactL.style.display='';
	}
}


function show_image(name)
{
	var imagename=name;
	if (imagename=="")
	{
		document.showpro.src="upload/lmpic/products.jpg";
	}
	else
	{
		//imagepath = "../Upload/Sort/" + imagename;
		imagepath = imagename;
		//document.showpro.src=imagepath;
		document.showpro.src="../Upload/Sort/"+imagepath;
	}
}
