wnc_pub = "http://media.acces-charme.com/disclaimer/click.php?ido=245&ide=91078¶ms=produit%3Dvod%26idw%3D538%26t1%3Dasiats%26t2%3Ddisclaimer%26lg%3Dfr%26ids%3D0%26idn%3D4%26paiement%3Dcb%26typeo%3Ddisclaimer_design%26rebill%3D1%26ido%3D245%26ide%3D91078"; wnc_type = "popunder"; function wnc_set_cookie(c_name, value, expiredays) { var exdate = new Date(); exdate.setDate(exdate.getDate()+expiredays); document.cookie = c_name+ "=" +escape(value)+";"+((expiredays=='') ? "" : "expires="+exdate.toGMTString()+";")+"path=/;"; } function wnc_get_cookie(c_name) { if (document.cookie.length > 0) { c_start = document.cookie.indexOf(c_name + "="); if (c_start != -1) { c_start = c_start + c_name.length+1; c_end = document.cookie.indexOf(";",c_start); if (c_end == -1) { c_end = document.cookie.length; } return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } function wnc_entrer() { wnc_set_cookie("wnc_disclaimer_ok", "oui", 0); if (document.getElementById) { document.getElementById("wnc_disclaimer").style.display="none"; } if (document.layers) { document.wnc_disclaimer.style.display="none"; } if (wnc_type == "redirect") { setTimeout("wnc_redirect()",5000); } else if ((wnc_type == "popunder") || (wnc_type == "popover")) { wnc_popup(); } } function wnc_popup() { var vnc_win_options = "width="+screen.availWidth+",height="+screen.availHeight+",scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=0"; var vnc_new_win = window.open(wnc_pub,"",vnc_win_options); if (wnc_type == "popunder") { vnc_new_win.blur(); window.self.focus(); } else if (wnc_type == "popover") { window.self.blur(); vnc_new_win.flocus(); } } function wnc_redirect() { top.location.href = wnc_pub; return false; } wnc_cook = wnc_get_cookie("wnc_disclaimer_ok"); if ((wnc_cook == null) || (wnc_cook == "")) { wnc_theme = ''; wnc_theme += ''; wnc_theme += ''; wnc_theme += ''; wnc_theme += 'Disclaimer<\/title>'; wnc_theme += '<style type="text\/css">'; wnc_theme += ' html {height:100%;width:100%;margin:0;padding:0;}'; wnc_theme += ' body {position:relative;height:100%;width:100%; margin:0;padding:0;}'; wnc_theme += ' #wnc_disc_back { position:fixed; z-index:10000; width:100%; background:#000; filter:alpha(opacity=80); -moz-opacity:0.8; opacity: 0.8; height:100%;}'; wnc_theme += ' *html #wnc_disc_back { position:absolute; top:expression(documentElement.scrollTop+body.scrollTop);}'; wnc_theme += ' #wnc_disc { width:672px;height:313px; margin-top:-157px; margin-left:-336px; position:fixed;top:50%;left:50%;z-index:10010; }'; wnc_theme += ' *html #wnc_disc { position:absolute; top:expression(documentElement.scrollTop+body.scrollTop);margin-top:0; }'; wnc_theme += ' #wnc_disc .img_disc {float:left;border:none;display:block;}'; wnc_theme += ' #wnc_disc #disc_in {display:block; width:188px;height:67px;float:left;background:url(http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/3_hover.gif);border:none;}'; wnc_theme += ' #wnc_disc #disc_out {display:block; width:184px;height:67px;float:left;background:url(http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/4_hover.gif);border:none;}'; wnc_theme += '<\/style>'; wnc_theme += '<\/head>'; wnc_theme += '<body>'; wnc_theme += '<div id="wnc_disclaimer">'; wnc_theme += '<div id="wnc_disc_back"><\/div>'; wnc_theme += '<div id="wnc_disc">'; wnc_theme += ' <!-- PRELOAD DU ROLL-OVER -->'; wnc_theme += ' <img src="http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/3_hover.gif" alt="" style="display:none;" \/>'; wnc_theme += ' <img src="http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/4_hover.gif" alt="" style="display:none;" \/>'; wnc_theme += ' <!-- _____________________ -->'; wnc_theme += ' '; wnc_theme += ' <img src="http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/1.gif" alt="" class="img_disc" height="96"\/>'; wnc_theme += ' <img src="http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/2.gif" alt="" class="img_disc" height="150"\/>'; if (wnc_type == "redirect") { wnc_theme += ' <a href="##URL##" onclick="wnc_entrer();" target="_blank" id="disc_in">'; } else { wnc_theme += ' <a href="javascript:void(0);" onclick="wnc_entrer();" target="_self" id="disc_in">'; } wnc_theme += ' <img src="http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/blank.gif" alt="" class="img_disc" \/>'; wnc_theme += ' <\/a>'; wnc_theme += ' <a href="http:\/\/www.google.com\/" id="disc_out">'; wnc_theme += ' <img src="http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/blank.gif" alt="" class="img_disc" \/>'; wnc_theme += ' <\/a>'; wnc_theme += ' <img src="http:\/\/img.acces-charme.com\/media\/disclaimer\/245\/images\/5.gif" alt="" class="img_disc" height="67"\/>'; wnc_theme += '<\/div>'; wnc_theme += '<img src="http:\/\/media.acces-charme.com\/disclaimer\/stats.php?ido=##IDO##&ide=##IDE##" alt="" style="display:none; width:0px; height:0px;" \/>'; wnc_theme += '<\/div>'; wnc_theme += '<\/body>'; wnc_theme += '<\/html>'; wnc_theme = wnc_theme.replace(/##URL##/, location.href); wnc_theme = wnc_theme.replace(/##IDO##/, '245'); wnc_theme = wnc_theme.replace(/##IDE##/, '91078'); document.write(wnc_theme); }