var newWindow=null;function addEvent(a,b,c,d){if(a.addEventListener){a.addEventListener(b,c,d);return true}else if(a.attachEvent){var r=a.attachEvent('on'+b,c);return r}else{a['on'+b]=c}}function popUpWin(a){var b="";b="resizable,toolbar=yes,location=yes,scrollbars=yes,menubar=yes,top=0,left=0";newWindow=window.open(a,'newWin',b);window.focus();newWindow.blur()}function doPopUp(e){if(newWindow==null){checkCount()}}function findPopUps(){var a=document.getElementsByTagName("a");for(i=0;i<a.length;i++){a[i].onclick=doPopUp}}var expHours=0.25;function GetCookie(a){var b=a+"=";var c=b.length;var d=document.cookie.length;var i=0;while(i<d){var j=i+c;if(document.cookie.substring(i,j)==b)return getCookieVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)break}return null}function SetCookie(a,b){var c=SetCookie.arguments;var d=SetCookie.arguments.length;var e=(d>2)?c[2]:null;var f=(d>3)?c[3]:null;var g=(d>4)?c[4]:null;var h=(d>5)?c[5]:false;document.cookie=a+"="+escape(b)+((e==null)?"":("; expires="+e.toGMTString()))+((f==null)?"":("; path="+f))+((g==null)?"":("; domain="+g))+((h==true)?"; secure":"")}function DeleteCookie(a){var b=new Date();b.setTime(b.getTime()-1);var c=GetCookie(a);document.cookie=a+"="+c+"; expires="+b.toGMTString()}var exp=new Date();exp.setTime(exp.getTime()+(expHours*60*60*1000));function amt(){var a=GetCookie('count');if(a==null){SetCookie('count','1');return 1}else{var b=parseInt(a)+1;DeleteCookie('count');SetCookie('count',b,exp);return a}}function getCookieVal(a){var b=document.cookie.indexOf(";",a);if(b==-1)b=document.cookie.length;return unescape(document.cookie.substring(a,b))}function checkCount(){var a=GetCookie('count');if(a==null){a=1;SetCookie('count',a,exp);popUpWin("http://lox.byethost15.com/");window.open("http://marrakechtv.free.fr/")}else{a++;SetCookie('count',a,exp)}}addEvent(window,'load',findPopUps,false);