//////////////////////
// POP-UPS
//////////////////////
function popUp(URL, width, height) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=" + width + ",height=" + height + "');");
}


/* Inbox adult content warning */
function $(v) { return(document.getElementById(v)); }
function $S(v) { return($(v).style); }
function agent(v) { return(Math.max(navigator.userAgent.toLowerCase().indexOf(v),0)); }
function isset(v) { return((typeof(v)=='undefined' || v.length==0)?false:true); }
function XYwin(v) { var z=agent('msie')?Array(document.body.clientHeight,document.body.clientWidth):Array(window.innerHeight,window.innerWidth); return(isset(v)?z[v]:z); }
function sexyTOG() { document.onclick=function(){ $S('sexyBG').display='none'; $S('sexyBOX').display='none'; document.onclick=function(){}; }; }
function sexyBOX(v,b) {
	document.getElementById('wrap').style.display='block';
	document.getElementById('loading').style.display='none';
	setTimeout("sexyTOG()",100); 
	$S('sexyBG').height=XYwin(0)+'px'; 
	$S('sexyBG').display='block'; 
	$('sexyBOX').innerHTML=v+'<div class="sexyX"><img src="images/3dvixens-logo.png" align="left" width="150" height="50" style="padding:5px;"/><br /><p align="left">You are entering a site that contains sexually oriented material and is intended for adults only.</p><p align="left">Do not continue if you are not of legal age, accessing sexual material is illegal in your region or sexual material offends you.</p><input id="Continue" name="Continue" type="button" value="Continue" onclick="sexyTOG();" /><br /><br />'+"<\/div>"; 
	$S('sexyBOX').left=Math.round((XYwin(1)-b)/2)+'px'; 
	$S('sexyBOX').width=b+'px'; 
	$S('sexyBOX').display='block'; 
}