function openWindow(name)
{
openLoadWindow(name, '');
}
function openLoadWindow(name, file)
{
openSizeWindow(name, file, 300, 300);
}
function openSizeWindow(name, file, width, height)
{
window.open(file, name,
'width=' + width
+ ',height=' + height
+ ',innerWidth=' + width
+ ',innerHeight=' + height
+ ',dependent=yes,directories=no,hotkeys=no,location=no,menubar=no,status=no,toolbar=no,resizable=no').focus();
}
function openScrollingWindow(name, file, width, height)
{
window.open(file, name,
'width=' + width
+ ',height=' + height
+ ',innerWidth=' + width
+ ',innerHeight=' + height
+ ',dependent=yes,directories=no,hotkeys=no,location=no,menubar=no,status=no,toolbar=no,resizable=yes,scrollbars=yes').focus();}
function closeWindow()
{
window.close();
}
function date(){
var dayArray = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var monthArray = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
var lastUpdate = new Date(document.lastModified);
var thisDay=dayArray[lastUpdate.getDay()];
var thisDate=lastUpdate.getDate() < 10 ? '0'+lastUpdate.getDate() : lastUpdate.getDate();
var thisMonth=monthArray[lastUpdate.getMonth()];
var thisMonthNum=lastUpdate.getMonth()+1 < 10 ? '0'+ (lastUpdate.getMonth()+1) : lastUpdate.getMonth()+1;
var thisFullYear=String(lastUpdate.getFullYear());
var thisYear= thisFullYear.charAt(2) + thisFullYear.charAt(3);
document.write(thisDate + ' ' + thisMonth + ' ' + thisFullYear);
}