// 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 selection');	
}


}

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 getwebfric(id){
url = 'http://www.videosdesexe.com/cbm/details.php?id=' + id + '&pid=Valauren&t=palace&feat=#top';
winwidth = 800;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');
}
function getbazoocash(id){
	url = 'http://mb.cinehard.com/infos.php?id=' + id + '&aff=60&mb=palace';
	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=palace&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=Palace#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=1214&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=55449&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://123videos.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 getpassix(idset){
winwidth = screen.availWidth - 60;
winheight = screen.availHeight - 60;
window.open('http://integration.passix.com/Paiementv.php?Id=5311&Set=' + idset,'Download','scrollbars=yes, menubar=no, toolbar=no, width=' + winwidth + ', height=' + winheight + ', top=30, left=30');
}

function getcashatomix(id){
url = 'http://www.vidsatomix.com/paiement.php?profil=whsJoS20Ha&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=Palace#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 getjeveuxdlatune(id) {
url = 'http://mb.acces-prive.biz/allocb_xml.php?video='+id+'&id_web=JVT195&id_mb=JVTXML9';
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}

function getcarpediem(id) {
url = 'http://palace-video.pornattitude.com/index.php/v_'+id+'/module_client_pornofolies_view//id_21930/cs_palace-video/t_MB/langue_fr/idap_1906794/gsm_1/noteaser_1//hd_1//';
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=palace&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 getsex974(id) {
url = 'http://www.videocochon.com/acces.php?video='+id+'&mb=palace';
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}

function getcadechire(id) {
url = 'http://www.ca-dechire.com/mb/down-t.php?idvid=' + id + '&mb=547&idw=';
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}
function getcreasexe(id) {
url = 'http://mb.creasexe.com/get.php?id_video=' + id + '&imb=143&idw=1029';
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}

function getxtapas(id) {
url = 'http://palace.xtapas.com/FR/dvd/all/' + 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=palace&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 + '-611.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 getwendise(id) {
url = 'http://mb.wendise.com/pdp/vid-'+id+'/pid-valauren/tid-palace/'+id+'.html';
w = screen.availWidth - 10;
h = screen.availHeight - 30;
win = window.open(url, '_blank', 'toolbar=0,location=0,directories=0,menuBar=0,resizable=1,scrollbars=1,top=0,left=0,width='+w+',height='+h);
win.focus();
}
function getrocco(id) {
	url = 'http://mb.videos-rocco.com/infos.php?id=' + id + '&aff=60&mb=vr_palace&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=78'; 
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}
function getcolmax(id) {
url = 'http://billing.acces-membres.com/telechargement.php?id=' + id + '&mb=5666&wref=582&a=&site=18'; 
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=5685&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 getmanga(id) {
url = 'http://www.films-mangas.com/telecharger.php?id=' + id + '&mb=5745&wref=582'; 
winwidth = screen.availWidth - 10;
winheight = screen.availHeight - 30;
window.open(url, '_blank', 'scrollbars=yes, width=' + winwidth + ', height=' + winheight + ', top=0, left=0, resizable');		
}
function getvideosplay(id) {
url = 'http://billing.acces-membres.com/telechargement.php?id=' + id + '&mb=5746&wref=582&site=15'; 
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_palace&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();	
}
