var FE = {};
jQuery(function() {
"use strict";
homebrew.Carousel.prototype.options.transitions.enable = Modernizr.csstransitions;
homebrew.Tooltip.prototype.options.appendTo = '#mainContent';
homebrew.Tooltip.prototype.options.transitions.enable = Modernizr.csstransitions;
jQuery.extend(FE, {
$els : {
backToTop : jQuery('#globalBackToTop'),
body : jQuery('body'),
mainSite : jQuery('#mainSite'),
pageOverlay : jQuery('#pageOverlay'),
root : jQuery('html')
},
events: {
transitionEnd : homebrew.events.transitionEnd || 'transitionend oTransitionEnd otransitionend webkitTransitionEnd msTransitionEnd',
animationEnd: homebrew.events.animationEnd || 'animationend webkitAnimationEnd MSAnimationEnd oAnimationEnd'
},
browser : homebrew.browser,
baseURL : (typeof fileUrl === 'string')
? fileUrl
: (window.location.href.indexOf('') > -1)
? ''
: ''
});
if(!FE.$els.pageOverlay.length) {
FE.$els.pageOverlay = jQuery('