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({1:{type:'imagec',redirect_url:'/ng_banners/1.htm?BID=53',width:'728',height:'90',timestamp:'1253695060',path:'/w/reklama/4ab9de542d4da.jpg',alternative:'PokerStars'},6:{type:'imagec',redirect_url:'/ng_banners/6.htm?BID=53',width:'125',height:'125',timestamp:'1253695055',path:'/w/reklama/4ab9de4febfad.jpg',alternative:'PokerStars'},13:{type:'imagec',redirect_url:'/ng_banners/13.htm?BID=21',width:'728',height:'90',timestamp:'1252682123',path:'/w/reklama/4aaa5b7b20c84.gif',alternative:'Everest Poker'},14:{type:'imagec',redirect_url:'/ng_banners/14.htm?BID=21',width:'125',height:'125',timestamp:'1252682118',path:'/w/reklama/4aaa5b766ccdc.gif',alternative:'Everest Poker'},36:{type:'imagec',redirect_url:'/ng_banners/36.htm?BID=64',width:'125',height:'125',timestamp:'1246935538',path:'/w/reklama/4af7f6ab9b635.gif',alternative:'Unibet Poker'},41:{type:'imagec',redirect_url:'/ng_banners/41.htm?BID=64',width:'728',height:'90',timestamp:'1249914975',path:'/w/reklama/4af7f6a1190c3.gif',alternative:'Unibet Poker'},42:{type:'imagec',redirect_url:'/ng_banners/42.htm?BID=53',width:'728',height:'90',timestamp:'1249991410',path:'/w/reklama/4a814ce25920d.gif',alternative:'PokerStars League 2009'},43:{type:'imagec',redirect_url:'/ng_banners/43.htm?BID=53',width:'125',height:'125',timestamp:'1249991428',path:'/w/reklama/4a814cf4433ec.gif',alternative:''},46:{type:'imagec',redirect_url:'/ng_banners/46.htm?BID=53',width:'200',height:'200',timestamp:'1256638487',path:'/w/reklama/4ae6c81781f29.jpg',alternative:'PokerStars'},48:{type:'imagec',redirect_url:'/ng_banners/48.htm?BID=38',width:'728',height:'90',timestamp:'1256729912',path:'/w/reklama/4ae82d388adbf.gif',alternative:'Paradise poker'},49:{type:'imagec',redirect_url:'/ng_banners/49.htm?BID=38',width:'125',height:'125',timestamp:'1256729959',path:'/w/reklama/4ae82d67470ab.gif',alternative:'Paradise poker'},50:{type:'imagec',redirect_url:'/ng_banners/50.htm?BID=63',width:'728',height:'90',timestamp:'1257237052',path:'/w/reklama/4aefea3c70c06.gif',alternative:'Ultimate Bet'},51:{type:'imagec',redirect_url:'/ng_banners/51.htm?BID=107',width:'728',height:'90',timestamp:'1257244335',path:'/w/reklama/4af006afe732f.gif',alternative:'Betfred Poker'},52:{type:'imagec',redirect_url:'/ng_banners/52.htm?BID=107',width:'125',height:'125',timestamp:'1257244359',path:'/w/reklama/4af006c7ebcb0.gif',alternative:'Betfred Poker'},53:{type:'imagec',redirect_url:'/ng_banners/53.htm?BID=B53',width:'125',height:'125',timestamp:'1257503131',path:'/w/reklama/4af3f99b7be9b.gif',alternative:'My.PokerNews.com'},54:{type:'imagec',redirect_url:'/ng_banners/54.htm?BID=B54',width:'728',height:'90',timestamp:'1257503276',path:'/w/reklama/4af3fa2c64ff6.gif',alternative:'My.PokerNews.com'}});
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=\"\/special-freerolls\/\">Poker kalender<\/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 = ["Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"];
		tc.monthNames = ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"];
		tc.words = ["Poker kalender", "Rum", "Start tid", "Buy in", "Præmie", "Krævede points", "Kvalifikationsperiode"];
		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\">Abonner på vores gratis nyhedsbrev<\/b>\n			\n			\n			<label for=\"isubscribe\">Din e-mail<\/label>\n			<input name=\"subscribe_email\" id=\"isubscribe\" value=\"\" class=\"input-text\" type=\"text\" \/>\n\n			<label for=\"isubscribe_captcha\">Verifikationskode<\/label>\n			<input type=\"text\" maxlength=\"4\" class=\"input-text fl\" id=\"isubscribe_captcha\" name=\"subscribe_captcha\"\/> <img src=\"\/register\/captcha.php?t=1258817643\" alt=\"\" \/>\n			<span class=\"clr\">&nbsp;<\/span><input type=\"submit\" value=\"Start\" 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\">Medlems Login<\/b>\n\n		<label for=\"user-nick\">PokerNews navn<\/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>Vigtig: Dit PokerNews navn og password er case 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\">Gem mit password på denne computer.<\/label>\n		\n		<input type=\"submit\" value=\"Login\" name=\"Login\" class=\"input-submit\" \/>\n\n		<a href=\"http:\/\/my.pokernews.com\/members\/password\/\">Har du glemt dit 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("Indtast venligst din e-mail adresse!");
			form.subscribe_email.focus();
			return false;
		} else if (!v_email(form.subscribe_email.value)) {
			alert("Den indtastede e-mail adresse ser ud til at være ugyldig. Kontroller venligst!");
			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">Abonner</a>');
	jQuery('#pop_b0').click(function () {return hdmenu(1);});
	jQuery('#pop_b1').click(function () {return hdmenu(2);});
	jQuery('#pop_b0').show();
}
 trackOutgoing();