//
// BANNERS I-FR
//

var cuantosbanners_pie= 1 + 29;			// Número de Banners;
var cuantosbanners_cuadro= 1 + 29;		// Número de Banners;
var cuantosbanners_depo= 1 + 5;			// Número de Banners;
var ahora=new Date(), segundos=ahora.getSeconds();
var b_pie=segundos % cuantosbanners_pie, b_cua=segundos % cuantosbanners_cuadro;
var b_depo=segundos % cuantosbanners_depo;

function aleatorio(superior) {
	numPosibilidades = superior - 1;
	aleat = Math.random() * numPosibilidades;
	return Math.round(parseInt(1) + aleat);
}
function calcula_aleatorio_formulario() {
	minimo = document.f1.minim.value;
	maximo = document.f1.maxim.value;
	resultado = aleatorio(minimo,maximo);
	return resultado;
}

function pone_banner_pie_rnd() {
	b_pie=aleatorio(cuantosbanners_pie);

if (b_pie==1 || b_pie==cuantosbanners_pie) {
url="elegance";
imagen2="http://www.grupojoker.com/banners/el_01_460.gif";
width="468";
height="60";
}
if (b_pie==2) {
url="fantasy";
imagen2="http://www.grupojoker.com/banners/fa_01_460.gif";
width="468";
height="60";
}
if (b_pie==3) {
url="glamour";
imagen2="http://www.grupojoker.com/banners/gl_01_460.gif";
width="468";
height="60";
}
if (b_pie==4) {
url="imperial";
imagen2="http://www.grupojoker.com/banners/im_01_460.gif";
width="468";
height="60";
}
if (b_pie==5) {
url="lux";
imagen2="http://www.grupojoker.com/banners/lu_01_460.gif";
width="468";
height="60";
}
if (b_pie==6) {
url="treasure";
imagen2="http://www.grupojoker.com/banners/tr_01_460.gif";
width="468";
height="60";
}
if (b_pie==7) {
url="dublinbet";
imagen2="http://www.grupojoker.com/banners/dublinbet_468_60.gif";
width="468";
height="60";
}
if (b_pie==8) {
url="fantasy";
imagen2="http://www.grupojoker.com/banners/ge_02_460.gif";
width="468";
height="60";
}
if (b_pie==9) {
url="glamour";
imagen2="http://www.grupojoker.com/banners/ge_03_460.gif";
width="468";
height="60";
}
if (b_pie==10) {
url="imperial";
imagen2="http://www.grupojoker.com/banners/ge_04_460.gif";
width="468";
height="60";
}
if (b_pie==11) {
url="lux";
imagen2="http://www.grupojoker.com/banners/lu_02_460.gif";
width="468";
height="60";
}
if (b_pie==12) {
url="everest_c";
imagen2="http://www.grupojoker.com/banners/ge_05_460.gif";
width="468";
height="60";
}
if (b_pie==13) {
url="everest_c";
imagen2="http://www.grupojoker.com/banners/ge_06_460.gif";
width="468";
height="60";
}
if (b_pie==14) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_01_460.gif";
width="468";
height="60";
}
if (b_pie==15) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_02_460.gif";
width="468";
height="60";
}
if (b_pie==16) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_03_460.gif";
width="468";
height="60";
}
if (b_pie==17) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_04_460.gif";
width="468";
height="60";
}
if (b_pie==18) {
url="tropez";
imagen2="http://banner.casinotropez.com/bannerfiles/3cty7sp2.gif";
width="468";
height="60";
}
if (b_pie==19) {
url="europa";
imagen2="http://banner.europacasino.com/bannerfiles/2ecy2sp.gif";
width="468";
height="60";
}
if (b_pie==20) {
url="delrio";
imagen2="http://banner.casinodelrio.com/bannerfiles/dry2ldspA.gif";
width="468";
height="60";
}
if (b_pie==21) {
url="vegasred";
imagen2="http://cachebanner.vegasred.com/bannerfiles/vry73sp.gif";
width="468";
height="60";
}
if (b_pie==22) {
url="cameo";
imagen2="http://cachebanner.cameocasino.com/bannerfiles/cc-y19es.gif";
width="468";
height="60";
}
if (b_pie==23) {
url="craps";
imagen2="http://cachebanner.craps.com/bannerfiles/468X60_4aes.gif";
width="468";
height="60";
}
if (b_pie==24) {
url="bingoday";
imagen2="http://cachebanner.bingoday.com/bannerfiles/bd-y04es.gif";
width="468";
height="60";
}
if (b_pie==25) {
url="bellini";
imagen2="http://cachebanner.casinobellini.com/bannerfiles/blf_2_468X60es.gif";
width="468";
height="60";
}
if (b_pie==26) {
url="titancas";
imagen2="http://cachebanner.titancasino.com/bannerfiles/tc-ES-468x60-4-ga-0662.gif";
width="468";
height="60";
}
if (b_pie==27) {
url="titancas";
imagen2="http://cachebanner.titancasino.com/bannerfiles/tc-ES-468x60-4-ga-0654.gif";
width="468";
height="60";
}
if (b_pie==28) {
url="titan";
imagen2="http://cachebanner.titanpoker.com/bannerfiles/tpy_2m_es.gif";
width="468";
height="60";
}
if (b_pie==29) {
url="888";
imagen2="http://Marketing.888.com//CasinoOnNet/ES/Banners/25491-3-468x60_CON_Lang_es_ke.gif";
width="468";
height="60";
}
// Cuerpo
}

function pone_banner_gen() {
pone_banner_pie_rnd();
document.write('<center>');
document.write('<a href="javascript:open_gen(&quot;' + url + '&quot;)">');
document.write('<img src="' + imagen2 + '" width=' +  width + ' height=' + height + ' ');
document.write('alt="JUEGA ahora mismo!!!"" border=0></a><br><br>');
document.write('</center>');
}

function pone_banner_pie() {
pone_banner_pie_rnd();
document.write('<h3 align="justify"><b>¿Dónde Jugar?</b></h3><p align="justify">Si desea probar lo aprendido, haga click sobre el banner que verá a continuación. Recuerde que una vez descargado el juego, podrá jugar por dinero o si lo desea, practicar <b>sin dinero</b>, hasta que se sienta seguro del mismo.</p>');
document.write('<center>');
document.write('<a href="javascript:open_gen(&quot;' + url + '&quot;)">');
document.write('<img src="' + imagen2 + '" width=' +  width + ' height=' + height + ' ');
document.write('alt="JUEGA ahora mismo!!!"" border=0></a><br><br>');
document.write('</center>');
}

function pone_banner_cuadro() {
	b_cua=aleatorio(cuantosbanners_cuadro);

if (b_cua==1 || b_cua==cuantosbanners_cuadro) {
url="glamour";
imagen2="http://www.grupojoker.com/banners/ge_03_125.gif";
width="125";
height="125";
}
if (b_cua==2) {
url="lux";
imagen2="http://www.grupojoker.com/banners/lu_02_125.gif";
width="125";
height="125";
}
if (b_cua==3) {
url="fantasy";
imagen2="http://www.grupojoker.com/banners/fa_01_125.gif";
width="125";
height="125";
}
if (b_cua==4) {
url="treasure";
imagen2="http://www.grupojoker.com/banners/tr_01_125.gif";
width="125";
height="125";
}
if (b_cua==5) {
url="imperial";
imagen2="http://www.grupojoker.com/banners/im_02_125.gif";
width="125";
height="125";
}
if (b_cua==6) {
url="elegance";
imagen2="http://www.grupojoker.com/banners/el_01_125.gif";
width="125";
height="125";
}
if (b_cua==7) {
url="dublinbet";
imagen2="http://www.grupojoker.com/banners/dublinbet_125.gif";
width="125";
height="125";
}
if (b_cua==8) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_01_125.gif";
width="125";
height="125";
}
if (b_cua==9) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_02_125.gif";
width="125";
height="125";
}
if (b_cua==10) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_03_125.gif";
width="125";
height="125";
}
if (b_cua==11) {
url="everest";
imagen2="http://www.grupojoker.com/banners/ev_04_125.gif";
width="125";
height="125";
}
if (b_cua==12) {
url="everest_c";
imagen2="http://www.grupojoker.com/banners/ge_04_125.gif";
width="125";
height="125";
}
if (b_cua==13) {
url="lux";
imagen2="http://www.grupojoker.com/banners/ge_05_125.gif";
width="125";
height="125";
}
if (b_cua==14) {
url="fantasy";
imagen2="http://www.grupojoker.com/banners/ge_07_125.gif";
width="125";
height="125";
}
if (b_cua==15) {
url="everest_c";
imagen2="http://www.grupojoker.com/banners/ec_01_125.gif";
width="125";
height="125";
}
if (b_cua==16) {
url="fantasy";
imagen2="http://www.grupojoker.com/banners/ge_01_125.gif";
width="125";
height="125";
}
if (b_cua==17) {
url="bellini";
imagen2="http://banner.casinobellini.com/cgi-bin/banner.cgi?id=N&member=grupojoker&profile=125ese&lang=es";
width="125";
height="125";
}
if (b_cua==18) {
url="delrio";
imagen2="http://banner.casinodelrio.com/bannerfiles/drh2sp.gif";
width="125";
height="125";
}
if (b_cua==19) {
url="tropez";
imagen2="http://cachebanner.casinotropez.com/bannerfiles/3cth14sp.gif";
width="125";
height="125";
}
if (b_cua==20) {
url="europa";
imagen2="http://banner.europacasino.com/cgi-bin/banner.cgi?id=N&member=grupojoker&profile=125es";
width="125";
height="125";
}
if (b_cua==21) {
url="vegasred";
imagen2="http://cachebanner.vegasred.com/bannerfiles/vrh31sp.gif";
width="125";
height="125";
}
if (b_cua==22) {
url="titan";
imagen2="http://banner.titanpoker.com/bannerfiles/tph7sp.gif";
width="125";
height="125";
}
if (b_cua==23) {
url="ocean";
imagen2="http://banner.pokerocean.com/cgi-bin/banner.cgi?id=N&member=grupojoker&profile=125x125po9";
width="125";
height="125";
}
if (b_cua==24) {
url="cameo";
imagen2="http://cachebanner.cameocasino.com/bannerfiles/cc-h18es.gif";
width="125";
height="125";
}
if (b_cua==25) {
url="craps";
imagen2="http://banner.craps.com/cgi-bin/banner.cgi?id=N&member=grupojoker&profile=125esd";
width="125";
height="125";
}
if (b_cua==26) {
url="titancas";
imagen2="http://cachebanner.titancasino.com/bannerfiles/tc-ES-125x125-4-ga-0661.gif";
width="125";
height="125";
}
if (b_cua==27) {
url="titancas";
imagen2="http://cachebanner.titancasino.com/bannerfiles/tc-ES-125x125-4-ga-0653.gif";
width="125";
height="125";
}
if (b_cua==28) {
url="bingoday";
imagen2="http://banner.bingoday.com/cgi-bin/banner.cgi?id=N&member=grupojoker&profile=125x125enb";
width="125";
height="125";
}
if (b_cua==29) {
url="888";
imagen2="http://Marketing.888.com//CasinoOnNet/ES/Banners/4369-125x125.gif";
width="125";
height="125";
}

document.write('<a href="javascript:open_gen(&quot;' + url + '&quot;)">');
document.write('<img src="' + imagen2 + '" width=' + width + ' height=' + height + ' ');
document.write('alt="Pincha y GANA!!!" border=0 hspace=12 vspace=4 align="right"></a>');
}

function pone_banner_pie_e() {
document.write('<table  width="100%"><tr><td align="center"><div style="FONT: 11px tahoma,sans-serif; WIDTH: 728px; TEXT-ALIGN: center"><a href="http://banner.casinotropez.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=728enb"><img border=0 alt="Click here to play!" src="http://banner.casinotropez.com/cgi-bin/banner.cgi?id=N&member=grupojoker&profile=728enb"/></a><br/><a href="http://banner.casinotropez.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=728enb">Best Online Casino</a></div>');
document.write('</td></tr></table>');
}

function pone_foto_d(dep) {
b_depo=aleatorio(cuantosbanners_depo);
if (b_depo==1 || b_depo==cuantosbanners_depo) url="1";
if (b_depo==2) url="2";
if (b_depo==3) url="3";
if (b_depo==4) url="4";
if (b_depo==5) url="5";

document.write('<img src="deportes' + url + '/' + dep + '.jpg" width="110" height="155" alt="Grupo Joker" border=0>');
}

// Ratón

function click() {
	if (event.button==2) {
		alert ('© Copyright Grupo Joker');
	}
}
function raton() {
	if (1==1) document.onmousedown=click;
}

//

function Dep_Sug(miurl) {
	if (miurl=='gamebookers') {
document.write(' <a href="javascript:open_gen(&quot;' + miurl + '&quot;)"><b>');
document.write('aquí</b></a> y luego seleccione la especialidad y competición deseada. &#161;Así de sencillo!<br><br>');
	}
dep1="gamebookers";	// Afecta al enlace del Banner;
document.write('<center><a href="javascript:open_gen(dep1)"><img src="http://www.grupojoker.com/banners/d_futbol_1.gif" width="104" height="31" border=0 alt="Apuestas Deportivas"></a></center>');
}

function Poker_Sug(miurl) {
	if (miurl=='titan') {
document.write('<center><a href="javascript:open_gen(&quot;' + miurl + '&quot;)">');
document.write('<img src="http://www.grupojoker.com/imagenes/e_titan.gif" width="389" height="180" border=0 alt="¡Disfruta jugando con Poker Titan!"></center></a><br>');
	}
}

function Cas_Sug(miurl) {
	if (miurl=='tropez') {
document.write('<center><a href="javascript:open_gen(&quot;' + miurl + '&quot;)">');
document.write('<img src="http://www.grupojoker.com/imagenes/e_tropez.gif" width="395" height="160" border="0" alt="¡Disfruta en Casino Tropez!"></a></center><br>');
	}
}

function open_gen(miurl) {
	xlo=0;
	xme=0;
	xto=1;
	if (miurl=='gamebookers') miurl='/e_betandwin.htm';
	if (miurl=='ladbrokes') {
		miurl='/e_betandwin.htm';
		xto=0;
	}
	if (miurl=='tropez')	miurl='http://banner.casinotropez.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=ctdefault&lang=sp';
	if (miurl=='tropezm')	miurl='http://banner.casinotropez.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=m468esa';
	if (miurl=='titancas') miurl='http://banner.titancasino.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=tcsl468es';
	if (miurl=='delrio')	miurl='http://banner.casinodelrio.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=125esb';
	if (miurl=='europa')	miurl='http://banner.europacasino.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=125es';
	if (miurl=='vegasred')	miurl='http://banner.vegasred.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=125banner&lang=sp';
	if (miurl=='cameo')	miurl='http://banner.cameocasino.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=125x125esa';
	if (miurl=='craps')	miurl='http://banner.craps.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=125esd';
	if (miurl=='tonyg')	miurl='http://banner.tonygpoker.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=tgh3';
	if (miurl=='bingoday')	miurl='http://banner.bingoday.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=468esa';
	if (miurl=='ocean')	miurl='http://banner.pokerocean.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=125x125po9';
	if (miurl=='bellini')	miurl='http://banner.casinobellini.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=125ese&lang=es';
	if (miurl=='titan')	miurl='http://banner.titanpoker.com/cgi-bin/redir.cgi?id=N&member=grupojoker&profile=maintp&lang=sp';
	if (miurl=='888')	miurl='http://es.888.com/?sr=351475&flag=0000';
	if (miurl=='elegance')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX19ElceIVOy-336DaG4oGSgi2kcqiYPf19SkUtGMGp2qNPC9J41y4sPr7B4dBKSEgfo=/JKR';
	if (miurl=='lux')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX1@2vxdjeLVks6fbQePV3seJEAZT6jJ-QoxEOcGdtYdRSzw2JuC4Yi0f9ySEzAfNk0c=/JKR';
	if (miurl=='glamour')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX1-UQXlgwYd0eHSFXfur6MB6DaXKPi0UtfPeZm6dnTXydzd5RPU9q4KCY0tjJqaVZbw=/JKR';
	if (miurl=='imperial')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX19V96lX21OmcpL36QYgZw49a0I@igf2SVD-NU4N7L5sE3fXERJLD77TqJwndCWR3Kg=/JKR';
	if (miurl=='fantasy')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX1@Y4tof-fYTqMhQEQofCoPMX2lplcChetppTloWPg0YhlHTFZDQApZdmdVm5Wnnubk=/JKR';
	if (miurl=='treasure')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX1@jcI4Yj4NR2qF31u3SeziTY4HgQdIl4uWFaUMFVqPCZ4b1bhN-wXbKA6nKRr1i3Bc=/JKR';
	if (miurl=='everest')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX18iXxTvZd7ysvrKSKS8DQWYcdGYebl1G9mDSTwwuc0bmrrYoeGBUwgpI-mOcTajU6s=/JKR';
	if (miurl=='everest_c')	miurl='http://sev4ifmxa.com/click/WEE6U2FsdGVkX19IdIkCipFqESXcDG2I-XJYyGa8v0pGXyYKLsUVTi3IrXInRpiSyNoPvhx5ls9t7To=/JKR';
	if (miurl=='dublinbet')	miurl='http://affiliates.dublinbet.com/processing/clickthrgh.asp?btag=a_1439b_173';
	if (miurl=='moneybookers')	miurl='http://www.grupojoker.com/phpBB2/viewtopic.php?t=3409';
	if (miurl=='fo') {
		miurl='http://www.grupojoker.com/phpBB2/';
		xlo=1;
		xme=1;
	}
	if (miurl=='favoritos') {
		miurl='http://www.grupojoker.com/phpBB2/viewforum.php?f=29';
		xlo=1;
		xme=1;
	}
	if (miurl=='f1') {
		miurl='http://www.grupojoker.com/phpBB2/viewforum.php?f=33';
		xlo=1;
		xme=1;
	}
	if (miurl=='loto') {
		miurl='http://www.grupojoker.com/phpBB2/viewforum.php?f=20';
		xlo=1;
		xme=1;
	}
	if (miurl=='Off Topic') {
		miurl='http://www.grupojoker.com/phpBB2/viewforum.php?f=11';
		xlo=1;
		xme=1;
	}
	if (miurl=='')	miurl='';

	window.open(miurl,"Joker","toolbar="+xto+",location="+xlo+",directories=0,status=0,menubar="+xme+",scrollbars=1,resizable=1,copyhistory=0,width=940,height=840");
}

function open_gen_G(miurl) {
window.open(miurl,"Casino","titlebar=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=940,height=840");
}

document.write('<link rel="shortcut icon" href="/arco32.ico" type="image/x-icon" />');