
//! ======= JSF MENU START =======
var gbN2Loaded = N2Loaded = false;
var n2LMStart = new Date();
var gaN2JSLibs = [];
var gaN2JSLibPaths = [];
var gaN2JSLibIds = [];
var gaN2CSSLibs = [];
var gaN2CSSLibPaths = [];
var n2sRTW1='onload';
var n2sRTWTBS='simplepopoverloaded';
var goN2Initializer = {
      aHandlers: [],
      aEventsRun: [],
      bCoreLoaded: false,
	runThisWhen: function (sWhen, fFn, sComment) {
	  if ( (typeof fFn != 'function') || fFn == null) return false;
	  sWhen = sWhen.toLowerCase();
	
	  this.aHandlers[this.aHandlers.length] = { sWhen: sWhen, fFn: fFn, sComment: sComment };
	  return true
	},
	run: function() {},
	isReady: function() {return false;}
};
goN2Initializer.initializeThis = goN2Initializer.runThisWhen;
function n2RunThisWhen(sWhen, fFn, sComment) {
  goN2Initializer.runThisWhen(sWhen, fFn, sComment);
}
function n2RunIfLoaded(sLibID, fFn, sComment) {
	goN2Initializer.runThisWhen(sLibID+'loaded', fFn, 'sequenced init of '+ sComment);
}
var goN2LibMon = {
	aLibs: {},
	nMONITORLOAD: -1,
	monitorLoad: function (sLibID) {
		this.aLibs[sLibID] = { sID: sLibID, nDuration: this.nMONITORLOAD };
	},
	stats: function() {}
};
//! ======= JSF MENU (2) =======
gsN2ImageHost='Images';
var goJSFStringTableProperties = new Object();
var goJSFImageURLProperties = new Object();
goJSFStringTableProperties['loading_13548'] = 'Searching for Info...';
goJSFImageURLProperties['JSF-loading-bar'] = 'spacer.gif';
var goCust = new Object();
goCust.isLoggedIn = function() { return false; }
n2RunThisWhen(n2sRTWTBS, 
              function() {
                  oAllCatPopover = new N2SimplePopover();
                  goN2Events.registerFeature('dropout', 'oAllCatPopover', 'n2MouseOverHotspot', 'n2MouseOutHotspot'); 
                  goN2Events.setFeatureDelays('dropout',200, 400, 200);
                  oAllCatPopover.initialize('AllCatPopoverDiv', 'oAllCatPopover',null,null,'below','c'); 
              }, 
              'All Categories popover');
n2RunThisWhen(n2sRTW1, 
  function() {
}, "n2CoreLibsExt Init ");
gaN2JSLibPaths.push(
    'js/one.js',
    'js/two.js',
    'js/three.js');
gaN2JSLibIds.push(
    'utilities',
    'events',
    'simplePopover');
(function()
{
  var i;
  var sTags = "";
  var bIsSafari = navigator.userAgent.match(/Safari/);
  for (i in gaN2CSSLibPaths)
  {
    sTags += '<lin'+'k hr'+'ef="'+gaN2CSSLibPaths[i]+'" type="text/css" rel="stylesheet">' + goN2Consts.chEOL;
  }
  for (i in gaN2JSLibPaths)
  {
    goN2LibMon.monitorLoad(gaN2JSLibIds[i]);
    var sScript = '<sc'+'ript s'+'rc="'+gaN2JSLibPaths[i]+'" type="text/javascript"></sc'+'ript>' + goN2Consts.chEOL;
    if (bIsSafari) document.write(sScript);
    else sTags += sScript;
  }
  document.write(sTags);
}());
//gaN2CSSLibPaths.push(
//  'css/qlinks.css' );
n2LLStop = new Date();
//! ======= END JSF MENU =======

