// JavaScript Document

// From Template
function FWLoadFromPopup(menu, win, next) {
	var url = menu.options[menu.selectedIndex].value;
	if (next != "None" && next != "No Change")
		menu.selectedIndex = parseInt(next) - 1;
	if (url != "" && url != "#")
		win.location.href = url;
}
function FWfindAFrame(theName,theFrames) {
	if (theFrames != 0 && theFrames.length)
		for (i = 0 ; i < theFrames.length ; i++)
			if (theFrames[i].name==theName)
				return theFrames[i];
			else { theFrame = FWfindAFrame(theName,theFrames[i].frames); if (theFrame) return theFrame; }
	return null;
}
function FWfindFrame(theName,theFrames) {
	theFrame = FWfindAFrame(theName,theFrames);
	if (theFrame)
		return theFrame;
	else
		return window.top.open();
}

// From contact us
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

// From Map 1 & Map 2
function fwPrint()
{
	if ( self.print )
	{
		self.print();
	}
	else
	{
		alert("Please use the Print item from the File menu.");
	}
}

