<!--
	if(document.getElementById(suffix)!=null){
		document.getElementById(suffix).className="left_menu_over";
	}

    //-- 在线ＱＱ，跟随滚动条上下移动 Start --//
	
	function moveRightEdge(ObjName) {
		var Obj = document.getElementById(ObjName);
		var yMenuTo = GetScrollTop();
		timeoutNextCheck = 500;
		Obj.style.marginTop =  yMenuTo + "px";
		setTimeout ('moveRightEdge("'+ ObjName + '")',timeoutNextCheck);	
	}

	var w3c=(document.getElementById)? true: false;
	var agt=navigator.userAgent.toLowerCase();
	var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1));
	function IeTrueBody(){
		return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;
	}
	function GetScrollTop(){
		return ie ? IeTrueBody().scrollTop : window.pageYOffset;
	}

	var divMenu = document.getElementById("divMenu");
	divMenu.style.width = "26px";
	divMenu.style.marginLeft = getDivMenuLeft1(952,954) ;
	divMenu.style.display = "";
	moveRightEdge("divMenu");
	
	// --其它漂浮物--  //	
	var OtherLeftObj = document.getElementById("OtherLeft");
	OtherLeftObj.style.right = "0px" ;
	OtherLeftObj.style.left = getDivMenuLeft1(952,954) ;
	OtherLeftObj.style.display = "";
	moveRightEdge("OtherLeft");

    OtherRightObj = document.getElementById("OtherRight");
	OtherRightObj.style.right = "0px" ;
	OtherRightObj.style.left = getDivMenuLeft1(952,954) ;
	OtherRightObj.style.display = "";
	moveRightEdge("OtherRight");
	
    OtherRightObj = document.getElementById("VIP_client");
	OtherRightObj.style.right = "0px" ;
	OtherRightObj.style.left = getDivMenuLeft1(952,954) ;
	OtherRightObj.style.display = "";
	moveRightEdge("VIP_client");
	
	//-- 企业中国 --//
    document.getElementById("QycnImg").onClick = QycnImgClick ;
    function QycnImgClick(){
         //alert("ok");
        
		if(window.navigator.userAgent.indexOf("MSIE")!=-1){
			window.open ("/qycn.asp", "群英在线客服", "height=500, width=600, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no");
            //showModalDialog("/qycn.asp","群英在线客服","dialogWidth:650px;status:no;dialogHeight:500px") ;   
		}
		else if(window.navigator.userAgent.indexOf("Firefox")!=-1){
			window.open ("/qycn.asp", "群英在线客服", "height=500, width=600, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no");
			//showModalDialog("/qycn.asp","群英在线客服","dialogWidth:650px;status:no;dialogHeight:500px") ;   
		}


    }

    // --  //	
	
	//鼠标经过“在线ＱＱ”和离开“在线ＱＱ”
	function OnlineOver(){
		divMenu.style.width = "200px"; 
		divMenu.style.marginLeft = getDivMenuLeft() ;
		document.getElementById("divOnline").style.display = "";
	}
	
	function OnlineOut(){
		divMenu.style.width = "26px";
		divMenu.style.marginLeft = getDivMenuLeft1(952,954) ;
		document.getElementById("divOnline").style.display = "none";
	}

    
	function getPageSize(){  
	    return (window.screen.width - 20)
	}
    
	//自动获取“在线ＱＱ”的位置
	function getDivMenuLeft(){
		if(window.navigator.userAgent.indexOf("MSIE")!=-1){
			DivMenuLeft = ((getPageSize() -952)/2 + 778) + "px" ;
		}
		else if(window.navigator.userAgent.indexOf("Firefox")!=-1){
			DivMenuLeft = ((getPageSize() -952)/2 + 781) + "px" ;
		}
		return DivMenuLeft;
	}
		
	function getDivMenuLeft1(IeNem,FfNem){
		if(window.navigator.userAgent.indexOf("MSIE")!=-1){
			DivMenuLeft = ((getPageSize() -952)/2 + IeNem) + "px" ;
		}
		else if(window.navigator.userAgent.indexOf("Firefox")!=-1){
			DivMenuLeft = ((getPageSize() -952)/2 + FfNem) + "px" ;
		}
		return DivMenuLeft;
	}
    //-- 在线ＱＱ，跟随滚动条上下移动 End --//
	
	
	//var wLHeight=document.getElementById("left").clientHeight;
	function LRHeight(){      //-- 控制id=left与id=right的高度 --//
		if(document.getElementById("left")!=null && document.getElementById("right")!=null){
			document.getElementById("left").style.height=(document.getElementById("right").clientHeight)+"px";
		}
	}
	LRHeight();




	if(window.navigator.userAgent.indexOf("Firefox")!=-1 && (location.pathname == "/index.asp" || location.pathname == 

"/")){
		fHeight("usrname");
		fHeight("usrpass");
		fHeight("usrverify");
		fHeight("u_name");
		fHeight("level");
	}
    
	function fHeight(inputID){
	   if(document.getElementById(inputID)!=null){ document.getElementById(inputID).style.height="15px";}
	}

    //以下代码功能是：让Firefox支持innerText
	function isIE(){ //ie?
	   if (window.navigator.userAgent.toLowerCase().indexOf("msie")>=1)
		return true;
	   else
		return false;
	}
	
	if(!isIE()){ //firefox innerText define
	   HTMLElement.prototype.__defineGetter__("innerText",
		function(){
		 var anyString = "";
		 var childS = this.childNodes;
		 for(var i=0; i<childS.length; i++) {
		   if(childS[i].nodeType==1)
		     anyString += childS[i].tagName=="BR" ? '\n' : childS[i].innerText;
		   else if(childS[i].nodeType==3)
		     anyString += childS[i].nodeValue;
		 }
		 return anyString;
		}
	   );
	   HTMLElement.prototype.__defineSetter__(     "innerText",
		function(sText){
		 this.textContent=sText;
		}
	   );
	}



	
	
    // --点击在线客服-- //
    /*
	document.getElementById("CustomerService").onclick=function(){
		    var sUrl = "/dialog_1.htm?arg=qyeeecom&style=2&charset=gbk&lytype=0&referer=11&tpl=crystal_blue";
			if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){     //--FF
				openwindow(sUrl, "我要投诉", "695","467");
			}
			else{
				if(window.XMLHttpRequest){
					if(window.ActiveXObject){      //--IE7 
						showModalDialog

(sUrl,"","dialogWidth:695px;status:no;dialogHeight:497px;center=yes;");
					}
				}	
				else{   //--IE6
				    openwindow(sUrl, "我要投诉", "695","467");
				}
			}
	}
     */
	// -- -- //
	
	
    // --点击vip服务-- //
	function vipClient(){
		var pers="q="+Math.random();
		var url="/client_VIP/checkVIP_ajax.asp";
		var getVIP = new Ajax.Request(url,{method: 'get',parameters: pers,onComplete: vipResult});
	}
				
	function vipResult(JSON){	
		var list=eval(JSON.responseText);
		if(list!=""){
			if(list[0].Login==1){
				if(list[0].VIP==1){
					if(list[0].URL!=""){
						var sUrl = list[0].URL ;
						if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){     //--FF
							openwindow(sUrl, "VIP 服务", "490", "243")
						}
						else{
							if(window.XMLHttpRequest){
								if(window.ActiveXObject){      //--IE7 
									showModalDialog

(sUrl,"","dialogWidth:490px;status:no;dialogHeight:230px;center=yes;");
								}
							}	
							else{   //--IE6
								openwindow(sUrl, "VIP 服务", "473", "268")
							}
						}
					}
				}
				else{
					alert("对不起，您暂时不是VIP会员，未能享受此服务！");
				}
			}
			else{
				alert("对不起,您尚未登陆!");
			}	
		}
	}
	// -- -- //

   function openwindow( url, winName, width, height){
		xposition=0; yposition=0;
		if ((parseInt(navigator.appVersion) >= 4 )){
			xposition = (screen.width - width) / 2;
			yposition = (screen.height - height) / 2;
		}
		theproperty= "width=" + width + "," 
		+ "height=" + height + "," 
		+ "location=0," 
		+ "menubar=0,"
		+ "resizable=1,"
		+ "scrollbars=0,"
		+ "status=0," 
		+ "titlebar=0,"
		+ "toolbar=0,"
		+ "hotkeys=0,"
		+ "screenx=" + xposition + "," //for Netscape
		+ "screeny=" + yposition + "," //for Netscape
		+ "left=" + xposition + "," //for IE
		+ "top=" + yposition; //for IE 
		window.open( url,winName,theproperty );
	}
	
//-->