/* ***********************************************************
index.js
Javascript for index.asp page
by Howie Sternberg (howies@snet.net)

Map Viewer is placed in the public domain and is "Freeware". 
Map Viewer may be freely used and redistributed, is provided 
"AS-IS" without warranty of any kind, and there is no technical 
support provided.
--------------------------------------------------------------
Dependencies - DHTML.js  
--------------------------------------------------------------
History 
Sep 2004, Initial code for Map Viewer 2nd Edition
May 2005, Revised for Map Viewer 3rd Edition to only support  
		  W3C DOM compatible browsers 
************************************************************ */

// Global variables
var objMapForm

// set event handler to test for browser capabilities
window.onload = initLisrcMenu

// Set mouse event handlers and create style objects
function initLisrcMenu() {
	if (canSupportDHTML()) { // browser OK
		// load menubar object
		initjsDOMenu();
		// get form object
		objMapForm = getObject("mapFormId");
	} else {
		window.alert("update your browser");
	}
}