var Hbl1=Hbl2='';

if (typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat') {
 bl__doctp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft);}";
} else {
 bl__doctp="_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft);}";}if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){bl__doctp2="_top:expression(document.documentElement.scrollTop-50+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft)+50;}";}else{bl__doctp2="_top:expression(document.body.scrollTop-50+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft)+50;}";
}

var HN_bgf0=(window.location.protocol.toLowerCase()=="https:") ? "pix.gif": "pix.gif";

var bl__bodycss='* html {background:url('+HN_bgf0+') fixed;background-repeat: repeat;background-position: right bottom;}';
var bl__fixedcss='#bl__fixed{position:fixed;';
var bl__fixedcss=bl__fixedcss+'_position:absolute;';
var bl__fixedcss=bl__fixedcss+'left:0px;';
var bl__fixedcss=bl__fixedcss+'bottom:0px;';
var bl__fixedcss=bl__fixedcss+bl__doctp;
var bl__popcss='#bl__pop {background-color: transparent;';
var bl__popcss=bl__popcss+'position:fixed;';
var bl__popcss=bl__popcss+'_position:absolute;';
//var bl__popcss=bl__popcss+'height: 245px;';
//var bl__popcss=bl__popcss+'width: 156px;';
var bl__popcss=bl__popcss+'left: 50px;';
var bl__popcss=bl__popcss+'bottom: 50px;';
var bl__popcss=bl__popcss+'overflow: hidden;';
var bl__popcss=bl__popcss+'visibility: hidden;';
var bl__popcss=bl__popcss+'z-index: 1000;';
var bl__popcss=bl__popcss+bl__doctp2;

document.write('<style type="text/css">'+bl__bodycss+bl__fixedcss+bl__popcss+'</style>');

function bl_pop_hide()
{
 var cred_id='bl__pop';
 var NNtype='hidden';
 var IEtype='hidden';
 var WC3type='hidden';
 if (document.getElementById) {
 eval("document.getElementById(cred_id).style.visibility=\""+WC3type+"\"");
 } else {
 if (document.layers) {
 document.layers[cred_id].visibility=NNtype;}else{if(document.all) {
 eval("document.all."+cred_id+".style.visibility=\""+IEtype+"\"");
 }
 }
 }
}

function bl_pop_show()
{
 cred_id='bl__pop';
 var NNtype='show';
 var IEtype='visible';
 var WC3type='visible';
 if (document.getElementById) {
 eval("document.getElementById(cred_id).style.visibility=\""+WC3type+"\"");
 } else {
 if (document.layers) {
 document.layers[cred_id].visibility=NNtype;
 } else {
 if (document.all) {
 eval("document.all."+cred_id+".style.visibility=\""+IEtype+"\"");
 }
 }
 }
}

function show_bl(id)
{
		var image1='http://www.hyip.biz/mcorner'+id+'_3.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="bl__pop">');
 document.write('<img name=bottomleft src="' + image2 + '" border=0 alt="HYIP.">');
    document.write('</div>');
 document.write('<div id="bl__fixed">');

 if (/MSIE (5\.5|6).+Win/.test(navigator.userAgent))
  {
 document.write('<a style="background-color: transparent;" onfocus="this.blur()" href="' +url+ '" target="_blank"><img style="border: 0px;" border=0 hspace=0 '+'vspace=0 src="' +pixel+ '" + style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+image1+')" ');
 } else {
 document.write('<a style="background-color: transparent;" onfocus="this.blur()" href="' +url+ '" target="_blank"><img style="border: 0px;" border=0 hspace=0 '+'vspace=0 src="' +image1+ '" ');
 }


 document.write('onMouseOver="Hbl1=setTimeout(\'bl_pop_show()\',100);clearTimeout(Hbl2)" ')
 document.write('onMouseOut="Hbl2=setTimeout(\'bl_pop_hide()\',100);clearTimeout(Hbl1)"></a>');
 document.write('</div>');
}
