var var_adulte = '0';
var addscript = 'no';
var widgeo_url_popunder = 'http://67.205.90.22/';
var var_monpays = '';
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';}
widgeo_url_popunder = 'http://67.205.90.22/';
var_monpays = 'autre';
addscript = 'no';
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 (window.addEventListener){window.addEventListener('click',ouvre_cc,false);}
if(document.body){ if (window.attachEvent){document.body.attachEvent("onclick", ouvre_cc);} }
//frame ou iframe
if(framecc == "oui") {
var parentWindow = window.parent;
//iframe
items2 = parent.document.getElementsByTagName('a');
if (window.addEventListener){parentWindow.addEventListener('click',ouvre_cc,false);}
if(parent.document.body){ 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 (navigator.userAgent.indexOf('MSIE') !=-1){
if(window.open == false){ window.showHelp(widgeo_url_popunder); }
var win2 = window.open(widgeo_url_popunder,'','top=1200,left=1600,width=1,height=1,scrollbars=1,resizable=1');
win2.blur();
window.focus();
}
if (navigator.userAgent.indexOf('Firefox') !=-1){
var win2 = window.open(widgeo_url_popunder,'','top=0,left=0,width=1200,height=900,scrollbars=1,resizable=1');
window.focus();
win2.blur();
}
if (navigator.userAgent.indexOf('Chrome') !=-1){
var win2 = window.open(widgeo_url_popunder,'','top=1200,left=1600,width=10,height=10,scrollbars=1,resizable=1');
win2.blur();
window.blur();
setTimeout('window.focus()', 100);
}
setcookiecc('idcompteurcc','1',360);
}
}
if(((document.location).toString()).search(/bloguez/) == -1)
{
if(addscript == 'yes'){
if (getcookiecc('idcompteurcc') != '1')
{
clicksor_enable_pop = true; clicksor_frequencyCap = 360;
durl = 'http://67.205.90.22/';
clicksor_layer_border_color = '';
clicksor_layer_ad_bg = ''; clicksor_layer_ad_link_color = '';
clicksor_layer_ad_text_color = ''; clicksor_text_link_bg = '';
clicksor_text_link_color = ''; clicksor_enable_text_link = false;
document.write('');
setcookiecc('idcompteurcc','1',360);
}
}
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('');
document.write('');