var t;
function showbubble(evt, strText) {
    if ($('advert').style.visibility != 'visible') {
        evt = (evt)? evt: ((window.event) ? window.event : "");
        if (evt){               
            $('adverturl').innerHTML = strText;
            $('advert').style.top = evt.clientY + document.body.scrollTop + 10 + 'px';
            $('advert').style.left = evt.clientX + 'px';
            $('advert').style.position = 'absolute';
            $('advert').style.visibility = 'visible';
            t = window.setTimeout('hidebubble()',10000);
        }else{alert('cant show bubble!');}
            
    }
}
function hidebubble() {
    try{
        $('advert').style.visibility = 'hidden';
        window.clearTimeout(t);
    }catch(e){}
}