var online= new Array();
var js=document.scripts;
kfguin=js[js.length-1].src.substring(js[js.length-1].src.lastIndexOf("?")+1,js[js.length-1].src.length);
var urlroot = "http://im.bizapp.qq.com:8000/";
lastScrollY = 0;
//var kfguin="156035136";
var ws="http://www.dijiit.com/";
var type="0";
var wpadomain="bizapp";
var Browser = {
ie:/msie/.test(window.navigator.userAgent.toLowerCase()),
moz:/gecko/.test(window.navigator.userAgent.toLowerCase()),
opera:/opera/.test(window.navigator.userAgent.toLowerCase()),
safari:/safari/.test(window.navigator.userAgent.toLowerCase())
};
if(kfguin)
{
_Ten_rightDivHtml = '
';
_Ten_rightDivHtml += kf_getPopup_Ten_rightDivHtml(kfguin,ws,wpadomain);
_Ten_rightDivHtml += '
';
document.write(_Ten_rightDivHtml);
if(type==1 && kf_getCookie('hasshown')==0)
{
companyname = companyname.substr(0,15);
welcomeword = kf_processWelcomeword(welcomeword);
kfguin = kf_getSafeHTML(kfguin);
companyname = kf_getSafeHTML(companyname);
welcomeword = welcomeword.replace(/
/g,'\r\n');
welcomeword = kf_getSafeHTML(welcomeword);
welcomeword = welcomeword.replace(/\r/g, "").replace(/\n/g, "
");
window.setTimeout("kf_sleepShow()",10000);
}
window.setTimeout("kf_moveWithScroll()",1);
}
function kf_moveWithScroll()
{
if(typeof window.pageYOffset != 'undefined') {
nowY = window.pageYOffset;
}
else if(typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') {
nowY = document.documentElement.scrollTop;
}
else if(typeof document.body != 'undefined') {
nowY = document.body.scrollTop;
}
percent = .1*(nowY - lastScrollY);
if(percent > 0)
{
percent=Math.ceil(percent);
}
else
{
percent=Math.floor(percent);
}
document.getElementById("_Ten_rightDiv").style.top = parseInt(document.getElementById("_Ten_rightDiv").style.top) + percent+"px";
if(document.getElementById("kfpopupDiv"))
{
document.getElementById("kfpopupDiv").style.top = parseInt(document.getElementById("kfpopupDiv").style.top) + percent+"px";
}
lastScrollY = lastScrollY + percent;
tOut = window.setTimeout("kf_moveWithScroll()",1);
}
function kf_getPopup_Ten_rightDivHtml(kfguin,reference, wpadomain)
{
var temp = "";
temp += '';
temp += '
';
temp += '
';
temp += '
';
temp += '
';
temp += '
';
temp += '
';
return temp;
}