var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var tmr; var t; var obj; function sFa() { obj = gObj(); sLft(); shw(true); t = 0; sTmr(); } function hFa() { t = -100; sTmr(); return false; } function sTmr() { tmr = setInterval("fd()",20); } function fd() { var amt = Math.abs(t+=10); if(amt == 0 || amt == 100) clearInterval(tmr); amt = (amt == 100)?99.999:amt; obj.style.filter = "alpha(opacity:"+amt+")"; obj.style.KHTMLOpacity = amt/100; obj.style.MozOpacity = amt/100; obj.style.opacity = amt/100; if(amt == 0) shw(false); } function sLft() { var w = 160; // set this to 1/2 the width of the fa div defined in the style sheet // there's not a reliable way to retrieve an element's width via javascript!! var l = (document.body.innerWidth)? document.body.innerWidth / 2:document.body.offsetWidth / 2; obj.style.left = (l - w)+"px"; } function gObj() { return document.getElementById("fa"); } function shw(b) { (b)? obj.className = 'show':obj.className = ''; } }