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

	Define the information for a single menu item (both main bar and sub-menu).
	Each menu item has an associated filename, title, and description.
	The title and description are translated, but not the filename.

*/

function MenuItem(strFilename, strTitle, strDescription)
{
	this.strFilename = strFilename;
	this.strTitle = strTitle;
	this.strDescription = strDescription;
}


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

	These represent the various menus. There is a main menu bar and some sub-menus.

	The second and third strings in each item need to be translated.
	The first string is a filename and does not need to be translated.

*/

var menuMain = new Array(new MenuItem("status.htm",	"Status",	"View information about the range extender"),
			new MenuItem("security.htm",	"Security",	"Configure the range extender's security settings"),
			new MenuItem("wireless.htm",	"Wireless",	"Configure the range extender's wireless settings"),
			new MenuItem("lan.htm",		"LAN",		"Configure the range extender's LAN settings"),
			new MenuItem("device.htm",	"Device",	"Manage the range extender")
			);


/* check settings for the LAN page */
function checkIP()
{
	var radios = document.idForm.idIPmethod;
	
	if (radios[1].checked) 
		document.idForm.lan_dhcp.value = "0";
}
