Rev Author Line No. Line
1015 mija 1 (function(){
2 a.s=0;a.H=1;a.G=2;a.I=3;a.d=0;a.c=1;a.e=2;a.f=3;a.v=navigator.userAgent;a.r=typeof opera!="undefined";a.q=!a.r&&a.v.indexOf("MSIE")!=-1;a.F=!a.r&&a.v.indexOf("Safari")!=-1;a.u="curve";a.m="rc_bg";a.t="rc_border";a.SIGMOID_FUNCTION_WIDTH=12;a.SIGMOID_FUNCTION_OFFSET=6;function a(){}a.prototype.j=function(b){return b};a.prototype.k=function(b){return b+1};a.prototype.i=function(b){return b};a.prototype.l=function(b){return b+1};a.prototype.h=function(b,e,c){b=12*b/e-6;return c/(1+Math.exp(b))};a.prototype.n=
3 function(b,e,c){if(b<=0)return e;if(b>=c)return 0;b=b/c;var d=Math.log((1-b)/b);return e*(d+6)/12};a.prototype.b=function(b,e){var c=Math.sqrt(Math.pow(e,2)-Math.pow(b,2));return isNaN(c)?0:c};a.prototype.g=function(b,e){if(a.q){document.styleSheets[0].addRule(b,e)}else{var c=document.createElement("style");c.type="text/css";var d=a.F?"innerText":"innerHTML";c[d]=b+"{"+e+"}";var f=document.getElementsByTagName("head")[0];f.appendChild(c)}};a.prototype.a=function(b,e,c,d,f){var g=document.createElement("div"),
4 h="position:absolute;overflow:hidden;left:";h+=b;h+="px;top:";h+=e;h+="px;width:";h+=c;h+="px;height:";h+=d;h+="px;";if(f!=null){h+="opacity:";h+=f;if(a.q){h+=";filter: alpha(opacity=";h+=Math.round(f*100);h+=");"}}g.style.cssText=h;return g};a.prototype.B=function(b,e,c){var d=new Array(4);d[a.e]=this.b(this.j(b),c);d[a.f]=this.b(this.k(b),c);d[a.c]=this.b(this.i(e),c);d[a.d]=this.b(this.l(e),c);return d};a.prototype.D=function(b,e,c,d){var f=new Array(4);f[a.e]=this.h(this.j(b),c,d);f[a.f]=this.h(this.k(b),
5 c,d);f[a.c]=this.n(this.i(e),c,d);f[a.d]=this.n(this.l(e),c,d);return f};a.prototype.C=function(b,e,c,d){var f=this.D(b,e,c,d),g=this.o(b,e,f);return g==-1?0:g};a.prototype.p=function(b,e,c,d){var f=this.B(b,e,c),g=this.o(b,e,f);if(g==-1){return 0}return d?1-g:g};a.prototype.o=function(b,e,c){var d=0,f=new Array(2),g=new Array(2),h=false,o=false,k=false,j=false,i=this.i(e),p=this.l(e),n=this.j(b),s=this.k(b);if(c[a.e]>=i&&c[a.e]<p){h=true;f[0]=0;g[0]=c[a.e]-i}else if(c[a.d]>=n&&c[a.d]<s){o=true;f[0]=
6 c[a.d]-n;g[0]=1}if(!o&&!h){return-1}if(c[a.f]>=i&&c[a.f]<p){k=true;f[1]=1;g[1]=c[a.f]-i}else if(c[a.c]>=n&&c[a.c]<s){j=true;f[1]=c[a.c]-n;g[1]=0}if(h&&k){var m=g[0]<=g[1]?g[0]:g[1],l=g[0]>g[1]?g[0]:g[1];d=m+(l-m)/2}else if(h&&j){d=g[0]*f[1]/2}else if(o&&k){d=1-(1-f[0])*(1-g[1])/2}else if(o&&j){var q=f[0]<=f[1]?f[0]:f[1],t=f[0]>f[1]?f[0]:f[1];d=q+(t-q)/2}return d};a.prototype.A=function(b,e,c,d,f,g){this.g("#"+b.id+" ."+a.u+" div","background-color: "+d);b.style.display="none";var h=this.a(0,0,e,c);
7 h.className=a.u;var o,k=c-1,j,i,p,n,s=c-1;for(var m=0;m<e;++m){o=k;k=Math.floor(this.h(m+1,e,c));i=f?m:e-m;p=g?0:c-k;j=this.a(i,p,1,k);h.appendChild(j);for(var l=k;l<=o;++l){n=this.C(m,l,e,c);p=g?l:s-l;j=this.a(i,p,1,1,n);h.appendChild(j)}}b.appendChild(h);b.style.display=""};a.prototype.w=function(b,e,c,d,f,g,h,o){this.g("#"+b.id+" ."+a.m+" div","background-color: "+d);this.g("#"+b.id+" ."+a.t+" div","background-color: "+f);e+=g;c+=g;var k=b.style;k.display="none";b.innerHTML="";k.position="absolute";
8 k.borderWidth="0px";k.backgroundColor="transparent";var j=g+"px solid "+f,i=o==a.s||o==a.G,p=o==a.s||o==a.H,n=e-h;if(n>0){var s=i?e-n:0,m=this.a(s,0,n,c-g),l=m.style;l.backgroundColor=d;p?(l.borderTop=j):(l.borderBottom=j);b.appendChild(m)}var q=c-h;if(q>0){var t=p?c-q:0,m=this.a(0,t,e-g,q),l=m.style;l.backgroundColor=d;i?(l.borderLeft=j):(l.borderRight=j);b.appendChild(m)}this.z(b,e,c,h,g,i,p);k.display=""};a.prototype.z=function(b,e,c,d,f,g,h){var o=f>0,k=d-f,j=g?0:e-d,i=h?0:c-d,p=this.a(j,i,d,
9 d);p.className=a.m;var n=this.a(j,i,d,d);n.className=o?a.t:a.m;var s=k,m=d,l=k,q=d,t,x,y,v,z=d-1;for(var w=0;w<d;++w){j=g?z-w:w;s=l;m=q;l=Math.ceil(this.b(w+1,k));q=Math.floor(this.b(w+1,d));t=o?s:q;i=h?d-t:0;v=this.a(j,i,1,t);p.appendChild(v);for(var r=q;r<=m;++r){y=this.p(w,r,d,false);i=h?z-r:r;v=this.a(j,i,1,1,y);n.appendChild(v)}if(o){x=q-t;if(x>0){i=h?d-t-x:t;v=this.a(j,i,1,x);n.appendChild(v)}for(var r=l-1;r<s;++r){y=this.p(w,r,k,true);i=h?z-r:r;v=this.a(j,i,1,1,y);n.appendChild(v)}}}b.appendChild(p);
10 b.appendChild(n)};var B=new a;if(typeof window.rcl!="undefined"){var u;for(var A=0;A<rcl.length;A++){u=rcl[A];B.w(document.getElementById(u[0]),u[1],u[2],u[3],u[4],u[5],u[6],u[7])}}if(typeof window.sc!="undefined"){B.A(document.getElementById(sc[0]),sc[1],sc[2],sc[3],sc[4],sc[5])};
11 })()