 <!-- 
/*
-------------------------------------------------------------------------
File Name: utility_lib.js
Company: pH2 Enterprises
Author: Phillip J. Henslee II <ph2@ph2enterprises.com> ©2002
Purpose: utility functions
Functions: 1
Date Created: January 15, 2002
Last Modified: January 27, 2002
Dependent Files: config.js
File Status: Optional
------------------------------------------------------------------------
*/

/* 
------------------------------------------------------------------------
Function: loadURL
Purpose: load URL in browser curent window or target window
Arguments: 1
Arg 0: thePage - Name of the file to open
------------------------------------------------------------------------
*/  

function loadURL(){

	var args, tempStr, strURL, strPos, myLen, myStr;
	args = loadURL.arguments;
	tempStr = args[0]
	strPos = tempStr.indexOf(",");
	myLen = tempStr.length;
	
	if (strPos != -1){
		strURL = tempStr.slice(0,strPos)
		myStr =  tempStr.slice(strPos +1 , myLen)
	 }
	 else
	 {
		strURL = tempStr
		myStr  = 'self';
	 }
	
	if ( myStr != -1){
	
		if (myStr == "NEWWINDOW"){
		
	        window.open(strURL);
	        	
	    }else{
	      	
	      	window.parent[myStr].location.href=strURL;
	    }
	 }    	
}

/* 
------------------------------------------------------------------------
Function: goMenu(theMenu)
Purpose: loads selected URL from select menu
Arguments: 1
Arg 0: theMenu  the name of the select menu (this)
------------------------------------------------------------------------
*/ function goMenu(theMenu){

	var strURL = theMenu.options[theMenu.selectedIndex].value
	if (strURL != 'null'){
	loadURL(strURL);
	}
	
}


function msover(img,ref){
	
		document.images[img].src = ref;
	
}

function msout(img,ref){
	
		document.images[img].src = ref;
	
}

// -->










// -->










