/***********************************
<!-- Add this to page CSS -->

<style type="text/css">
#lightbox{
	position:absolute;
	top: 0px;
	left: 0px;
	width:100%;
	height:100%;
	filter:alpha(opacity=50);
	opacity: 0.5;
	background-color:#000000;
	_background-image:url(fundo_bg.png);
	z-index: 999998;
}
#floater {
	top: 450px;
	left: 50%;
	width: 50%;
	height: 349px;
	background: transparent;
	position: absolute;
	z-index: 999999;
	margin-top: -247px;
	margin-left: -174px;
}
</style>

<!-- This code goes to the end of HTML page -->
<div id="lightbox">.</div>
<div id="floater">
<script>Flash("floaterCAC",755,430,"Floater","");</script>
</div>
**********************************/

function mostraFloater() {
    if(document.getElementById("lightbox").style.display != "block") {
      document.getElementById("lightbox").style.display = "block";
    }
		if (document.body.scrollHeight) {
			document.getElementById("lightbox").style.height = document.body.scrollHeight
		} else if (document.body.offsetHeight) {
			document.getElementById("lightbox").style.height = document.body.offsetHeight
		} else if (document.body.clientHeight) {
			document.getElementById("lightbox").style.height = document.body.clientHeight
		}

		iniciarFloater();
}
function fechaFloater() {
        if(document.getElementById("lightbox").style.display != "none") {
                document.getElementById("lightbox").style.display = "none";
        }
        if(document.getElementById("floater").style.display != "none") {
                document.getElementById("floater").style.display = "none";
        }
}
function iniciarFloater() {

        floaterTimer = setTimeout("fechaFloater()", 30000);
}
floaterTimer2= setTimeout("mostraFloater()", 1000);



/**********************************/
