var ChatWidth=560;
var ChatHeight=400;
var ChatLeft=(window.screen.width-ChatWidth)/2;
var ChatTop=(window.screen.height-ChatHeight)/2;
function aobj(IdStr){return document.getElementById(IdStr);}
function KillError(){return false;}
window.onerror=KillError;
var online=new Array();
var site="right";var chatserverdomain="http://www.mydomain.com.cn";var EnterpriseID="13004447206";var CompanyOnlineState=false;var WebCallOnlineIDArray=new Array();CompanyOnlineState=true;
var jkwebcallsid=""; //if 0,Show companyOnlineState, Else Show Person Online state;
var jkwebcallautoturn="no";//yes no
var jkwebcallOnline=""; //OnLine PicAddress or Text
var jkwebcallOffline=""; //OffLine PicAddress or Text
var jkwebcalladomain="http://"+document.domain;
var pa='sid='+jkwebcallsid+'&type=pic&online='+jkwebcallOnline+'&offline='+jkwebcallOffline;
var s1='
';
try{document.getElementById("jkwebcallimg").innerHTML=s1+s2+s3;}catch(e){};
function xx11(){
document.getElementById('divStayTopLeft').style.display='none';}
var online=new Array();
if (!document.layers)
document.write('
');
document.write('
');
document.write('');
document.write(' | ');
document.write('');
document.write('
');
if (!document.layers)
document.write('
');
var where = document.referrer
if (where == '') { where='a'; };
//
function requestQQchat(qqno){
try{location.href='Tencent://Message/?menu=yes&exe=&uin='+a2117[1]+'';}catch(e){};
return;
}
function requestWebchat(sid){
try{if (event.srcElement.tagName=='AREA')return;}catch(e){};
a2118=window.open(chatserverdomain+'/mychatserver/a1152.asp?autoturn=no&sid='+sid+'&where='+escape(where),'new', 'menubar=no,toolbar=no,status=no,width='+ChatWidth+',height='+ChatHeight+',left='+ChatLeft+',top='+ChatTop+',scrollbars=no, resizable=no');
}
function requestemail(){
try{if (event.srcElement.tagName=='AREA')return;}catch(e){};
a2118=window.open(chatserverdomain+'/mychatserver/ly.asp','new', 'menubar=no,toolbar=no,status=no,width='+ChatWidth+',height='+ChatHeight+',left='+ChatLeft+',top='+ChatTop+',scrollbars=no, resizable=no');
}
//
try{
var w=document.getElementById("img").width;
var h=document.getElementById("img").Height;
var closearea=(w-20)+',0,'+w+','+20;
document.getElementById('cls').coords=closearea;}catch(e){};
//
var margin=1;
var leftx,topy;
var docbd=document.compatMode=="CSS1Compat" ? document.documentElement: document.body;
var FloatLayer=document.getElementById("divStayTopLeft");
FloatLayer.style.display="";
function MoveLayer(){
topy=docbd.scrollTop + docbd.clientHeight/3;
if (site=="right"){leftx=docbd.clientWidth-FloatLayer.clientWidth-margin}else{leftx=docbd.scrollLeft+margin};
FloatLayer.style.top =topy+"px";
FloatLayer.style.left =leftx+"px";
setTimeout("MoveLayer();",20); }
MoveLayer();