	var isLoaded = false;		// Preload flag
	var arImages = new Array();

	//Usage
	//body onLoad=preLoadImages("comm_mgmt.gif", "config_mgmt.gif", "cost_mgmt.gif", "docu_mgmt.gif", "issu_mgmt.gif", "it_mgmt.gif", "materl_mgmt.gif", "planning.gif", "qualty_mgmt.gif", "requir_mgmt.gif", "risk_mgmt.gif", "vendor_select.gif");

	
	// This function pre-loads the how-we-work images
    function preLoadImages() {   		
 		
 		// Check browser capabilities
 		if(document.images) {
 		 			 			
 			// Create the array to hold the images
 			arImages = new Array(preLoadImages.arguments.length);
 			
 			// Load each image in the list
			for(iCount = 0; iCount < preLoadImages.arguments.length; iCount++)
			{
				arImages[iCount] = new Image();
				arImages[iCount].src = preLoadImages.arguments[iCount];
					
			}

			isLoaded = true;
			
        }	
                
	}
	
	function swapImage(imageName, swapURL) {
				
		//try{
			document.images[imageName].src = swapURL;
			//theImage.src = swapURL;
		//}
		//catch(e) {
		//	alert('error on swap: ' + e);
		//}
	}
	
	function setStatus(text) {
		window.status = 'test' + text;
	}
	
	
