rem *******************************************************************
rem * Check the value of UGII_CAST_HTML_URL
rem *******************************************************************
if "%UGII_CAST_HTML_URL%" == "" goto noSource
rem *******************************************************************
rem * if the value of UGII_CAST_BROWSER is the full path to a
rem * browser then use that browser.
rem *******************************************************************
if exist "%UGII_CAST_BROWSER%" goto startBrowser
rem *******************************************************************
rem * if the UGII_CAST_BROWSER variable is set to one of the following
rem * short names then use the default location for that browser.
rem * netscape4 = Netscape 4 (Communicator)
rem * IE1, IE2 = Internet Explorer
rem *
rem * Default locations for the supported Browsers.
rem *******************************************************************
set NETSCAPE4_LOC=%SYSTEMDRIVE%\Program Files\Netscape\Communicator\Program\netscape.exe
set IE1_LOC=%SYSTEMDRIVE%\Program Files\Microsoft Internet\Iexplore.exe
set IE2_LOC=%SYSTEMDRIVE%\Program Files\Internet Explorer\Iexplore.exe
if "%UGII_CAST_BROWSER%" == "netscape4" set UGII_CAST_BROWSER=%NETSCAPE4_LOC%
if "%UGII_CAST_BROWSER%" == "IE1" set UGII_CAST_BROWSER=%IE1_LOC%
if "%UGII_CAST_BROWSER%" == "IE2" set UGII_CAST_BROWSER=%IE2_LOC%