(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&/6.0/.test(navigator.userAgent)){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var a=function(n){return n&&n.constructor==Number?n+'px':n},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"'+'style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':a(s.top))+';'+'left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':a(s.left))+';'+'width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':a(s.width))+';'+'height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':a(s.height))+';'+'"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild)})}return this}})(jQuery);(function($){$.fn.hoverIntent=function(f,g){var c={sensitivity:7,interval:100,timeout:0};c=$.extend(c,g?{over:f,out:g}:f);var d,cY,pX,pY;var h=function(a){d=a.pageX;cY=a.pageY};var i=function(a,b){b.hoverIntent_t=clearTimeout(b.hoverIntent_t);if((Math.abs(pX-d)+Math.abs(pY-cY))<c.sensitivity){$(b).unbind("mousemove",h);b.hoverIntent_s=1;return c.over.apply(b,[a])}else{pX=d;pY=cY;b.hoverIntent_t=setTimeout(function(){i(a,b)},c.interval)}};var j=function(a,b){b.hoverIntent_t=clearTimeout(b.hoverIntent_t);b.hoverIntent_s=0;return c.out.apply(b,[a])};var k=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode}catch(e){p=this}}if(p==this){return false}var a=jQuery.extend({},e);var b=this;if(b.hoverIntent_t){b.hoverIntent_t=clearTimeout(b.hoverIntent_t)}if(e.type=="mouseover"){pX=a.pageX;pY=a.pageY;$(b).bind("mousemove",h);if(b.hoverIntent_s!=1){b.hoverIntent_t=setTimeout(function(){i(a,b)},c.interval)}}else{$(b).unbind("mousemove",h);if(b.hoverIntent_s==1){b.hoverIntent_t=setTimeout(function(){j(a,b)},c.timeout)}}};return this.mouseover(k).mouseout(k)}})(jQuery);
