<!--
    preloadImages();

/* ===============================================================
 *    Created:  7/20/2008 (J. Lowe)
 *    Purpose:  To preload images.
 * Parameters:  None
 *    Changes:
 * ===============================================================
 */
function preloadImages(){
    var image1 = new Image();
	    image1.src="../_images/logo2.gif";
	
	var image2 = new Image();
	    image2.src="../_images/blue_bar1.jpg";
	    
	var image3 = new Image();
	    image3.src="http://e-giving.org/images/logo-small.jpg";    
	    
}
/* =======================================================================
 * Created: 6/23/2007 (J. Lowe) 
 * Purpose: The following function was added by Jerry Lowe so that the Church Directory could 
 *          be displayed on the Navigation menu.  The normal javascript function for opening 
 *          the church directory was not accessible by Netscape and Firefox browsers.
 *          Putting a similar function solved that issue.
 */
function openDirWindow(url,width,height,resizable,scrollbars,menubar,status,toolbar) 
{
	var MenuWin=null;
    var LeftPosition=(screen.width)?(screen.width-width-20):100;
    var TopPosition=20; 
    MenuWin = window.open(url,"displayMenuWindow",'width='+width+',height='+height+',resizable='+resizable+',scrollbars='+scrollbars+',menubar='+menubar+',status='+status+',toolbar='+toolbar+',location='+location+',top='+TopPosition+',left='+LeftPosition+'');
    MenuWin.focus();
 
}
function closeAndReturn(loc){
    
    var frm = document.forms[0];
        frm.target = "_top";
        frm.method = "POST";
        frm.action = loc;
        frm.submit();
        


}


-->