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({20:{type:'imagec',redirect_url:'/r/20.htm?BID=53',width:'728',height:'90',timestamp:'1240236633',path:'/w/reklama/49ec8259e3e46.gif',alternative:'Pokerstars'},34:{type:'imagec',redirect_url:'/r/34.htm?BID=21',width:'728',height:'90',timestamp:'1203668761',path:'/w/reklama/4aa11f00063f5.gif',alternative:'Everest Poker'},36:{type:'imagec',redirect_url:'/r/36.htm?BID=21',width:'125',height:'125',timestamp:'1205394460',path:'/w/reklama/4aa11f044e3f5.gif',alternative:'Everest Poker'},45:{type:'imagec',redirect_url:'/r/45.htm?BID=B45',width:'728',height:'90',timestamp:'1222434017',path:'/w/reklama/4a8bc65876761.gif',alternative:'My.PokerNews.com'},46:{type:'imagec',redirect_url:'/r/46.htm?BID=B46',width:'125',height:'125',timestamp:'1222434035',path:'/w/reklama/4a8bc64d76e6b.gif',alternative:'My.PokerNews.com'},51:{type:'imagec',redirect_url:'/r/51.htm?BID=B51',width:'200',height:'100',timestamp:'1241783602',path:'/w/reklama/4a041d32c9e12.jpg',alternative:'Luca Pagano'},55:{type:'imagec',redirect_url:'/r/55.htm?BID=B55',width:'728',height:'90',timestamp:'1235496716',path:'/w/reklama/49a42f0c4a68a.gif',alternative:'Rummy Royal'},56:{type:'imagec',redirect_url:'/r/56.htm?BID=B56',width:'125',height:'125',timestamp:'1235496752',path:'/w/reklama/49a42f3009b87.gif',alternative:'Rummy Royal'},59:{type:'imagec',redirect_url:'/r/59.htm?BID=103',width:'728',height:'90',timestamp:'1240898983',path:'/w/reklama/49f69da744814.gif',alternative:'PokerStars'},60:{type:'imagec',redirect_url:'/r/60.htm?BID=103',width:'225',height:'360',timestamp:'1240898998',path:'/w/reklama/49f69db641993.gif',alternative:'PokerStars'},76:{type:'imagec',redirect_url:'/r/76.htm?BID=38',width:'728',height:'90',timestamp:'1257778068',path:'/w/reklama/4af82b9416af8.gif',alternative:'Paradise Poker'},64:{type:'imagec',redirect_url:'/r/64.htm?BID=B64',width:'728',height:'90',timestamp:'1242719793',path:'/w/reklama/4a126631cbd3c.gif',alternative:'Casino'},65:{type:'imagec',redirect_url:'/r/65.htm?BID=B65',width:'125',height:'125',timestamp:'1242720136',path:'/w/reklama/4a1267884842c.gif',alternative:'Casino'},69:{type:'imagec',redirect_url:'/r/69.htm?BID=103',width:'200',height:'200',timestamp:'1245744392',path:'/w/reklama/4a408d08c6b5d.gif',alternative:''},70:{type:'imagec',redirect_url:'/r/70.htm?BID=104',width:'728',height:'90',timestamp:'1249655467',path:'/w/reklama/4a811b8840feb.gif',alternative:'4 of Hearts poker'},71:{type:'imagec',redirect_url:'/r/71.htm?BID=103',width:'125',height:'125',timestamp:'1249988018',path:'/w/reklama/4a8c056d6ea69.gif',alternative:'PokerStars League 2009'},72:{type:'imagec',redirect_url:'/r/72.htm?BID=103',width:'728',height:'90',timestamp:'1249988080',path:'/w/reklama/4a8c0558270ad.gif',alternative:'PokerStars League 2009'},73:{type:'imagec',redirect_url:'/r/73.htm?BID=107',width:'728',height:'90',timestamp:'1256110348',path:'/w/reklama/4adeb90ce2e76.gif',alternative:'BetFred poker'},74:{type:'imagec',redirect_url:'/r/74.htm?BID=107',width:'125',height:'125',timestamp:'1256111997',path:'/w/reklama/4adebf7d62cd9.gif',alternative:'BetFred poker'},75:{type:'imagec',redirect_url:'/r/75.htm?BID=63',width:'728',height:'90',timestamp:'1257236619',path:'/w/reklama/4aefe88b24fef.gif',alternative:'Ultimate Bet'},77:{type:'imagec',redirect_url:'/r/77.htm?BID=38',width:'125',height:'125',timestamp:'1257778107',path:'/w/reklama/4af82bbba533b.gif',alternative:'Paradise 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=\"\/tornei-freerolls\/\">Calendario 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 = ["Lune", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"];
		tc.monthNames = ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"];
		tc.words = ["Calendario Poker", "Room", "Ora d'inizio", "Buy in", "Premio", "Punti Richiesti", "Periodo di Qualificazione"];
		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:208px;  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\">Iscriviti alla nostra newsletter gratuita<\/b>\n			\n			\n			<label for=\"isubscribe\">La tua email<\/label>\n			<input name=\"subscribe_email\" id=\"isubscribe\" value=\"\" class=\"input-text\" type=\"text\" \/>\n\n			<label for=\"isubscribe_captcha\">Codice di verifica<\/label>\n			<input type=\"text\" maxlength=\"4\" class=\"input-text fl\" id=\"isubscribe_captcha\" name=\"subscribe_captcha\"\/> <img src=\"\/register\/captcha.php?t=1258793547\" alt=\"\" \/>\n			<span class=\"clr\">&nbsp;<\/span><input type=\"submit\" value=\"Vai\" class=\"input-submit\" \/>\n		<\/form>\n	<\/div>\n<\/div>\n\n\n<div class=\"user-pop-menu\" id=\"login_tab\" style=\"width:208px; 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 Membri<\/b>\n\n		<label for=\"user-nick\">Nome 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<\/label>\n		<input type=\"password\" name=\"password\" size=\"20\" maxlength=\"15\" tabindex=\"2\" class=\"input-text\" \/>\n		\n		<small>Importante: Il tuo nome PokerNews e la password sonocase sensitive<\/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\">Salva la mia password in questo computer.<\/label>\n		\n		<input type=\"submit\" value=\"Login\" name=\"Login\" class=\"input-submit\" \/>\n\n		<a href=\"http:\/\/my.pokernews.com\/members\/password\/\">Dimenticato la tua password?<\/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("Digita il tuo indirizzo e-mail, per favore!");
			form.subscribe_email.focus();
			return false;
		} else if (!v_email(form.subscribe_email.value)) {
			alert("L'indirizzo e-mail digitate sembra non valido. Per favore controllalo!");
			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">Iscrizione</a>');
	jQuery('#pop_b0').click(function () {return hdmenu(1);});
	jQuery('#pop_b1').click(function () {return hdmenu(2);});
	jQuery('#pop_b0').show();
}
 trackOutgoing();