var Ovr2='';

if (typeof document.compatMode!='undefined'&&document.compatMode!='BackCompat') 
{
    cot_t1_DOCtp="_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}";
} 
else 
{
    cot_t1_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')
{
		cot_t1_DOCtp2="_top:expression(document.documentElement.scrollTop-20+document.documentElement.clientHeight-this.clientHeight);}";
}
else
{
		cot_t1_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 cot_tl_bodyCSS='* html {background:url('+cot_bgf0+') fixed;background-repeat: repeat;background-position: right bottom;}';
var cot_tl_fixedCSS='#cot_tl_fixed{position:fixed;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'_position:absolute;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'bottom:5px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'right:5px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'clip:rect(0 125 125 0);';
var cot_tl_fixedCSS=cot_tl_fixedCSS+cot_t1_DOCtp;
var cot_tl_popCSS='#cot_tl_pop {background-color: transparent;';
var cot_tl_popCSS=cot_tl_popCSS+'position:fixed;';
var cot_tl_popCSS=cot_tl_popCSS+'_position:absolute;';
var cot_tl_popCSS=cot_tl_popCSS+'height: 200px;';
var cot_tl_popCSS=cot_tl_popCSS+'width: 125px;';
var cot_tl_popCSS=cot_tl_popCSS+'right: 100px;';
var cot_tl_popCSS=cot_tl_popCSS+'bottom: 1px;';
var cot_tl_popCSS=cot_tl_popCSS+'overflow: hidden;';
var cot_tl_popCSS=cot_tl_popCSS+'visibility: hidden;';
var cot_tl_popCSS=cot_tl_popCSS+'z-index: 100;';
var cot_tl_popCSS=cot_tl_popCSS+cot_t1_DOCtp2;

document.write('<style type="text/css">'+cot_tl_bodyCSS+cot_tl_fixedCSS+cot_tl_popCSS+'</style>');

function toggleMiniPOPUP_hide()
{
    var cred_id='cot_tl_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 toggleMiniPOPUP_show()
{
    cred_id='cot_tl_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+"\"");
            }
        }
    }
}

var _banners = new Array();
function addBanner(_bannerHTML){
  _banners[_banners.length?_banners.length:0]=_bannerHTML;
}
document.write('<div id="cot_tl_fixed">');
addBanner("<a href='http://www.valutist.com/?a=advertise'><img border=0 alt='image 1' src='http://www.hyipobserver.com/images/125.gif'></a>");
addBanner("<a href='http://www.valutist.com/?a=advertise'><img border=0 alt='image 2' src='http://www.hyipobserver.com/images/125.gif'></a");
document.write('</div>');
var div2 = new NewDiv2(window, "banner", _banners[0],0,0,50,50,500,"ABSOLUTE");
var count=0; /* which one to start with */
function doIt() {
count++;
count%=_banners.length;
div2.setBody(_banners[count]);
}
setInterval('doIt()',5000);

