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:0px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'right:0px;';
var cot_tl_fixedCSS=cot_tl_fixedCSS+'clip:rect(0 150 100 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: 308px;';
var cot_tl_popCSS=cot_tl_popCSS+'width: 214px;';
var cot_tl_popCSS=cot_tl_popCSS+'right: 0px;';
var cot_tl_popCSS=cot_tl_popCSS+'bottom: 75px;';
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+"\"");
            }
        }
    }
}


function monitorstyle_3(id)
{
    var cot_tl_myLocation=location.host;
    var cot_tl_miniBaseURL='http://www.analitik-pro.com/index.php?a=image&lid='+id;
    var cot_tl_bigBaseURL='popup.html';

    document.write('<div id="cot_tl_pop">');
    document.write('<a href="http://www.analitik-pro.com/?a=details&lid='+id+'#vote" target="_blank"><img src="'+cot_tl_miniBaseURL+'" border=0 ></a>');
    document.write('</div>');
    document.write('<div id="cot_tl_fixed">');

    
    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)};
    data = data + '&simple=1';

    document.write('<a onfocus="this.blur()" href="http://www.analitik-pro.com/?a=details&lid='+id+'#vote"><img border=0 hspace=0 '+'vspace=0 src="http://www.analitik-pro.com/index.php?a=image3&lid=' + id + '" ');
    document.write('onMouseOver="Ovr=setTimeout(\'toggleMiniPOPUP_show()\',1000);clearTimeout(Ovr2)" ')
    document.write('onMouseOut="Ovr2=setTimeout(\'toggleMiniPOPUP_hide()\',2500);clearTimeout(Ovr)"</a>');
    document.write('</div>');
}

