
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<10;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==5)
	{
		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=%E5%AE%81%E6%B3%A2%E5%B8%82%E6%B5%B7%E6%9B%99%E5%8C%BA%E5%BC%80%E6%98%8E%E8%A1%97396%E5%8F%B7%E5%B9%B3%E5%AE%89%E5%A4%A7%E5%8E%A6902%E5%AE%A4&amp;sll=36.066324,120.395179&amp;sspn=0.007736,0.019312&amp;g=%E9%9D%92%E5%B2%9B%E5%B8%82%E7%A6%8F%E5%B7%9E%E5%8D%97%E8%B7%AF38%E5%8F%B7%E4%B8%80%E5%8F%B7%E6%A5%BC2%E5%8D%95%E5%85%83201%E5%AE%A4&amp;ie=UTF8&amp;ll=29.872653,121.55289&amp;spn=0.006295,0.006295&amp;brcurrent=3,0x344d7cd3cc8aba07:0x1a7a064e1aac41e2%3B5,0&amp;output=embed&amp;s=AARTsJqXRarPW2vO33Bfa6fzWZMQ5SGzuQ'></iframe>";
	}
	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=%E4%B8%8A%E6%B5%B7+%E5%B8%B8%E7%86%9F%E5%A4%96%E8%BF%90%E4%B8%8A%E6%B5%B7%E5%88%86%E5%85%AC%E5%8F%B8%E7%A9%BA%E8%BF%90%E9%83%A8&amp;sll=31.176229,121.749501&amp;sspn=0.247916,0.617981&amp;ie=UTF8&amp;brcurrent=3,0x35b27040b1f53c33:0x295129423c364a1%3B5,0&amp;cid=0,0,17283851201497548689&amp;s=AARTsJpGixvTfaLfZgFupbbYwfjArQCkVQ&amp;ll=31.291461,121.79718&amp;spn=0.410734,0.823975&amp;z=10&amp;iwloc=A&amp;output=embed'></iframe>";
	}
	if(v==2)
	{
		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=%E4%B8%8A%E6%B5%B7%E5%B8%82%E6%B5%A6%E4%B8%9C%E6%96%B0%E5%8C%BA%E6%9C%BA%E5%9C%BA%E9%95%87%E6%99%A8%E9%98%B3%E8%B7%AF75%E5%8F%B7%E6%99%A8%E9%98%B3%E5%95%86%E5%8A%A1%E6%A5%BC&amp;sll=37.649034,106.435547&amp;sspn=60.604184,158.203125&amp;ie=UTF8&amp;ll=31.185857,121.753664&amp;spn=0.008188,0.019312&amp;z=14&amp;iwloc=A&amp;brcurrent=3,0x35ad8f0533a28471:0xed995ef2383039ab%3B5,0&amp;cid=0,0,3912854669640512115&amp;output=embed&amp;s=AARTsJrMhBHOWHk9CNAGbZh9UhR_6-6VjQ'></iframe>";
	}
	if(v==3)
	{
		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%B7%B1%E5%9C%B3%E5%B8%82%E5%8D%97%E5%B1%B1%E5%8C%BA%E8%9B%87%E5%8F%A3%E6%B5%B7%E4%B8%8A%E4%B8%96%E7%95%8C%E6%B5%B7%E6%BB%A8%E5%95%86%E4%B8%9A&amp;sll=37.649034,106.435547&amp;sspn=60.604184,158.203125&amp;ie=UTF8&amp;ll=22.486062,113.9203&amp;spn=0.006328,0.011291&amp;iwloc=lyrftr:cn1.6,0x3403efa2f4e0e917:0xed6103fdadaa6ead,22.484485,113.915176&amp;brcurrent=3,0x3403efbcd4018173:0x1d79710ec5eb4cc7%3B5,0&amp;output=embed&amp;s=AARTsJpOypt36huaR-8vOjl9N21DiIjI8Q'></iframe>";
	}
	if(v==4)
	{
		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=%E9%9D%92%E5%B2%9B%E5%B8%82%E9%A6%99%E6%B8%AF%E4%B8%AD%E8%B7%AF52%E5%8F%B7%E6%97%B6%E4%BB%A3%E5%B9%BF%E5%9C%BA1901%E5%AE%A4&amp;sll=36.06567,120.391408&amp;sspn=0.008742,0.019312&amp;ie=UTF8&amp;brcurrent=3,0x35960fd582f8f06b:0x614d82fa614cf2f3%3B5,0&amp;cid=14826716964532427250&amp;ll=36.07595,120.395823&amp;spn=0.027749,0.060081&amp;z=14&amp;iwloc=A&amp;output=embed'></iframe>";
	}
	if(v==6)
	{
		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=%E5%A4%A9%E6%B4%A5%E5%B8%82%E6%B2%B3%E8%A5%BF%E5%8C%BA%E5%A4%A7%E6%B2%BD%E5%8D%97%E8%B7%AF501%E5%8F%B7%E6%81%92%E5%8D%8E%E5%A4%A7%E5%8E%A62%E5%8F%B7%E6%A5%BC1503%E5%AE%A4&amp;sll=29.873099,121.552885&amp;sspn=0.008299,0.019312&amp;ie=UTF8&amp;brcurrent=3,0x35edfc6f83254e85:0x6c783072aa2302de%3B5,0&amp;ll=39.103669,117.225028&amp;spn=0.006295,0.006295&amp;output=embed&amp;s=AARTsJpCy7NrMxDOevs0ahbc2Q8--oTD4Q'></iframe>";
	}
	if(v==7)
	{
		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%E5%B8%B8%E7%86%9F%E5%B8%82%E7%8F%A0%E6%B1%9F%E4%B8%9C%E8%B7%AF8%E5%8F%B7%E5%9B%BD%E9%99%85%E7%BB%8F%E8%B4%B8%E5%A4%A7%E5%8E%A6&amp;sll=39.103669,117.225028&amp;sspn=0.007426,0.019312&amp;ie=UTF8&amp;ll=31.674786,120.761633&amp;spn=0.008145,0.019312&amp;z=14&amp;iwloc=A&amp;brcurrent=3,0x35b3cc1edd9c6aab:0x6a0f6a8306186f48%3B5,0&amp;cid=0,0,4350789216165223170&amp;output=embed&amp;s=AARTsJoHp1NcicE0YEp1lzmr0r9_m5eWdA'></iframe>";
	}

	return str;
	
}