scripts/menu.js
/**
 * Potentially show a Sub Menu for entering Custom Information
 * @param {Object} ddl A HTML Drop-Down List to check the selected value of
 * @param {Object} subMenu A jQuery encapsulated HTML div tag. Contains the Sub Menu
 *				   content to potentially be displayed
 * @param {String} sectionVal The value the Drop-Down List should match against if the
 *				   Sub Menu is to be displayed
 */
Potentially show a Sub Menu for entering Custom Information
@param {Object} ddl A HTML Drop-Down List to check the selected value of
@param {Object} subMenu A jQuery encapsulated HTML div tag. Contains the Sub Menu
content to potentially be displayed
@param {String} sectionVal The value the Drop-Down List should match against if the
Sub Menu is to be displayed
Potentially show a Sub Menu for entering Custom Information @param { Object } ddl A HTML Drop - Down List to check the selected value of @param { Object } subMenu A jQuery encapsulated HTML div tag . Contains the Sub Menu content to potentially be displayed @param { String } sectionVal The value the Drop - Down List should match against if the Sub Menu is to be displayed
function showSectionSubMenu(ddl, subMenu, sectionVal) {
	if($(ddl).val() == sectionVal)
		$(subMenu).slideDown("fast");
	else
		$(subMenu).slideUp("fast");
}
function showSectionSubMenu ( ddl , subMenu , sectionVal ) { if ( $ ( ddl ) . val ( ) == sectionVal ) $ ( subMenu ) . slideDown ( "fast" ) ; else $ ( subMenu ) . slideUp ( "fast" ) ; }
Potentially show a Sub Menu for entering Custom Information
 @param {Object} ddl A HTML Drop-Down List to check the selected value of
 @param {Object} subMenu A jQuery encapsulated HTML div tag.
Potentially show a Sub Menu for entering Custom Information @param { Object } ddl A HTML Drop - Down List to check the selected value of @param { Object } subMenu A jQuery encapsulated HTML div tag .
//If the section is visible, slide it up. If it's not visible though this won't do anything