
// GLOBAL VARIABLES
var PD = PluginDetect;
var JavaInstalled;
var JavaVersion;
var minVersion = '1,4,2';

var verifyTags = null;


function displayResults($){
  var JavaStatus;
  JavaStatus = $.isMinVersion('Java');
  JavaInstalled = JavaStatus >= 0 ? true : false;
  document.write ("" + (JavaInstalled ? '' : '<font size=3 color=red><b>Hello BajarFaceBook.com user, seems to be that you do not have Java installed or is disabled on your system. You need to install Java to download videos from DownFaceBook.com</b></font><br><font size=2><ul><li>PC and Linux users can download Java <a href=\"http://www.java.com/en/download/index.jsp\" target=\"_blank\">here <img src="/img/bajar-java.gif" width="147" height="28" border=0 valign="absmiddle"></a><br><br><li>Mac users can download it here <a href=\"http://support.apple.com/kb/HT1338?viewlocale=en_US\" target=\"_blank\">Update Software</a> option available in the Apple menu to check the version and update if necessary.<br><br><li>If you can not install Java, <a href=\"http://www.java.com/en/download/help/index_installing.xml\" target=\"_blank\">read this guide</a> to install Java, or click <a href=\"http://www.java.com/en/download/help/enable_browser.xml\" target=\"_blank\">here</a> for detailed instructions on how to activate Java in your browser.<li>Once you install Java, close this browser and open it again.</font></ul><br><br>'));
};

PD.onDetectionDone('Java', displayResults, verifyTags);




