var joining = 0;

/*if (self != top) {
top.location = self.location;
}
*/

function byeBye() {
    if (joining == 0) { 
	    girlfriends = window.open('','girlfriend','height=520,width=760,scrollbars=1,resizable=1')
		girlfriends.moveTo(0,0);
		girlfriends.blur();
		girlfriends.resizeTo(screen.availWidth,screen.availHeight);
		girlfriends.location="/autorank/index.shtml";
	
	    /* 
		girlfriends2 = window.open('','girlfriend2','height=20,width=20,scrollbars=1,resizable=1,toolbar=1')
		//girlfriends2.moveTo(0,0);
		//girlfriends2.blur();
		//girlfriends2.resizeTo(screen.availWidth,screen.availHeight);
		girlfriends2.location="/bye.html";
		*/
	}
}

function entryOpen() { // opens a pop-up on site entry.
	    win = window.open('','random','height=520,width=760,scrollbars=1,resizable=1,toolbar=1')
		win.moveTo(0,0);
		win.blur();
		win.resizeTo(screen.availWidth,screen.availHeight);
		win.location="http://www.kenzierose.com/random_group.php?group=99";
}

function openWin(location,width) { // opens a pop-up window to view the photos.
  var newHeight;
  
  if (screen.availHeight < 420) { 
      newHeight = screen.availHeight;
  } else { 
      newHeight = screen.availHeight - 120;
  }
  
  win=window.open(location,'Win',"width=" + width + ",height=" + newHeight + ",menubar=1,toolbar=1,resizable=1,scrollbars=1,top=1,left=1");
  //pics.document.bgColor='#006699';
  win.moveTo(0,0);
  win.focus();
}

function openCam() { // opens a pop-up window to view the photos.
  cam=window.open('http://www.jeanswing.com/tour/guest_cam.shtml','cam',"width=350,height=440,resizable=1,scrollbars=0,top=1,left=1");
  //pics.document.bgColor='#006699';
  cam.moveTo(0,0);
  cam.focus();
}


function openMe(location,width,height) { // opens a pop-up window to view the photos.
  pics=window.open(location,'picture',"width=" + width + ",height=" + height + ",resizable=1,scrollbars=1,top=1,left=1");
  pics.document.bgColor='black';
  pics.moveTo(0,0);
  pics.focus();
}

function openPic(location,width,height) { // opens a pop-up window to view the photos.
  pics=window.open('','',"width=" + width + ",height=" + height);
  pics.document.write('<html>');
  pics.document.write('<body bgcolor="#FFFFFF" bottommargin="0" leftmargin="0" marginheight="0" marginwidth="0" rightmargin="0" topmargin="0">');
  pics.document.write('<img src="' + location + '" alt="Click Image To Close" onClick="window.close();">');
  pics.document.write('</body></html>');
  pics.moveTo(0,0);
  pics.focus();
}
    

function addBookMark(){
	window.external.AddFavorite('http://www.kenzieroase.com','KenzieRose - Midwest Amateur Girl');
}
function openSchedule(){
     window.open('/news.shtml','schedule','toolbar=0,status=0,resizable=1,scrollbars=1,height=500,width=600');
}

// get the date information
//
date = new Date();
month = new String;
day = new String;
year = new String;

month = date.getMonth()
day = date.getDate()

// This is the y2k fixer function--don't worry about how this works,
// but if you want it in your scripts, you can cut and paste it. 
//
 function y2k(number) { 
return (number < 1000) ? number + 1900 : number;
}

// Get the year and fix the y2k bug using the fixer function.
//
year = y2k(date.getYear())

// Translate the number of the month to a word--so 0 becomes January.
// Notice that I've cut months 3 to 10 to save space.  if you want to
// run this example, you'll have to put those in place of the ellipsis, . . .
//
if (month == "0")
	month = "January";
	else
if (month == "1")
	month = "February";
	else
if (month == "2")
	month = "March";
	else
if (month == "3")
	month = "April";
	else
if (month == "4")
	month = "May";
	else
if (month == "5")
	month = "June";
	else
if (month == "6")
	month = "July";
	else
if (month == "7")
	month = "August";
	else
if (month == "8")
	month = "September";
	else
if (month == "9")
	month = "October";
	else
if (month == "10")
	month = "November";
	else
if (month == "11")
	month = "December";