<!--

//+---------------------------------------------------+
//| JavaScript: ckjava.js                             |
//| Programmer/Scripter: John Nicholson               |
//| Ethereal Evolution, Inc.                          |
//|                                                   |
//| Last Updated By : John Nicholson                  |
//| Last Updated On : 09-05-01 at 10:52pm (CST)       |
//+---------------------------------------------------+

//+---------------------------------------------------+
//| function CheckJava()                              |
//+---------------------------------------------------+
//| JavaScript Function that checks to see if Java    |
//| is enabled.                                       |
//+---------------------------------------------------+
function CheckJava()
{
   var rval = 0;
   
   rval = navigator.javaEnabled();

   if (rval == true)
   {
      window.navigate("rx.html");
      return(true);
	
   }//if

   if (rval == false)
   {
      window.navigate("nojava.html");
      return(false);
   
   }//if

   // Somthing is wrong if this is returned.	
   return(-99); 

}//CheckJS

//-->