/* ----------------------------------------------------------------------------
	File Name:	switchSchedules.js

	Copyright:	(c) 2004-2005, Super Spuds Fun and Michael P. Webb
	Author(s):	MPW = Michael P. Webb

	Description:
		This code will be used to change the schedule being looked at.

	Revision History:

	Date		Aut	Vers	Modifications
	~~~~~~~~~~	~~~	~~~~	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	04/27/2004	MPW	1.00	Original version.
	05/09/2005	MPW	1.01	Updated file extension.

---------------------------------------------------------------------------- */

//-----------------------------------------------
//	CONSTANTS
//-----------------------------------------------

//-----------------------------------------------
//	GLOBALS
//-----------------------------------------------

//-----------------------------------------------
//	MEMBER VARIABLES
//-----------------------------------------------

//-----------------------------------------------
//
//	ALPHABETIZED FUNCTION CALLS FOLLOW
//
//-----------------------------------------------

/* ==========================================================================
	Function Name:	ChangePageToScheduleSelected

	Input:			inMenu		= required - menu object; the menu containing
									the different choices
	Output:			none
	Created:		04/27/2004 - MPW
	Last Modified:	05/09/2005 - MPW
	Description:
		This function will change the page to the selected schedule.

========================================================================== */
function ChangePageToScheduleSelected( inMenu )
{	
	var theSelectedItem					= inMenu.selectedIndex;
	var theSelectedAbbr					= inMenu.options[theSelectedItem].value;

	document.location					= theSelectedAbbr + ".html";

	return;
}


