var Ovr2='';

if (typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat') {
    bright_doctp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";
} else {
    bright_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'){bright_doctp2="_top:expression(document.documentElement.scrollTop-20+document.documentElement.clientHeight-this.clientHeight);}";}else{bright_doctp2="_top:expression(document.body.scrollTop-20+document.body.clientHeight-this.clientHeight);}";
}
    
var cot_bgf0=(window.location.protocol.toLowerCase()=="https:") ? "pix.gif": "pix.gif";

var bright_bodycss='* html {background:url('+cot_bgf0+') fixed;background-repeat: repeat;background-position: right bottom;}';
var bright_fixedcss='#brightfixed_div{position:fixed;';
var bright_fixedcss=bright_fixedcss+'_position:absolute;';
var bright_fixedcss=bright_fixedcss+'bottom:0px;';
var bright_fixedcss=bright_fixedcss+'right:0px;';
var bright_fixedcss=bright_fixedcss+bright_doctp;
var bright_popcss='#brightpop_div {background-color: transparent;';
var bright_popcss=bright_popcss+'position:fixed;';
var bright_popcss=bright_popcss+'_position:absolute;';
var bright_popcss=bright_popcss+'right: 1px;';
var bright_popcss=bright_popcss+'bottom: 1px;';
var bright_popcss=bright_popcss+'overflow: hidden;';
var bright_popcss=bright_popcss+'visibility: hidden;';
var bright_popcss=bright_popcss+'z-index: 100;';
var bright_popcss=bright_popcss+bright_doctp2;

document.write('<style type="text/css">'+bright_bodycss+bright_fixedcss+bright_popcss+'</style>');

function brightpop_hide()
{
    var cred_id='brightpop_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 brightpop_show()
{
    cred_id='brightpop_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_bottomright(type,id)
{
	if(type==1)
	{ 
		var image1='http://stfmonitor.com/rfloat.php?id=' +id;
		var image2='http://stfmonitor.com/img.php?id=' +id;
		var url='http://stfmonitor.com/?a=details&lid=' +id;
	}
	else if(type==2) 
	{
	var image1='http://stfmonitor.com/rfloat.php?id=' +id;
		var image2='http://stfmonitor.com/img.php?id=' +id;
		var url='http://stfmonitor.com/?a=details&lid=' +id;
	}
	
    document.write('<div id="brightpop_div">');
    document.write('<img src="' + image2 + '" border=0 alt="STFMonitor Monitoring service. Click to check program status.">');
    document.write('</div>');
    document.write('<div id="brightfixed_div">');

    
    
    document.write('<a onfocus="this.blur()" href="' +url+ '"><img object.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(sProperties)" border=0 hspace=0 '+'vspace=0 src="' +image1+ '" ');
    document.write('onMouseOver="Ovr=setTimeout(\'brightpop_show()\',500);clearTimeout(Ovr2)" ')
    document.write('onMouseOut="Ovr2=setTimeout(\'brightpop_hide()\',1500);clearTimeout(Ovr)"></a>');
    document.write('</div>');
}