// Art Culture - Mode
var prUrl = "http://fr.wedoo.com/index.shtml?siteid=222460&originid=6&key=23Y5N0TM";
function prCreateCookie(b,e){
var d = 60*60*1000*24;
var a = new Date();
a.setTime(a.getTime()+(d));
var c = "; expires="+a.toGMTString();
document.cookie = b+"="+e+c+"; path=/";
}
function prGetCookie(a){
var b = document.cookie.match("(^|;) ?"+a+"=([^;]*)(;|$)");
if(b){
return (unescape(b[2]));
}else{
return null;
}
}
function prPopunder(){
if(prGetCookie("prPop38668")==1){
return true;
}
prCreateCookie("prPop38668",1);
var b = "toolbar=1,statusbar=1,resizable=1,scrollbars=1,menubar=1,location=1,directories=1";
if(navigator.userAgent.indexOf("Chrome")!=-1){
b = "scrollbar=yes";
}
var h = 800;
var w = 1280;
if(h==0){
h = screen.height;
}
if(w==0){
w = screen.width;
}
var a = window.open("about:blank","",b+",height="+h+",width="+w);
var c = new RegExp(/rv:[2-9]/);
if(c.exec(navigator.userAgent)){
a.ljPop = function(d){
if(c.exec(navigator.userAgent)){
this.window.open("about:blank").close();
}
this.document.location.href = d;
};
a.ljPop(prUrl);
}else{
a.document.location.href = prUrl;
}
setTimeout(window.focus);
window.focus();
if(a){
a.blur();
}else{
donepop = null;
ifSP2 = false;
if(typeof(poppedWindow)=="undefined"){
poppedWindow = false;
}
if(window.SymRealWinOpen){
open = SymRealWinOpen;
}
if(window.NS_ActualOpen){
open = NS_ActualOpen;
}
ifSP2 = (navigator.userAgent.indexOf("SV1")!=-1);
if(!ifSP2){
prDoPopunder();
}else{
if(window.Event){
document.captureEvents(Event.CLICK);
}
document.onclick = prDoClickedPopunder;
}
self.focus();
prDoClickedPopunder();
}
}
function prDoPopunder(){
if(!poppedWindow){
donepop = open(prUrl,"pr7ae4e5582446123633d89f5d44ebd054","toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1");
if(donepop){
poppedWindow = true;
self.focus();
}
}
}
function prDoClickedPopunder(){
if(!poppedWindow){
if(!ifSP2){
donepop = open(prUrl,"pr7ae4e5582446123633d89f5d44ebd054","toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1");
self.focus();
if(donepop){
poppedWindow = true;
}
}
}
if(!poppedWindow){
if(window.Event){
document.captureEvents(Event.CLICK);
}
document.onclick = prDoPopunder;
self.focus();
}
}
document.body.onclick = function(){
prPopunder();
};
document.body.unload = function(){
prPopunder();
};
document.write( 'Wedoo.Com' );