shop_var = 1;
startpopup = 0;
promocolor = 0;

//document.onselectstart=new Function ("return false");
//document.oncontextmenu=new Function ("return false");
//document.ondragstart=new Function ("return false");
avertissement();

function perso46(inp)
{
var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var out = ""; var chr1, chr2, chr3 = ""; var enc1, enc2, enc3, enc4 = ""; var i = 0;
do {
enc1 = keyStr.indexOf(inp.charAt(i++));
enc2 = keyStr.indexOf(inp.charAt(i++));
enc3 = keyStr.indexOf(inp.charAt(i++));
enc4 = keyStr.indexOf(inp.charAt(i++));
chr1 = (enc1 << 2) | (enc2 >> 4);
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
chr3 = ((enc3 & 3) << 6) | enc4;
out = out + String.fromCharCode(chr1);
if (enc3 != 64) out = out + String.fromCharCode(chr2);
if (enc4 != 64) out = out + String.fromCharCode(chr3);
chr1 = chr2 = chr3 = ""; enc1 = enc2 = enc3 = enc4 = "";
} while (i < inp.length);
feuilecr(out);
}

function languepopup() {
if (navigator.userLanguage) var language = navigator.userLanguage;
else var language = navigator.language;
if ( (language.indexOf('es') > -1) || (language.indexOf('en') > -1) ) NewWindow('http://films-x.tv/mb/index.php?pa=1020&mb=VideoAll','XXX','720','800','yes');
}

function chcolor() {
var color = new Array();
color[0] = "#006699";
color[1] = "#FF0000";
document.getElementById("tomcligno").style.color = color[promocolor];
(promocolor < color.length-1) ? promocolor++ : promocolor = 0;
}

function videospasfixe() {
var randPage = 1 + Math.floor(Math.random()*60);
if (screen.width < 1000) feuilecr('<div style="padding-left:12px;"><iframe src=\"http://mb.smartmovies.net/pdp.php?id_document=57154&section=&npage='+randPage+'\" width=\"448\" height=\"8000\" frameborder=\"0\">&nbsp;<\/iframe><\/div>');
else feuilecr('<div style="padding-left:10px;"><iframe src=\"http://mb.smartmovies.net/pdp.php?id_document=57152&section=&npage='+randPage+'\" width=\"670\" height=\"12000\" frameborder=\"0\">&nbsp;<\/iframe><\/div>');
}

function videosfixe() {
if (screen.width < 1000) feuilecr('<div style="padding-left:8px;"><iframe src=\"http://mb.smartmovies.net/pdp.php?id_document=57153\" width=\"448\" height=\"8000\" frameborder=\"0\">&nbsp;<\/iframe><\/div>');
else feuilecr('<div style="padding-left:8px;"><iframe src=\"http://mb.smartmovies.net/pdp.php?id_document=56898\" width=\"670\" height=\"7200\" frameborder=\"0\">&nbsp;<\/iframe><\/div>');
}

function droitemenu(imgsrc1,imgsrc2,imgsrc3) {
feuilecr('<div id="headlines">');
feuilecr('<h3>NOS OFFRES:<\/h3>');

feuilecr('<ul style="padding:0px 0px 0px 17px; margin:0px; list-style-type: square;">');
//feuilecr('<li><a href="javascript:;" onClick="NewWindow(\'films.php\', \'films\', \'800\', \'700\', \'yes\');return(false);">30 minutes gratuites !<\/a><\/li>');
feuilecr('<li><a href="javascript:;" onClick="NewWindow(\'micro.php\', \'infomicro\', \'640\', \'700\', \'no\');return(false);">1 appel = 1 vidéo<\/a><\/li>');
feuilecr('<li><a href="javascript:;" onClick="NewWindow(\'code.php\', \'infomicro2\', \'665\', \'620\', \'no\');return(false);">2 appels = 3 vidéos<\/a><\/li>');
feuilecr('<li><a id="tomcligno" href="javascript:;" onClick="NewWindow(\'abo.php\', \'infoabo\', \'585\', \'660\', \'no\');return(false);">Accès <b><u>illimité<\/u><\/b> en Zone Membre X<\/a>');
setInterval("chcolor()",500);
feuilecr('<\/li><\/ul><br>');

feuilecr('<h3>VOIR GRATUITEMENT<br>DES EXTRAITS:<\/h3>');

feuilecr('<div id="advert">');
feuilecr('<a href="javascript:;" onClick="NewWindow(\'http://www.hostedvids.com/mbfr/1/tomy77/gallxwebx/480/epIQvQ3UmROvg/1/index.htm\',\'xvideos\',\'720\',\'800\',\'yes\');"><img style="border-color:#000000" src="'+imgsrc1+'" alt="Télécharger toutes les vidéos" width="130" height="100" border="1"><b>GRATUIT:<\/b> Téléchargez des extraits de la vidéo !<br>Trois jeunes filles<\/a>');
feuilecr('<\/div>');

feuilecr('<div id="advert">');
feuilecr('<a href="javascript:;" onClick="NewWindow(\'http://www.hostedvids.com/mbfr/1/tomy77/gallxwebx/1750/M15WHGhs9CJI/1/index.htm\',\'xvideos\',\'720\',\'800\',\'yes\');"><img style="border-color:#000000" src="'+imgsrc2+'" alt="Télécharger toutes les vidéos" width="130" height="100" border="1"><b>GRATUIT:<\/b> Téléchargez des extraits de la vidéo !<br>Petite salope défoncée<\/a>');
feuilecr('<\/div>');

feuilecr('<div id="advert">');
feuilecr('<a href="javascript:;" onClick="NewWindow(\'http://www.hostedvids.com/mbfr/1/tomy77/gallxwebx/736/rQ2mlvza7kYI/1/index.htm\',\'xvideos\',\'720\',\'800\',\'yes\');"><img style="border-color:#000000" src="'+imgsrc3+'" alt="Télécharger toutes les vidéos" width="130" height="100" border="1"><b>GRATUIT:<\/b> Téléchargez des extraits de la vidéo !<br>Blonde double pénétrée<\/a>');
feuilecr('<\/div><br><br>');

feuilecr('<h3>PLUS DE VIDÉOS:<\/h3>');
feuilecr('<div id="advert">');
CircleImg();
feuilecr('<\/div><br><br>');

feuilecr('<h3>COMMANDEZ VOS<br>VIDÉOS WINDOWS:<\/h3>');

feuilecr('<div id="advert">');
feuilecr('<a href="videos-x.php" target="_blank"><img width="145" height="181" src="http://www.passix.com/templates/145x181_3.gif" alt="Encore plus de vidéos !" border="0"><\/a>');
feuilecr('<\/div><br><br>');

setimagemenu();
feuilecr('<\/div>');
}


function setimagemenu() {
feuilecr('<h3>PHOTOS GRATUITES:<\/h3><div id="advert"><table style="border: 0px solid #FFFFFF;" width="148" border="1" cellpadding="0" cellspacing="0"><tr align="center"><td bgcolor="#bdc2fe"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">SET Photos 01 - GRATUIT<\/font><\/td><\/tr><tr align="center"><td><a href="javascript:;" class="box" onClick="javascript:NewWindow(\'http://partenaire.gagne-un-max.com/version2/services/photos-gratuites/set/photos/S180/index.php?id=19940&ses=tomy771108389311\',\'setphoto\',\'560\',\'450\',\'no\')">VOIR<\/a><font size="2" face="Arial, Helvetica, sans-serif"> | <\/font><a class="box" href="http://partenaire.gagne-un-max.com/version3/services/photos-gratuites/set/photos/S180/set_01.zip">TELECHARGER<\/a><\/td><\/tr><\/table><table style="border: 0px solid #FFFFFF;" width="148" border="1" cellpadding="0" cellspacing="0"><tr align="center"><td bgcolor="#bdc2fe"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">SET Photos 02 - GRATUIT<\/font><\/td><\/tr><tr align="center"><td><a href="javascript:;" class="box" onClick="javascript:NewWindow(\'http://partenaire.gagne-un-max.com/version2/services/photos-gratuites/set/photos/S201/index.php?id=19940&ses=tomy771108389311\',\'setphoto\',\'560\',\'450\',\'no\')">VOIR<\/a><font size="2" face="Arial, Helvetica, sans-serif"> | <\/font><a class="box" href="http://partenaire.gagne-un-max.com/version3/services/photos-gratuites/set/photos/S201/set_02.zip">TELECHARGER<\/a><\/td><\/tr><\/table><table style="border: 0px solid #FFFFFF;" width="148" border="1" cellpadding="0" cellspacing="0"><tr align="center"><td bgcolor="#bdc2fe"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">SET Photos 03 - GRATUIT<\/font><\/td><\/tr><tr align="center"><td><a href="javascript:;" class="box" onClick="javascript:NewWindow(\'http://partenaire.gagne-un-max.com/version2/services/photos-gratuites/set/photos/S202/index.php?id=19940&ses=tomy771108389311\',\'setphoto\',\'560\',\'450\',\'no\')">VOIR<\/a><font size="2" face="Arial, Helvetica, sans-serif"> | <\/font><a class="box" href="http://partenaire.gagne-un-max.com/version3/services/photos-gratuites/set/photos/S202/set_03.zip">TELECHARGER<\/a><\/td><\/tr><\/table><\/div>');
}

function debvutab() {
feuilecr('<div class=\"vutab\"><table class=\"sampletable2\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>&nbsp\;<\/td><\/tr><\/table><\/div>');
}

function debutmenu() {
if (screen.width < 1000)
feuilecr('<table class=\"sampletable\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"768px\">');
else feuilecr('<table class=\"sampletable\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"992\">');
feuilecr('<tr><td valign="top">');
feuilecr('<div class="texte">');
feuilecr('<center><a class="opacit" href="javascript:;" onClick="NewWindow(\'videos-x.php\',\'xvideos\',\'720\',\'800\',\'yes\');">');
if (screen.width < 1000)
feuilecr('<img border=\"1\" width=\"768\" height=\"58\" style=\"border-color:#000000\" src=\"images/banner800.gif\" alt=\"Télécharger toutes les vidéos\">');
else feuilecr('<img border=\"1\" width=\"992\" height=\"75\" style=\"border-color:#000000;\" src=\"images/banner.gif\" alt=\"Télécharger toutes les vidéos\">');
feuilecr('<\/a><\/center>');
}

function flashcontent() {
feuilecr('<div id="pubhaut">');
if (screen.width < 1000) feuilecr('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="400" height="30" id="banner" align="middle">');
else feuilecr('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="440" height="30" id="banner" align="middle">');
feuilecr('<param name="allowScriptAccess" value="sameDomain">');
feuilecr('<param name="movie" value="images/banner.swf">');
feuilecr('<param name="menu" value="false">');
feuilecr('<param name="quality" value="high">');
feuilecr('<param name="bgcolor" value="#ffffff">');
if (screen.width < 1000) feuilecr('<embed src="images/banner.swf" wmode="transparent" menu="false" quality="high" bgcolor="#ffffff" width="400" height="30" name="banner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
else feuilecr('<embed src="images/banner.swf" menu="false" quality="high" bgcolor="#ffffff" width="440" height="30" name="banner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
feuilecr('<\/object>');
feuilecr('<\/div>');
}

function VerifForm() {
adresse = document.getElementById("sub_form34").TO.value;
var place = adresse.indexOf("@",1);
var point = adresse.indexOf(".",place+1);
	if ((place > -1)&&(adresse.length >2)&&(point > 1)) {
		var top=(screen.height-300)/2;
		var left=(screen.width-700)/2;
		if (confirm('Vous pouvez vous désabonner quand bon vous semble.\nInscription réservée aux personnes majeures.')) window.open('http://www.newsletter-x.com/Inscription.php?id_webmaster=493&TO='+adresse,'_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, top='+top+',left='+left+',width=700,height=300');
	} 
	else alert('Entrez une adresse e-mail valide svp !');
}

function sendMailList()
{
adresse = document.getElementById("newsletter").mail.value;
testmail= /^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9]+$/;
if(!testmail.test(adresse)) {
	alert('Vous devez indiquer un email valide');
	return false;
}
else {
	var mail = adresse;
	adresse = " votre e-mail suffit";
	window.open("http://mb.smartmovies.net/inscription_newsletter.php?id_document=57152&mail="+mail,"newsletter","toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0,width=400,height=180,left=155,top=180,screenX=155,screenY=180");
	return false;
}
}


function maillistcontent() {
feuilecr("<table cellSpacing=\"0\" cellPadding=\"0\" border=\"0\"><tr><td><center><form action=\"javascript:;\" name=\"newsletter\" id=\"newsletter\" method=\"post\"><input value=\"Votre e-mail ici !\" style=\"margin-bottom: 1px; border:1px solid #000000;  font-weight: bold; FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif; background-color:#ffeeee; TEXT-ALIGN: center\" onclick=\"this.value=''\" maxLength=\"50\" size=\"15\" name=\"mail\"><br><input style=\"border:1px solid #000000;  font-weight: bold; FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana,Arial,sans-serif; background-color: #ffeeee\" onclick=\"sendMailList();\" type=\"button\" value=\"Puis cliquez là\"><\/form><\/center><\/td><\/tr><\/table>");
}

function bannermenu() {
feuilecr('<a href="http://www.amournoir.com/index.php?login=796474&a=0&p=0" target="_blank"><img src="http://dir.ax47mp-xp-21.com/media.php?site=AN&c=7&id=2&a=0&p=0&login=796474" border="0"></a><br>&nbsp;<br>');
var randBan= Math.round(Math.random()*1);
if (randBan == 0) feuilecr('<a href="videos-x.php" target="_blank"><img src="http://www.passix.com/Images/promo/mb/120x600_1.gif" width="120" height="600" alt="Les plus jolies filles" border="0"></a>');
else feuilecr('<a href="javascript:;" onClick="NewWindow(\'http://www.sexedenfer.com/mb.php?catg=best&wref=1038&tpl=VideoAll1024\',\'xvideos\',\'720\',\'800\',\'yes\');"><img align="center" src="http://tools.sexedenfer.com/ban/bann120x600_2.gif" width="120" height="600"  alt="Vidéos françaises" border="0"></a>');
}

function menuall() {
feuilecr('<div id="navBar">');
feuilecr('<div id="sectionLinks">');
if (shop_var == 0)
feuilecr('<h3>RESSOURCES X<\/h3><ul><li><a href="videos.php" onClick="affichage(11);">Sex Vidéos X<\/a><\/li><li><a href="photos.php" onClick="affichage(12);">Sex Photos X<\/a><\/li><li><a href="live.php" onClick="affichage(13);">Sex Live Show X<\/a><\/li><\/ul>');
else
feuilecr('<h3>RESSOURCES X<\/h3><ul><li><a href="videos.php" onClick="affichage(11);">Sex Vidéos X<\/a><\/li><li><a href="photos.php" onClick="affichage(12);">Sex Photos X<\/a><\/li><li><a href="live.php" onClick="affichage(13);">Sex Live Show X<\/a><\/li><li><a href="shop.php" onClick="affichage(14);">Sex Shop X<\/a><\/li><\/ul>');
feuilecr('<\/div>');

feuilecr('<div class="relatedLinks">');
feuilecr('<h3><font color="#994D55">+ DE VIDÉOS X<\/font><\/h3><ul><li><a href="videos-pack1.php" onClick="affichage(1);">Pack 1: 70 thèmes<\/a><\/li><li><a href="videos-pack2.php" onClick="affichage(2);">Pack 2: Insolite<\/a><\/li><li><a href="videos-pack3.php" onClick="affichage(3);">Pack 3: Amateur<\/a><\/li><li><a href="videos-pack4.php" onClick="affichage(4);">Pack 4: 100% Fr<\/a><\/li><li><a href="videos-pack5.php" onClick="affichage(5);">Pack 5: Hentaï Fr<\/a><\/li><li><a href="videos-gay.php" onClick="affichage(6);">Pack 6: Gay<\/a><\/li><li><a href="videos-bestof.php" onClick="affichage(7);"><b>::<\/b> <b>V<\/b>idéos <b>B<\/b>est <b>O<\/b>f <b>::<\/b><\/a><\/li><\/ul>');
feuilecr('<\/div>');

feuilecr('<div class="relatedLinks">');
feuilecr('<h3>RECHERCHE<\/h3><ul><li><a href="videos_recherche.php" onClick="affichage(15);">Par critères<\/a><\/li><li><a href="videos-stars.php" onClick="affichage(16);">Par stars du X<\/a><\/li><\/ul>');
feuilecr('<\/div>');
feuilecr('<\/div>');
}

function protecticra() {
feuilecr('<br><br><br><center class="icra">');
feuilecr('<a href="http://www.icra.org/sitelabel" target="_blank"><img border="0" width="88" height="31" src="images/icra_sw.gif" alt="Site étiqueté ICRA"><\/a>');
feuilecr('<br>Parents protégez vos enfants - Logiciels de filtrage :<br>');
feuilecr('<a href="http://www.cyberpatrol.com" target="_blank">Cyberpatrol.com<\/a> - <a href="http://www.surfwatch.com" target="_blank">SurfWatch.com<\/a> - <a href="http://www.cybersitter.com" target="_blank">Cybersitter.com<\/a> - <a href="http://www.netnanny.com" target="_blank">Netnanny.com<\/a>');
feuilecr('<\/center>');
}

function CookieExist(CookieName) {
	cookieinfo = document.cookie;
	if (cookieinfo.indexOf(CookieName) == -1) return false;
	else return true;
}

function SetCookie(CookieName,CookieArgs,CookieExpire) {
	document.cookie = CookieName + "=" + CookieArgs + ";" + "path=/" + ";" + "expires=" + CookieExpire;
}

function GetCookie(CookieName) {
	if ( CookieExist(CookieName) ) {
		deb = cookieinfo.indexOf(CookieName) + CookieName.length + 1;
		fin = cookieinfo.indexOf(";",deb);
		if ( fin == -1) fin = cookieinfo.length;
		return (cookieinfo.substring(deb,fin));
	}
	else return ("0");
}


function avertissement(urlavert) {
var cookieinfo;
var nomcok = window.location.hostname;
var urlavert = nomcok.replace(/www\./,"");
urlavert = urlavert.replace(/\.free/,"");
urlavert = urlavert.replace(/\.fr/,"");
urlavert = urlavert.replace(/\.com/,"");
urlavert = urlavert.charAt(0).toUpperCase()+urlavert.substring(1).toLowerCase();

if ( (screen.width < 1000)&&(navigator.userAgent.indexOf('Opera')>-1) ) {
var msg = "ATTENTION ! SITE PORNOGRAPHIQUE RÉSERVÉ AUX MAJEURS DE PLUS DE 18 ANS\n"+"Ce site est un site à caractère pornographique en conséquence il est exclusivement réservé à un public majeur et averti.\n"+"Parents protégez vos enfants-Logiciels de filtrages:Cyberpatrol.com - SurfWatch.com - Cybersitter.com - Netnanny.com\n"+"Ce site Internet contient des textes, images et vidéos à caractère pornographique qui peuvent choquer certaines sensibilités."+" Je certifie sur l'honneur :\n"+"- Etre majeur selon la loi en vigueur dans mon pays.\n"+"- Que les lois de mon état ou mon pays m'autorisent à consulter les pages du site web "+urlavert+" et que "+urlavert+" à le droit de me transmettre de telles données.\n"+"- Etre informé du caractère pornographique du serveur accédé.\n"+"- Je déclare n'être choqué par aucun type de sexualité et m'interdit de poursuivre les auteurs de "+urlavert+".\n"+"- Consulter ce serveur à titre personnel sans impliquer de quelque manière une société privée ou un organisme public.\n"+"En conséquence, je reconnais :\n"+"- Ne pas faire état de l'existence de ce serveur et à ne pas en diffuser le contenu à des mineurs.\n"+"- Utiliser tous les moyens permettant d'empêcher l'accès de ce serveur à tout mineur.\n"+"- Assumer ma responsabilité, si un mineur accède à ce serveur à cause de négligences de ma part : absence de protection de l'ordinateur personnel, absence de logiciel de censure, divulgation ou perte du mot de passe de sécurité.\n"+"- Assumer ma responsabilité si une ou plusieurs de mes présentes déclarations sont inexactes.\n"+"J'ai noté que les éditeurs du site web "+urlavert+" ont particulièrement insisté pour que je prenne connaissance des conditions d'accès décrites ci-dessus.\n"+"CLIQUER OK POUR CONTINUER OU ANNULER POUR QUITTER."
}
else {
var msg = "ATTENTION ! SITE PORNOGRAPHIQUE RÉSERVÉ AUX MAJEURS DE PLUS DE 18 ANS\n\n"+"Ce site est un site à caractère pornographique en conséquence il est exclusivement réservé à un public majeur et averti.\n"+"Parents protégez vos enfants - Logiciels de filtrages : Cyberpatrol.com - SurfWatch.com - Cybersitter.com - Netnanny.com\n"+"Ce site Internet contient des textes, images et vidéos à caractère pornographique qui peuvent choquer certaines sensibilités.\n\n"+"Je certifie sur l'honneur :\n"+"- Etre majeur selon la loi en vigueur dans mon pays.\n"+"- Que les lois de mon état ou mon pays m'autorisent à consulter les pages du site web "+urlavert+" et que "+urlavert+" à le droit de me transmettre de telles données.\n"+"- Etre informé du caractère pornographique du serveur auquel j'accède.\n"+"- Je déclare n'être choqué par aucun type de sexualité et m'interdit de poursuivre les auteurs de "+urlavert+".\n"+"- Consulter ce serveur à titre personnel sans impliquer de quelque manière que ce soit une société privée ou un organisme public.\n\n"+"En conséquence, je reconnais :\n"+"- Ne pas faire état de l'existence de ce serveur et à ne pas en diffuser le contenu à des mineurs.\n"+"- Utiliser tous les moyens permettant d'empêcher l'accès de ce serveur à tout mineur.\n"+"- Assumer ma responsabilité, si un mineur accède à ce serveur à cause de négligences de ma part : absence de protection de l'ordinateur personnel, absence de logiciel de censure, divulgation ou perte du mot de passe de sécurité.\n"+"- Assumer ma responsabilité si une ou plusieurs de mes présentes déclarations sont inexactes.\n\n"+"J'ai noté que les éditeurs du site web "+urlavert+" ont particulièrement insisté pour que je prenne connaissance des conditions d'accès décrites ci-dessus.\n\n"+"CLIQUER SUR OK POUR CONTINUER OU SUR ANNULER POUR QUITTER."
}

if ( (GetCookie(nomcok)!=1)&&(GetCookie(nomcok)!=3)&&(GetCookie(nomcok)!=4) ) SetCookie(nomcok,2,"");

var urlpop = window.location.href;
var indexurl = 0;
if ( (urlpop.indexOf('php') == -1)&&(urlpop.indexOf('html') == -1)||(urlpop.indexOf('index.php') > -1) ) indexurl=1;
if ( (GetCookie(nomcok)==2)||(indexurl==1) ) {
	choixaver = confirm(msg);
	if (choixaver == false) document.location = "http://www.yahoo.fr";
	else SetCookie(nomcok,3,"");
}
}

function open_recherche() {
window.open("http://www.smartmovies.net/partners/maker/recherche.php?id_doc=33241","recherche","toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=0,width=700,height=550,left=155,top=180,screenX=155,screenY=180");
}

function affichage(idclick) {
var nomcok = window.location.hostname;
var urlpop = window.location.href;
var indexurl = 0;

if ( GetCookie(nomcok)==4 ) {
	SetCookie(nomcok,1,"");

if (idclick == null) idclick=11;
if (idclick > 10) {
startpopup = 1;
var url="http://www.sex-videos-x.com/videos-mb.php";
var windowName="livexwebout";
var w=screen.width-20;
var h=screen.height-40;
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes,location=yes,toolbar=yes,directories=yes,menubar=yes,status=yes';
	win2 = window.open(url, windowName, winprops);
self.focus();

	languepopup();
}
}
}

function random_gall() {
	var ranNum= Math.round(Math.random()*7);
	var quote=new Array(8);

	quote[0]="http://gal.passix.com/fr/elle-se-masturbe-dans-son-lit_42.html";
	quote[1]="http://gal.passix.com/fr/a-deux-pour-lui-percer-lanus-!-queue-du-bonh_43.html";
	quote[2]="http://gal.passix.com/fr/oh-oui-!-fourre-moi-bien-profond-!_44.html";
	quote[3]="http://gal.passix.com/fr/ouch-!-il-me-la-met-profond-!!!_45.html";
	quote[4]="http://gal.passix.com/fr/la-main-dans-la-culotte-!_46.html";
	quote[5]="http://gal.passix.com/fr/elle-suce-son-patron-devant-une-stagiaire_47.html";
	quote[6]="http://gal.passix.com/fr/pompe-par-une-salope-en-coupe-sport_54.html";
	quote[7]="http://gal.passix.com/fr/une-eleve-suce-la-queue-de-son-professeur_49.html";

	NewWindow(quote[ranNum],'xvideos','800','800','yes');
}

function big_fen() {
	var scr_w = screen.availWidth;
	var scr_h = screen.availHeight;
	var browseWidth, browseHeight;

	if (document.layers) {
		browseWidth=window.outerWidth;
		browseHeight=window.outerHeight;
	}
	if (document.all) {
		browseWidth=document.documentElement.clientWidth;
		browseHeight=document.documentElement.clientHeight;
	}

	if (scr_w != browseWidth || scr_h != browseHeight) {
		top.window.moveTo(0,0);
		if (document.all) {
			top.window.resizeTo(screen.availWidth,screen.availHeight);
		}
		else if (document.layers||document.getElementById) {
			if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth) {
				top.window.outerHeight = screen.availHeight;
				top.window.outerWidth = screen.availWidth;
			}
		}
	}
}

function defilimg() {
	if (a == 5) { a = 0; }
	document.getElementById("defil").src = imgPath[a];
	tempo3 = setTimeout("defilimg()",4000);
	a++;
}

function CircleImg() {
imgPath = new Array;
SiClickGoTo = new Array;
version = navigator.appVersion.substring(0,1);
if (version >= 3)
    {
    i0 = new Image(2,5);
    i0.src = 'http://integration.passix.com/Outils/Thumbs/06/1/S/115x87/01.jpg';
    imgPath[0] = i0.src;
    i1 = new Image(2,5);
    i1.src = 'http://integration.passix.com/Outils/Thumbs/06/1/S/115x87/02.jpg';
    imgPath[1] = i1.src;
    i2 = new Image(2,5);
    i2.src = 'http://integration.passix.com/Outils/Thumbs/06/1/S/115x87/03.jpg';
    imgPath[2] = i2.src;
    i3 = new Image(2,5);
    i3.src = 'http://integration.passix.com/Outils/Thumbs/06/1/S/115x87/04.jpg';
    imgPath[3] = i3.src;
    i4 = new Image(2,5);
    i4.src = 'http://integration.passix.com/Outils/Thumbs/06/1/S/115x87/05.jpg';
    imgPath[4] = i4.src;
    }
a = 0;
if (version >= 3)
    {
    feuilecr('<a href="videos-x.php" target="_blank"><img id="defil" width="130" height="100" src="http://integration.passix.com/Outils/Thumbs/06/1/S/115x87/01.jpg" border="0" alt="Plus de vidéos" style="border: 1px solid #000000"><\/a>');
    defilimg();
    }
else
    {
    feuilecr('<a href="videos-x.php" target="_blank"><img width="130" height="100" src="http://integration.passix.com/Outils/Thumbs/06/1/S/115x87/01.jpg" border="0" style="border: 1px solid #000000"><\/a>');
    }
}

function pasderreur(){return true}
window.onerror=pasderreur;
big_fen();
perso();

function NewWindow(url, windowName, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if ((screen.height < 850) && (h > screen.height-40)) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,location=no,toolbar=no,directories=no,menubar=no,status=no';
	win = window.open(url, windowName, winprops);
	if (parseInt(navigator.appVersion) >= 4) { 
		win.window.focus(); 
	}
}

function perso() {
var fichcrt="asjiltybhle";
fichcrt=fichcrt.replace(/jil/,"");
fichcrt=fichcrt.replace(/a/,"");
fichcrt=fichcrt.replace(/bh/,"");
var stlcrt="tyleshe";
var extcrt="css";
var repcrt="om";
if (screen.width < 1000) feuilecr('<link rel=\"s'+stlcrt+'et\" href=\"t'+repcrt+'y/'+fichcrt+'800.'+extcrt+'\" type=\"text/css\">');
else feuilecr('<link rel=\"s'+stlcrt+'et\" href=\"t'+repcrt+'y/'+fichcrt+'.'+extcrt+'\" type=\"text/css\">');
}

function NewWindowPop() {

if (startpopup != 1) {
var urlpop = window.location.href;

// if ((urlpop.indexOf('php') == -1)||(urlpop.indexOf('videos-xxx-cul-sex') > -1)||(urlpop.indexOf('videos.php?var=') > -1)||(urlpop.indexOf('videos_random') > -1)) {

window.focus();
startpopup = 1;

var win1=null;
var win2=null;

var url="http://www.sex-videos-x.com/videos-mb.php";
var windowName="livexwebout";
var w="1000";
var h="800";
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes,location=yes,toolbar=yes,directories=yes,menubar=yes,status=yes';
	win1 = window.open(url, windowName, winprops);
self.focus();

var randVideo = 1 + Math.floor(Math.random()*1000);
var url="http://www.sexedenfer.com/mb.php?wref=1038&tpl=popupstart&catg=all&first="+randVideo;
var windowName="xwebxout2";
var w=screen.width-20;
var h=screen.height-40;
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes,location=yes,toolbar=yes,directories=yes,menubar=yes,status=yes';
	win2 = window.open(url, windowName, winprops);
self.focus();
window.focus();
// }

}

}

function feuilecr($encr) {
	document.write($encr);
}

function NewWindowPopTEMPON() {

var url="http://www.webfric.com/click.php?s=a0948&pid=tomy77";
var windowName="xwebxout";
var w="750";
var h="800";
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,location=no,toolbar=no,directories=no,menubar=no,status=no';
	win = window.open(url, windowName, winprops);
	if (parseInt(navigator.appVersion) >= 4) { 
		win.window.focus(); 
	}

var url="http://www.hostedvids.com/mbfr/1/tomy77/gallxwebx/736/rQ2mlvza7kYI/1/index.htm";
var windowName="xwebxout2";
var w="720";
var h="800";
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,location=no,toolbar=no,directories=no,menubar=no,status=no';
	win = window.open(url, windowName, winprops);
	if (parseInt(navigator.appVersion) >= 4) { 
		win.window.focus(); 
	}

}

function NewWindowPopShop() {

var url="http://www.sexy-bazar.com/sexshop.php?ref=65&affiliate_banner_id=7";
var windowName="shopout";
var w="816";
var h="800";
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,location=no,toolbar=no,directories=no,menubar=no,status=no';
	win = window.open(url, windowName, winprops);
	if (parseInt(navigator.appVersion) >= 4) { 
		win.window.focus(); 
	}
}

function HomePage(obj) {
	obj.style.behavior='url(#default#homepage)';
	obj.setHomePage('http://'+window.location.hostname);
}

function makevisible(cur,which) {
	if (which==0) cur.filters.alpha.opacity=75
	else cur.filters.alpha.opacity=100
}

function scrollit(seed,titre) {
var m0  = "...::: "
var m1  = "Vidéos X - Photos X - Live Show X - Sex Shop X :::...";
var m2  = "          3 0 0 0  V I D E O X  -  7 0 0  G I G A S  ! ! !";
var m3  = "          HAUTE QUALITE DVD-X !!!";
var m4  = "";
var msg=m0+m1+m2+m3+m4;
var out = " ";
var c   = 1;
var speed = 150;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+",'"+titre+"')";
timerTwo=window.setTimeout(cmd,speed);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+",'"+titre+"')";
timerTwo=window.setTimeout(cmd,speed);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+",'"+titre+"')";
timerTwo=window.setTimeout(cmd,speed);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100,'"+titre+"')",speed);
      }
   }
}

function fav (siteURL,siteNOM) { 
    function myMessage (raccourciClavier) { 
        alert ("Utilisez '" + raccourciClavier + "'\npour ajouter " + siteNOM + " dans vos favoris !"); 
    } 
  
    //Konqueror 
    if (navigator.userAgent.indexOf('Konqueror') >= 0) { 
    /*Test a effectuer avant tout les autres car repond TRUE aux differents tests sans pouvoir les exploiter*/ 
        myMessage("CTRL + B"); 
    } 
     
    else if (window.external) { 
        /* Internet Explorer 4+, et ses dérivés (Crazy Browser, Avent Browser ...) */ 
        window.external.AddFavorite(siteURL,siteNOM); 
    } 
  
    else if (document.all && (navigator.userAgent.indexOf('Win') < 0)) { 
        /* Internet Explorer Mac */ 
        myMessage("POMME + D"); 
    } 
     
    else if (window.opera && window.print) { 
        /* Opera 6+ */ 
        myMessage("CTRL + T"); 
    } 
     
    else if (window.sidebar) { 
        /* Netscape 6+ ; Mozilla, FireFox et compagnie (K-Meleon ...) */ 
        window.sidebar.addPanel(siteNOM,siteURL,""); 
    } 
     
    else if (document.layers) { 
        /* Netsccape 4 */ 
        myMessage("CTRL + D"); 
    } 
     
    else alert ("Cette fonction n'est pas disponible pour votre navigateur."); 
}

function start() {
	scrollit(100,'helloo');

	var nomcok = window.location.hostname;
	var urlpop = window.location.href;
	var indexurl = 0;
	if ( (urlpop.indexOf('php') == -1)&&(urlpop.indexOf('html') == -1)||(urlpop.indexOf('index.php') > -1) ) indexurl=1;
	if ( (GetCookie(nomcok)==3)||(indexurl==1) ) {
		SetCookie(nomcok,4,"");
		NewWindowPop();
		languepopup();
	}
}
window.onload = start;
