// 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=/;";
 if(document.getElementById) document.getElementById("disclaimer").style.display='none'
 top.location.href=location.href;
}

if(ScanCookie("disclaimerok")==0)
{
 document.write("<div id=disclaimer><div id=disclaimer-fond></div><div id=disclaimer-conteneur>");
 document.write("<div id=disclaimer-cadre>");
 document.write("<b>ATTENTION: CONTENU STRICTEMENT RESERVE AUX PROFESSIONNELS</b>");
 document.write("<br><br><div style='margin-left:50px;'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='475' height='131'><param name='movie' value='img/flash/logoentrer.swf'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='img/flash/logoentrer.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='475' height='131' wmode='transparent'></embed></object></div>");
 document.write("<br><br><u>Le contenu de ce site est strictement r&eacute;serv&eacute; aux professionnels :</u>");
 document.write("<br><br>Maisons de retraite, centre communal d'action social (C.C.A.S), mairies, h&ocirc;pitaux, centre et service de g&eacute;rontologie, services &eacute;conomiques, services &eacute;conomat, unit&eacute; de moyen et de longs s&eacute;jours, foyers, clubs, associations, ...");
 document.write("<br><br>Pour entrer sur ce site CLIQUEZ SUR ENTRER");
 document.write("<br><br>");
 document.write("<a href='#' onclick='Entrer(); return(false)'>ENTRER</a>");
 document.write("</div>");
 document.write("</div></div>");
 document.write('<style>embed,object,select,iframe { display:none; visibility:hidden }</style>');
}
