function OpenAppInNewWin(strUrl)
{
    var strErrorMsg = "";

    //	java must be enabled

    if ( !navigator.javaEnabled() )
   	{
      		strErrorMsg = strErrorMsg + "\n" + "Your browser must have Java Enabled";
   	}

   	//	resolution must be at least 800x600

   	if ( screen.width < 800 || screen.height < 600 )
   	{
      		strErrorMsg = strErrorMsg + "\n" + "Your monitor's resolution must be at least 800x600";
   	}

   	//	browser must be ie version 4 or above

   	var strBrowser = navigator.appName;
   	var intVersion = parseInt(navigator.appVersion);

   	if ( strBrowser == "Microsoft Internet Explorer" )
   	{
       	if ( strBrowser == "Microsoft Internet Explorer" && intVersion < 4)
       	{
         			strErrorMsg = strErrorMsg + "\n" + "You must use Microsoft Internet Explorer Version 4 or above";
        }
   	}
   	else
    {
        strErrorMsg = strErrorMsg + "\n" + "You must use Microsoft Internet Explorer";
    }

   	if (strErrorMsg!="")
   	{
       	alert("The following condition(s) do not allow you to access the page you requested:\n\n" +
     			strErrorMsg +
     			"\n\nPlease correct the problem and try again");
   	}
   	else
   	{

   	// find the maximum allowable area for this users screen

   	var intMaxWidth  = screen.availWidth;
   	var intMaxHeight = screen.availHeight;

	   //	Set a standard width & height for our data entry apps
   	//		User must have at least 800x600
   	//		then subtract a border of 25 pixels all around
   	//		adjust the height by an additional 25 pixels to allow for the task bar

   	var intWinWidth  = 800 - 25 - 25;
   	var intWinHeight = 572 - 25 - 25 - 25;

   	var intLeft = (intMaxWidth  - intWinWidth)/2;
   	var intTop  = (intMaxHeight - intWinHeight)/2;

   	window.open(strUrl,"","channelmode=no,toolbar=no,location=no,menubar=no,resizable=no,scrollbars=no,width=" + intWinWidth + ", height=" + intWinHeight + ", top=" + intTop + ", left=" + intLeft,1)
   	}
}
