// JavaScript Document

// JQuery functions run when the DOM is ready
$(document).ready(function(){
	
	
	

	jQuery('#courseList').Accordion({ 
		active: false, 
		header: '.head', 
		alwaysOpen: false,
		navigation: false, 
		event: 'mouseup', 
		autoheight: false, 
		animated: false 
	}); // Eof nested list accordion
	
	$.fn.search = function() {
		return this.focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
	};
	$("#searchTerm").search();
	
	
	



});
