	if (document.images) {  // If the image object exists    
	      // Preload images
	    off = new Array(4)
	    on = new Array(4)
	    Glow = new Array(4)
	    Bar = new Array(4)
			    
	    on[1] = new Image();          
	    on[1].src = "images/Nav_Tab_Search.gif";
	    on[2] = new Image();          
	    on[2].src = "images/Nav_Tab_PlanPolicies.gif";
	    on[3] = new Image();          
	    on[3].src = "images/Nav_Tab_UsingSite.gif";
	    on[4] = new Image();          
	    on[4].src = "images/Nav_Tab_Comments.gif";
			    
	    Glow[1] = new Image();          
	    Glow[1].src = "images/Nav_Over_Search.gif";
	    Glow[2] = new Image();          
	    Glow[2].src = "images/Nav_Over_PlanPolicies.gif";
	    Glow[3] = new Image();          
	    Glow[3].src = "images/Nav_Over_UsingSite.gif";
	    Glow[4] = new Image();          
	    Glow[4].src = "images/Nav_Over_Comments.gif";

	    off[1] = new Image();          
	    off[1].src = "images/Nav_Off_Search.gif";
	    off[2] = new Image();         
	    off[2].src = "images/Nav_Off_PlanPolicies.gif";     
	    off[3] = new Image();         
	    off[3].src = "images/Nav_Off_UsingSite.gif";
	    off[4] = new Image();          
	    off[4].src = "images/Nav_Off_Comments.gif";
			    
	    Bar[1] = new Image();         
	    Bar[1].src = "images/Nav_Bar_Search.gif";    
	    Bar[2] = new Image();
	    Bar[2].src = "images/Nav_Bar_PlanPolicies.gif";     
	    Bar[3] = new Image();         
	    Bar[3].src = "images/Nav_Bar_UsingSite.gif";    
	    Bar[4] = new Image();         
	    Bar[4].src = "images/Nav_Bar_Comments.gif";    
	     } 

	function ChangeSource(NewPage, NewLocation)
	{
		//alert(NewPage);
		if (NewLocation == 'Bottom')
		{	
			var frm = window.parent.frames[1];
			//alert(frm.name);
			frm.location.href = NewPage;	
		}
		else if (NewLocation == 'TOP')
		{	
			var frm = window.parent;
			//alert(frm.name);
			frm.location.href = NewPage;	
		}
		else
		{
			//window.location.href = NewPage;	
		}	
	}

		function buttonOn(buttonName,num) {  
	        if (document.images) { // If the image object exists   
	          // Change images on the page          
	          document[buttonName].src = on[num].src;                    
	          document['Button1000'].src = Bar[num].src;
	        }
	    }

	    function buttonOff(buttonName,num) {  
	        if (document.images) { // If the image object exists           
				  // Change images on the page
				//if (document.frmBottom.ImageBtn.value == num)
				//{
			        
				//}
				//else
				//{             		  
					//alert(num);
					document[buttonName].src = off[num].src;
						  		
				//}
			}
	    }
			    
	    function GlowOn(buttonName,num) {  
	        if (document.images) { // If the image object exists   
	          // Change images on the page          
	          //if (document.frmBottom.ImageBtn.value == num)
			//	{
			        
			//	}
			//	else
			//	{             		  
					//alert(num);
					document[buttonName].src = Glow[num].src;
						  	
			//	}
			                             
	        }
	    }

	    function qOn(text,num) {
		window.status = text; 
		buttonOn("button"+num,num);  
	 	return true;
	    }
			    
	    function qGlow(text,num) {
		window.status = text; 
		GlowOn("button"+num,num);  
	 	return true;
	    }

	    function qOff(num) {  
		window.status = "";	
		buttonOff("button"+num,num);  	
	 	return true;
	    }
			    
	function ChangeImage(ImageId, ImageName, File)
	{  	
		//alert(File);
	    document.frmBottom.hidNextPage.value = File;	
		document.frmBottom.submit(); 
			    
			    
	}