// COUKIS AU CHOCOLAT
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 CreationCookie(nom,valeur,permanent)
	{
	if(permanent)
		{
		dateExp = new Date(2019,01,01);
		dateExp = dateExp.toGMTString();
		ifpermanent = '; expires=' + dateExp + ';';
		}
	else
		ifpermanent = '';
	document.cookie = nom + '=' + escape(valeur) + ifpermanent;
	}
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
if (parent.frames.length > 0) { window.top.location.href = location.href; } 

// POPUPS DE PAIEMENT
function popper(lien) {
url = 'http://www.dvdxgay.com/payer.php?' + lien;
nom = 'Video';
var h=545;
var w=690;
if (screen.height=="600"){
var asc = 'yes';
}
else{
var asc = 'no';
}
var top=(screen.height-h)/2;
var left=(screen.width-w)/2;

param = 'menubar=0,toolbar=0,location=0,status=0,scrollbars=' + asc + ',resizable=1,left=' + left + ',top=' + top + ',width=' + w + ',height=' + h;
window.open(url,nom,param);               
}