  // PROMOADLAYERSETUP_TOP_RT.JS


  // ALL SPECIAL TRANSPARENT FLASH LAYER CODE COPYRIGHT 2004 TO 2009 BY R. JONES / NET INFO SYSTEMS. STRICTLY ENFORCED!


  var ErrorTrappingOn = true; // Set to true or false. If false then error reporting is turned on.

  function errorHandler(errorMessage, url, lineNumber) {

    // All JavaScript errors are trapped. If ErrorTrappingOn is false then an alert box with the error
    // details is also displayed. This code is supported under Netscape 3+ and IE4+ and later.
    if (ErrorTrappingOn == false)
      {
       errormsg  = "This page contains a scripting error.\r\n\r\n";
       errormsg += "Line: "  + lineNumber   + "\r\n";
       errormsg += "Error: " + errorMessage + "\r\n";
       errormsg += "URL: "   + url;
       alert(errormsg);
      };
    event.returnValue = true;
    return true;
  };
  window.onerror = errorHandler;

  Version4Plus = 
    (((navigator.appName == "Netscape") && 
    (parseInt(navigator.appVersion) >= 4 )) || 
    ((navigator.appName == "Microsoft Internet Explorer") && 
    (parseInt(navigator.appVersion) >= 4 ))); 

  MinBrowserReq = false; // Default value before testing.
  if ((Version4Plus) && (window.screen) && (window.screen.width) && (screen.width >= 725))
   {
    // This is set here on an interim basis to allow external scripts, etc, to be loaded on
    // non handheld devices. It is tested properly (with higher standards) in the niscode.
    MinBrowserReq = true;
   };

  var PageIsNowLoadedAndReadyForPromoAdEffect
  PageIsNowLoadedAndReadyForPromoAdEffect = false;

  function PageLoaded() {
    if (MinBrowserReq)
      {
        PageIsNowLoadedAndReadyForPromoAdEffect = true;
      };
  };

  if (MinBrowserReq)
    {
     window.onload = PageLoaded;
    };
