/*
  * @ (#) jreDetectionScript.js 1.0 09/07/2004
  * Copyright (c) 2004-2005 KESDEE Systems(India) PVT. LTD.
  * # 6, 3rd floor,Esteem Regency, Richmond road, Bangalore, India
  * All rights reserved.
  *
  * This software is the confidential and proprietary information of KESDEE Systems(India) PVT. LTD. ("Confidential Information"). 
  * You shall not disclose such Confidential Information and shall use it only in
  * accordance with the terms of the license agreement you entered into
  * with KESDEE.
  */
  
 /*
  * @author Yogananda .T
  * @Version: 1.0 09/07/2004
  * Decription: -  This script is used to jre and if it is not there it would prompt the user
  *				   with a url
  * 			   
  */
function doNetscape(formObject){
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-java-applet"] ? navigator.mimeTypes["application/x-java-applet"].enabledPlugin : 0);
	if ( plugin==0 ) {		
		alert("Please, install JRE from the url http://java.sun.com/products/archive/j2se/1.3.1_08/index.html\nThis is mandatory for error free access to KESDEE courses.");
		formObject.jreDetailforNetsape.value="Plugin not found";
		return;
	}
	formObject.jreDetailforNetsape.value="Plugin found";	
	//alert("Present JRE version is"+java.lang.System.getProperty("java.version"));
}//end of doNetscape
