//  THIS FILE CONTAINS THE FOLLOWING FUNCTIONS:

//

var ext = ".gif";

//  ROLL OVER IMAGE FUNCTION
function imageOver(imageName){
	document.images[imageName].src = imageDir + imageName + "_ov" + ext;
}

//  ROLL OFF IMAGE FUNCTION
function imageOff(imageName){
	if(imageName != curImg){
		document.images[imageName].src = imageDir + imageName + ext;
	}
}


var curImg = "";

//  CURRENT PAGE IMAGE FUNCTION
function curImgOn(imageName){
	curImg = imageName;
	imageOver(curImg);
}


var extjpg = ".jpg";

//  ROLL OVER IMAGE FUNCTION JPGS
function imageOverjpg(imageName){
	document.images[imageName].src = imageDir + imageName + "_ov" + extjpg;
}

//  ROLL OFF IMAGE FUNCTION JPGS
function imageOffjpg(imageName){
	document.images[imageName].src = imageDir + imageName + extjpg;
}


//  POP UP WINDOW FUNCTION
function windowOpener(what_url,winheight,winwidth) {
	options="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+winwidth+",height="+winheight;

	popwin = window.open(what_url,'pop_win',options);
	popwin.focus();
}

function windowOpener2(what_url,winheight,winwidth) {
	options="toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+winwidth+",height="+winheight;

	popwin = window.open(what_url,'pop_win',options);
	popwin.focus();
}


//  Open URL in main window and close pop up
function loadParentUrl(url) {
	window.opener.document.location = url;
	window.close();
}



//	Write out the date
function writeDate(){
	var today = new Date();
	var monthArray = new Array();
	monthArray[0] = "01";
	monthArray[1] = "02";
	monthArray[2] = "03";
	monthArray[3] = "04";
	monthArray[4] = "05";
	monthArray[5] = "06";
	monthArray[6] = "07";
	monthArray[7] = "08";
	monthArray[8] = "09";
	monthArray[9] = "10";
	monthArray[10] = "11";
	monthArray[11] = "12";


	document.write(" " +  today.getDate() + "."
+ monthArray[today.getMonth()] + "." + today.getYear());
}






//  DROP DOWN MENU FUNCTION
function dropdown(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function dropdownnewpage()
{
  pos=window.document.forms[0].menulist.selectedIndex;
  newpage=window.document.forms[0].menulist.options[pos].value; 
   
  if(newpage!= "")
  {
     window.open(newpage); 
  }
}

















<!--
// copyright 1999-2001 Idocs, Inc. http://www.idocs.com/tags/
// Distribute this script freely, but keep this 
// notice with the code.
var submitRolls = new Object();

function submitroll(src, oversrc, name)
{
this.src=src;
this.oversrc=oversrc;
this.name=name;
this.alt="Submit Query";
this.write=submitroll_write;
//alert(submitroll_write);
}

function submitroll_write()
{
var thisform = 'document.forms[' + (document.forms.length - 1) + ']';
submitRolls[this.name] = new Object();
submitRolls[this.name].over = new Image();
submitRolls[this.name].over.src = this.oversrc;
submitRolls[this.name].out = new Image();
submitRolls[this.name].out.src = this.src;


//alert(thisform)
document.write
	(
	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].over.src"' + 
	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].out.src"' + 
	' HREF="javascript:'
	);
	
if (this.sendfield)
	{
	if (! this.sendvalue)
		this.sendvalue = 1;
	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");
	}

document.write(thisform + '.submit();void(0);"');
if (this.formAction)document.write(' onClick="'+ this.formAction +'" ');
document.write('>');

document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH='  + this.width);
if (this.otheratts)document.write(' ' + this.otheratts);
document.write('></A>');
if (this.sendfield)
	{
	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');
	document.forms[document.forms.length - 1].elements[this.sendfield].value='';
	}
}

//-->


