(function(n){n.fn.bgIframe=n.fn.bgiframe=function(t){if(n.browser.msie&&/6.0/.test(navigator.userAgent)){t=n.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},t||{});var i=function(n){return n&&n.constructor==Number?n+"px":n},r='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+t.src+'"style="display:block;position:absolute;z-index:-1;'+(t.opacity!==!1?"filter:Alpha(Opacity='0');":"")+"top:"+(t.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":i(t.top))+";left:"+(t.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":i(t.left))+";width:"+(t.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":i(t.width))+";height:"+(t.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":i(t.height))+';"/>';return this.each(function(){n("> iframe.bgiframe",this).length==0&&this.insertBefore(document.createElement(r),this.firstChild)})}return this}})(jQuery)
