
function webo_zp_p(_WEBOZONE,_WEBOPAGE,_WEBOID,_ACC) {
	WEBO_PFL1='A';
	if(document.cookie.indexOf('wbostat=') != -1) WEBO_PFL1='W';
	var pfl_webmaster;

	if(_WEBOID==null) _WEBOID=3214;
	var wbs_da=new Date();
	var wbs_das=parseInt(wbs_da.getTime()/1000 - 60*wbs_da.getTimezoneOffset());
	var wbs_rand = wbs_da.getTime()%100;

	var wbs_ref=''+escape(document.referrer);
	var wbs_ta='0x0';
	var wbs_co=0;
	var wbs_nav=navigator.appName;
	if (parseInt(navigator.appVersion)>=4) {
		wbs_ta=screen.width+"x"+screen.height;
		wbs_co=(wbs_nav!="Netscape")?screen.colorDepth:screen.pixelDepth;
	}
	if((_ACC != null)&&(wbs_nav!="Netscape")) {
		var reftmp = 'parent.document.referrer';
		if((_ACC<5)&&(_ACC>0)) {
			for(_k=_ACC;_k>1;_k--) reftmp = 'parent.' + reftmp;
		}
		var mon_ref = eval(reftmp);

		if(document.referrer == parent.location || document.referrer=='') wbs_ref=''+escape(mon_ref)
	}
	var wbs_arg="?ID="+_WEBOID;
	wbs_arg+="&ZONE="+_WEBOZONE+"&PAGE="+_WEBOPAGE+"&WEBOPFL="+pfl_webmaster;
	wbs_arg+="&ver=2&da2="+wbs_das+"&ta="+wbs_ta+"&co="+wbs_co+"&ref="+wbs_ref;
	var elem_pubs;
	var wbs_id_pubs = '';
	if (document.getElementsByTagName) {
		elem_pubs = document.getElementsByTagName('WIDPUB');
		if (elem_pubs.length) wbs_id_pubs = 'idpub:';
		for (var id_pub_var = 0 ; id_pub_var < elem_pubs.length ; id_pub_var++) {
			wbs_id_pubs += elem_pubs[id_pub_var].id + ';';
		}
	}
	wbs_arg+="&INFO="+wbs_id_pubs;

	var wbs_t= " border='0' height='1' width='1' alt=''>";
	if (parseInt(navigator.appVersion)>=3) {
		webo_compteur = new Image(1,1);
		webo_compteur.src=wbs_arg;
	} else {
		document.write('<IMG SRC='+wbs_arg+wbs_t);
	}
}

var wbo_iswbmstr=0;


/* do not remove this function */
function o_wa(){}

function get_available_h()
{
	var wbo_avl_h=document.body?document.body.clientHeight:600;
	if ((screen.height < wbo_avl_h) || (wbo_avl_h <= 0)){ wbo_avl_h=screen.height-o_wa._HEIGHT;}
	return wbo_avl_h;
}

function wbo_slide_start()
{
	if (!o_wa._IS_SAFARI)
	{	
		if (o_wa._LOCK == 0)
		{
			o_wa._LOCK = 1;
			if (document.getElementById(o_wa._DIVID))
			{
				wbo_getStyleObject(o_wa._DIVID).display='';
				o_wa.wbo_id_to=setTimeout('wbo_moveDivRight()',o_wa._ANIM_SPEED);
				wbo_hmenu();
			}
		}
	}
}

function wbo_hmenu()
{
	clearTimeout(o_wa.wbo_id_h);
	var t_st=wbo_getStyleObject(o_wa._DIVID);
	var m=1;
	var wbo_avl_h = document.body.clientHeight;
	var scrollz = document.body.scrollTop;	
	var wbo_avl_h_2 = document.documentElement.clientHeight;
	var scrollz_2 = document.documentElement.scrollTop;
	try {if ((top != self) && (wbo_avl_h_2 != 0)) m=2;}
	catch(e) {m=2;}
	if (wbo_avl_h_2 && wbo_avl_h_2 < wbo_avl_h) m=2;
	if (wbo_avl_h_2 > wbo_avl_h && wbo_avl_h_2 < screen.height) m=2;
	if (wbo_avl_h_2 > screen.height) m=1;	
	if (scrollz_2 > 0 && scrollz == 0) m=2;
	if (scrollz > 0 && scrollz_2 == 0) m=1;
	
	if (m == 2)
	{
		wbo_avl_h = wbo_avl_h_2;
		scrollz = scrollz_2;				
	}					
	else {if (screen.height < wbo_avl_h) {wbo_avl_h=o_wa._HEIGHT;}}	
	var wbo_good_h=wbo_avl_h+scrollz-o_wa._HEIGHT-o_wa._PABS_V-4;
			
	if (wbo_good_h < 0) wbo_good_h = 0;
	
	t_st.top=wbo_good_h+"px";
	o_wa.wbo_id_h=setTimeout('wbo_hmenu()',400);
}

function wbo_moveDivRight()
{
	clearTimeout(o_wa.wbo_id_to);
	var t_st=wbo_getStyleObject(o_wa._DIVID);
	var ts=parseInt(t_st.left);
	ts=isNaN(ts)?-o_wa._WIDTH+o_wa._PABS_H:ts;
	ts+=o_wa._DELTA;
	t_st.left=(ts)+"px";
	var min_right=o_wa._DELTA-o_wa._PABS_H;
	if(ts >= min_right){t_st.left=-o_wa._PABS_H+"px";wbo_keepDiv(1);}
	else{o_wa.wbo_id_to=setTimeout('wbo_moveDivRight()',o_wa._ANIM_SPEED);}
}

function wbo_moveDivLeft()
{
	clearTimeout(o_wa.wbo_id_to);
	var t_st=wbo_getStyleObject(o_wa._DIVID);
	var ts=parseInt(t_st.left);
	ts=isNaN(ts)?-o_wa._PABS_H:ts;
	t_st.left=(ts-o_wa._DELTA) + 'px';
	var min_left=-o_wa._WIDTH-o_wa._PABS_H-o_wa._DELTA_B;	
	if(ts > (min_left+o_wa._DELTA)){o_wa.wbo_id_to=setTimeout('wbo_moveDivLeft()',o_wa._ANIM_SPEED);}
	else{t_st.left=min_left+'px';wbo_keepDiv(0);o_wa._ANIM=0;}
}

function wbo_keepDiv(i)
{
	if(i==1)
	{
		o_wa.ANIM=1;o_wa.wbo_id=setTimeout('wbo_efface()',o_wa._PAUSE);
	}
	wbo_show();
}

function wbo_efface()
{
	clearTimeout(o_wa.wbo_id);
	o_wa.wbo_id=setTimeout('wbo_moveDivLeft()',o_wa._ANIM_SPEED);	
}

function wbo_show()
{
	if (o_wa._OPOK)
	{
		var owab = document.getElementById(o_wa._DIVID);
		if (owab != null && owab.filters) owab.filters.item(o_wa._FTR).opacity=100;
	}
}

function wbo_hide(){wbo_getStyleObject(o_wa._DIVID).display='none';}

function wbo_right(left)
{
	wbo_getStyleObject(o_wa._DIVID).left=-o_wa._PABS_H+"px";
}

function wbo_left()
{
	var minl=-o_wa._WIDTH-o_wa._DELTA_B-o_wa._PABS_H;
	wbo_getStyleObject(o_wa._DIVID).left=minl+"px";
	o_wa._ANIM=0;
}

function wbo_getStyleObject(objectId)
{
	if (document.getElementById && document.getElementById(objectId))
	{
		return document.getElementById(objectId).style;
	} 
	return false;
}

function wbo_is_opacity()
{
	return !(o_wa._IS_MOZ||o_wa._IS_MAC||o_wa._IS_SAFARI||o_wa._IS_OPERA);	
}

function wbo_uaO(c){return(o_wa._UA.indexOf(c));}

function wbo_def_style(_NETWORK)
{
	if (_NETWORK == 1)
	{		
		o_wa._COLOR='#333399';//color borde
		o_wa._URLIMG='http://www.sponsorpalace.com/layers/imagenes/';
		o_wa._URLPUB='href="#" target="_blank"';
	}
	else if (_NETWORK == 3)
	{
		o_wa._COLOR='#0000CC';
		o_wa._URLIMG='';
		o_wa._URLPUB='href="#3" target="_blank"';
	}	
	else if (_NETWORK == 4)
	{
		o_wa._COLOR='#7A88A8';
		o_wa._URLIMG='';
		o_wa._URLPUB='#4" target="_blank"';
	}		
	else if (_NETWORK == 6)
	{
		o_wa._COLOR='#D8D9D8';
		o_wa._URLIMG='';
		o_wa._URLPUB='';
	}		
	else if (_NETWORK == 12)
	{
		o_wa._COLOR='#7A88A8';
		o_wa._URLIMG='';
		o_wa._URLPUB='';
	}
	else if (_NETWORK == 15)
	{
		o_wa._COLOR='#385aa9';
		o_wa._URLIMG='';
		o_wa._URLPUB='';
	}
	else if (_NETWORK == 17)
	{
		o_wa._COLOR='#7a88a8';
		o_wa._URLIMG='';
		o_wa._URLPUB='#5" target="_blank"';
	}	
	else if (_NETWORK == 18)
	{
		o_wa._COLOR='#ccc4ff';
		o_wa._URLIMG='';
		o_wa._URLPUB='';
	}	
	else if (_NETWORK == 20)
	{
		o_wa._COLOR='#A6A6A6';
		o_wa._URLIMG='';
		o_wa._URLPUB='#6" target="_blank"';
	}	
	else
	{
		o_wa._COLOR='#7a88a8';
		o_wa._URLIMG='';
		o_wa._URLPUB='';
	}
}

function wbo_slide_wr(_WIDTH, _HEIGHT, _NETWORK)
{
	/* customisation */
	wbo_def_style(_NETWORK);
	
	/* main values */
	var wbo_h_mwp=_HEIGHT-89;
	var wapub_l=14;
	var wbo_back_ll=_WIDTH+wapub_l;
	
	/* init des fonctions */
	o_wa._HEIGHT=_HEIGHT;
	o_wa._WIDTH=_WIDTH;
	o_wa._ANIM_SPEED=7;
	o_wa._ANIM=1;
	o_wa._PAUSE=12000;
	o_wa._PABS_H=0;
	o_wa._PABS_V=0;
	o_wa._DELTA=10;
	o_wa._DELTA_H=4;
	o_wa._DELTA_W=4;
	o_wa._DELTA_B=2;
	o_wa._UA=navigator.userAgent.toLowerCase();
	o_wa._IS_MOZ=(wbo_uaO('gecko')!=-1);
	o_wa._IS_MAC=(wbo_uaO('mac')!=-1);
	o_wa._IS_SAFARI=(wbo_uaO('safari')!=-1);
	o_wa._IS_OPERA=(wbo_uaO('opera')!=-1);	
	o_wa._OPOK=wbo_is_opacity();
	o_wa._FTR='DXImageTransform.Microsoft.Alpha';
	o_wa._LOCK=0;
	o_wa._IFNAME='ifnwp'+_NETWORK;
	o_wa._DIVID='waback'+_NETWORK;

	/* available height */
	var wbo_avl_h=get_available_h();
	
	var wbo_x0=-_WIDTH-o_wa._DELTA_W;
	var wbo_y0=wbo_avl_h-_HEIGHT-o_wa._DELTA_H;
	
	if (o_wa._IS_SAFARI) return 1;
	
	/* CSS */
	document.write('<style type="text/css">.wbosdoff{padding:0px;border-width:0px;border-spacing: 0;margin:0px;}.wbosd{padding : 0px;margin: 0;border-width: 2px;border-style: solid;border-color: '+o_wa._COLOR+';}.wboa{height:0px;width:0px;margin:0px;}</style>');
		
	var wDiv = document.createElement("div");
	wDiv.setAttribute("id", o_wa._DIVID);
	wDiv.style.display='none';
	wDiv.style.position='absolute';
	wDiv.style.width=wbo_back_ll+'px';
	wDiv.style.height=_HEIGHT+'px';	
	wDiv.style.zIndex='42';
	wDiv.style.top=wbo_y0+'px';
	wDiv.style.left=wbo_x0+'px';	
	wDiv.style.border='0px';	
	wDiv.onmouseover=wbo_omo;

	if (o_wa._OPOK)
		wDiv.style.filter='progid:'+o_wa._FTR+'( style=0,opacity=25,finishOpacity=25,startX=0,finishX=100,startY=100,finishY=0);';
	
	var wbo_divin='<style type="text/css">.wbosdoff{padding:0px;border-width:0px;border-spacing: 0;margin:0px;}.wbosd{padding : 0px;margin: 0;border-width: 2px;border-style: solid;border-color: '+o_wa._COLOR+';}</style>'
	+'<TABLE width='+wbo_back_ll+' height='+_HEIGHT+' cellpadding=0 cellspacing=0 valign="top" align="left" class="wbosdoff">'
	+'<TR><TD rowspan=5 valign=top class="wbosd">'	
	+'<iframe name="'+o_wa._IFNAME+'" id="'+o_wa._IFNAME+'" src="about:blank" width="'+_WIDTH+'" height="'+_HEIGHT+'" frameBorder="0" scrolling="no" marginheight="0" marginwidth="0" hspace="0" vspace="0"></iframe>'
	+'</TD>'
	+'<TD valign=top width=14 height=14 class="wbosdoff">'
	+'<A HREF="#" class="wboa" onClick="wbo_hide();return false">'
	+'<IMG SRC="'+o_wa._URLIMG+'equis.gif" width=14 height=14 style="border:0px;padding:0px;margin:0px;display:inline;vertical-align:baseline;">'
	+'</A></TD></TR>'
	+'<TR><TD width=14 height=12 valign=top class="wbosdoff">'
	+'<A HREF="#" class="wboa" onClick="wbo_left();return false">'
	+'<IMG SRC="'+o_wa._URLIMG+'izquierda.gif" width=14 height=12 style="border:0px;padding:0px;margin:0px;display:inline;vertical-align:baseline;">'
	+'</A></TD></TR>'
	+'<TR><TD width=14 height=11 valign=top class="wbosdoff">'
	+'<A HREF="#" class="wboa" onClick="wbo_right(0);return false">'
	+'<IMG SRC="'+o_wa._URLIMG+'derecha.gif" width=14 height=11 style="border:0px;padding:0px;margin:0px;display:inline;vertical-align:baseline;">'
	+'</A></TD></TR>'
	+'<TR><TD valign=top width=14 height=52 class="wbosdoff">'
	+''
	+'<IMG SRC="'+o_wa._URLIMG+'epub.gif" width=14 height=52 style="border:0px;padding:0px;margin:0px;display:inline;vertical-align:baseline;">'
	+'</TD></TR>'
	+'<TR><TD valign=top width=14 height='+wbo_h_mwp+' class="wbosdoff"></TD></TR>'
	+'</TABLE>';
	
	wDiv.innerHTML = wbo_divin;
	
	var bodyRef = document.getElementsByTagName("body").item(0);
	if (bodyRef.firstChild != null)
		bodyRef.insertBefore(wDiv, bodyRef.firstChild);
	else
		bodyRef.appendChild(wDiv);
	return 0;	
}

function wbo_omo()
{
	if(o_wa._ANIM==0){wbo_right(1);}return false;
}

/* SLIDE IN FORMAT */
function wbo_slide_redirect(_URL)
{
	if (!o_wa._IS_SAFARI)
	{
		window.frames[o_wa._IFNAME].location=_URL;
	}
}

function wbo_slide_html(_HTML)
{
	if (!o_wa._IS_SAFARI)
	{
		window.frames[o_wa._IFNAME].document.open();
		window.frames[o_wa._IFNAME].document.write(_HTML);
		window.frames[o_wa._IFNAME].document.close();
	}
}

function wbo_slide_swf_js(_SWF, _IMG, _CLICTAG, _PARAM)
{
        if (!o_wa._IS_SAFARI)
        {
                var wbo_flash_ok=0;
                if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)
                {
                        if (navigator.plugins && navigator.plugins["Shockwave Flash"]){wbo_flash_ok = 1;}
                }
                else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Win")>=0))
                {
                        document.write('<SCRI'+'PT LANGUAGE="VBSc'+'ript"> \n');
                        document.write('on error resume next \n');
                        document.write('wbo_flash_ok =0 \n');
                        document.write('For wfv = 11 To 7 Step -1 \n');
                        document.write('        wbo_flash_ok = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & wfv))) \n');
                        document.write('        If (wbo_flash_ok) Then \n');
                        document.write('                Exit For \n');
                        document.write('        End If \n');
                        document.write('Next \n');
                        document.write('</SCRI'+'PT> \n');
                }
                if (1||wbo_flash_ok)
                {
                        if (_PARAM != null) {_CLICTAG += _PARAM;}
                        u_swf = _SWF + '?clicktag=' + escape(_CLICTAG);
             }
                else {wbo_slide_img(_IMG, _CLICTAG);}
        }
}

	
function wbo_slide_img(_IMG, _CLICTAG)
{
	if (!o_wa._IS_SAFARI)
	{
		var iframe_code='<BODY><A HREF="'+_CLICTAG+'" TARGET="_BLANK"><IMG SRC="'+_IMG+'" WIDTH="'+o_wa._WIDTH+'" HEIGHT="'+o_wa._HEIGHT+'" BORDER=0></A></BODY>';
		window.frames[o_wa._IFNAME].document.open();
		window.frames[o_wa._IFNAME].document.write(iframe_code);
		window.frames[o_wa._IFNAME].document.close();
	}
}

function wbo_slide_js(_JS)
{	
	if (!o_wa._IS_SAFARI)
	{	
		_URL = ''+escape(_JS);
				
		window.frames[o_wa._IFNAME].location=_URL;		
	}
}

var wbo1tsp = parseInt(1000000*Math.random()+1);
wbo_slide_wr(300, 250, 1);
var _IMG;
var _CLICTAG;
document.write('<scr'+'ipt>wbo_slide_img(_IMG, _CLICTAG);wbo_slide_start();</scr'+'ipt>');
var wbo1_surlimg = new String(''); 
if (wbo1_surlimg.length > 0)
{   
var wbo1_img = new Image();
wbo1_img.src='';
}

var wbo1tsp = parseInt(1000000*Math.random()+1);
var wbo1_pL = 731;
var wbo1_pH = 375-16;
var wbo1_wH = screen.height;
var wbo1_wL = screen.width;

if (wbo1_wL < 600) {wbo1_wL=600;}
if (wbo1_wL < 400) {wbo1_wL=400;}
if (wbo1_pL > wbo1_wL) {wbo1_pL = wbo1_wL;}
if (wbo1_pH > wbo1_wH) {wbo1_pH = wbo1_wH;}
    
var wbo1_surlimg = new String(''); 
if (wbo1_surlimg.length > 0)
{   
	var wbo1_img = new Image();
	wbo1_img.src='';
}


var wbo1_xP = parseInt((wbo1_wL - wbo1_pL)/2);
var wbo1_yP = parseInt((wbo1_wH - wbo1_pH)/2);
var wbo1_yt = wbo1_wH-10;



wbo_slide_img("http://www.sponsorpalace.com/layers/16/bannerganalayer.gif", "http://www.probabilidades.net/index.php?member=263&profile=0");wbo_slide_start();
