function ConversionCount(){_uacct = 'UA-9812213-1';urchinTracker("/1570409787/goal");return true;}//===========================================================// InitializeRecordIndexNav//===========================================================function InitializeRecordIndexNav( ) {	try {		$( "div.ViewNavItemSelected,div.ViewNavItem" ).attr( "class", "level_4" );		$( "A.ViewNavItemSelected" ).attr( "class", "OPENED" );		$( "A.ViewNavItem" ).attr( "class", "CLOSED" );		}	catch (error) {		alert( "InitializeRecordIndexNav: " + error.description  );		}	}//===========================================================// InitializeSearch//===========================================================function InitializeSearch( ) {	try {		$( "A:contains('Search Results')" ).parent().css( "display", document.location.search.indexOf("view=SearchResults") == -1 ? "none" : "");		$( "FORM.SearchRecordsForm" ).each( function() {			this.action = this.action.replace( /view=[a-z]+/i, "view=SearchResults" );			} );		}	catch (error) {		alert( "InitializeSearch: " + error.description  );		}	}//===========================================================// InitializeEducationCalendar//===========================================================function InitializeEducationCalendar( ) {	try {		InitializeRecordIndexNav();		InitializeSearch();		if ($("Form[name='SitePressForm']").length > 0) InitializeEditor(); 		}	catch (error) {		alert( "InitializeEducationCalendar: " + error.description  );		}	}//===========================================================// InitializeEditor//===========================================================function InitializeEditor( ) {	try {		$( "SELECT[name='Category']" ).change( UpdateEventDetails );		$( "SELECT[name='EventType']" ).change( UpdateEventType );		UpdateEventType();				UpdateEventDetails();		}	catch (error) {		alert( "InitializeEditor: " + error.description  );		}	}//===========================================================// UpdateEventType//===========================================================function UpdateEventType( ) {	try {		var eventType = $( "SELECT[name='EventType']" ).val();		$( "div[id^='EventType_']" ).hide();		$( "div[id='EventType_" + eventType + "']" ).show();		var currentHTML = $( "#EventDate_label" ).html();		currentHTML = currentHTML.replace( /Event Dates?:/g, eventType == "one" ? "Event Date:" :  "Event Dates:" );		$( "#EventDate_label" ).html(currentHTML);		}	catch (error) {		alert( "UpdateEventType: " + error.description  );		}	}//===========================================================// UpdateEventDetails//===========================================================function UpdateEventDetails( ) {	try {		var category = $("SELECT[name='Category']").val();		$("#NONTHAEventDetails").css( "display", category == "NONTHA" ? "" : "none" );		$("#THAEventDetails").css( "display", !category || category == "NONTHA" ? "none" : "" );		}	catch (error) {		alert( "UpdateEventDetails: " + error.description  );		}	}$(InitializeEducationCalendar);