function picWin (url,width,height) {
	var window_top = (screen.height-400)*.3;
    var window_left = (screen.width-600)*.3;
	var newWindow = window.open(url + '','pics','scrollbars=no,resizable=no,width=' + width + ',height=' + height + ',top=' + window_top + ',left=' + window_left);
	newWindow.window.focus()
  }

function pressWin (url,width,height) {
	var window_top = (screen.height-400)*.3;
    var window_left = (screen.width-600)*.3;
	var newWindow = window.open(url + '','press','menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=' + width + ',height=' + height + ',top=' + window_top + ',left=' + window_left);
	newWindow.window.focus()
  }

function openWin (url,width,height) {
	var window_top = (screen.height-400)*.3;
    var window_left = (screen.width-600)*.3;
	var newWindow = window.open(url + '','pics','scrollbars=no,resizable=no,width=' + width + ',height=' + height + ',top=' + window_top + ',left=' + window_left);
	newWindow.window.focus()
  }

function menuWin (url,width,height) {
	var window_top = (screen.height-400)*.3;
    var window_left = (screen.width-600)*.3;
	var newWindow = window.open(url + '','menu','scrollbars=yes,resizable=no,width=' + width + ',height=' + height + ',top=' + window_top + ',left=' + window_left);
	newWindow.window.focus()
  }

function newWin (url,width,height) {
	var window_top = (screen.height-400)*.3;
    var window_left = (screen.width-600)*.3;
	var newWindow = window.open(url + '','pics','scrollbars=yes,resizable=yes,width=' + width + ',height=' + height + ',top=' + window_top + ',left=' + window_left);
	newWindow.window.focus()
  }

function vtWin (url) {
	var window_top = (screen.height-400)*.3;
    var window_left = (screen.width-600)*.3;
	var newWindow = window.open(url + '','vtours','scrollbars=yes,resizable=yes,height=550,width=600,top=' + window_top + ',left=' + window_left);
	newWindow.window.focus()
}

function wideWin (url,height) {
	var window_top = (screen.height-400)*.3;
    var window_left = (screen.width-600)*.3;
	var newWindow = window.open(url + '','photos','scrollbars=yes,resizable=yes,width=825,height=' + height + ',top=' + window_top + ',left=' + window_left);
	newWindow.window.focus()
}

DaysofWeek = new Array()
DaysofWeek[0]="Sunday"
DaysofWeek[1]="Monday"
DaysofWeek[2]="Tuesday"
DaysofWeek[3]="Wednesday"
DaysofWeek[4]="Thursday"
DaysofWeek[5]="Friday"
DaysofWeek[6]="Saturday"

Months = new Array()
Months[0]="January"
Months[1]="February"
Months[2]="March"
Months[3]="April"
Months[4]="May"
Months[5]="June"
Months[6]="July"
Months[7]="August"
Months[8]="September"
Months[9]="October"
Months[10]="November"
Months[11]="December"


function fixNumber(the_number){
	if (the_number < 10){
		the_number = "0" + the_number;
		}
	return the_number;
}

function fixPMHours(the_number){
	if (the_number>12){
		the_number = the_number - 12;
		}
	return the_number;
} 

	
var	dayVal;
var timeVal=new Date()
var m=timeVal.getMinutes()
var h=timeVal.getHours()
var fixed_hour = fixPMHours(h);
var da=timeVal.getDate()
var mo=timeVal.getMonth()
var year=timeVal.getYear()
var showDay=DaysofWeek[timeVal.getDay()]
var showMonth=Months[timeVal.getMonth()]
var fixed_minute = fixNumber(m);
var the_time = fixed_hour + ":" + fixed_minute;
var the_date = (showDay+", "+showMonth+" "+da)

function showTime(){
	var timeValue = the_date;
	document.write(timeValue);
}
