
<!-- Begin

// GENERAL LIBRARY OF JAVASCRIPT ROUTINES

var disable = false;

// BROWSER DEFINE

var nn4 = (document.layers ? true : false);
var nn6 = (document.getElementById && !document.all ? true : false);
var ie = (document.all ? true : false);
var ie4 = (document.all && !document.getElementById ? true : false);
var ie5 = (document.all && document.getElementById ? true : false);
var nn = (nn4 || nn6);

var browser = "other";
if (ie) { browser = "IE" }
if (nn) { browser = "NN" }
var browserok = (ie5 || nn6 ? true : false);

// NO RIGHT MOUSE CLICK 

var norightmessage="That function has been disabled.";

function click(e) {

if (ie)  {
if (event.button == 2) {
alert(norightmessage);
return false;
}}

if (nn) {
if (e.which==2||e.which==3) {
alert(norightmessage);
return false;
}}

}

if (nn) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=click; }
else {
document.onmouseup=click;
document.oncontextmenu=click; }
document.oncontextmenu=new Function("return false");

// NO TEXT SELECT

function disableselect(e){
return false
}

function reEnable(){
return true
}

if (ie) {document.onselectstart=new Function ("return false")}
if (disable) {
 document.onmousedown=disableselect;
 document.onclick=reEnable;
}


// TODAYS DATE

var todayIs=new Date();
var yearIs=todayIs.getFullYear();
var monthIs=todayIs.getMonth();
var dayNum=todayIs.getDate();
var montharray=new Array("Jan.","Feb.","Mar.","Apr.","May","June","July","Aug.","Sep.","Oct.","Nov.","Dec.");
var todaydate = montharray[monthIs] + " " + dayNum + ", " + yearIs;

function dater() {

 document.writeln(todaydate);

}

// LAST FILE UPDATE

var weekdays = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var dateObj = new Date(document.lastModified);
var wday = weekdays[dateObj.getDay()];
var lmonth = montharray[dateObj.getMonth()];
var fdate = dateObj.getDate();
var fyear = dateObj.getYear();
if (fyear < 2000) { fyear = fyear + 1900 }
var filedate = wday + ", " + lmonth + " " + fdate + ", " + fyear;


// FOOTER

function footer() {

 document.writeln('<center><font face="arial,verdana" size=1 color="#4080ff">Avatar Engineering Corporation &copy;' + yearIs + '<br>');
 document.writeln('<i>Last update '+ filedate +'</i><br>');
 document.writeln('Best viewed with 800 X 600 resolution or higher<br>');
 document.writeln('Compatible with NN 6 / IE 5 or higher, ' + browser + ' detected.<br>');
 document.writeln('</font><center>');

}

// COMPATIBLE

function compatible() {

if (!browserok){
 document.writeln('<font color="#FF0000">BAD FUNCTION Your Browser is NOT compatible');
}
}

// POPLINKS

var win=null;
function linx(mypage){
var scroll = "yes";
var pagename = "linked";
var w = 640;
var h = 480;
var pos = "center";

if(pos=="random"){
LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
}
if(pos=="center"){
LeftPosition=(screen.width)?(screen.width-w)/2:100;
TopPosition=(screen.height)?(screen.height-h)/2:100;
}
else if((pos!="center" && pos!="random") || pos==null){
LeftPosition=0;
TopPosition=20;
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=yes,menubar=no,toolbar=yes,resizable=yes';
win=window.open(mypage,pagename,settings);
}

	var isIE4 = false;
	function CheckBrowser() 
	{ if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.charAt(0) >= 4) { isIE4 = true; }}
 	function mOvr(src,clrOver)
	{ if (!src.contains(event.fromElement)) { src.style.cursor = 'hand'; src.bgColor = clrOver; src.children.tags('A')[0].style.color = '#000000';}}
 	function mOut(src,clrIn) 
	{ if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn;  src.children.tags('A')[0].style.color = '#FFFFFF';}}
 	function mClk(src) 
	{ if(event.srcElement.tagName=='TD'){src.children.tags('A')[0].click();} }
 	function mOvrTop(src,clrOver)
	{ if (!src.contains(event.fromElement)) { src.style.cursor = 'hand'; src.bgColor = clrOver;}}
 	function mOutTop(src,clrIn) 
	{ if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn;}}
      browserName = navigator.appName;
     browserVer = parseInt(navigator.appVersion);
             if ((browserName == "Netscape" && browserVer >= 3) || (browserName == "Microsoft Internet Explorer" && browserVer >= 4)) version = "n3";
             else version = "n2";
              
     function img_act(imgName) {
             if (version == "n3") {
             imgOn = eval(imgName + "on.src");
             document [imgName].src = imgOn;
             }
     }
      function img_inact(imgName) {
             if (version == "n3") {
             imgOff = eval(imgName + "off.src");
             document [imgName].src = imgOff;
             }
     }



// End -->



