ngBanners.setTemplates({html:'<div class="baneris js-adset-el hide"> {text} </div>',text:'<div class="baneris js-adset-el hide"> {text} </div>',flash:'<div class="baneris js-adset-el hide"> <object type="application/x-shockwave-flash" data="{path}" width="{width}" height="{height}" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="{path}?clickURI={redirect_url}" /> <param name="quality" value="high" /> {alternative} </object> </div>',imagec:'<div class="baneris js-adset-el hide"> <a href="{redirect_url}" rel="nofollow" title="{alternative}" target="_blank"><img src="{path}?{timestamp}" width="{width}" height="{height}" alt="{alternative}" border="0" /></a> </div>',imagenc:'<div class="baneris js-adset-el hide"> <img src="{path}?{timestamp}" width="{width}" height="{height}" alt="{alternative}" border="0" /> </div>'});
ngBanners.setZoneBNs({header_std:'TopWide',carousel_std:'IndexRotating',left_column_top_index:'IndexLeftColumn',left_column_std:'LeftColumn',right_column_std:'RightColumn',reporting_column_std:'ReportingColumn',middle_text_std:'MiddleArticle'});
ngBanners.setAds({6:{type:'imagec',redirect_url:'/ng_banners/6.htm?BID=21',width:'728',height:'90',timestamp:'1252072877',path:'/w/reklama/4aa11dad7534a.gif',alternative:'Everest Poker'},9:{type:'imagec',redirect_url:'/ng_banners/9.htm?BID=53',width:'125',height:'125',timestamp:'1253695226',path:'/w/reklama/4ab9defa6f0f0.jpg',alternative:'Pokerstars'},26:{type:'imagec',redirect_url:'/ng_banners/26.htm?BID=21',width:'125',height:'125',timestamp:'1252072870',path:'/w/reklama/4aa11da6e1169.gif',alternative:'Everest Poker'},49:{type:'imagec',redirect_url:'/ng_banners/49.htm?BID=53',width:'728',height:'90',timestamp:'1253695219',path:'/w/reklama/4ab9def3c3c07.jpg',alternative:'PokerStars'},56:{type:'imagec',redirect_url:'/ng_banners/56.htm?BID=64',width:'728',height:'90',timestamp:'1249896384',path:'/w/reklama/4af7f7883a7fd.gif',alternative:'Unibet Poker'},57:{type:'imagec',redirect_url:'/ng_banners/57.htm?BID=64',width:'125',height:'125',timestamp:'1246932732',path:'/w/reklama/4af7f77e15d6d.gif',alternative:'Unibet Poker'},61:{type:'imagec',redirect_url:'/ng_banners/61.htm?BID=53',width:'125',height:'125',timestamp:'1253062726',path:'/w/reklama/4ab03846ddb53.gif',alternative:'PokerStars Bonus'},62:{type:'imagec',redirect_url:'/ng_banners/62.htm?BID=107',width:'728',height:'90',timestamp:'1256285328',path:'/w/reklama/4ae164907aaee.gif',alternative:'BetFred poker'},63:{type:'imagec',redirect_url:'/ng_banners/63.htm?BID=107',width:'125',height:'125',timestamp:'1256285353',path:'/w/reklama/4ae164a9b2738.gif',alternative:'BetFred poker'},67:{type:'imagec',redirect_url:'/ng_banners/67.htm?BID=53',width:'200',height:'200',timestamp:'1257257990',path:'/w/reklama/4af03c06c0fcb.jpg',alternative:'PokerStars'},68:{type:'imagec',redirect_url:'/ng_banners/68.htm?BID=B68',width:'125',height:'125',timestamp:'1257503307',path:'/w/reklama/4af3fa4b1349b.gif',alternative:'My.PokerNews.com'},69:{type:'imagec',redirect_url:'/ng_banners/69.htm?BID=B69',width:'728',height:'90',timestamp:'1257503322',path:'/w/reklama/4af3fa5a7b1bc.gif',alternative:'My.PokerNews.com'},70:{type:'imagec',redirect_url:'/ng_banners/70.htm?BID=53',width:'728',height:'90',timestamp:'1257595744',path:'/w/reklama/4af56360c564f.jpg',alternative:'PokerStars'},71:{type:'imagec',redirect_url:'/ng_banners/71.htm?BID=53',width:'200',height:'200',timestamp:'1257595783',path:'/w/reklama/4af56387c2de2.jpg',alternative:'PokerStars'},72:{type:'imagec',redirect_url:'/ng_banners/72.htm?BID=39',width:'125',height:'125',timestamp:'1258102580',path:'/w/reklama/4afd1f34b64ea.gif',alternative:'Party Poker'},73:{type:'imagec',redirect_url:'/ng_banners/73.htm?BID=39',width:'728',height:'90',timestamp:'1258102593',path:'/w/reklama/4afd1f41b2ef3.gif',alternative:'Party Poker'}});
ngBanners.deploy();if (jQuery("#insert-calendar").size()>0) {
	jQuery("#insert-calendar").html("<div id=\"cal2\">\n	<div class=\"wrap\">\n		<div class=\"wrap2\">\n			<div class=\"title\"><h2><a href=\"\/torneos-de-póquer\/freerolls-especiales\/\">Calendario de Poker<\/a><\/h2><\/div>\n			<div class=\"table\" id=\"cal2-calendar\"><\/div>\n		<\/div>\n	<\/div>\n<\/div>");
	if(typeof(tourCalendar.instance)=="undefined") {
		var tc = new tourCalendar();
		tc.url = '/freerolls-calendar/all-events/';
		tc.weekDays = ["Lun", "Mar", "Mier", "Jue", "Vier", "Sáb", "Dom"];
		tc.monthNames = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
		tc.words = ["Calendario de Poker", "Sala", "Hora de inicio", "Buy in", "Precio", "Puntos requeridos", "Periodo de calificación"];
		tc.startSunday = false;
		tc.init();
		tc.show();
	}
}if (jQuery("#insert-subscribe").size()>0) {
	jQuery("#insert-subscribe").html("\n\n<div class=\"user-pop-menu\" id=\"subscribe_tab\" style=\"width:258px;  display: none;\">\n	<div id=\"div-subscribe-form\">\n	<form action=\"\/register\/\" method=\"post\" onsubmit=\"return subscribe_check(this)\">\n			<input type=\"hidden\" name=\"event\" value=\"sys.subscribe#subscribe\" \/>\n			<b class=\"blue-title-18\">suscríbete a nuestro boletín de noticias<\/b>\n			\n			\n			<label for=\"isubscribe\">Tu e-mail<\/label>\n			<input name=\"subscribe_email\" id=\"isubscribe\" value=\"\" class=\"input-text\" type=\"text\" \/>\n\n			<label for=\"isubscribe_captcha\">Código de Verificación<\/label>\n			<input type=\"text\" maxlength=\"4\" class=\"input-text fl\" id=\"isubscribe_captcha\" name=\"subscribe_captcha\"\/> <img src=\"\/register\/captcha.php?t=1258781496\" alt=\"\" \/>\n			<span class=\"clr\">&nbsp;<\/span><input type=\"submit\" value=\"Ir\/Continuar\" class=\"input-submit\" \/>\n		<\/form>\n	<\/div>\n<\/div>\n\n\n<div class=\"user-pop-menu\" id=\"login_tab\" style=\"width:258px; display: none;\">\n	\n	<form action=\"\/register\/\" method=\"post\" name=\"frmLogin\" id=\"frmLogin\">\n		<input type=\"hidden\" name=\"event\" value=\"sys.signup#login\" \/>\n		<input type=\"hidden\" name=\"gonext\" value=\"1\" \/>\n		<b class=\"blue-title-18\">Login\/entrada usuarios<\/b>\n\n		<label for=\"user-nick\">Nombre en es.PokerNews<\/label>\n		<input type=\"text\" name=\"nick\" size=\"20\" maxlength=\"15\" tabindex=\"1\" class=\"input-text\" \/>\n\n		\n		<label for=\"user-pass\">Password\/Contraseña<\/label>\n		<input type=\"password\" name=\"password\" size=\"20\" maxlength=\"15\" tabindex=\"2\" class=\"input-text\" \/>\n		\n		<small>Importante: el nombre y la contraseña de es.PokerNews tienen en cuenta las mayúsculas<\/small>\n		\n		<input type=\"checkbox\" checked=\"checked\" value=\"1\" name=\"remember\" id=\"remember\" class=\"fl\" style=\"margin-right: 5px\" \/> <label for=\"remember\" style=\"line-height: 11pt\">Recordar mi password en este ordenador.<\/label>\n		\n		<input type=\"submit\" value=\"Login\/Entrar\" name=\"Login\" class=\"input-submit\" \/>\n\n		<a href=\"http:\/\/my.pokernews.com\/members\/password\/\">¿Olvitaste tu password\/contraseña?<\/a>\n	<\/form>\n<\/div>");
	function v_email(email) {
		var erg = new RegExp('^[a-z0-9_]+([\.-_][a-z0-9|_]+)*\@([a-z0-9]+([\.-_][a-z0-9]+)*)+\.[a-z]{2,}$', 'i');
		return erg.test(email);
	}
	function subscribe_check(form) {
		if (form.subscribe_email.value == '') {
			alert("¡Por favor, introduce tu dirección de e-mail!");
			form.subscribe_email.focus();
			return false;
		} else if (!v_email(form.subscribe_email.value)) {
			alert("La dirección de correo introducida parece no ser válida. Compruébala, por favor.");
			form.subscribe_email.focus();
			return false;
		} else if(form.subscribe_captcha.value == '') {
			alert('Enter code');
			form.subscribe_captcha.focus();
			return false;
		}  else {
			var data = {
				'event': form.elements['event'].value,
				'subscribe_email': form.elements['subscribe_email'].value,
				'subscribe_captcha': form.elements['subscribe_captcha'].value
				}
			jQuery('#div-subscribe-form').html('<div style="margin: 20px 0;text-align:center"><img src="/img/loading_small.gif" alt="Loading..." /></div>');
			jQuery('#div-subscribe-form').load('/register/', data );
			return false;
		}

	}
	jQuery('#pop_menu li.first').html('<a href="/" id="pop_b0">Boletín de noticias</a>');
	jQuery('#pop_b0').click(function () {return hdmenu(1);});
	jQuery('#pop_b1').click(function () {return hdmenu(2);});
	jQuery('#pop_b0').show();
}
 trackOutgoing();