     	var myimages=new Array()
	preloadimages();

/*********************************************************************************************
*	FUNCTION:	preloadimages
*	PURPOSE:	This will preload all of the images that will be used by the page.
*	INPUTS:		None
*	RETURN:		None
*********************************************************************************************/
	function preloadimages(){
		for (var i=0;i<preloadimages.arguments.length;i++){
			myimages[i]=new Image()
			myimages[i].src=preloadimages.arguments[i]
		}
	}

//menus;  used on all pages except homepage - item is set on page and 
//changes div class to whatever is specified here
var IE=false;
//document.writeln(window.navigator.appName+'\n');
//document.writeln(window.navigator.appVersion);


/*********************************************************************************************
*	FUNCTION:	menuH
*	PURPOSE:	This will show that the home tab is selected.
*	INPUTS:		String
*	RETURN:		None
*********************************************************************************************/
	function menuH(item1){
		if (!document.layers)
			document.getElementById(item1).className = 'lowActive'; 
	}

/*********************************************************************************************
*	FUNCTION:	menu
*	PURPOSE:	This will show what tab is selected and what item is active.
*	INPUTS:		String, String, String
*	RETURN:		None
*********************************************************************************************/
	function menu(item1, item2, item3){
		if (!document.layers) {
			if (document.getElementById) {
				document.getElementById(item1).className = 'subActive menuText'; 
				document.getElementById(item2).className = 'lowActive'; 
				document.getElementById(item3).className = 'show menuMarker'; 
			}
		}
	}

/*********************************************************************************************
*	FUNCTION:	menu4
*	PURPOSE:	This will show what tab is selected and what item is active.
*	INPUTS:		String, String, String, String
*	RETURN:		None
*********************************************************************************************/
	function menu4(item1, item2, item3, item4){
		if (!document.layers) {
			document.getElementById(item1).className = 'subActive menuText'; 
			document.getElementById(item2).className = 'subActive menuText'; 
			document.getElementById(item3).className = 'lowActive'; 
			document.getElementById(item4).className = 'show menuMarker'; 
		}
	}

/*********************************************************************************************
*	FUNCTION:	mx
*	PURPOSE:	This will create an email address from the inputs.
*	INPUTS:		String, String
*	RETURN:		None
*********************************************************************************************/
	function mx(username, domain){
 		location.href = "mailto:" + username + "@" + domain;
	}	

/*********************************************************************************************
*	FUNCTION:	mailto
*	PURPOSE:	This will create an email address from the inputs.
*	INPUTS:		String, String
*	RETURN:		None
*********************************************************************************************/
	function mailto(username, domain){
 		location.href = "mailto:" + username + "@" + domain;
	}	


/*********************************************************************************************
*	FUNCTION:	mxb
*	PURPOSE:	This will create an email address and a bcc from the inputs.
*	INPUTS:		String, String, String, String
*	RETURN:		None
*********************************************************************************************/
	function mxb(username, domain, bccUser, bccDomain){
 		location.href = "mailto:" + username + "@" + domain + "?bcc=" + bccUser + "@" + bccDomain;
	}

/*********************************************************************************************
*	FUNCTION:	mailtobcc
*	PURPOSE:	This will create an email address and a bcc from the inputs.
*	INPUTS:		String, String
*	RETURN:		None
*********************************************************************************************/
	function mailtobcc(username, domain, bccUser, bccDomain){
 		location.href = "mailto:" + username + "@" + domain + "?bcc=" + bccUser + "@" + bccDomain;
	}

/****************************************************************************************
*	FUNCTION:	printClick
*	PURPOSE:	
*	INPUTS:		None
*	RETURN:		None
****************************************************************************************/
	function printClick() {
		changeThis('x', 'hidden');
		changeThis('print', 'hidden');
		window.print();
	}

/****************************************************************************************
*	FUNCTION:	changeThis
*	PURPOSE:	
*	INPUTS:		None
*	RETURN:		None
****************************************************************************************/
	function changeThis(id, visibility) {
		var x;
		for (var i=0; i<total; i++) {
			x=id+i;
			img=document.getElementById(x).style;
			img.visibility=visibility;
		}
	}

/****************************************************************************************
*	FUNCTION:	afterPrint
*	PURPOSE:	
*	INPUTS:		None
*	RETURN:		None
****************************************************************************************/	
	function afterPrint() {
		changeThis('x', 'visible');
		changeThis('print', 'visible');
	}

     <!--
var message="Copying image is not allowed.";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->