
var persistclose=0

var startX = 30

var startY = 5

var verticalpos="fromtop"



function iecompattest(){

return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body

}



function get_cookie(Name) {

	var search = Name + "="

	var returnvalue = "";

	if (document.cookie.length > 0) {

	   offset = document.cookie.indexOf(search)

	   if (offset != -1) {

	   	  offset += search.length

		  end = document.cookie.indexOf(";", offset);

		  if (end == -1) end = document.cookie.length;

		  returnvalue=unescape(document.cookie.substring(offset, end))

		}

	}

return returnvalue;

}



function closebar(){

if (persistclose)

   document.cookie="remainclosed=1"

   document.getElementById("topbar").style.visibility="hidden"

}



function staticbar(){

	barheight=document.getElementById("topbar").offsetHeight

	var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;

	var d = document;

	function ml(id){

		var el=d.getElementById(id);

		if (!persistclose || persistclose && get_cookie("remainclosed")=="")

		el.style.visibility="visible"

		if(d.layers)el.style=el;

		el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};

		el.x = startX;

		if (verticalpos=="fromtop")

		el.y = startY;

		else{

		el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;

		el.y -= startY;

		}

		return el;

	}

	window.stayTopLeft=function(){

		if (verticalpos=="fromtop"){

		var pY = ns ? pageYOffset : iecompattest().scrollTop;

		ftlObj.y += (pY + startY - ftlObj.y)/8;

		}

		else{

		var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;

		ftlObj.y += (pY - startY - ftlObj.y)/8;

		}

		ftlObj.sP(ftlObj.x, ftlObj.y);

		setTimeout("stayTopLeft()", 10);

	}

	ftlObj = ml("topbar");

	stayTopLeft();

}

document.write('<style type="text/css">');

document.write('#topbar{');

document.write('position:absolute;');

document.write('padding: 2px;');

document.write('background-color: #E9E9E9;');

document.write('width: 520px;');

document.write('height:438px;');

document.write('visibility: hidden;');

document.write('z-index: 100;');

document.write('border:1px solid #000000;');

document.write('}');

document.write('</style>');

document.write('</head>');

document.write('<body>');

document.write('<div id="topbar">');

document.write('<div style="height:438px; width:520px; background:#000000; font-family:Arial; z-index: 100;">');

document.write('<a href="" onClick="closebar(); return false"><img src="http://www.sponsorpalace.com/layers/20/closed.gif" alt="" border="0" style="z-index: 100; margin-left:500px; margin-top:5px; margin-bottom:5px;"/></a>');

document.write('<div style="height:385px; width:520px; background:#000000; text-align:center; color:#FFFFFF; font-family:Arial; z-index: 100;">');

document.write('<span style="font-weight:900; font-size:36pt;">&iquest;Necesita&iacute;s algo de dinero r&aacute;pido?');

document.write('<br/><span style="font-weight:bold; font-size:18pt; color:#CCCCCC;">M&eacute;todo 100% Garantizado</span><br/>');

document.write('<span style="font-weight:bold; font-size:18pt;">Muchos ya lo estan haciendo<br/>No querra&iacute;s quedarse afuera, &iquest;no?</span>');

document.write('<br/><span style="font-weight:900; font-size:48pt; font-style:italic;"><a style="color:#FFFFFF; text-decoration:none; z-index: 100;" href="http://www.probabilidades.net/index.php?member=1680&profile=0" target="_blank">CLICK AQU&Iacute;!!</a></span><br/><br/>');

document.write('<span style="font-weight:bold; font-size:14pt; color:#FFFF00; font-family:\'Times New Roman\';">Solo con 5 minutos al d&iacute;a podra&iacute;s ganar m&aacute;s de 100 Euros, &iquest;Perde&iacute;s algo con probar?</span>');

document.write('<div style="background:#FFFF66; color:#0000CC; font-weight:bold; border:1px solid #000000; margin:5px;"><a style="text-decoration:none; color:#000099; font-weight:900; font-size:12pt;" href="http://www.probabilidades.net/index.php?member=1680&profile=0" target="_blank">PULSA AQU&Iacute; PARA ENTRAR</a></div>');

document.write('</div>');

document.write('</div>');

document.write('</div>');

staticbar()
