<!--
/* Browser Detection
*  by Peter Belesis. v4.1.1 011002
*  Copyright (c) 2001 Peter Belesis. All Rights Reserved.
*/

HM_DOM = (document.getElementById) ? true : false;
HM_NS4 = (document.layers) ? true : false;
HM_IE = (document.all) ? true : false;
HM_IE4 = HM_IE && !HM_DOM;
HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
HM_IE4M = HM_IE4 && HM_Mac;
HM_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
HM_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

HM_IsMenu = !HM_Opera && !HM_Konqueror && !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4);

HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";


/*Date and copyright functions
* Copyright (c) 2002 BGC Limited
*/

IsY2K = (HM_DOM || HM_NS4);
NoY2K = (HM_IE4 || HM_IE4M);

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() + " BGC (Australia) Pty Ltd";
}

function doNothing(){
}

function writeStyles(){
 var cssfile;
 HM_NS4 ? cssfile="ns_style.css" : cssfile="ie_style.css";
 document.write('<LINK REL="stylesheet" HREF="../support/' + cssfile + '" TYPE="text/css">');
}
//-->