//<script>

if(typeof(cd_niche)=="undefined") cd_niche='H';
if(typeof(cd_synergie)=="undefined") cd_synergie='hetero';
if(typeof(er_infopop)=="undefined") er_infopop='generaliste';
if(typeof(pg_infopop)=="undefined") pg_infopop=0;
if(typeof(wanna)=="undefined") wanna=1;

//bar

isIE = false;
/*@cc_on isIE = true; @*/

var barImages=new Array('bar.gif','barhover.gif','bg.gif','bg.png','spacer.gif');
var barCache=new Array();
for(var i=0; i<barImages.length; i++){
	barCache[i]=new Image();
	barCache[i].src='/pop/box/'+barImages[i];
}

document.write('<style type="text/css">');//_width:expression(document.body.clientWidth+"px");
if(isIE==false) document.write('#iBar{display:block;position:fixed;z-index:100;top:-25px;left:0px;height:25px;width:100%;overflow:hidden}');
document.write('#myBar{display:block;position:fixed;*position:absolute;z-index:101; top:-25px;left:0px;height:25px;width:100%;background:#ffffe1 url(/pop/box/barhover.gif) no-repeat right bottom;width:100%;text-align:center;overflow:hidden;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:8pt;line-height:23px; text-decoration:none}');
document.write('a#myBar:link,a#myBar:visited,a#myBar:active{background:#ffffe1 url(/pop/box/bar.gif) no-repeat right bottom;color:#000000;outline:0px}');
document.write('a#myBar:hover{background:#3399ff url(/pop/box/barhover.gif) no-repeat right bottom;color:#ffffff;outline:0px}');
document.write('a#myBar img{position:absolute;right:0px;top:0px}');
document.write('</style>');
//if(isIE==false) document.write('<iframe id="iBar" frameborder="0" scrolling="no" src="javascript:void(0)"></iframe>');
//document.write('<a href="/pop/page.php?type=vod&track=bar" id="myBar" onclick="return clickBar(this)"><b>Bravo :</b> Vous avez gagné un accés gratuit à la zone membre, téléchargez 7500 vidéos X ! <u>Cliquez ici pour en profiter !</u><img src="/pop/box/spacer.gif" height="20" width="20" border="0" onclick="return closeBar()" /></a>');

function closeBar(){
	document.cookie='bar=1;path=/';
	document.getElementsByTagName('body')[0].style.marginTop='0px';
	if(isIE==false) document.getElementById('iBar').style.display='none';
	else if(isIE==true && document.getElementById('fixed')) document.getElementById('fixed').style.height=document.documentElement.clientHeight+'px';
	else if(isIE==true && document.getElementById('page')) document.getElementById('page').style.height=document.documentElement.clientHeight+'px';
	document.getElementById('myBar').style.display='none';
	isBar=0;
	return false;
}

function clickBar(o){
	if(isBar==1){
		document.cookie='bar=1;path=/';
		return cb30dialog(o.href.substring(o.href.indexOf('?')+1),0);
	}
	else return false;
}

function openBar(){
	if(slideBar<=25){
		document.getElementsByTagName('body')[0].style.marginTop=slideBar+'px';
		document.getElementById('myBar').style.top=(slideBar-25)+'px';
		if(isIE==false) document.getElementById('iBar').style.top=(slideBar-25)+'px';
		else if(isIE==true && document.getElementById('fixed')) document.getElementById('fixed').style.height=(document.documentElement.clientHeight-slideBar)+'px';
		else if(isIE==true && document.getElementById('page')) document.getElementById('page').style.height=(document.documentElement.clientHeight-slideBar)+'px';
		slideBar=slideBar+5;
	}
	else{
		clearInterval(timeBar);
		isBar=1;
	}
}

//ajax

function ajaxmail(params){
	var ajaxRequest;
	try{ajaxRequest=new XMLHttpRequest()}catch(e){
		try{ajaxRequest=new ActiveXObject('Msxml2.XMLHTTP')}catch(e){
			try{ajaxRequest=new ActiveXObject('Microsoft.XMLHTTP')}catch(e){
				try{winUnder.location.href='/pop/ajax.php?redirect=1&'+params}catch(e){(new Image()).src='/pop/ajax.php?'+params}
			}
		}
	}
	ajaxRequest.onreadystatechange=function(){
		if(ajaxRequest.readyState==4){
			if(ajaxRequest.responseXML!=null){
				xml=ajaxRequest.responseXML;
				if(xml.getElementsByTagName('url').length>0){
					for(var i=0; i<xml.getElementsByTagName('url').length; i++){
						try{setTimeout("if(typeof(winUnder)!='undefined') winUnder.location.href=xml.getElementsByTagName('url')["+i+"].firstChild.nodeValue",i*2000)}catch(e){return false}
					}
				}
				//try{setTimeout("if(typeof(winUnder)!='undefined') winUnder.location.href='/pop/sextv.php'",i*2000+2000)}catch(e){return false}
				//try{setTimeout("if(typeof(winUnder)!='undefined') winUnder.location.href='http://www.excopinesapoil.com/?ref='+location.hostname",i*2000+2000)}catch(e){return false}
				try{setTimeout("if(typeof(winUnder)!='undefined') winUnder.location.href='http://promo.vador.com/index.php/mailcatch/index/wid/62/rebill/1/offer/13/track1/under/niche/'+vador+'/lang/fr/pdv/8907'",i*2000+2000)}catch(e){return false}
			}
		}
	}
	ajaxRequest.open('GET','/pop/ajax.php?'+params,true);
	ajaxRequest.send(null); 
}

//mailcatcher popup

function cb30dialog(track,media){
	if(document.getElementsByTagName('iframe').length>0){
		for(var i=0; i<document.getElementsByTagName('iframe').length; i++){
			if(document.getElementsByTagName('iframe')[i].className.indexOf('flv')!=-1) document.getElementsByTagName('iframe')[i].style.visibility='hidden';
		}
	}
	//if(location.pathname!='/pop/sextv.php') winUnder=window.open('','winUnder','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
	if(typeof(winUnder)!='undefined' && location.pathname!='/pop/sextv.php') self.focus();
	/*cc_on self.focus(); */
	document.getElementById('cb30overlay').style.display='block';
	document.getElementById('cb30alert').style.display='block';
	if(media && media.indexOf('.jpg')>0){
		document.getElementById('cb30thumb').src=media;
		if(media.indexOf('vador')>0) window.open('/pop/page.php?dump='+escape(media),'_blank');
		//if(media.indexOf('vador')>0) window.open('/pop/page.php?'+track+'&thumbid='+media.match(/([0-9]+)/gi)[1],'_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
		else window.open('/pop/page.php?'+track+'&isthumb=1','_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
	}
	else{
		if(!media && typeof(flash_niche)!='undefined') media=flash_niche;
		else if(!media) media='hardcore';
		document.getElementById('cb30player').innerHTML='<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240"><param name="movie" value="http://go.sexclic.com/media/pdv/player.swf?video=http://go.sexclic.com/media/pdv/flash/'+media+'.flv" /><!--[if !IE]>--><object type="application/x-shockwave-flash" data="http://go.sexclic.com/media/pdv/player.swf?video=http://go.sexclic.com/media/pdv/flash/'+media+'.flv" width="320" height="240"><!--<![endif]--><param name="quality" value="high" /><param name="wmode" value="transparent" /><!--[if !IE]>--></object><!--<![endif]--></object>';
	}
	document.getElementById('cb30track').value=track;
	document.getElementById('cb30overlay').style.visibility='visible';
	document.getElementById('cb30alert').style.visibility='visible';
	if(typeof(cb30blink)!='undefined') clearInterval(cb30blink);
	cb30blink=setInterval("document.getElementById('cb30email').value=(document.getElementById('cb30email').value)?'':'votre@email'",500);
	if(typeof(winUnder)!='undefined' && location.pathname!='/pop/sextv.php') winUnder.location.href='/pop/sextv.php';
	if(typeof blogTracker!='undefined') blogTracker._trackEvent('Form1',track.match(/track=([a-z0-9]*)/i)[1],location.href);
	return false;
}
function cb30dialog2(track,media){
	if(document.getElementsByTagName('iframe').length>0){
		for(var i=0; i<document.getElementsByTagName('iframe').length; i++){
			if(document.getElementsByTagName('iframe')[i].className.indexOf('flv')!=-1) document.getElementsByTagName('iframe')[i].style.visibility='hidden';
		}
	}
	document.getElementById('cb30overlay').style.display='block';
	document.getElementById('cb30alert').style.display='block';
	if(media && media.indexOf('.jpg')>0) document.getElementById('cb30thumb').src=media;
	else{
		if(!media && typeof(flash_niche)!='undefined') media=flash_niche;
		else if(!media) media='hardcore';
		document.getElementById('cb30player').innerHTML='<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240"><param name="movie" value="http://go.sexclic.com/media/pdv/player.swf?video=http://go.sexclic.com/media/pdv/flash/'+media+'.flv" /><!--[if !IE]>--><object type="application/x-shockwave-flash" data="http://go.sexclic.com/media/pdv/player.swf?video=http://go.sexclic.com/media/pdv/flash/'+media+'.flv" width="320" height="240"><!--<![endif]--><param name="quality" value="high" /><param name="wmode" value="transparent" /><!--[if !IE]>--></object><!--<![endif]--></object>';
	}
	document.getElementById('cb30track').value=track;
	document.getElementById('cb30overlay').style.visibility='visible';
	document.getElementById('cb30alert').style.visibility='visible';
	if(typeof(cb30blink)!='undefined') clearInterval(cb30blink);
	cb30blink=setInterval("document.getElementById('cb30email').value=(document.getElementById('cb30email').value)?'':'votre@email'",500);
	if(typeof blogTracker!='undefined') blogTracker._trackEvent('Form1',track.match(/track=([a-z0-9]*)/i)[1],location.href);
	return false;
}

function cbTVdialog(track,media){
	document.getElementById('cb30header').innerHTML='Pour acceder à la webTV,';
	document.getElementById('cb30footer').innerHTML='- Plus de <u>40 chaines XXX</u> en streaming 24/7';
	return cb30dialog(track,media);
}

function cb30submit(emailField,trackField){
	if(!document.getElementById(emailField).value.match(/^[a-z0-9][a-z0-9\._-]*[a-z0-9]@[a-z0-9][a-z0-9\.-]*[a-z0-9]\.[a-z]{2,4}$/i)){
		alert('L\'adresse email indiquée n\'est pas valide !');
		document.getElementById(emailField).focus();
		return false;
	}
	else{
		thumbid=(document.getElementById('cb30thumb').src.indexOf('vador')>0)?'&thumbid='+document.getElementById('cb30thumb').src.match(/([0-9]+)/gi)[1]:'';
		window.open('/pop/page.php?email='+document.getElementById(emailField).value+'&'+document.getElementById(trackField).value+thumbid,'_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
		ajaxmail('&email='+document.getElementById(emailField).value+'&'+document.getElementById(trackField).value);
		cb30close(false);
		//if(trackField!='cb30track' && typeof blogTracker!='undefined') blogTracker._trackPageview('/form/1/'+document.getElementById(trackField).value.match(/track=([a-z0-9]*)/i)[1]);
		//if(trackField!='cb30track' && typeof blogTracker!='undefined') blogTracker._trackEvent(location.hostname,'Form1',document.getElementById(trackField).value.match(/track=([a-z0-9]*)/i)[1]);
		if(typeof blogTracker!='undefined') blogTracker._trackEvent('Form2',document.getElementById(trackField).value.match(/track=([a-z0-9]*)/i)[1],location.href);
		return false;
	}
}

function exitdhtmlsubmit(emailField){
	window.open('/pop/page.php?email='+document.getElementById(emailField).value+'&type=vod&track=exitdhtml','_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
	ajaxmail('&email='+document.getElementById(emailField).value+'&type=vod&track=exitdhtml');
	return false;
}

function cb30close(popup){
	//if(popup==true && location.pathname!='/pop/gratuit.php') window.open('/pop/gratuit.php','_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
	/*if(popup==true){
		if(cd_synergie=='gay') window.open('http://media.acces-charme.com/pdv/track.php?idw=89&idn='+wanna+'&rebill=1&t1=under&t2='+location.hostname.replace(/^www\.|-|\.[a-z]{2,4}$/gi,''),'_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
		else window.open('http://promo.vador.com/index.php/mailcatch/index/wid/62/rebill/1/offer/13/track1/pdv/niche/'+vador+'/lang/fr/pdv/8907','_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
	}*/
	if(popup==true) window.open('/pop/page.php?type=vod&track=closedialog','_blank');
	document.getElementById('cb30overlay').style.visibility='hidden';
	document.getElementById('cb30alert').style.visibility='hidden';
	if(document.getElementsByTagName('iframe').length>0){
		for(var i=0; i<document.getElementsByTagName('iframe').length; i++){
			if(document.getElementsByTagName('iframe')[i].className.indexOf('flv')!=-1) document.getElementsByTagName('iframe')[i].style.visibility='visible';
		}
	}
	document.getElementById('cb30player').innerHTML='<a class="player" href="javascript:void(0)" onclick="alert(\'Entrez votre email pour télécharger la vidéo !\')"><img id="cb30thumb" src="javascript:void(0)" width="320" height="240" border="0" /><img class="play" src="http://go.sexclic.com/js/play320.gif" width="320" height="240" border="0" /></a>';
	if(typeof(winUnder)!='undefined') winUnder.location.href='http://'+location.hostname+'/pop/page.php?type=vod&track=under';
	return false;
}

document.write('<style type="text/css">#cb30overlay{z-index:10000;display:none;visibility:hidden;position:fixed;_position:absolute;top:0px;left:0px;width:100%;height:100%;_height:10000px;filter:alpha(opacity=50);-moz-opacity:.50;-khtml-opacity:.50;opacity:.50;background-color:#999999;}#cb30alert{z-index:10001;display:none;visibility:hidden;position:fixed;_position:absolute;left:50%;top:50%;width:800px;height:400px;margin-left:-400px;margin-top:-200px;font-family:arial;text-align:center;background-image:url(http://go.sexclic.com/disclaimer/bg.png);_background-image:url(http://go.sexclic.com/disclaimer/bg.gif);color:#000;}#cb30alert a.close{display:block;position:absolute;top:40px;right:40px;background:url(http://go.sexclic.com/disclaimer/close.gif) no-repeat center center;width:25px;height:25px;filter:alpha(opacity=50);-moz-opacity:.50;-khtml-opacity:.50;opacity:.50;}#cb30alert a.close:hover{filter:alpha(opacity=100);-moz-opacity:1;-khtml-opacity:1;opacity:1;}#cb30alert #cb30player{position:absolute;display:block;top:67px;left:60px;display:block;width:320px;height:265px;background:#000 url(http://go.sexclic.com/js/player320.gif) no-repeat 0px 240px;}#cb30alert a.player img.play{position:absolute;display:block;top:0px;left:0px;filter:alpha(opacity=30);-moz-opacity:.30;-khtml-opacity:.30;opacity:.30;}#cb30alert form.mailcatcher{position:absolute;display:block;width:380px;height:265px;left:380px;top:90px;font-family:Trebuchet MS, Arial, Helvetica, sans-serif;font-size:10px;text-align:center;line-height:normal;}#cb30alert form.mailcatcher label{font-size:16px;text-transform:uppercase;font-weight:bold;}#cb30alert form.mailcatcher label span{font-size:16px;}#cb30alert form.mailcatcher label b{font-size:20px;}#cb30alert form.mailcatcher input{width:200px;margin:20px;font-family:Trebuchet MS, Arial, Helvetica, sans-serif;font-size:20px;text-align:center;font-weight:bold;}#cb30alert form.mailcatcher input#cb30email{width:300px;font-size:24px;}</style><div id="cb30overlay"></div><div id="cb30alert"><div id="cb30player"><a class="player" href="javascript:void(0)" onclick="alert(\'Entrez votre email pour télécharger la vidéo !\')"><img id="cb30thumb" src="javascript:void(0)" width="320" height="240" border="0" /><img class="play" src="http://go.sexclic.com/js/play320.gif" width="320" height="240" border="0" /></a></div><a class="close" href="javascript:void(0)" onclick="return cb30close(true)"></a><form class="mailcatcher" action="/pop/page.php" method="get" onsubmit="return cb30submit(\'cb30email\',\'cb30track\')"><label><span id="cb30header">Pour télécharger toutes les vidéos,</span><br /><b>entrez votre email :</b><br /><input id="cb30email" name="email" type="text" value="" onfocus="if(typeof(cb30blink)!=\'undefined\'){clearInterval(cb30blink);this.value=\'\'}" /></label><br />- Votre email restera strictement confidentiel<br /><span id="cb30footer">- Plus de <u>7500 vidéos complètes en HD</u> à télécharger gratuitement</span><br /><input id="cb30track" name="track" type="hidden" value="type=vod&track=mailcatcher" /><input type="submit" value="Accés Gratuit" /></form></div>');



//events


if((location.pathname=='/pop/gratuit.php' || location.pathname=='/pop/sextv.php') && location.hostname!='www.photo-sexe.net' && location.hostname!='www.sexe-100-gratuit.com' && location.hostname!='www.via-sexe.com' && location.hostname!='www.galeries-sexe-gratuit.com' && location.hostname!='go.sexclic.com' && location.hostname!='frhit.com'){
	var blogTracker = _gat._getTracker("UA-1111042-41");
	blogTracker._initData();
	blogTracker._trackEvent('PDV',(location.pathname=='/pop/gratuit.php')?'vod':'sextv',document.referrer);
}
else if((location.pathname=='/pop/gratuit.php' || location.pathname=='/pop/sextv.php') && location.hostname=='frhit.com'){
	var pageTracker = _gat._getTracker("UA-1111042-42");
	pageTracker._trackPageview();
}


//document.write('<script type="text/javascript" src="http://promo.vador.com/js/promotool_referrer.js"><\/script>');

//document.write('<script type="text/javascript" src="http://public.porn.fr/v3/index.php?fo=js&o=ew&pr=1&of=1&tor=rebill&im=1&groupeproduit=1&p=1957&em=7915&tl=exitdhtml&ep=1&n=&tc=000000&opa=0.7&pdp=&nbpage=0&nbsession=0&i=71341&tplo="><\/script>');
//document.write('<script type="text/javascript" src="/pop/box/dhtml.js"><\/script>');

//document.write('<script type="text/javascript" src="http://public.porn.fr/v3/index.php?fo=js&o=238&im=1&pr=1&of=1&tor=rebill&groupeproduit=1&p=5612&em=16485&tl=exitdhtml&ep=1&n=&tc=000000&opa=0.7&pdp=14&nbpage=1&nbsession=1&i=71341&OT_mcT=550x313&tplo=550x313"><\/script>');


isExit=true;
function exitTrue(){isExit=true}
function exitFalse(){isExit=false}
function exitOpen(){
	if(isExit==true && !/MSIE 9/.test(navigator.userAgent)){
		var swf=document.createElement('embed');
		swf.src='/pop/exit.swf?popURL='+escape('http://'+location.hostname+'/go.php');
		swf.autostart='true';
		document.body.appendChild(swf);
		alert('Merçi d\'avoir visité '+location.hostname);
	}
}
function exitMozOpen(){
	if(isExit==true){
		window.onbeforeunload=null;
		var obj=document.createElement('div');
		obj.innerHTML='<object width="1" height="1"><param name="movie" value="javascript:popMoz();"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="javascript:popMoz();" width="1" height="1" allowscriptaccess="always"></embed></object>';
		document.body.appendChild(obj);
		return false;
	}
}
function popMoz(){
	window.open((typeof zOut=='function')?zOut():'http://'+location.hostname+'/go.php');
}
if(document.cookie.indexOf('admin=true')<0 && document.cookie.indexOf('ref=plusdetrafic.com')<0 && document.cookie.indexOf('ref=happyxvideo.com')<0 && document.cookie.indexOf('ref=recherche-x.com')<0 && document.cookie.indexOf('ref=videos-pornographiques.com')<0 && document.cookie.indexOf('ref=lemoteurdusexe.com')<0 && document.cookie.indexOf('ref=extraits-sexy.net')<0 && document.cookie.indexOf('ref=supercochonne.com')<0 && document.cookie.indexOf('ref=rabbitfinder.com')<0){// && location.hostname!='www.video-de-porno.net' && location.hostname!='www.orgiepartouze.com'
	if(isIE==true){
		document.body.attachEvent('onmouseover', exitFalse);
		document.body.attachEvent('onmouseout', exitTrue);
		document.body.attachEvent('onmouseleave', exitTrue);
		window.attachEvent('onunload', exitOpen);
	}
	else if(navigator.userAgent.indexOf('Firefox')>0){
		document.addEventListener('mouseover', exitFalse, false);
		document.addEventListener('mouseout', exitTrue, false);
		window.onbeforeunload=exitMozOpen;
	}
}

/*
if((location.pathname=='/pop/gratuit.php' || location.pathname=='/pop/sextv.php') && document.cookie.indexOf('fbClose')==-1 && location.hostname!='www.photo-sexe.net' && location.hostname!='www.sexe-100-gratuit.com' && location.hostname!='www.via-sexe.com' && location.hostname!='www.galeries-sexe-gratuit.com' && location.hostname!='go.sexclic.com' && location.hostname!='frhit.com'){
	document.write('<div id="fbBar">');
	document.write('<script type="text/javascript" src="http://market2.the-adult-company.com/dating/barre_facebook/script.php?comfrom=21290&cf0=pc&rebill=1&cf2=fbbar&promo=dating&langue=fr&fak_ferme=0&ur=aHR0cDovL21hcmtldDEudGhlLWFkdWx0LWNvbXBhbnkuY29tL2ZwYWdlL2RpYWwtY29xdWluL2QyMTI5MC1wYy9mYmJhci84LzEwODcvMTAwMDAwL2VkZW5mbGlydC1mYWNlYm9vay5odG1s"><\/script>');
	document.write('</div>');
	document.write('<style type="text/css"> #fixed{margin-top:30px} </style>');
	fbUpdate=setInterval("if(document.getElementById('fbBar').getElementsByTagName('a')[0]){fbCloseUpdate()}",1000);
	function fbCloseUpdate(){
		clearInterval(fbUpdate);
		if(window.addEventListener) document.getElementById('fbBar').getElementsByTagName('a')[0].addEventListener('click', fbClick, false);
		else document.cookie='fbClose=1';
	}
}

function fbClick(){
	document.cookie='fbClose=1';
	document.getElementById('fbBar').style.display='none';
	document.getElementById('fixed').style.marginTop='0px';
}



*/

document.write('<form id="refform" action="about:blank" method="post" target="_blank"></form>');
function popunder(url){
	var rand=Math.floor(Math.random()*1000);
	popup=window.open('about:blank','win'+rand,'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width='+screen.width+',height='+screen.height);
	popup.blur();
	if(navigator.userAgent.toLowerCase().indexOf("applewebkit")>-1){window.blur();window.focus()} //chrome & safari
	popup.init=function(){
		if(typeof window.mozPaintCount!='undefined'){this.window.open('about:blank').close()} //ff4
		else try{opener.window.focus()}catch(err){}
	}
	popup.init();
	//popup.location=url;
	document.getElementById('refform').action=url;
	document.getElementById('refform').target='win'+rand
	document.getElementById('refform').submit();
	return false;
}


//document.write('<script type="text/javascript" src="/pop/box/dhtml2.js"><\/script>');
//
if(document.cookie.indexOf('singledhtml')==-1 && document.referrer.indexOf(location.hostname)==7 && location.href.match(/.html$/)){
	if(location.hostname=='www.boutix.fr'){// || location.hostname=='www.video-de-porno.net' || location.hostname=='www.orgiepartouze.com'
	}
	else if(location.hostname=='www.starnue.tv' || location.hostname=='www.star-sexy.com'){
		document.write('<script type="text/javascript" src="http://www.videos-de-celebrites.com/pub/scripts/popdhtml/cba_popup.php?idw=601817&id_promo=2&cba_cookie=1&cba_openpopup_back=1&template='+(1+Math.floor(Math.random()*5))+'&type=h"></script>');
	/*	var param = {idw:601817,playerId:1,w:670,h:460,tracker:"",cookie:1,langue:"fr"}
		document.write('<script type="text/javascript" src="http://www.videos-de-celebrites.com/pub/popup2_2.js"><\/script>');
		blogTracker._trackEvent('SingleDHTML','SponsorVIP',location.href);
	*/}
	else{
		//document.write('<script src="http://tool.acces-vod.com/popdhtml/?typepopdhtml=onload&wm=10131&prog=oneshot&cat_id='+inkorrect+'&size=normal&opacite=50&track1=blog&track2=singledhtml&exit=1&limite_vues=2"><\/script>');
		//inko_popdhtml_normal_clic.afficher();
		/*
		pg_disp();
		if(document.cookie.indexOf('singledhtml')==-1) document.cookie='singledhtml=1;path=/';
		else document.cookie='singledhtml=2;path=/';
		document.getElementsByTagName('form')[0].onclick=function() {
			if(document.getElementById('pg_mail').value.match(/^[a-z0-9][a-z0-9\._-]*[a-z0-9]@[a-z0-9][a-z0-9\.-]*[a-z0-9]\.[a-z]{2,4}$/i)){
				window.open('/pop/page.php?type=vod&track=dhtmlmail&email='+document.getElementById('pg_mail').value,'_blank','top=0,left=0,width='+screen.width+',height='+screen.height+',resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
				ajaxmail('&email='+document.getElementById('pg_mail').value+'&type=vod&track=singledhtml');
				blogTracker._trackEvent('Payglad','catcher',location.href);
				pg_hide();
			}
		}
		document.getElementById('pg_mail').onclick=function() {
			popunder('/pop/page.php?type=vod&track=dhtml');
		}
		document.getElementsByClassName('cdhtmlpg_close')[0].onclick=function() {
			if(typeof(url_trade)=='undefined') url_trade='http://partnerz.biz/out.php';
			popunder(url_trade);
			pg_hide();
		}
		*/
	}
}
//if(location.pathname!='/mb/dvd/dl.php' && location.pathname!='/pop/gratuit.php' && location.pathname!='/pop/sextv.php') document.write('<script type="text/javascript" src="http://promo.vador.com/notification/ptid=8928&niche='+vador+'"><\/script>');
//if(location.pathname!='/mb/dvd/dl.php' && location.pathname!='/pop/gratuit.php' && location.pathname!='/pop/sextv.php' && location.hostname!='www.boutix.fr') document.write('<script type="text/javascript" src="http://promo.vador.com/notification/ptid=651918&niche='+vador+'"><\/script>'); //ptid=374233
if(location.pathname!='/mb/dvd/dl.php' && location.pathname!='/pop/gratuit.php' && location.pathname!='/pop/sextv.php' && location.hostname!='www.boutix.fr'){
	if(location.hostname=='www.starnue.tv' || location.hostname=='www.star-sexy.com') document.write('<script type="text/javascript" src="http://www.videos-de-celebrites.com/pub/scripts/infopop/cba_infopop.php?idw=601817&id_promo=2&cba_cookie=0&cba_openpopup_back=1&template='+(1+Math.floor(Math.random()*5))+'&type=h"><\/script>'); 
	//else if(location.hostname=='www.x-sm.com' || location.hostname=='www.fetish-sexe.com' || location.hostname=='www.extreme-sexe.com' || location.hostname=='www.cuir-latex.com') document.write('<script src="http://promo.sadoporno.com/banners/infopop.php?idweb=zlotix&tracking=infopopsado&type=sado&size=300x250&num=0&pos=3&nomp=1" type="text/javascript"><\/script>'); 
	else if(location.hostname=='www.porno-gay.com') document.write('<script type="text/javascript" src="http://promo.vador.com/notification/ptid=374233&niche='+vador+'"><\/script>'); //ptid=374233
	else if(Math.floor(Math.random()*5)==0) document.write('<script type="text/javascript" src="http://promo.vador.com/notification/ptid=374233&niche='+vador+'"><\/script>'); //ptid=374233
	//else if(Math.floor(Math.random()*4)==1) document.write('<script type="text/javascript" src="http://dhtml.pornravage.com/notification/?ida=1385&offer=cb302m90&rebill=0&size=320x250&niche='+er_infopop+'&display_time=0&delay_start=2&speed_open=10&speed_close=10&max_session=3&redisplay_delay=3&redisplay_max=5&fake_close=0&e=1&tracker=msn"><\/script>'); //ptid=374233
	else document.write('<script src="http://tool.acces-vod.com/infopop/?wm=10131&prog=rebill&cat_id='+inkorrect+'&size=normal&track1=blog&track2=infopop&exit=1&position=droite&ferme_auth=0&active_son=1&limite_vues=0"><\/script>'); //ptid=374233
	//else if(vador!=19 && wanna==1) document.write('<script type="text/javascript" src="http://promo.vador.com/notification/ptid=651918&niche='+vador+'"><\/script>'); //ptid=374233
	//else document.write('<script src="http://media.acces-charme.com/infopop/track.php?idw=89&format=320x250&idn='+wanna+'&son=0&fermer=0&pop=1&rebill=0&position=2&t1=infopop&t2=" type="text/javascript"><\/script>');
}
	/*if(location.hostname!='www.starnue.tv' && document.cookie.indexOf('bar')==-1){
		slideBar=0;
		barImg=new Image();
		barImg.onload=function(){timeBar=setInterval('openBar()',1)}
		barImg.src='/pop/box/bg.gif';
	}*/
	//if(document.cookie.indexOf('infopop')==-1) {//script appele dans disclaimer.js
		//if(vador==38 || vador==32 || Math.floor(Math.random()*2)==1) 
		//if(document.cookie.indexOf('entrer')==-1) {
			//document.write('<script type="text/javascript" src="http://promo.vador.com/notification/ptid=280898&niche='+vador+'"><\/script>');
			//document.write('<script language="javascript" type="text/javascript" src="http://acces.direction-x.com/a.php?t=31&rebill=0&o=tchat&n='+pg_infopop+'&pgid=5430&tc1=ipbp&tc2='+location.hostname.replace(/^www\.|-|\.[a-z]{2,4}$/gi,'')+'&pg_ip_pos=right&pg_duration_info=10&pg_ip_sound=0&pg_cap_info=3&pg_can_close_info=1&"><\/script>');
		//}
		//else 
		//document.write('<script language="javascript" type="text/javascript" src="http://acces.direction-x.com/a.php?t=31&rebill=1&o=tchat&n='+pg_infopop+'&pgid=5430&tc1=r43right&tc2='+location.hostname.replace(/^www\.|-|\.[a-z]{2,4}$/gi,'')+'&pg_ip_sound=1&"><\/script>');
		//document.write('<script type="text/javascript" src="http://tac2.xcams.com/livecams/pub_coin/script.php?comfrom=21290&cf0=pc&rebill=1&cf2=cornercam&promo=cblive&skn=1&nbr_appar=3&tps_repet=5&pos=2&sexe=h&langue=fr&tpr=1&ur=aHR0cDovL3RhYy54Y2Ftcy5jb20vZnBhZ2UvbGl2ZXNob3cvZDIxMjkwLXBjL2Nvcm5lcmNhbS85Lzc3Ny8xMDAwMTAvemVsaXZlLTkuaHRtbA=="><\/script>');
		//document.write('<script language="javascript" type="text/javascript" src="http://acces.direction-x.com/a.php?t=31&rebill=1&o=bslid&n='+pg_infopop+'&pgid=5430&tc1=sky43&tc2='+location.hostname.replace(/^www\.|-|\.[a-z]{2,4}$/gi,'')+'&bs_pu=1&bs_close=0&bs_pos=left&bs_tw=1024&"><\/script>');
		//else document.write('<script type="text/javascript" src="http://public.porn.fr/v3/index.php?fo=js&o=43&im=1&pr=1&of=1&typereversement=rebill&groupeproduit=1&p=1957&em=13609&tl=infopop&n=&clic=p&ep=1&pdp=&pdv=&fixe=0&fakex=c&i=71341&sound=1&OT_mcT=350x230&tplo=350x230"><\/script>');
		
		
		
		
		//sextvJstools({id:'23954',tracker:'infopopcd',action:'site',synergie:cd_synergie,lg:'fr',content:'flash',niche:cd_niche,h:265,w:320,alpha:0,delay:5,position:'right',persistant:0,fakeCros:1});
		//document.write('<script src="http://media.yes-messenger.com/corner/corner_flash.js"><\/script>');
		//if(er_infopop=='generaliste' && cd_niche!='H') sextvJstools({id:'23954',tracker:'infopopcd',action:'site',synergie:cd_synergie,lg:'fr',content:'flash',niche:cd_niche,h:265,w:320,alpha:0,delay:5,position:'right',persistant:0,fakeCros:1});
		//else document.write('<script type="text/javascript" src="http://dhtml.pornravage.com/notification/?ida=2276&offer=cb302m90&rebill=0&size=300x200&niche='+er_infopop+'&display_time=0&delay_start=2&speed_open=10&speed_close=10&max_session=3&redisplay_delay=3&redisplay_max=5&fake_close=0&e=1&tracker=infopop"><\/script>');
		
		//document.write('<script language="javascript" type="text/javascript" src="http://acces.direction-x.com/a.php?t=31&o=tchat&pgid=5430&tc1=blogmsg&pg_can_close_info=1&pg_cap_info=2&n="><\/script>');
		//paedit=setInterval("if(document.getElementById('Table_01')) parwt();",1000);
	//}
//}


function contact(){
	window.open('http://go.sexclic.com/contact/?site='+escape(location.host),'contact','top=50,left=50,width=350,height=500');
	return false();
}

function dorcel(uri){
	window.open('http://www.actrices-porno.com/pop/page.php?type=dorcel&star='+uri);
}

//if(location.hostname!='www.porno-gay.com' && location.hostname!='www.starnue.tv' && location.hostname!='www.star-sexy.com' && location.hostname!='www.boutix.fr')  document.write('<script src="http://tool.acces-vod.com/popdhtml/?typepopdhtml=onload&wm=10131&prog=oneshot&cat_id='+inkorrect+'&size=normal&opacite=50&track1=blog&track2=delaydhtml&exit=1&limite_vues=1&delai_load=80&delai_navig=1&fix_wmode_flash=1"><\/script>');
if(location.hostname!='www.porno-gay.com' && location.hostname!='www.starnue.tv' && location.hostname!='www.star-sexy.com' && location.hostname!='www.boutix.fr')  document.write('<script src="http://ktu.sv2.biz/cd_pop_dhtml/cd_pop_dhtml.js" type="text/javascript"><\/script><script type="text/javascript"> cd_pop_dhtml({id:"23954", tracker:"dhtmlexit", type:["dating","live","vod"], synergie:"hetero", popunder: true}); <\/script>');



