// JavaScript Document
function SetCookie (name, value, date)
{
var aujourdhui = new Date() ;
var expdate = new Date() ;
 
//plus an an ˆ partir d'aujourdh'ui le cookie ne s'efface jamais
expdate.setTime( aujourdhui.getTime() + ( date*24*60*60*1000 ) )
//creation du cookie
document.cookie = name + "=" + value + ";expires=" + expdate.toGMTString() + ";path=/;";

if (date != -1) {
 alert ('Vidéo ajoutée dans votre sélection');	
}


}

function count_cookies() {
	var aCookie = document.cookie.split("; ");
	var nb_cookies = 0;
	var tag;
	var jkvideo;
	
	for (i=0; i<aCookie.length; i++) {		   
		    if (aCookie[i].substr(0,7) == "jkvideo") {
		    	nb_cookies = nb_cookies + 1;
		    }    
	}
	return nb_cookies;
}
function getbazoocash(id){
	url = 'http://mb.cinehard.com/infos.php?id=' + id + '&aff=60&mb=lienscochon';
	width = screen.availWidth - 10;
	height = screen.availHeight - 30;
	w = window.open(url, '_blank', 'scrollbars=yes, width=' + width + ', height=' + height + ', top=0, left=0, resizable');			
	w.focus();	
}
function getfilmsx(id){
	url = 'http://films-x.tv/mb/popup.php?pa=331&mb=Lienscochon&lg=fr&id='+id;
	width = screen.availWidth - 10;
	height = screen.availHeight - 30;
	w = window.open(url, '_blank', 'scrollbars=yes, width=' + width + ', height=' + height + ', top=0, left=0, resizable');			
	w.focus();	
}
function getsexedenfer(id){
url = 'http://www.sexedenfer.com/infos.php?id=' + id + '&wref=110&tpl=Lienscochon#haut';
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');
}
function gettvsexe(id){
url = 'http://www.tvsexe.tv/tvsexe_detail.php?aff=l00075&s=1248&id=' + id + '&cp=X79619JY68A2E&m=3'; 
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');
}
function getsmartmovies(id){
url = 'http://www.smartmovies.net/partners/maker/acces.php?id_doc=51530&id_vid='+id;
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');
}
function getxsponsor (id) {
url = 'http://cochon.partie-privee.com/videos_iframe.php?total=325&gab_liste=0&gab_desc=0&viewdetail='+ id +'&zvx_dep=0&fcolor=&zvx_dep=0&fcolor=';
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');
}
function getcashatomix(id){
url = 'http://www.vidsatomix.com/paiement.php?profil=KgKyGY6u8q&docid=' + id;
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable=yes');
}
function gettotaldefonce(id) {
url = 'http://www.totale-defonce.com/infos.php?id=' + id + '&wref=110&tpl=Lienscochon#haut';
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');	
}
function getfilmsxmature(id) {
url = 'http://www.video-mature.tv/mb/popup.php?pa=331&mb=lienscochon&lg=fr&card=&id='+id;
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}

function getfilmsxamateur(id) {
url = 'http://films-amateurs.tv/mb/popup.php?pa=331&mb=liencochon&lg=fr&card=&id='+id;
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}
function getvenusbiz(id) {
url = 'http://www.venusbiz.com/videosamat-access-' + id + '-1159.html'; 
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}
function getrocco(id) {
	url = 'http://mb.videos-rocco.com/infos.php?id=' + id + '&aff=60&mb=vr_lienscochon&abo=0';
	width = screen.availWidth - 10;
	height = screen.availHeight - 30;
	w = window.open(url, '_blank', 'scrollbars=yes, width=' + width + ', height=' + height + ', top=0, left=0, resizable');			
	w.focus();	
}
function getevolucash(id) {
url = 'http://www.3xdl.com/downloadv.php?track=78&type=mbv&vid=' + id + '&md=199'; 
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}
function gethentaifr(id) {
url = 'http://billing.acces-membres.com/telechargement.php?id=' + id + '&mb=12934&wref=582&a=&site=16'; 
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}
function getfabienne(id) {
	url = 'http://mb.fabienne-extreme.com/infos.php?id=' + id + '&aff=60&mb=fe_lienscochon&abo=0';
	width = screen.availWidth - 10;
	height = screen.availHeight - 30;
	w = window.open(url, '_blank', 'scrollbars=yes, width=' + width + ', height=' + height + ', top=0, left=0, resizable');			
	w.focus();	
}
function getpornfr(id) {
	url = 'http://public.porn.fr/mb_pdv.php?i=52&v=' + id + '';
	width = screen.availWidth - 10;
	height = screen.availHeight - 30;
	w = window.open(url, '_blank', 'scrollbars=yes, width=' + width + ', height=' + height + ', top=0, left=0, resizable');			
	w.focus();	
}
function getguest(id) {
	url = 'http://mb.guestvideos.com/details.php?mb=351&idvideo=' + id + ''
	width = screen.availWidth - 10;
	height = screen.availHeight - 30;
	w = window.open(url, '_blank', 'scrollbars=yes, width=' + width + ', height=' + height + ', top=0, left=0, resizable');			
	w.focus();	
}
function getfilmsxhentai(id) {
url = 'http://films-amateurs.tv/mb/popup.php?pa=331&mb=Lienscochon&lg=fr&card=&id='+id;
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}