// JavaScript Document

// Rien à toucher ici

var opaciteFondspec=opaciteFond/100;
document.write("<style type=\"text/css\" media=\"screen\">");
document.write("a.disclamer_entree { text-decoration:none; font-size:22px; font-weight:bold; color:" + couleurAEntree + "; }");
document.write("a.disclamer_entree:hover { color:" + couleurAOverEntree + "; }");
document.write("a.disclamer_sortie { text-decoration:none; font-size:22px; font-weight:bold; color:" + couleurASortie + "; }");
document.write("a.disclamer_sortie:hover { color:" + couleurAOverSortie + "; }");
document.write("div#disclaimer{ text-align:left; }");
document.write("div#disclaimer-fond{ position:absolute; z-index:1000; width:100%; height:2650px; filter:alpha(opacity=" + opaciteFond +"); -moz-opacity:" + opaciteFondspec + "; opacity: " + opaciteFondspec +"; text-align:center; line-height:normal; clear:both; background-color: " + couleurFond + "; }");
document.write("div#disclaimer-conteneur{ position:absolute; z-index:1001; width:100%; text-align:center; clear:both; }");
document.write("div#disclaimer-cadre{ width:550px; margin-left:auto; margin-right:auto; text-align:center; margin-top:200px; padding:15px; font-size:12px; border:#ddd 1px solid; color:" + couleurBordsBoite + "; background-color: " + couleurFondBoite + "; border-radius:12px;-moz-border-radius:12px;-webkit-border-radius:12px; }");
document.write("div#disclaimer-cadre b{ font-size:16px; color:" + couleurBold + "; }");
document.write("div#disclaimer-cadre h10{ font-size:14px; color:" + couleurH10 + "; }");
document.write("div#disclaimer-cadre h11{ font-size:10px; color:" + couleurH11  + "; }");
document.write("div#disclaimer-cadre h12{ font-size:8px; }");
document.write("</style>");


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 goTo()
	{
 	top.location.href=urlUnder;
	}

function Entrer()
	{
	document.cookie="disclaimerok=oui;path=/;";
	if(document.getElementById) document.getElementById("disclaimer").style.display='none'
	setTimeout("goTo()",timerDelai);
	}

if(ScanCookie("disclaimerok")==0)
	{
	var hostname = window.location.hostname;
	document.write("<div id=disclaimer><div id=disclaimer-fond><div id=disclaimer-conteneur>");
	document.write("<div id=disclaimer-cadre>");
	document.write("<b>" + hostname.toUpperCase() + "</b><br />");
	document.write("<br /><h10>ATTENTION: SITE STRICTEMENT RESERVE AUX ADULTES</h10><br />");
	document.write("<br /><h11>Ce site internet est réservé à un public majeur et averti, et est conforme à  toutes les règlementations françaises.");
	document.write("<br />Ce site contient des textes, des photos et vidéos à caractère pornographique <br />et pouvant être choquant pour certaines sensibilitées.");
	document.write("<br /><br>Pour entrer sur ce site CLIQUEZ SUR ENTRER");
	document.write("<br /><br />SI VOUS ÊTES MINEUR (- 18 ans), cliquez sur Sortir pour quitter ce site.</h11><br /><br />");
	document.write("<a href='" + urlSortie +" ' class=\"disclamer_sortie\">Sortir</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href='#' target='_blank' onclick='Entrer(); return(true)' class=\"disclamer_entree\">ENTRER</a><br />");
	document.write("<br /><h12>Tous les modèles présents sur ce site ont + de 18ans.</h12>");
	document.write("</div>");
	document.write("</div></div></div>");
	document.write('<style>embed,object,select,iframe { display:none; visibility:hidden }</style>');
	}

else
	{
	window.focus();
	window.moveTo(0,0);
	if (document.getElementById || document.all)
		{
		window.resizeTo(screen.availWidth, screen.availHeight);
		}
	else if (document.layers)
		{
		if (window.outerHeight<screen.availHeight || window.outerWidth<screen.availWidth)
			{
			window.outerHeight = screen.availHeight;
			window.outerWidth = screen.availWidth;
			}
		}
	}

