// JavaScript Document
try {
	ajax = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e){
	try {
		ajax = new XMLHttpRequest();
	}
	catch(ex) {
		try{
			ajax = new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch(exc) {
			alert("Esse browser não tem recursos para uso do Ajax");
			ajax = null;
		}
	}
}

function banner_floater(){    
	//se tiver suporte ajax		
	document.getElementById('divfloater').style.visibility = "visible";
	$xx = Math.floor(screen.width/2) - (300/2);
	document.getElementById('divfloater').style.left = $xx;
	$yy = Math.floor(screen.height/2) - (300/2);
	document.getElementById('divfloater').style.top = $yy;
	setTimeout("fechafloater()",45000);
	
}

function fechafloater(){
	document.getElementById('divfloater').style.display="none";
}
