/*
*	float bottom line
*	author:		Saules spektras
*	version:	1.0 - 2007-04-16
*/

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_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:url(body_bg.jpg) repeat-y center #000000; background-attachment: fixed;}';
var cot_tl_bodyCSS = '* html {}';
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:0px;';
var cot_tl_fixedCSS = cot_tl_fixedCSS + 'width: 100%;';
var cot_tl_fixedCSS = cot_tl_fixedCSS + 'height: 50px;';
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_pop {';
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: 244px;';
var cot_tl_popCSS = cot_tl_popCSS + 'right: 120px;';
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>');
document.write('<style type="text/css">' + cot_tl_fixedCSS + cot_tl_popCSS + '</style>');


function COT(cot_tl_theLogo)
{
    document.write('<div id="cot_tl_fixed">');
//    document.write('<div>');
    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");
}

}
