function ScreenShots(URL){
	window.open(URL,'screenshots','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=720,height=610')
}
function ImageStarFailed(imgName){
	if (document.images) {
		NoStar = new Image();
		NoStar.src = "http://filebase.pornstar.com/filebase/starphoto.gif";
		document[imgName].src = NoStar.src;
	}
}
function ImageStarSmallFailed(imgName){
	if (document.images) {
		NoStarSmall = new Image();
		NoStarSmall.src = "http://filebase.pornstar.com/filebase/starphoto-small.gif";
		document[imgName].src = NoStarSmall.src;
	}
}
function ImageDVDFailed(imgName){
	if (document.images) {
		NoDVD = new Image();
		NoDVD.src = "http://filebase.pornstar.com/filebase/dvdcover.gif";
		document[imgName].src = NoDVD.src;
	}
}
function ImageSSSmallFailed(imgName){
	if (document.images) {
		NoSSSmall = new Image();
		NoSSSmall.src = "http://filebase.pornstar.com/filebase/screenshots-small.gif";
		document[imgName].src = NoSSSmall.src;
	}
}
function ImageSSLargeFailed(imgName){
	if (document.images) {
		NoSSLarge = new Image();
		NoSSLarge.src = "http://filebase.pornstar.com/filebase/screenshots.gif";
		document[imgName].src = NoSSLarge.src;
	}
}
function showToon(thePhoto) {
	if (document.images) {
	document.AdultToon.src = thePhoto;
	}
}
function setCookie(name, value, expires){
	//if (!expires) expires = new Date();
    document.cookie = name + "=" + escape(value) + "; expires=" + expires.toGMTString() + "; path=/";
}
function ProtectEmail(user, domain, suffix, pagetext){
	document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '"><b>' + pagetext + '</b></a>');
}
function ProtectEmailNoBold(user, domain, suffix, pagetext){
	document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + pagetext + '</a>');
}
//USED IN WATCH.HTML, NO USING
//var expdate = new Date();
//	expdate.setTime (expdate.getTime() + (1000 * 60 * 60 * 24 * 1));
//var topURL = top.location.href;
//setCookie("UserSessionTopURL", topURL, expdate);
