/*
author:www.soft027.com
email:hbjsp@21cn.com
*/
function doClick(o){ 
	o.className="dhover"; 
	var j; 
	var id; 
	for(var i=1;i<=9;i++){ 
		id ="nav"+i; 
		j = document.getElementById(id); 
		if(id != o.id){ 
			j.className=""; 
		}
	} 
}
if(typeof(HTMLElement)!="undefined"){   
	HTMLElement.prototype.contains=function(obj){
		while(obj!=null&&typeof(obj.tagName)!="undefind"){
			if(obj==this) return true;
			obj=obj.parentNode;
		}
		return false;
	};
}

function ndoClick(theEvent){
	var j;
	var id;
	var cur_id;
	var cur_j;
	if (theEvent){
		var browser=navigator.userAgent;
		if (browser.indexOf("Firefox")>0){
			if (document.getElementById('top_sub2').contains(theEvent.relatedTarget)){
				return;
			}
		} 
		if (browser.indexOf("MSIE")>0){
			if (document.getElementById('top_sub2').contains(event.toElement)) {
				return;
			}
		}
	}
	for(var i=1;i<=9;i++){ 
		id ="nav"+i; 
		j = document.getElementById(id);
		j.className=""; 
	}
	cur_id = "nav"+cur_nav;
	cur_j = document.getElementById(cur_id);
	cur_j.className = "dhover";
}

function qqonline(){
document.write("<a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=8e059ebf0ef19ac51ba367db77f1c0df300bb75bc20e802c0b9d2ae33872b9e8\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=8e059ebf0ef19ac51ba367db77f1c0df300bb75bc20e802c0b9d2ae33872b9e8';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:363530802:41' alt=\"\"></a>");
document.write("&nbsp;&nbsp;&nbsp;");
document.write("<a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=6261c32927bd78b34e8ff9958350862d6cb36bb7b6ea65ea3d4168725a577bc9\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=6261c32927bd78b34e8ff9958350862d6cb36bb7b6ea65ea3d4168725a577bc9';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC='http://wpa.qq.com/pa?p=1:787032305:41' alt=\"\"></a>");
document.write("&nbsp;&nbsp;");
}