var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/1.35:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=0}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}

function click(e){if (document.all) if (event.button == 2) return false;if
(document.layers) if (e.which == 3) return false;}
function click2(){event.returnValue=false;return false;}if (document.layers)
document.captureEvents(Event.MOUSEDOWN);document.onmousedown=click;document.oncontextmenu=click2;	

function validatecontact(obj) {
	if (obj.names.value == "") {
		alert("Please Input Your Name.");
		obj.names.focus();
		return false;
		} else if (obj.telephone.value == "") {
		alert("Please Input a Telephone Number.");
		obj.telephone.focus();
		return false;	
	} else if (obj.address.value == "") {
		alert("Please Input Your Address.");
		obj.address.focus();
		return false;	
	} else if (obj.birthday.value == "") {
		alert("Please Input Your Birthday.");
		obj.birthday.focus();
		return false;
	} else if (obj.nationality.value == "") {
		alert("Please Input Your Nationality.");
		obj.nationality.focus();
		return false;				
	} else if (obj.citizenship.value == "") {
		alert("Please Input Your Citizenship Status.");
		obj.citizenship.focus();
		return false;		
	} else if (obj.height.value == "") {
		alert("Please Input Your Height.");
		obj.height.focus();
		return false;
	} else if (obj.weight.value == "") {
		alert("Please Input Your Weight.");
		obj.weight.focus();
		return false;
	} else if (obj.hair.value == "") {
		alert("Please Input Your Hair Color.");
		obj.hair.focus();
		return false;
	} else if (obj.eyes.value == "") {
		alert("Please Input Your Eye Color.");
		obj.eyes.focus();
		return false;	
	} else if (obj.measurements.value == "") {
		alert("Please Input Your Measurements.");
		obj.measurements.focus();
		return false;	
	} else if (obj.best_feature.value == "") {
		alert("Please Input Best Feature.");
		obj.best_feature.focus();
		return false;		
	} else if (obj.ever_an_escort.value == "") {
		alert("Please Input if you were ever an escort.");
		obj.ever_an_escort.focus();
		return false;			
	} else if (obj.escort_licence.value == "") {
		alert("Please Input if you have an escort licence.");
		obj.escort_licence.focus();
		return false;		
			
	} else if (obj.special_service.value == "") {
		alert("Please Input if you offer any special services.");
		obj.special_service.focus();
		return false;									
	} else if (obj.why_escort_employment.value == "") {
		alert("Please Input why do you want to work as an escort.");
		obj.why_escort_employment.focus();
		return false;	
	} else if (obj.why_hire_you.value == "") {
		alert("Please Input why should we hire you.");
		obj.why_hire_you.focus();
		return false;	
	}
}


var SlideShowSpeed = 1800;
var CrossFadeDuration = 4;
var Picture = new Array(); 
var Caption = new Array(); 

Picture[1]  = 'graphics/title_foxden.jpg';
Picture[2]  = 'graphics/title_foxden2.jpg';

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){

preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;

if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}		


function SymError()
{
  return true;
}

window.onerror = SymError;

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=no,menubar=0,resizable=0,width=570,height=550,left = 20,top = 0');");
}
function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=no,menubar=0,resizable=0,width=684,height=590,left = 0,top = 0');");
}
function popUp3(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=no,menubar=0,resizable=0,width=724,height=525,left = 0,top = 0');");
}
function popUp4(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=no,menubar=0,resizable=0,width=638,height=570,left = 0,top = 0');");
}
function popUp5(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=no,menubar=0,resizable=0,width=469,height=540,left = 0,top = 0');");
}

function christy(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function jenna(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function tawnie(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function paulina(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function sabrina(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function april(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function tiffany(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function paris(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function candy(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}
function katie(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=no,menubar=0,resizable=0,width=601,height=447,left = 0,top = 0');");
}

/*************************************************************************
  This code is from Dynamic Web Coding at www.dyn-web.com
  Copyright 2001-4 by Sharon Paine 
  See Terms of Use at www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

function initScrollLayer() {
  // arguments: id of layer containing scrolling layers (clipped layer), id of layer to scroll, 
  // if horizontal scrolling, id of element containing scrolling content (table?)
  var wndo = new dw_scrollObj('wn', 'lyr1');
  
  // bSizeDragBar set true by default (explained at www.dyn-web.com/dhtml/scroll/ )
  // wndo.bSizeDragBar = false;
  
  // arguments: dragBar id, track id, axis ("v" or "h"), x offset, y offset
  // (x/y offsets of dragBar in track)
  wndo.setUpScrollbar("dragBar", "track", "v", 1, 1);
  
  // pass id('s) of scroll area(s) if inside table(s)
  // i.e., if you have 3 (with id's wn1, wn2, wn3): dw_scrollObj.GeckoTableBugFix('wn1', 'wn2', 'wn3');
  dw_scrollObj.GeckoTableBugFix('wn'); 
}
// end 


if (document.images){
	
fox1on=new Image;
fox1on.src="images/thumbs/th-christy2.jpg";
fox1off=new Image;
fox1off.src="images/thumbs/th-christy.jpg";

fox2on=new Image;
fox2on.src="images/thumbs/th-jenna2.jpg";
fox2off=new Image;
fox2off.src="images/thumbs/th-jenna.jpg";

fox3on=new Image;
fox3on.src="images/thumbs/th-tawnie2.jpg";
fox3off=new Image;
fox3off.src="images/thumbs/th-tawnie.jpg";

fox4on=new Image;
fox4on.src="images/thumbs/th-paulina2.jpg";
fox4off=new Image;
fox4off.src="images/thumbs/th-paulina.jpg";

fox5on=new Image;
fox5on.src="images/thumbs/th-tiffany2.jpg";
fox5off=new Image;
fox5off.src="images/thumbs/th-tiffany.jpg";

fox6on=new Image;
fox6on.src="images/thumbs/th-sabrina2.jpg";
fox6off=new Image;
fox6off.src="images/thumbs/th-sabrina.jpg";

fox7on=new Image;
fox7on.src="images/thumbs/th-april2.jpg";
fox7off=new Image;
fox7off.src="images/thumbs/th-april.jpg";

fox8on=new Image;
fox8on.src="images/thumbs/th-paris2.jpg";
fox8off=new Image;
fox8off.src="images/thumbs/th-paris.jpg";

fox9on=new Image;
fox9on.src="images/thumbs/th-katie2.jpg";
fox9off=new Image;
fox9off.src="images/thumbs/th-katie.jpg";

fox10on=new Image;
fox10on.src="images/thumbs/th-candy2.jpg";
fox10off=new Image;
fox10off.src="images/thumbs/th-candy.jpg";
	}	
function on(imgName){
        imgOn = eval(imgName + "on.src");
        document[imgName].src = imgOn;
      	}
function off(imgName){
        imgOff = eval(imgName + "off.src");
        document[imgName].src = imgOff;
        }    
		
		
		
var SlideShowSpeed7 = 2400;
var CrossFadeDuration7 = 3;
var Picture7 = new Array(); 
var Caption7 = new Array(); 

Picture7[1]  = 'graphics/den_photo.jpg';
Picture7[2]  = 'graphics/den_photo.jpg';
Picture7[3]  = 'graphics/den_photo2.jpg';

var tss7;
var iss7;
var jss7 = 1;
var pss7 = Picture7.length-1;

var preLoad7 = new Array();
for (iss7 = 1; iss7 < pss7+1; iss7++){

preLoad7[iss7] = new Image();
preLoad7[iss7].src = Picture7[iss7];}

function runSlideShow7(){
if (document.all){
document.images.PictureBox7.style.filter="blendTrans(duration=2)";
document.images.PictureBox7.style.filter="blendTrans(duration=CrossFadeDuration7)";
document.images.PictureBox7.filters.blendTrans.Apply();}
document.images.PictureBox7.src = preLoad7[jss7].src;
if (document.all) document.images.PictureBox7.filters.blendTrans.Play();
jss7 = jss7 + 1;

if (jss7 > (pss7)) jss7=1;
tss7 = setTimeout('runSlideShow7()', SlideShowSpeed7);
}		


function popUp4(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=no,menubar=0,resizable=0,width=724,height=524,left = 0,top = 0');");
}	
