window.onerror = null;
manufacturer = navigator.appName;
versionnum = parseFloat(navigator.appVersion);
if (manufacturer.indexOf('Netscape') >= 0 && versionnum < 4.0)
location.href = 'index.php';
if (manufacturer.indexOf('Microsoft') >= 0 && versionnum < 4.0)
location.href = 'index.php';
function showtime()
{
var now = new Date()
var hours = now.getHours()
var minutes = now.getMinutes()
var timeValue = "" + ((hours > 12) ? hours - 12 : hours)
timeValue  += ((minutes < 10) ? ":0" : ":") + minutes
timeValue  += (hours >= 12) ? "pm. " : "am. "
document.clock.face.value = timeValue 
timerRunning = true
}
var timerID = null
var timerRunning = false
function stopclock()
{
if(timerRunning)
clearTimeout(timerID)
timerRunning = false
}
function startclock()
{
stopclock()
showtime()
}
function UPSmapWindow() {
var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrolling=no,resizable=0,width=570,height=410,left=0,top=0";
UPSmapWin = window.open('UPSmap.html', 'theUPSmapWin', windowprops)
UPSmapWin.focus()
}
function openWindow( targetURL ) {
TesterWin = window.open( targetURL, 'popup', 'width=230,height=350,resizable=1');
TesterWin.focus()
}
function openWindowNew( targetURL ) {
NewWin = window.open( targetURL, 'popup', 'width=200,height=200');
NewWin.focus()
}
function openInquiryWindow( targetURL ) {
InquiryWin = window.open( targetURL, 'popup', 'width=425,height=300');
InquiryWin.focus()
}
function CurrencyWindow() {
var windowprops = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrolling=no,resizable=0,width=500,height=400,left=0,top=0";
CurrencyWin = window.open('currency.htm', 'theCurrencyWin', windowprops)
CurrencyWin.focus()
}