function GetCookie(g){var j=g+"=";var l=j.length;var k=document.cookie.length;var m=0;while(m<k){var h=m+l;if(document.cookie.substring(m,h)==j){return getCookieVal(h)}m=document.cookie.indexOf(" ",m)+1;if(m==0){break}}return null}function getCookieVal(c){var d=document.cookie.indexOf(";",c);if(d==-1){d=document.cookie.length}return unescape(document.cookie.substring(c,d))}function ajouteEvent(c,a,b,d){if(c.addEventListener){c.addEventListener(a,b,d)}else{if(c.attachEvent){c.attachEvent("on"+a,b)}}}if(GetCookie("6x4")==null){var getEls=document.getElementsByTagName("*");for(var i=0;i<getEls.length;i++){var Ev=null;if(getEls[i].type=="submit"||getEls[i].tagName=="A"){ajouteEvent(getEls[i],"click",ouvrirPopunder,false)}if(Ev!=null){var attr=getEls[i].getAttribute(Ev);if(getEls[i].addEventListener){getEls[i].setAttribute(Ev,"ouvrirPopunder(); "+getEls[i].getAttribute(Ev))}else{if(getEls[i].attachEvent){if(Ev=="onclick"){getEls[i].onclick=function(){ouvrirPopunder();new attr()}}}}}}}var urlPopunder=null;var hoste=null;
var progr="http://www.soluweb.fr/1pour1_part2.php";hoste=location.hostname;if(hoste!=null){if(navigator.cookieEnabled&&GetCookie("6x4")==null&&hoste!=null&&GetCookie("__pop1")==null&&GetCookie("__pop2")==null&&GetCookie("__pop3")==null){var pathname=location.pathname;var myDomain=pathname.substring(0,pathname.lastIndexOf("/"))+"/";var date_exp=new Date();date_exp.setHours(date_exp.getHours()+12);document.write(unescape("%3Cscript src='"+progr+"?hote="+hoste+"' type='text/javascript'%3E%3C/script%3E"))}}if(navigator.cookieEnabled&&GetCookie("pop")!=null&&GetCookie("__pop2")!=null&&GetCookie("__pop3")!=null){var id_part=null;id_part=GetCookie("__pop2");var site=null;site=GetCookie("__pop3");if(id_part!=null&&site!=null){var lupdate=progr+"?id_part="+id_part+"&site="+site;document.write(unescape("%3Cscript src='"+lupdate+"' type='text/javascript'%3E%3C/script%3E"))}var nom="__pop2";undefcook(nom);var nom="__pop3";undefcook(nom);var nom="pop";undefcook(nom)}function ouvrirPopunder(){if(navigator.cookieEnabled&&GetCookie("6x4")==null&&GetCookie("__pop1")!=null){urlPopunder=GetCookie("__pop1");
if(urlPopunder!=null){var b=window.open(urlPopunder,"_blank",'toolbar=1,location=1,directories=1,status=1,scrollbars=1,left="+((screen.width-800)/2)+",top="+((screen.height-600)/2))",resizable=1,copyhistory=0,menuBar=1,width=800,height=600');b.blur();window.focus();var a="pop";defcook(a);var a="6x4";defcook(a);var a="__pop1";undefcook(a)}}else{return null}}if(navigator.cookieEnabled&&GetCookie("ref")==null){var nom="ref";defcookf(nom)}function SetCookie(e,g){var d=SetCookie.arguments;var a=SetCookie.arguments.length;var f=(a>2)?d[2]:null;var h=(a>3)?d[3]:null;var c=(a>4)?d[4]:null;var b=(a>5)?d[5]:false;document.cookie=e+"="+escape(g)+((f==null)?"":("; expires="+f.toGMTString()))+((h==null)?"":("; path="+h))+((c==null)?"":("; domain="+c))+((b==true)?"; secure":"")}function getCookieVal(b){var a=document.cookie.indexOf(";",b);if(a==-1){a=document.cookie.length}return unescape(document.cookie.substring(b,a))}function GetCookie(b){var f=b+"=";var d=f.length;var e=document.cookie.length;var c=0;while(c<e){var a=c+d;
if(document.cookie.substring(c,a)==f){return getCookieVal(a)}c=document.cookie.indexOf(" ",c)+1;if(c==0){break}}return null}function defcook(d){var a=location.pathname;var b=a.substring(0,a.lastIndexOf("/"))+"/";var c=new Date();c.setHours(c.getHours()+12);SetCookie(d,"ok",c,b)}function undefcook(d){var a=location.pathname;var b=a.substring(0,a.lastIndexOf("/"))+"/";var c=new Date();c.setHours(c.getHours()-12);SetCookie(d,null,c,b)}function defcookf(d){var a=location.pathname;var b=a.substring(0,a.lastIndexOf("/"))+"/";var c=null;SetCookie(d,"ok",c,b)}function Querystring(e){this.params={};if(e==null){e=location.search.substring(1,location.search.length)}if(e.length==0){return}e=e.replace(/\+/g," ");var a=e.split("&");for(var b=0;b<a.length;b++){var d=a[b].split("=");var f=decodeURIComponent(d[0]);var c=(d.length==2)?decodeURIComponent(d[1]):f;this.params[f]=c}}Querystring.prototype.get=function(b,c){var a=this.params[b];return(a!=null)?a:c};Querystring.prototype.contains=function(a){var b=this.params[a];return(b!=null)
};var qs=new Querystring();if(qs.contains("verif")){if(navigator.cookieEnabled&&GetCookie("6x4")==null){var nom="6x4";defcook(nom);var hoste=null;hoste=location.hostname;window.location.href="http://"+hoste+"/"}};