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

// 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";
	
	
	
	
