var Htl1=Htl2='';
if (typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat') {
    tl_doctp="_top:expression(document.documentElement.scrollTop+this.clientHeight-100);_left:expression(document.documentElement.scrollLeft);}";
    tl_doctp2="_top:expression(document.documentElement.scrollTop+this.clientHeight-offsetHeight+50);}";
} else {
    tl_doctp="_top:expression(document.body.scrollTop+this.clientHeight-100);_left:expression(document.body.scrollLeft);}";
    tl_doctp2="_top:expression(document.body.scrollTop+this.clientHeight-offsetHeight+50);}";
}

var tl_fixedcss='#tlfixed_div{position:fixed;_position:absolute;top:0px;left:0px;z-index: 1000;'+tl_doctp;
var tl_popcss='#tlpopup_div {background-color: transparent;position:fixed;_position:absolute;left: 50px;top: 50px;overflow: hidden;visibility: hidden;z-index: 1000;'+tl_doctp2;
document.write('<style type="text/css">'+tl_fixedcss+tl_popcss+'</style>');

function tlpop_hide()
{
    var cred_id='tlpopup_div';
    if (document.getElementById) {
        document.getElementById(cred_id).style.visibility='hidden';
    } else if (document.layers) {
        document.layers[cred_id].visibility='hidden';
    } else if (document.all) {
       eval("document.all.'+cred_id+'.style.v=\"hidden\"");
    }
}

function tlpop_show()
{
    var cred_id='tlpopup_div';
    if (document.getElementById) {
        document.getElementById(cred_id).style.visibility='visible';
    } else if (document.layers) {
        document.layers[cred_id].visibility='show';
    } else if (document.all) {
       eval("document.all.'+cred_id+'.style.v=\"visible\"");
    }
}

function show_tl(id)
{
		var image1='http://www.hyip.biz/mcorner'+id+'_1.png';
		var image2='http://www.hyip.biz/mbutton'+id+'.gif';
		var url='http://www.hyip.biz/details/'+id+'/';
        var pixel='http://www.hyip.biz/images/pixel.gif';

    document.write('<div id="tlpopup_div">');
    document.write('<img name=topleft src="' + image2 + '" border=0 alt="HYIP">');
    document.write('</div>');
    document.write('<div id="tlfixed_div">');
   if (/MSIE (5\.5|6).+Win/.test(navigator.userAgent))
  {
 document.write('<a onfocus="this.blur()" href="' +url+ '" target="_blank"><img border=0 hspace=0 '+'vspace=0 src="' +pixel+ '" + style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+image1+')" ');
 } else {
document.write('<a onfocus="this.blur()" href="' +url+ '" target="_blank"><img border=0 hspace=0 '+'vspace=0 src="' +image1+ '" ');

 }
    document.write('onMouseOver="Htl1=setTimeout(\'tlpop_show()\',100);clearTimeout(Htl2)" ')
    document.write('onMouseOut="Htl2=setTimeout(\'tlpop_hide()\',100);clearTimeout(Htl1)"></a>');
    document.write('</div>');
}