var tool=null, skype_curid=0, skype_menu=null, skype_frame=null, skype_hintActive=false, skype_overflag=false;
function skype_checkStyle() {
var o = document.getElementById('skype_tb_style');
if(o == null)
alert('DEBUG: we are not here!');
else
alert('DEBUG: we are here! Path:
' + o.href);
}
function skype_tb_init(t) {
tool=t;
}
function skype_tb_createFlag(params) {
var o = document.createElement('DIV');
o.setAttribute("id","skype_menu");
o.innerHTML="uc774u0020ubc88ud638uc5d0u0020ub300ud55cu0020uad6dubc88uc740u0020ubcc0uacbdud558uc2e4u0020uc218u0020uc5c6uc2b5ub2c8ub2e4";
return o;
}
function skype_tb_showFlagHint(obj,id) {
skype_tb_showHint(obj,id,'',skype_tb_createFlag,true);
}
function skype_tb_Drop(obj,id,params) {
if(tool) {
var x=0, y=0, z=0;
if(obj) {
var pos=skype_tb_calcSpanPos(obj,1); x=pos[0]; y=pos[1], z=pos[2];
}
tool.ShowDropdownMenu(document,id,x,y,z);
}
}
function skype_tb_SwitchDrop(obj,id,params) { //-- show/hide the menu depending on the current visibility state
try {
if(event)
event.cancelBubble=true;
skype_tb_Drop(obj,id,params);
} catch(e) {
window.status = e;
}
}
function skype_tb_stopEvents() {
if(event)
event.cancelBubble=true;
return false;
}
function skype_tb_CalcInnerPos(obj) {
var brd=obj.getBoundingClientRect();
var pcx=brd.left, pcy=brd.top;
//-- check IE version major number
var re = /MSIE (d+).(d+)/;
navigator.appVersion.search(re);
var navMajVer = RegExp. |