function bookmarkit()
{
	try{
		if(
			(typeof window.sidebar=="object")&&(typeof window.sidebar.addPanel=="function")){window.sidebar.addPanel("CQCT.ORG","http://cqct.org","CQCT.ORG")}else{window.external.AddFavorite("http://www.cqct.org","\u91cd\u5e86\u5efa\u8bbe\u79d1\u6280")}}catch(A){}return false
}

function tabit(B)
{
	var D=new String(B.id);
	var C=D.indexOf("_");
	var F=D.lastIndexOf("_")+1;
	var E=D.substr(0,C);var G=parseInt(D.substr(F,1));
	var A=B.parentNode.childNodes.length;
	for(i=0;i<A;i++)
	{
		document.getElementById(E+"_div_"+i).style.display="none";
		document.getElementById(E+"_btn_"+i).className=""
		}
		document.getElementById(E+"_div_"+G).style.display="block";
		B.className="curr"}
		var fodTime;
		function delaytabit(A)
		{clearTimeout(fodTime);fodTime=setTimeout(function(){tabit(A)},100)}function delaytabitNew(A){clearTimeout(fodTime);fodTime=setTimeout(function(){tabitNew(A)},100)}function tabitNew(B){var D=new String(B.id);var C=D.indexOf("_");var F=D.lastIndexOf("_")+1;var E=D.substr(0,C);var G=parseInt(D.substr(F,1));var A=B.parentNode.childNodes.length;for(i=0;i<A;i++){document.getElementById(E+"_div_"+i).style.display="none";document.getElementById(E+"_btn_"+i).className=""}document.getElementById(E+"_leftdiv_0").style.display="none";document.getElementById(E+"_leftdiv_1").style.display="none";document.getElementById(E+"_div_"+G).style.display="block";document.getElementById(E+"_div_"+G).style.display="inline";document.getElementById(E+"_btn_"+G).className="curr";if(G==1){document.getElementById(E+"_leftdiv_1").style.display="block";document.getElementById(E+"_leftdiv_1").style.display="inline"}else{document.getElementById(E+"_leftdiv_0").style.display="block";document.getElementById(E+"_leftdiv_0").style.display="inline"}}

function MNGetE(A){return document.getElementById(A)}

function checkMapSearchFrm(){var C=MNGetE("txtInput").value;var A=MNGetE("city").value;if(C.replace(/(^\s*)|(\s*$)/g,"")==""||C=="\u8bf7\u8f93\u5165\u5173\u952e\u5b57"){C=""}var B="http://ditu.live.com/?q="+encodeURI("\u5728"+A+"\u627e"+C)+"&FORM=MSNMINI";window.open(B)}