
function cc(num){
    for(var id = 1;id<=2;id++)
    {
    var mainlay="lay"+id;
	var maintt="tt"+id;
    if(id==num){
    document.getElementById(mainlay).style.display="block";
	document.getElementById(maintt).className="bg1";
	}
    else{
	document.getElementById(maintt).className="bg2";
	document.getElementById(mainlay).style.display="none";
	}
  }
}

function showArea(r)
{
	for(var i=1;i<9;i++)
	{
		if(r==i)
		{
			document.getElementById("k"+i).style.display="block";
		}
		else
		{
			document.getElementById("k"+i).style.display="none";	
		}
	}
}

function doMenu(i){

	if(document.getElementById("submenu"+i).style.display=="block" && document.all["pic"+i].className=="m1"){
		document.getElementById("submenu"+i).style.display ="none";
		document.getElementById("pic"+i).className="m2"
	}else{
		document.getElementById("submenu"+i).style.display="block";
		document.getElementById("pic"+i).className="m1"
	}
}

function map(q)
{

	document.getElementById("p").style.display="block";
	document.getElementById("a1").style.display="block";
	document.getElementById("a1").style.height = document.documentElement.scrollHeight+20+"px";		
	document.getElementById("p").innerHTML = showMap(q);

}
function g()
{
	
	document.getElementById("p").style.display="none";
	document.getElementById("a1").style.display="none";
			
}

function showAssist()
{
	document.getElementById("assist").style.display="block";
	document.getElementById("a1").style.display="none";
}
function showMap(v)
{
	var str = "<div style='background:#FFFFFF;' ><div align='right' onMouseDown='g()' style='cursor:pointer' ><img src='/image/01.png'/></div></div>";
	if(v==1)
	{
		str += "<iframe width='700' height='400' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='http://ditu.google.cn/maps?f=q&amp;source=s_q&amp;hl=zh-CN&amp;geocode=&amp;q=%E6%B1%9F%E8%8B%8F%E7%9C%81%E5%B8%B8%E7%86%9F%E5%B8%82%E7%8F%A0%E6%B1%9F%E8%B7%AF172%E5%8F%B7%E5%9B%BD%E9%99%85%E7%BB%8F%E8%B4%B8%E5%A4%A7%E5%8E%A6%E4%BA%94%E6%A5%BC&amp;sll=37.649034,106.435547&amp;sspn=71.478716,158.203125&amp;ie=UTF8&amp;ll=31.674786,120.761633&amp;spn=0.009716,0.019312&amp;z=14&amp;iwloc=A&amp;brcurrent=3,0x35b58c9b668dcd83:0xa172a2189802eb75%3B5,0&amp;cid=4350789216165223170&amp;output=embed'></iframe>";
		
	}
	str +="<div style='background:#FFFFFF;' > <div align='right' onMouseDown='window.print()' style='cursor:pointer;line-height:18px; height:18px; width:700px; ' ><u>&#x6253;&#x5370;</u></div></div>";
	return str;
	
}



