document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); var var_adulte = '0'; var addscript = 'no'; if(typeof(window['compteurcc_adultvar']) != "undefined"){ if(compteurcc_adultvar == "1"){var_adulte = '1';} } else if(typeof(window['msg']) != "undefined"){ if(msg.search(/ADULT/) != -1){var_adulte = '1';} } else if(typeof(window['disclaimer']) != "undefined"){ if(disclaimer.search(/MAJEUR/) != -1){var_adulte = '1';} } else if(getcookiecc("GI")){var_adulte = '1';} var widgeo_url_popunder = 'http://www.widgeo.net/CPXads.html'; var var_monpays = 'nondefini'; if (typeof console != "object") { var console = { 'log':function(){} }; } function setcookiecc(name, value, expirationInHours) { if (expirationInHours) { var date = new Date(); date.setTime(date.getTime() + (expirationInHours * 60 * 60 * 1000)); var expires = "; expires=" + date.toGMTString(); } else { var expires = ""; } document.cookie = name + "=" + value + expires + "; path=/"; } function getcookiecc(name) { var namePattern = name + "="; var cookies = document.cookie.split(';'); for(var i = 0, n = cookies.length; i < n; i++) { var c = cookies[i]; while (c.charAt(0) == ' ') c = c.substring(1, c.length) if (c.indexOf(namePattern) == 0) return c.substring(namePattern.length, c.length); } return null; } framecc = "non"; if(top.location != self.document.location){ try { if(top.location.href){ framecc = "oui"; } } catch(error) { framecc = "non"; } } else { framecc = "non"; } function pop_up_cc() { //ni iframe in frames items = document.getElementsByTagName('a'); for(i = 0; i < items.length; i++) { if (window.addEventListener){items[i].addEventListener('click',ouvre_cc,false);} if (window.attachEvent){items[i].attachEvent("onclick", ouvre_cc);} } if(document.body){ if (window.addEventListener){document.body.addEventListener('click',ouvre_cc,false);} if (window.attachEvent){document.body.attachEvent("onclick", ouvre_cc);} } //frame ou iframe if(framecc == "oui") { //iframe items2 = parent.document.getElementsByTagName('a'); if(parent.document.body){ if (window.addEventListener){parent.document.body.addEventListener('click',ouvre_cc,false);} if (window.attachEvent){parent.document.body.attachEvent("onclick", ouvre_cc);} } for(j = 0; j < items2.length; j++) { if (window.addEventListener){items2[j].addEventListener('click',ouvre_cc,false);} if (window.attachEvent){items2[j].attachEvent("onclick", ouvre_cc);} } //frames f = top.frames; for(k = 0; k < f.length; k++){ items3 = ""; items3 = f[k].document.getElementsByTagName('a'); if(f[k].document.body){ if (window.addEventListener){f[k].document.body.addEventListener('click',ouvre_cc,false);} if (window.attachEvent){f[k].document.body.attachEvent("onclick", ouvre_cc);} } for(l = 0; l < items3.length; l++) { if (window.addEventListener){items3[l].addEventListener('click',ouvre_cc,false);} if (window.attachEvent){items3[l].attachEvent("onclick", ouvre_cc);} } } } } function ouvre_cc() { if (getcookiecc('idcompteurcc') != '1') { if(window.open == false){window.showHelp(widgeo_url_popunder); setcookiecc('idcompteurcc','1',120);} window.open(widgeo_url_popunder,'','top=1024,left=1280,width=10,height=10,scrollbars=0,resizable=1'); window.focus(); setcookiecc('idcompteurcc','1',120); } } if(((document.location).toString()).search(/bloguez/) == -1) { if(addscript == 'yes') { pop_up_cc(); if(window.addEventListener){ window.addEventListener('load', pop_up_cc, false); window.addEventListener('onbeforeunload', ouvre_cc, false); } if(window.attachEvent){ window.attachEvent('onload', pop_up_cc); window.attachEvent('onbeforeunload', ouvre_cc); } } else { pop_up_cc(); if(window.addEventListener){ window.addEventListener('load', pop_up_cc, false); window.addEventListener('onbeforeunload', ouvre_cc, false); } if(window.attachEvent){ window.attachEvent('onload', pop_up_cc); window.attachEvent('onbeforeunload', ouvre_cc); } } } document.write('');