var RUZEE=window.RUZEE||{};
RUZEE.ShadedBorder={create:function(c){function V(b,a){for(k in a)if(/ie_/.test(k)){if(F)b.style[k.substr(3)]=a[k]}else b.style[k]=a[k]}function r(b){var a=document.createElement("div");a.className="sb-gen";V(a,b);return a}function l(b){b=b<0?0:b;if(b>0.99999)return"";return F?" filter:alpha(opacity="+b*100+");":" opacity:"+b+";"}function G(b,a,e){var f=e?g:m,i=a?n:o,h=a?B:-B,w=[],C=[],z=[],x=0,W=1;if(e){x=f-1;W=-1}for(e=0;e<f;++e){var N=i-1,X=-1;if(a){N=0;X=1}for(var Y=false,A=i-1;A>=0&&!Y;--A){var H=
'<div style="position:absolute; top:'+N+"px; left:"+x+"px; width:1px; height:1px; overflow:hidden; margin:0; padding:0;",t=e-s,p=A-I-h,q=Math.sqrt(t*t+p*p),D=false;if(d>0){if(t<0&&p<u&&p>=d||p<0&&t<u&&t>=d)w.push(H+l(E)+'" class="'+J+'"></div>');else if(q<u&&q>=d-1&&t>=0&&p>=0){var j=H;if(q>=u-1){j+=l((u-q)*E);D=true}else j+=l(E);w.push(j+'" class="'+J+'"></div>')}j=H+" z-index:2;"+(a?"background-position:0 -"+(d-p-1)+"px;":"background-image:none;");var Z=function(){a||(j=j.replace(/top\:\d+px/,"top:0px"));
j=j.replace(/height\:1px/,"height:"+(A+1)+"px");C.push(j+'" class="'+K+'"></div>');Y=true};if(t<0&&p<d||p<0&&t<d)Z();else if(q<d&&t>=0&&p>=0)if(q>=d-1){j+=l(d-q);D=true;C.push(j+'" class="'+K+'"></div>')}else Z();else D=true}else D=true;if(v>0&&D){q=Math.sqrt(e*e+A*A);q<v&&z.push(H+" z-index:0; "+l(1-q/v)+'" class="'+L+'"></div>')}N+=X}x+=W}b.innerHTML=z.concat(w.concat(C)).join("")}function $(b,a){for(var e=[],f=a?n:o,i=a?B:-B,h=0;h<f-i-I-d;++h)if(v>0)e.push('<div style="height:1px; overflow:hidden; position:absolute; margin:0; padding:0; width:100%; left:0px; '+
(a?"top:":"bottom:")+h+"px;"+l((h+1)*1/f)+'" class="'+L+'"></div>');if(h>=y)e.push('<div style="height:1px; overflow:hidden; position:absolute; margin:0; padding:0; width:100%; left:0px; '+(a?"top:":"bottom:")+(h-y)+"px;"+l(E)+" height:"+y+'px;" class="'+J+'"></div>');e.push('<div style="height:1px; overflow:hidden; position:absolute; margin:0; padding:0; width:100%; left:0px; '+(a?"background-position-y:0; top:":"background-image:none; bottom:")+h+"px; height:"+(d+I+i)+'px;" class="'+K+'"></div>');
b.innerHTML=e.join("")}var F=/msie/i.test(navigator.userAgent)&&!window.opera,aa=F&&!window.XMLHttpRequest,v=c.shadow||0,d=c.corner||0,u=0,y=c.border||0,E=c.borderOpacity||1,M=v!=0,g=d>v?d:v,m=g,n=g,o=g;if(y>0){u=d;d-=y}var s=d!=0&&M?Math.round(g/3):0,I=s,B=Math.round(s/2),K=d>0?"sb-inner":"sb-shadow",L="sb-shadow",J="sb-border";c=c.edges||"trlb";/t/i.test(c)||(n=0);/b/i.test(c)||(o=0);/l/i.test(c)||(g=0);/r/i.test(c)||(m=0);c={position:"absolute",left:"0",top:"0",width:g+"px",height:n+"px",ie_fontSize:"1px",
overflow:"hidden",margin:"0",padding:"0"};var O=r(c);delete c.left;c.right="0";c.width=m+"px";var P=r(c);delete c.top;c.bottom="0";c.height=o+"px";var Q=r(c);delete c.right;c.left="0";c.width=g+"px";var R=r(c),S=r({position:"absolute",width:"100%",height:n+"px",ie_fontSize:"1px",top:"0",left:"0",overflow:"hidden",margin:"0",padding:"0"});c=r({position:"relative",height:n+"px",ie_fontSize:"1px",margin:"0 "+m+"px 0 "+g+"px",overflow:"hidden",padding:"0"});S.appendChild(c);var T=r({position:"absolute",
left:"0",bottom:"0",width:"100%",height:o+"px",ie_fontSize:"1px",overflow:"hidden",margin:"0",padding:"0"});M=r({position:"relative",height:o+"px",ie_fontSize:"1px",margin:"0 "+m+"px 0 "+g+"px",overflow:"hidden",padding:"0"});T.appendChild(M);var U=r({position:"absolute",top:-o+"px",left:"0",width:"100%",height:"100%",overflow:"hidden",ie_fontSize:"1px",padding:"0",margin:"0"});G(O,true,true);G(P,true,false);G(R,false,true);G(Q,false,false);(function(b){var a=[];a.push('<div style="position:relative; top:'+
(n+o)+"px; height:4096px;  margin:0 "+(m-d-s)+"px 0 "+(g-d-s)+"px;  padding:0; overflow:hidden; background-position:0 "+(n>0?-(d+I+B):"0")+'px;" class="'+K+'"></div>');var e='<div style="position:absolute; width:1px; top:'+(n+o)+"px; height:4096px; padding:0; margin:0;";if(v>0){for(var f=0;f<g-d-s;++f)a.push(e+" left:"+f+"px;"+l((f+1)/g)+'" class="'+L+'"></div>');for(f=0;f<m-d-s;++f)a.push(e+" right:"+f+"px;"+l((f+1)/m)+'" class="'+L+'"></div>')}if(y>0){f=" width:"+y+"px;"+l(E)+'" class="'+J+'"></div>';
a.push(e+" left:"+(g-u-s)+"px;"+f);a.push(e+" right:"+(m-u-s)+"px;"+f)}b.innerHTML=a.join("")})(U);$(c,true);$(M,false);needsCloning=false;return{render:function(b){if(typeof b=="string")b=document.getElementById(b);if(b.length!=undefined)for(var a=0;a<b.length;++a)this.render(b[a]);else{b.className+=" sb";V(b,{position:"relative",background:"transparent"});for(a=b.firstChild;a;){var e=a.nextSibling;a.nodeType==1&&a.className=="sb-gen"&&b.removeChild(a);a=e}a=b.firstChild;var f=needsCloning?S.cloneNode(true):
S,i=needsCloning?U.cloneNode(true):U,h=needsCloning?T.cloneNode(true):T;e=needsCloning?O.cloneNode(true):O;var w=needsCloning?P.cloneNode(true):P,C=needsCloning?R.cloneNode(true):R,z=needsCloning?Q.cloneNode(true):Q;b.insertBefore(e,a);b.insertBefore(w,a);b.insertBefore(C,a);b.insertBefore(z,a);b.insertBefore(f,a);b.insertBefore(i,a);b.insertBefore(h,a);if(aa){b.onmouseover=function(){this.className+=" hover"};b.onmouseout=function(){this.className=this.className.replace(/ hover/,"")}}if(F){a=function(){f.style.width=
h.style.width=i.style.width=b.offsetWidth+"px";if(aa)i.firstChild.style.height=b.offsetHeight+"px";else for(var x=0;x<i.childNodes.length;++x)i.childNodes[x].style.height=b.offsetHeight-o-n+"px";w.style.right=z.style.right=null;w.style.left=z.style.left=b.offsetWidth-m+"px"};b.onresize=a;a()}needsCloning=true}}}}};document.write('  <style type="text/css">  .sb, .sbi, .sb *, .sbi * { position:relative; z-index:1; }  * html .sb, * html .sbi { height:1%; }  .sbi { display:inline-block; }  .sb-inner { background:#ddd; }  .sb-shadow { background:#000; }  .sb-border { background:#bbb; }  </style>');
function extractPageName(a){var b=a.split("/");return b.length<2?a:b[b.length-2].toLowerCase()+b[b.length-1].toLowerCase()}function setActiveMenu(a,b){for(var c=0;c<a.length;c++)if(extractPageName(a[c].href)==b)if(a[c].parentNode.tagName!="DIV"){a[c].className="current";a[c].parentNode.className="current"}}
function setPage(){hrefString=document.location.href?document.location.href:document.location;document.getElementById("navigation")!=null&&setActiveMenu(document.getElementById("navigation").getElementsByTagName("a"),extractPageName(hrefString))};
