	//--------------------------------------------------------------------
	//Variable declaration
	//--------------------------------------------------------------------

	//Variables used in browser detection
	var isIE = 0;
	var isNS = 0;
	var isMac = 0;
	var browserVersion = parseInt(navigator.appVersion);
	var browser = navigator.appName;

	//--------------------------------------------------------------------
	//Client-Side Pre Processing
	//--------------------------------------------------------------------	
	function checkBrowser(){
		isIE = (browser == 'Microsoft Internet Explorer') ? 1 : 0;
 		isNS = (browser == 'Netscape') ? 1 : 0;
 		isMac = (navigator.appVersion.indexOf("Mac") != -1) ? 1 : 0;
		if(!isIE && !isNS ){
			alert('This system requires Internet Explorer or Netscape Navigator, Versions 4.0+');
			return(false);
		}
		else if(browserVersion < 4){
			alert('This application requires a browser version 4.0 or above.');
			return(false);
		}
		return(true);
	}
	//---------------------------------------------------------------------  
