<!--
// Global browser detection. Use these boolean values in
// other scripts.

blnDOM = (document.getElementById)?true:false;
blnIE = (document.all) ? true : false;
blnIE4 = blnIE && !blnDOM;
blnNS4 = (document.layers)?true:false;
blnNS6up = (document.createRange)?true:false;
blnMac = (navigator.appVersion.indexOf("Mac") != -1);
blnIE4M = blnIE4 && blnMac;
blnOpera = (navigator.userAgent.indexOf("Opera")!=-1)?true:false;
blnKonqueror = (navigator.userAgent.indexOf("Konqueror")!=-1)?true:false;

HM_IsMenu = !blnOpera && !blnKonqueror && !blnIE4M && (blnDOM || blnNS4 || blnIE4);

HM_BrowserString = blnNS4 ? "NS4" : blnNS6up ? "NS6" : blnDOM ? "DOM" : "IE4";

/*Date and copyright functions
* Copyright (c) 2003 Precision Art
*/

IsY2K = (blnDOM || blnNS4);
NoY2K = (blnIE4 || blnIE4M);

function lastMod(){
 var lastMod = new Date(document.lastModified);
 var theDate = lastMod.getDate();
 var theMonth = lastMod.getMonth() + 1;
 if (IsY2K){ //NS4+, IE5+
  theYear = lastMod.getFullYear();
 }else if (NoY2K){ //IE4 (inc. Mac)
  theYear= lastMod.getFullYear()+100;
 }else{ //Other browsers
  theYear="2002";
 }
return "Last updated: " + theDate + "/" + theMonth + "/" + theYear;
}

function copyright(){
 var copysym="&copy;"
 var dt=new Date();
 return copysym + " " + dt.getFullYear() + " Precision Art";
}

function doNothing(){
}

function writeStyles(){
 var cssfile;
 blnNS4 ? cssfile="ns_style.css" : blnNS6up ? cssfile="ns_style.css" : cssfile="ie_style.css";
 document.write('<LINK REL="stylesheet" HREF="../support/' + cssfile + '" TYPE="text/css">');
}
//-->