function $2(ObjID){
return document.getElementById(ObjID);
}
function QQ(){
var Div=document.createElement('div');
Div.id='qq_online';
Div.style.position='absolute';
Div.style.right='0px';
Div.style.top='200px';
Div.style.display='none';
Div.onclick=function(){DisDiv('qq_small',1);DisDiv('qq_online',0);};
var Html="";
Html+="
Online Service
";
Html+="';
Html+='';
Div.innerHTML=Html;
document.body.appendChild(Div);
FloatDiv('qq_online',200);
var Div2=document.createElement('img');
Div2.id='qq_small';
Div2.src='Images/QQ_Small.gif';
Div2.style.position='absolute';
Div2.style.right='0px';
Div2.style.top='200px';
Div2.style.cursor='pointer';
Div2.onclick=function(){DisDiv('qq_online',1);DisDiv('qq_small',0);};
document.body.appendChild(Div2);
FloatDiv('qq_small',200);
}
function FloatDiv(Obj,Ch){
var Did=$2(Obj);
var DidTop=parseInt(Did.style.top);
var Diff=(document.documentElement.scrollTop+document.body.scrollTop+Ch-DidTop)*.80;
Did.style.top=Ch+document.documentElement.scrollTop+document.body.scrollTop-Diff+'px';
FloatID=setTimeout("FloatDiv('"+Obj+"',"+Ch+")",20);
}
window.onload=function(){QQ();}