var tmr=null;
var mov=false;
var txto=0;
var yoff=0;
var started=false;

function init(){if(ie||ns){mylayer=new Gl_layer(0,-100,10,"");if(ie) mylayer.ob.backgroundColor="#222255";else mylayer.ob.bgColor="#222255";mylayer.ob.borderColor="#ffffff";mylayer.ob.borderWidth="1px";mylayer.ob.borderStyle="solid";mymouse=Ms_initmouse();started=true}}
function mo(txt){if(ie5)yoff=document.body.scrollTop;if(ie||ns){pretxt="<table width=150 cellpadding=1 cellspacing=0 border=0><tr><td><font color=\"#ffffff\" face=\"Arial\" size=2>";posttxt="</font></td></tr></table>";windowheight=Gl_get_window_height();windowwidth=Gl_get_window_width();mylayer.write(pretxt+txt+posttxt);txtheight=mylayer.height;txtwidth=mylayer.width;if(!mov) tmr=setInterval('follow()',50);mov=true}window.status=txt}
function mout(){if(ie||ns){mylayer.moveTo(0,-500);mov=false;clearInterval(tmr);txto=0}window.status="Done"}
function follow(){var lleft=0;var ltop=0;if(ie&&(txto<80)){txto+=5;mylayer.ob.filter="alpha(opacity="+txto+")"}if((mymouse.x+txtwidth+20)<windowwidth) lleft=mymouse.x+5;else lleft=mymouse.x-(txtwidth+10);if((mymouse.y+yoff+txtheight+30)<windowheight+yoff) ltop=mymouse.y+yoff+20;else ltop=mymouse.y+yoff-(txtheight+5);mylayer.moveTo(lleft,ltop)}
