< id=skype_tb_hide style="DISPLAY: none; : 100; LEFT: 0px; WIDTH: 186px; : ; TOP: 0px; HEIGHT: 19px" Border=0 scrolling=no>>
< defer>
var skype_curid=0,skype_active=false,skype_showseed=0,skype_ctm= 0;
function HideSkype() {
if(!skype_active)
HideSkypeFull();
else
setTimeout("HideSkype()",2000);
}
function HideSkype2() {
skype_showseed=0;
if(!skype_active)
HideSkypeFull();
else {
skype_active=false;
setTimeout("HideSkype()",6000);
}
}
function HideSkypeFull() {
skype_active=false;
document.all.skype_menu.style.visibility="hidden";
document.all.skype_tb_hideframe.style.display = "none";
}
function CheckSkype() {
skype_active=true;
}
function ShowSkype(obj,id,sadd,skypeout,name,title,stat) {
skype_active=true;
if(document.all.skype_menu.style.visibility!="hidden" && skype_curid==id)
return;
skype_showseed=Math.random();
clearTimeout(skype_ctm);
var brd=obj.getBoundingClientRect();
var pcx=brd.left-2, pcy=brd.top-22;
skype_ctm=
setTimeout('DoShowSkype('+skype_showseed+','+id+','+sadd+',' +skypeout+',"'+name+'","'+title+'",'+stat+','+event.clientY+ ','+event.clientX+','+pcx+','+pcy+')',200);
}
function DoShowSkype(seed,id,sadd,skypeout,name,title,stat,cY,cX,pcx, pcy) {
if(seed!=skype_showseed)
return;
skype_showseed=0;
skype_curid=id;
var menu=document.all.skype_menu;
menu.style.visibility="visible";
var fname=prepareText("Call %s","Call",name);
var oname=document.all.name_text;
setSkypeTextWithCut(oname,fname,170);
bNew=(navigator.appVersion.indexOf("MSIE 6.")>=0 && document.compatMode!="BackCompat");
var docelem = (bNew) ? document.documentElement : document.body;
scrollY=docelem.scrollTop;
scrollX=docelem.scrollLeft;
var my=pcy+scrollY, mx=pcx+scrollX, mby=docelem.clientHeight+scrollY, mbx=docelem.clientWidth-192+scrollX;
if(my>mby) my=mby;
if(my
mbx) mx=mbx;
if(mx16)
// m_name=m_name.substring(0,13)+'...';
// obj.innerText=m_name;
// return;
var ct=text,ctf=text;
while(true) {
obj.innerText=ctf;
var obrd=obj.getBoundingClientRect();
var ocx=obrd.right-obrd.left;
if(ocx0) {
var s=new String(act1);
s=s.replace("%s",param);
return s;
}
return act2;
}
function skype_tb_imgAlt(imgName,act1,act2,title) {
if(document.images)
document[imgName].alt=prepareText(act1,act2,title);
}
function skype_tb_imgDoOnOff(imgName,id,onoff) {
document[imgName+id].src=document[imgName+onoff].src;
}
function skype_tb_imgOnOff(onoff,id) {
if(document.images) {
skype_tb_imgDoOnOff('skype_tb_img_l',id,onoff);
skype_tb_imgDoOnOff('skype_tb_img_r',id,onoff);
skype_tb_imgDoOnOff('skype_tb_img_i',id,onoff);
document.a ll['skype_tb_text'+id] .className=(onoff=='_on')?'skype_tb_injectionInAct':'skype_t b_injectionIn';
}
}