//*******************************************************************************//
//This script is responsible for the color change of a TABLE cell when the mouse //
//pointer hovers over it.  This script is not viewable by any Netscape version to//
//date.  The call to this script is made in the cell of each table the color is  //
//desired to change.								 								 								 								 								 								 						 //
//*******************************************************************************//

var ie = document.all
var ns = document.layers
function inCell(cell, newcolor){
	if (ie){
		if (!cell.contains(event.fromElement)){
			cell.bgColor = newcolor;
		}
	}
}
function outCell(cell, newcolor){
	if (ie){
		if (!cell.contains(event.toElement)){
			cell.bgColor = newcolor;
		}
	}
}


//************************************************************************************//
// Cookie code used for storing the state of the expanding menu's. Cookie will expire //
// when the web site is exited.													 								 								 								 								      //
//************************************************************************************//

    function get_cookie(Name) {
        var search = Name + "="
        var returnvalue = "";
        if (document.cookie.length > 0) {
            offset = document.cookie.indexOf(search)
            // if cookie exists
            if (offset != -1) { 
                offset += search.length
                // set index of beginning of value
                end = document.cookie.indexOf(";", offset);
                // set index of end of cookie value
                if (end == -1) end = document.cookie.length;
                    returnvalue=unescape(document.cookie.substring(offset, end))
                }
        }
        return returnvalue;
    }