function cellChange(cellName,color){
         document.all[cellName].style.backgroundColor = color;
    }								 
function cellRestore(cellName,color) {			
	     document.all[cellName].style.backgroundColor = color;
    } 									
function setCell(cellName,color){
	     document.all[cellName].style.backgroundColor = color;
	}
function openWin( windowURL, windowName, windowFeatures){ 
    return window.open( windowURL, windowName, windowFeatures ) ; 
	}
function resetList2(FormName){	
	document.forms[FormName].submit();
	document.forms[FormName].CatID.selectedIndex = [0];		
	};
function uploadMessage(){	
	document.all['MessageBox'].style.visibility = 'visible' ;	
	};	
function switchBrowseMode(FormName){	
	document.forms[FormName].submit();
	document.forms[FormName].Browse.selectedIndex = [0];		
	};	
function jumpTo(FormName){	
	document.forms[FormName].submit();		
	};	
	
if (document.images) {            // Active Images
            img1on = new Image();      
            img1on.src = 'http://www.4x4cb.com/images/templates/topbtn1_on.gif';			
			img1off = new Image();      
            img1off.src = 'http://www.4x4cb.com/images/templates/topbtn1_off.gif';

            img2on = new Image();      
            img2on.src = "http://www.4x4cb.com/images/templates/topbtn2_on.gif";
			img2off = new Image();      
            img2off.src = "http://www.4x4cb.com/images/templates/topbtn2_off.gif";
			
			img3on = new Image();      
            img3on.src = "http://www.4x4cb.com/images/templates/topbtn3b_on.gif";
			img3off = new Image();      
            img3off.src = "http://www.4x4cb.com/images/templates/topbtn3b_off.gif";
			         }

// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}			
