<!-- $Id: global.js,v 13.1 2003/06/16 16:41:41 shouser Exp $ //-->
///////////////////////////////////////////////////////////////////////////////////////////////////
// Name:						getDataValue
// Purpose:					Returns HTML element value
// Input(s):				oData					HTML Element object
// Output(s):           sValue				HTML Element object value
// Requirements:        --
// Create Date:			05/24/2002.VSongco

function baseBrowser() {
   this.Object = navigator;                         // Instantiate object
   
   /*this.getWindowHeight     = getWindowHeight;      // Methods
   this.getWindowWidth      = getWindowWidth;
   this.setMainContent      = setMainContent;
   this.setMessagePosition  = setMessagePosition;
   this.setDataContent      = setDataContent;
   this.getScreenHeight     = getScreenHeight;
   this.getScreenWidth      = getScreenWidth;
   this.getFullScreen       = getFullScreen;
   this.loadFullScreen      = loadFullScreen;
   this.isMac               = isMac;*/
   this.isMozilla       = isMozilla;
   /*this.isInternetExplorer6 = isInternetExplorer6;*/
}

function isMozilla() {
//   alert("AppName=" + navigator.appName + "\nUserAgent=" + navigator.userAgent + "\nAppVersion=" + navigator.appVersion);
   // Mozilla  navigator params: .appName, .userAgent, .appVersion
	// AppName = Netscape
	// UserAgent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)Gecko/20040113
	// AppVersion = 5.0(Windows; en-US)

   return (!document.layers && 
           navigator.userAgent.indexOf("Mozilla") != -1 &&
           navigator.userAgent.indexOf("Gecko") != -1)
          ? true : false;
}
