var Ovr2 = '';
if (typeof document.compatMode != 'undefined' && document.compatMode !='BackCompat')
{
    cot_t1_DOCtp = "_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:0;}";
}

else
{
    cot_t1_DOCtp = "_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);_left:0;}";
}

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:") ? "https://www.ml.lt/reklamos/images/float_pixel.gif" : "http://www.ml.lt/reklamos/images/float_pixel.gif";
//var cot_tl_bodyCSS = '* html {background:url(images/spacer.gif) fixed;background-repeat: repeat;background-position: right bottom;} body{background: url(images/spacer.gif) no-repeat;background-attachment: fixed;}';
var cot_tl_bodyCSS = '* html {background-repeat: repeat;background-position: right bottom;} body{background-attachment: fixed;}';

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 + 'left:10px;';
var cot_tl_fixedCSS = cot_tl_fixedCSS + 'width: 100%;';
var cot_tl_fixedCSS = cot_tl_fixedCSS + 'height: 35px;';
var cot_tl_fixedCSS = cot_tl_fixedCSS + 'text-align: left;';
var cot_tl_fixedCSS = cot_tl_fixedCSS + 'overflow: hidden;';
var cot_tl_fixedCSS = cot_tl_fixedCSS + '/*clip:rect(0 100 85 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:194px;';
var cot_tl_popCSS = cot_tl_popCSS + 'width: 100px;';
var cot_tl_popCSS = cot_tl_popCSS + 'right: 100px;';
var cot_tl_popCSS = cot_tl_popCSS + 'bottom: 20px;';
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 COT(cot_tl_theLogo, cot_tl_LogoType, LogoPosition, theAffiliate)
function COT(cot_tl_theLogo)
{
    //var cot_tl_myLocation = location.host;
    //if (window.location.protocol.toLowerCase() == "https:")
    //{
    //    var cot_tl_miniBaseURL = 'https://secure.comodo.net/ttb_searcher/trustlogo?v_querytype=C&v_shortname=' + cot_tl_LogoType + '&v_search=' + cot_tl_myLocation + '&x=6&y=5';
    //    var cot_tl_bigBaseURL = 'https://secure.comodo.net/ttb_searcher/trustlogo?v_querytype=W&v_shortname=' + cot_tl_LogoType + '&v_search=' + cot_tl_myLocation + '&x=6&y=5';
    //}
    //else
    //{
     //   var cot_tl_miniBaseURL = 'http://www.trustlogo.com/ttb_searcher/trustlogo?v_querytype=C&v_shortname=' + cot_tl_LogoType + '&v_search=' + cot_tl_myLocation + '&x=6&y=5';
     //   var cot_tl_bigBaseURL = 'http://www.trustlogo.com/ttb_searcher/trustlogo?v_querytype=W&v_shortname=' + cot_tl_LogoType + '&v_search=' + cot_tl_myLocation + '&x=6&y=5';
    //};
    //document.write('<div id="cot_tl_pop">');
    //document.write('<IFRAME src="' + cot_tl_miniBaseURL + '" WIDTH=244 HEIGHT=194 FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=noallowtransparency=true></IFRAME>');
    //document.write('</div>');
    document.write('<div id="cot_tl_fixed">');
    document.write(cot_tl_theLogo);
    document.write('</div>');
}


function hideLayer(whichLayer) {
if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.visibility = "hidden";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.visibility = "hidden";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].visibility = "hidden";
}
}

function showLayer(whichLayer) {
if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.visibility = "visible";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.visibility = "visible";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].visibility = "visible";
}
}

function handleClick(whichClick) {

if (whichClick == "hide") {
// then the user wants to hide the layer
hideLayer("bottom_banner_layer");

}
else if (whichClick == "show") {
// then the user wants to show the layer
showLayer("bottom_banner_layer");
}

}
