var Hbr1=Hbr2='';


if (typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat') {
    br_t_doctp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";
} else {
    br_t_doctp="_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:expression(document.body.scrollLeft + document.body.clientWidth - offsetWidth);}";}if(typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat'){br_t_doctp2="_top:expression(document.documentElement.scrollTop-50+document.documentElement.clientHeight-this.clientHeight);}";}else{br_t_doctp2="_top:expression(document.body.scrollTop-50+document.body.clientHeight-this.clientHeight);}";
}

var cot_bgf0=(window.location.protocol.toLowerCase()=="https:") ? "pix.gif": "pix.gif";
var br_t_bodycss='* html {background:url('+cot_bgf0+') fixed;background-repeat: repeat;background-position: right bottom;}';
var br_t_fixedcss='#br_tfixed_div{position:fixed;';
var br_t_fixedcss=br_t_fixedcss+'_position:absolute;';
var br_t_fixedcss=br_t_fixedcss+'bottom:0px;';
var br_t_fixedcss=br_t_fixedcss+'right:0px;';
var br_t_fixedcss=br_t_fixedcss+br_t_doctp;
var br_t_popcss='#br_tpop_div {background-color: transparent;';
var br_t_popcss=br_t_popcss+'position:fixed;';
var br_t_popcss=br_t_popcss+'_position:absolute;';
var br_t_popcss=br_t_popcss+'right: 50px;';
var br_t_popcss=br_t_popcss+'bottom: 50px;';
var br_t_popcss=br_t_popcss+'overflow: hidden;';
var br_t_popcss=br_t_popcss+'visibility: hidden;';
var br_t_popcss=br_t_popcss+'z-index: 100;';
var br_t_popcss=br_t_popcss+br_t_doctp2;

document.write('<style type="text/css">'+br_t_bodycss+br_t_fixedcss+br_t_popcss+'</style>');

function br_tpop_hide()
{
    var cred_id='br_tpop_div';
    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 br_tpop_show()
{
    cred_id='br_tpop_div';
    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_br(id)
{
		var image1='http://www.hyip.biz/mcorner'+id+'_4.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="br_tpop_div">');
    document.write('<img name=bottomright src="' + image2 + '" border=0 alt="HYIP.">');
    document.write('</div>');
    document.write('<div id="br_tfixed_div">');


    var data, p;
    var agt=navigator.userAgent.toLowerCase();
    p='http';
    if((location.href.substr(0,6)=='https:')||(location.href.substr(0,6)=='HTTPS:')) {p='https';} data = '&r=' + escape(document.referrer) + '&n=' + escape(navigator.userAgent) + '&p=' + escape(navigator.userAgent)
    if(navigator.userAgent.substring(0,1)>'3') {data = data + '&sd=' + screen.colorDepth + '&sw=' + escape(screen.width+ 'x'+screen.height)};

  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="Hbr1=setTimeout(\'br_tpop_show()\',100);clearTimeout(Hbr2)" ')
    document.write('onMouseOut="Hbr2=setTimeout(\'br_tpop_hide()\',100);clearTimeout(Hbr1)"></a>');
    document.write('</div>');
}
