
		function swapSo(which)
		{
			document.getElementById("_city").style.display="none";
			for(var i=0;i<3;i++)
			{
				if(i==which){
					eval("so"+i+".style.display='block'");
				}else{
					eval("so"+i+".style.display='none'");
				}
			}
		}
		
		function tosearch(flag)
		{
			var url="";
			switch(flag)
			{
			case 1 :
				url = "http://map.sogou.com/new/#c="+ mapc+"&lq=" + sogoumapsearch.query.value.toUpperCase() 
				window.open(url);
				break;
				
			case 2 :
				url = "http://map.sogou.com/bus/maps.htm?appid=" + busappid + "&start=" + sogoumapsearch.start1.value + "&tactic=8&mode=NORMAL&end=" + sogoumapsearch.end1.value 
				window.open(url);
				break;
				
			case 3 :
				url = "http://map.sogou.com/nav/nav.jsp?from=" + sogoumapsearch.start2.value + "&to=" + sogoumapsearch.end2.value
				window.open(url);
				break;
			}
		}

