/*    EMERSON COLLEGE    (c) 2006	Performing Arts Admission*/function onload_call(page_id) {		// Don't forget to break;		switch(page_id) {				case "admin_slotroster":			// Start the perodic updater, but have it check for the activation field.				new PeriodicalExecuter(					function(pe) {						if ($F('auto_update') == 1) {							admin_slotroster_getSlots();						}					}, 45);							break;				case "general":						// Detect and launch onload				if ($F('onload_search_id_lastname') != "") {					appfile_getInformation($F('onload_search_id_lastname'));				}						break;					case "booking_list":			// Hide footer if using IE 6 or lower				if (BrowserDetect.browser == "Explorer" && BrowserDetect.version < 7) {					$('emerson_footer').style.display = "none";				}				break;						case "checkin":			// Detect and launch onload				if ($F('onload_search_id_lastname') != "") {					$('search_id_lastname').value = $F('onload_search_id_lastname');					getCheckin($F('search_id_lastname'));				}			break;					case "checkout":			// Detect and launch onload				if ($F('onload_search_id_lastname') != "") {					$('search_id_lastname').value = $F('onload_search_id_lastname');					getCheckout($F('search_id_lastname'));				}			break;					case "essay":			// Initializes the "pulsate" effect for the Essay preview help box			essay_previewAlert();			break;					case "evaluation":			// Detect and launch onload				if ($F('onload_search_id_lastname') != "") {					$('search_id_lastname').value = $F('onload_search_id_lastname');					// If there's only one type, launch it.					if ($('eval_search_typeSelect').options.length == 1) {						eval_getForm($F('search_id_lastname'),$F('eval_search_typeSelect'));					}				}				break;						case "resume":			// Initializes the "pulsate" effect for the Essay preview help box			resume_previewAlert();			break;					case "portfolio":			// Activate flash				exportCoverLetter();			break;				default:					// Nothing goes here			break;	}	}