if (document.images) {
	var aniButtonSel_1 = new Image(220,25);
	aniButtonSel_1.src = "images/nav_home_sel.gif"; 

	var aniButtonOff_1 = new Image(220,25);
	aniButtonOff_1.src = "images/nav_home_off.gif"; 
	
	var aniButtonOn_1 =  new Image(220,25);
	aniButtonOn_1.src = "images/nav_home_over.gif";
	
	var aniButtonSel_2 = new Image(220,25);
	aniButtonSel_2.src = "images/nav_products_sel.gif"; 
	
	var aniButtonOff_2 = new Image(220,25);
	aniButtonOff_2.src = "images/nav_products_off.gif"; 
	
	var aniButtonOn_2 =  new Image(220,25);
	aniButtonOn_2.src = "images/nav_products_over.gif";
	
	var aniButtonSel_3 = new Image(220,25);
	aniButtonSel_3.src = "images/nav_te_sel.gif"; 
	
	var aniButtonOff_3 = new Image(220,25);
	aniButtonOff_3.src = "images/nav_te_off.gif"; 
	
	var aniButtonOn_3 =  new Image(220,25);
	aniButtonOn_3.src = "images/nav_te_over.gif";
	
	var aniButtonSel_4 = new Image(220,25);
	aniButtonSel_4.src = "images/nav_about_sel.gif"; 
	
	var aniButtonOff_4 = new Image(220,25);
	aniButtonOff_4.src = "images/nav_about_off.gif"; 
	
	var aniButtonOn_4 =  new Image(220,25);
	aniButtonOn_4.src = "images/nav_about_over.gif";
	
	var aniButtonSel_5 = new Image(220,25);
	aniButtonSel_5.src = "images/nav_contact_sel.gif"; 
	
	var aniButtonOff_5 = new Image(220,25);
	aniButtonOff_5.src = "images/nav_contact_off.gif"; 
	
	var aniButtonOn_5 =  new Image(220,25);
	aniButtonOn_5.src = "images/nav_contact_over.gif";
}

function showButton(placeholder, imageObject){ 
	if (document.images){
		document.images[placeholder].src = eval( imageObject + ".src" )
	}
}


//DD added below

	function newImage(arg) {
		if (document.images) {
			rslt = new Image();
			rslt.src = arg;
			return rslt;
		}
	}

	   function MOut(imgName,bSel) {
	   try {
		 //alert('within MOut');
		   var ImgEnd='';
		   if (bSel==true) {
				ImgEnd= "_sel.gif";

		   }
		   else {
				ImgEnd= "_off.gif";
		   }
		   document.images[imgName].src = "Images/" + imgName + ImgEnd;
			//alert('within MOut:'+document.images[imgName].src);
	    }
	    catch (e) {
	    //alert('err:' + e.message);
	    }
	   }

	   function MOver(imgName) {
	   try {
			//alert('within MOver');
	         document.images[imgName].src = "Images/" + imgName + "_over.gif";
	         //alert('within MOver:'+document.images[imgName].src);
	    }
	    catch (e) {}
	   }
	   
	function NavSel(url)
	{
			document.location.href = url
	}
	
	function AddRequest(RQSItem, url)
	{
	var reqstr;
		try {
	//Pass in request query string item to add on
		if (url==null||url=='')
		{
		 url = document.location.href
		}
		
		if ((url.indexOf("?") !=-1)) {
			reqstr = url.substring(url.indexOf("?"));
			url = url.substring(0, url.indexOf("?"));
		} 
		else {
			reqstr='';
		}
		
		//alert ('reqstr=' + reqstr);
		//alert('url=' + url);
		
		//just clear out # page refs for now
		if ((url.indexOf("#") !=-1)) {
			url = url.substring(0,url.indexOf("#"));
		}
		url += reqstr

		//make sure it doesn't already exist in the request string
		if (url.indexOf(RQSItem) == -1)
		{

			
			if ((url.indexOf("?") != -1)) {
				url += '&' + RQSItem;
			}
			else {
				url += '?' + RQSItem;
			}
		}
		//alert('Returing url:' + url);
		return url;
		}
	    catch (e) {
				alert('Failed to properly AddRequest.  ' + e.message);
	    }
	}
	
	function PDecimalNumber(Place) {
	//Limits the number of decimal places to the input number Place; 0 will stop entry of "." 
	var c = window.event.keyCode;
	var txt = window.event.srcElement.getAttribute("Value");
	var len = txt.length;
		//alert('current text=' + txt);
		//alert('adding?' +c);
		return false;
		if ((c < 48) || (c>57)) {
			//allow entry of . or - only once and if allowable
			if (((c == 46) && (txt.indexOf(".") == -1) && (Place > 0)) || ((c == 45) && (txt.indexOf("-") == -1))) {	
				return true;	
			}
			else
			{	
				return false;
			}
		}	
		else{
			//assumes entry in logical order!
			if (((len - txt.indexOf(".")) > Place) && (txt.indexOf(".") != -1)) {
				return false;
			}
		}
	}
