<!--
    var curNav = 0;
    var curBacknav = 0;

    //  Set the current nav and backnav images
    function setNav( navValue ){
	curNav = navValue;
    }
    function setBacknav( navValue ){
	curBacknav = navValue;
    }

    // Initialize nav images
    function navInit(){
	navSwap('','nav', curNav);
	navSwap('backnavDiv', 'backnav', curBacknav);
    }

    //  Preload nav images
    function navPreload (imgName) {
	if( document.images ){
	    eval( imgName + ' = new Image()' )
	    eval( imgName + '.src = "/images/' + imgName + '.gif"' )
	}
    }

    // Preload the nav graphic, backnav graphic, and clear graphic
    navPreload("nav_button");
    navPreload("back_arrow");
    navPreload("onepx");

    //  Swap Images function
    //  layerID: parent layer
    //  imgName: image name (nav or backnav)
    //  imgNumber: image number (0,1,2...) - e.g. the button to swap
    //
    //  Note: in all cases, we must test for layer and/or image existence.  We want the "navInit()"
    //  call to be generic in the body tag for ALL pages, but there are cases where there will not
    //  be a main nav, and/or a backnav.  If we test for their existence, the one call to "navInit()"
    //  can be univerally used to initialize the navition routines.
    // 
    function navSwap( layerID, imgName, imgNumber ) {
	var imgNameOld, imgNameNew, imgObj;
	if( imgName == "nav" ){
	    imgObj = "nav_button";
	    imgNameOld = "nav" + curNav;
	    imgNameNew = "nav" + imgNumber;
	    curNav = imgNumber;
	} else {
	    imgObj = "back_arrow";
	    imgNameOld = "backnav" + curBacknav;
	    imgNameNew = "backnav" + imgNumber;
	    curBacknav = imgNumber;
	}
	if( document.layers ){
	    if( layerID=="" ){
		if( eval( 'document.images["' + imgNameOld + '"]' ) != null ){
		    eval( 'document.images["' + imgNameOld + '"].src = onepx.src' );
		}
		if( eval( 'document.images["' + imgNameNew + '"]' ) != null ){
		    eval( 'document.images["' + imgNameNew + '"].src = ' + imgObj + '.src' );
		}
	    } else {
		if( eval( 'document.' + layerID ) != null ){
		    if( eval( 'document.' + layerID + '.document.images["' + imgNameOld + '"]') != null ){
			eval( 'document.' + layerID + '.document.images["' + imgNameOld + '"].src = onepx.src' );
		    }
		    if( eval( 'document.' + layerID + '.document.images["' + imgNameNew + '"]') != null ){
			eval( 'document.' + layerID + '.document.images["' + imgNameNew + '"].src = ' + imgObj + '.src' );
		    }
		}
	    }
	}
	else {
	    if( document.images[imgNameOld] != null ){
		document.images[imgNameOld].src = eval("onepx.src");
	    }
	    if( document.images[imgNameNew] != null ){
		document.images[imgNameNew].src = eval(imgObj + ".src");
	    }
	}
    }

    //--------------------------------------------------------------------------------------------------//
    //  Open a pop-up window.    This is a miminalist window, only the dimensions can be set.
    //--------------------------------------------------------------------------------------------------//
    function samPopUp( URL, w, h ){
	var newWin = window.open( URL, "newWin", "width=" + w + ",height=" + h + "location=0,menubar=0,resizeable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,hotkeys=0,left=40,top=40,screenx=40,screeny=40");
    }
//-->

