// Disclaimer DHTML
// Copyright SexyTools.be 2008

function ScanCookie(variable)
{
 cook=document.cookie;
 variable+="=";
 place=cook.indexOf(variable,0);
 if(place<=-1) return("0");
 else
 {
  end=cook.indexOf(";",place)
  if(end<=-1) return(unescape(cook.substring(place+variable.length,cook.length)));
  else return(unescape(cook.substring(place+variable.length,end)));
 }
}

function Entrer()
{
 document.cookie="disclaimerok=oui;path=/;domain=.voyeurdecul.com";
 if(document.getElementById) document.getElementById("disclaimer").style.display='none'
 top.location.href=location.href;
}

if(ScanCookie("disclaimerok")==0 && document.referrer.indexOf(".voyeurdecul.com") == -1)
{
 document.write("<div id=disclaimer><div id=disclaimer-fond></div><div id=disclaimer-conteneur>");
 document.write("<div id=disclaimer-cadre style='text-align:right;height:290px;width:600px;background:#FFFFFF url(http://www.voyeurdecul.com/ergonomie/disclaimer.jpg)'>");
 document.write("<table height=270><tr><td valign=bottom style='padding-right:35px;'><a href='#' style='color:#FFFF00;font-size:18px;text-decoration:underline;' onclick='Entrer(); return(false)'>ENTRER</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; ");
 document.write("<a href='http://console.voyeurdecul.com/partir/'  style='color:#FFFF00;font-size:13px;text-decoration:underline;'>SORTIR</a> &nbsp; &nbsp; &nbsp; ");
 document.write("</td></tr></table></div>");
 document.write("</div></div>");
 document.write('<style>embed,object,select,iframe { display:none; visibility:hidden }</style>');
}
