/* This script is used by all web pages that use any type of javascript.
   This script has two main function:  One is to identify which browser
	 the user is using.  Two is a function called IDElement() which is called
	 to return the begining tags for elements id's. */

// Identify browser compatibility.
var NS4 = (document.layers)? true:false;	// Netscape version 4 to 5.
var NS5 = (window.sidebar)? true:false;		// Netscape version 5 and up.
var IE4 = (document.all)? true:false;		// Internet Explorer 4 and up.

// Browers compatibility settings.
function IDElement(ItemID) {
	if (NS4) { return "document.layers['" + ItemID + "')"; }
	if (NS5) { return "document.getElementById('" + ItemID + "')"; }
	if (IE4) { return ItemID; }
}