ag=navigator.userAgent.toLowerCase() wn=ag.match(/win/) mc=ag.match(/mac/) opn=/ opera *(\d+)/.exec(ag) op7=/*wn&&*/opn&&opn[1]==7?true:false sf=ag.match(/safari/) ie6=ag.match(/msie 6/)&&!ag.match(/opera|webtv/) dd=ie6||op7?'inline-block':'inline' var ba=[sf?2:0,sf?1:0] var bax=ie6?19:0 var sw,sh,ww,wh; function init() { tr('dw='+dw+'dh='+dh) if (this['hr']) this.hr.n=0 sw=screen.availWidth sh=screen.availHeight setwid() window.onresize=setwid if (this['io']) for (var i in io) p(i,1) } pin=false pxop=0 scrid=0 dw=window.outerWidth?window.outerWidth-window.innerWidth:12 dh=window.outerHeight?window.outerHeight-window.innerHeight:75 var oldv,pop var pl=new Array(); var wi=new Array(); function fn() {} function tr() {} function fmt() {} function wf(iw,ih,pc) {tr(fn(arguments,'wf')) if (!pc) pc=100; ww=document.body.clientWidth; wh=document.body.clientHeight; if (parseFloat(wh/ww)>=parseFloat(ih/iw)) {var fac=parseFloat(Math.sqrt(pc/100)*ww/iw)} else {fac=parseFloat(Math.sqrt(pc/100)*wh/ih)} return "width:"+parseInt(fac*iw)+";height:"+parseInt(fac*ih); } function setwid() {tr(fn(arguments,'setwid')) ww=self.innerWidth?self.innerWidth:document.documentElement&&document.documentElement.clientWidth? document.documentElement.clientWidth:document.body&&document.body.clientWidth?document.body.clientWidth:800 wh=self.innerHeight?self.innerHeight:document.documentElement&&document.documentElement.clientHeight? document.documentElement.clientHeight:document.body&&document.body.clientHeight?document.body.clientHeight:800 if (!this['iw']) {iw=parseInt(ww+16);ih=wh} eval(stin+'bsafari'+stout).width= ww-16- (eval(stin+'$b'+stout).marginLeft.replace(/[A-Za-z]*$/,''))- (eval(stin+'$b'+stout).marginRight.replace(/[A-Za-z]*$/,'')) scrid++ } v=[];g=[];ol=[] function fc() {tr(fn(arguments,'fc')) try {if (window.focus) window.focus()} catch (e) {} } function bl() {tr(fn(arguments,'bl')) try {if (window.opener&&window.opener.focus) window.opener.focus();if (window.blur) window.blur()} catch (e) {} } function wa(w,h) {tr(fn(arguments,'wa'));return w=Math.round((w>sw-dw?sw:w+dw)) h=Math.round((h>sh-dh?sh:h+dh)) top.window.moveTo(0,0) if (document.all) { top.window.resizeTo(w,h); } else if (document.getElementById||document.layers) { top.window.outerWidth=w top.window.outerHeight=h } /* w=Math.round((sw-w-dw)/2);if (w<0) w=0 h=Math.round((sh-h-dh)/2);if (h<0) h=0 */ } function pm(e,d) {tr(fn(arguments,'pm')) if (!this.hr[e]) return if (!this.hr.n) this.hr.n=0 if (this.hr[e]>0) { this.hr.n++ var nw=this.hr[e]>ww?this.hr[e]:0 var nh=this.vr[e]>wh?this.vr[e]:0 this.hr[e]=-this.hr[e] if (nw||nh) wa(nw?nw:ww,nh?nh:wh) } else { this.hr.n-- if (!this.hr.n) wa(iw,ih) this.hr[e]=-this.hr[e] } } function p(e,nj) {tr(fn(arguments,'p')) if (pin&&!nj||!(eval(stin+"$"+e+rh))) {tr('skipped')} else { if (!nj) {pin=true;setTimeout('pin=false',5)} if (this['hr']) pm(e) scrid++ var s=0 v=[e] pop={} g=[] var le="l"+e; if (typeof(this[le])!="undefined") { for (var i=0;i=0&&t)) { t+=o.offsetTop?o.offsetTop:0 b=b?b:(o.offsetHeight?o.offsetHeight:0) } } b+=t return t&&b?[t,b]:null } ox=0 function jmp(y,x,o,t,b,n) {tr(fn(arguments,'jmp')) if (op7) { w=vis(eval('$'+(o=='u'?x:y))) if (w) { if (w.id&&w.tagName.toLowerCase()!='p') var ji=w.id else { ox++ ji='o'+ox if (w.tagName.toLowerCase()=='p'&&w.parentElement&&w.parentElement.innerHTML) w.parentElement.innerHTML=''+w.parentElement.innerHTML else w.id=ji } if (ji) window.location.hash=ji } return } if (n>20) return if (document.body.scrollTop=='undefined') {if (!n) n=0;n++;setTimeout('jmp('+y+','+(x?x:'""')+','+o+','+t+','+b+','+n+')',1)} dbs=document.body.scrollTop var ytm=y&&this['t'+y]?this['t'+y]:0 var ybm=y&&this['b'+y]?this['b'+y]:0 var yo=y&&o&&o=='l'?(this['o'+y]?this['o'+y]:0):0 y=y?eval(stin+"$"+y+rh):null var xtm=x&&this['t'+x]?this['t'+x]:0 var xbm=x&&this['b'+x]?this['b'+x]:0 x=x?eval(stin+"$"+x+rh):null var xt,xb,yt,yb if (x) { var w=vis(x) if (!w) x=null if (x) { w=loc(w) if (!w) x=null else { xt=w[0] xb=w[1] } } } if (y) { var w=vis(y) if (!w) y=null if (y) { w=loc(w) if (!w) y=null else { yt=w[0] yb=w[1] } } } if (this['jm']) var f=dbs if (this['jm']==1) { if (x) { if (typeof(t)=='number') f=xt-t else if (typeof(b)=='number') f=xb-b else if (xtt&&ot=dbs+wh&&b-t>=wh) ss(t,f) else if (b>=dbs+wh) ss(b-wh,f) } function ss(x,f) { sheight=Math.max(document.body.scrollHeight,document.body.offsetHeight) if (x+wh<=sheight) scr(x,f) else if (sheight>=wh) scr(sheight-wh,f) else scr(0,f) } function scr(t,f,n,z) { if (typeof(f)!='number') {document.body.scrollTop=t;return} if (!n) {scrid++;z=scrid;if (!this['jfrs']) jfrs=25;if (!this['jfrt']) jfrt=20;n=1} if (n>jfrs||z1&&document.body.scrollTop!=f+Math.round((n-1)*(t-f)/jfrs)) return ss(f+Math.round(n*(t-f)/jfrs)) setTimeout('scr('+t+','+f+','+(n+1)+','+z+')',jfrt) } function dov() {tr(fn(arguments,'dov')) for (var vx=0;vx=this[ce].length||f==0) {self[xe]=0} if (eval(stin+'$'+e+rh)||g[e]) { v[v.length]=[e,'i',this[ce][self[xe]],'c'] var gx=this[ce][self[xe]].match(/ id=\$\d+/g) if (gx) for (var gy=0;gyli)) pop.l=li if (typeof(this["i"+li])!="undefined") ol[ol.length]=li } else { if (f==undefined) pop.u=li if (pt(pw[li])) pu(li) eval(stin+"$"+li+stout).display="none" l(li,0) } } } } } pw={} function pu(i,tp) {tr(fn(arguments,'pu',4)) if (i&&!(pt(pw[i]))) { var s=0 var l=0 var t=0 for (var j=2;j640?1:0 var dh=sh<=640?0:window.outerHeight?2*(window.outerHeight-window.innerInnerHeight)+(b-1)*24:75+b*24 var wm=l?l[0]:0 var wmp=l?l[1]:0 var hm=l?l[2]:0 var hmp=l?l[3]:0 var wM=l?l[4]:0 var wMp=l?l[5]:0 var hM=l?l[6]:0 var hMp=l?l[7]:0 tr('>>> z='+z+'; b='+b+'; dw='+dw+'; dh='+dh+'; wm='+wm+'; wmp='+wmp+'; hm='+hmp+'; wM='+wM+'; wMp='+wMp+'; hM='+hM+'; hMp='+hMp) var wm=(wm?(wmp?(wmp==1?wm*sw/100-dw:(wmp==2?Math.sqrt(wm*ww/wh):Math.sqrt(wm/100)*sw-dw)):wm):0) var wM=(wM?(wMp?(wMp==1?wM*sw/100-dw:(wMp==2?Math.sqrt(wM*ww/wh):Math.sqrt(wM/100)*sw-dw)):wM):0) var hm=(hm?(hmp?hm*sh/100-dh:hm):(wmp&&wmp>1?(wmp==2?Math.sqrt(wm*wh/ww):Math.sqrt(hm/100)*sh-dh):0)) var hM=(hM?(hMp?hM*sh/100-dh:hM):(wMp&&wMp>1?(wMp==2?Math.sqrt(wM*wh/ww):Math.sqrt(hM/100)*sh-dh):0)) tr('>>> wm='+wm+'; wM='+wM+'; hm='+hm+'; hM='+hM) for (j=0;j1?(wp==2?Math.sqrt(w*wh/ww):Math.sqrt(w/100)*sh-dh):0 tr('>>> a0: h='+h) var w=w?(wp?(wp==1?w*sw/100-dw:(wp==2?Math.sqrt(w*ww/wh):Math.sqrt(w/100)*sw-dw)):w):0 tr('>>> a: w='+w) if (wm) { if (w&&wp!=wmp) { if (w>> b: w='+w) if (wM) { if (w&&wp!=wMp) { if (w>wM) { if (sn) continue w=wM } } else if (!w&&ww>wM) { if (sn) continue w=wM } } tr('>>> c: w='+w) if (w&&w>sw-dw) { if (sn) continue w=sw-dw } tr('>>> d: w='+w) if (!h) { var h=s[j+2] var hp=s[j+3] var h=(h?(hp?h*sh/100-dh:h):0) } tr('>>> e: h='+h) if (hm) { if (h&&hp!=hmp) { if (h>> f: h='+h) if (hM) { if (h&&hp!=hMp) { if (h>hM) { if (sn) continue h=hM } } else if (!h&&wh>hM) { if (sn) continue h=hM } } tr('>>> g: h='+h) if (h&&h>sh-dh) { if (sn) continue h=sh-dh } tr('>>> h: h='+h) w=Math.round((w?w:ww)) h=Math.round((h?h:wh)) tr('>>> w='+w+'; h='+h) var wo=Math.round((sw-w-dw)/2);if (wo<0) wo=0 var ho=Math.round((sh-h-dh)/2);if (ho<0) ho=0 w=w-ba[0] h=h-ba[1]-bax pw[i]= window.open('','_blank', 'toolbar='+b+',scrollbars=0,location=0,statusbar=0,menubar='+b+',resizable=1') this['pi'+i]=setInterval('pc("'+i+'")',25) pw[i].document.write('