<!--
/*
var	arrOff, arrOn, arrNames;		//arrays for images and image names
var bOkay;

bOkay= document.images;				//images OK?
arrOff = new Array();
arrOn = new Array();
arrNames = new Array();

function preloadImages(){					//Called in the Onload event of the body tag

	var iSlashIndex, iLastIndex;		//integers and indices
	var strName, strImagePath;			//image name and path
	var iCount, i, j;					
	
	if (bOkay) {
		iCount = document.images.length;
		j = 0;
		for (i=0; i<iCount; i++) {
			strName = document.images[i].name;
			if (strName != "")	{		//Add any exceptions here. NB need names of multiple rollovers (cannot handle these) 
										// 			eg (strName != "" && strName != image1 && ...)
										//Also - .gif rollovers only! (could easily be altered)
				
				arrOff[j] = new Image();
				arrOn[j] = new Image();
				arrNames[j] = new String();
	
				arrNames[j] = strName;							//the image name is stored (name=filename)
				strImagePath = document.images[i].src;			
				arrOff[j].src = strImagePath;					//the off image is the image itself
				strImagePath = strImagePath.substring(0, strImagePath.length-4);
				
				//determines if image is on button then do not store rollover image else store
				if (strImagePath.search("nav") > 0)	{
					arrOn[j].src = strImagePath + "_on.gif";		//the on image
					}
				j++;
				 
			}
		}	
	}
}

function imageOn(strName) {
	if (document.images[strName].src.search("_on.gif") != -1) return //if button is on button
	var i;
  if (bOkay) {
	  for (i=0; i<arrNames.length; i++) {
			if (strName == arrNames[i]) {
				document.images[strName].src = arrOn[i].src;
	    }
	  }
  }

}

function imageOff(strName) {
	var i;
  if (bOkay) {
	  for (i=0; i<arrNames.length; i++) {
	    if (strName == arrNames[i]) {
			  document.images[strName].src = arrOff[i].src;					
	    }
	  }
  }
	
}
*/


	
var isDHTML=0;
var isLayers=0;
var isAll=0;
var isID=0;
 
if (document.getElementById){
	isID=1;
	isDHTML=1;
}else if (document.all){
	isAll=1;
	isDHTML=1;
}else{
	browserVersion=parseInt(navigator.appVersion);
    if((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)){
		isLayers=1;
		isDHTML=1;
	}
}

function findDOM(objectID) {
	if (isID){
		return (document.getElementById(objectID));
	}else if (isAll){
		return (document.all[objectID]);
	}else if (isLayers){
		return (document.layers[objectID]);
	}
}

function changeimage(sMainImageRef,sImageSrc){
	var sImageDirRoot="/images/";
	var oRef="";
	
	oRef=findDOM(sMainImageRef);
	oRef.src=sImageDirRoot + sImageSrc;
}
	
function openWindow(contentURL,windowName,windowWidth,windowHeight){
	param = "toolbars=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width="+windowWidth+",height="+windowHeight+""
	newWindow = window.open(contentURL,windowName,param);
	newWindow.focus()
}

//-->
