/**
 * Last Edit
 * By	:	Michael
 * When	:	5 Aug 08
 * What	:	Tabbage for the front page
 */

// Cufon

var Cufon=(function(){var J=function(){return J.replace.apply(null,arguments)};var R=J.DOM={ready:(function(){var W=false,Y={loaded:1,complete:1};var V=[],X=function(){if(W){return}W=true;for(var Z;Z=V.shift();Z()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",X,false);window.addEventListener("pageshow",X,false)}if(!window.opera&&document.readyState){(function(){Y[document.readyState]?X():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");X()}catch(Z){setTimeout(arguments.callee,1)}})()}N(window,"load",X);return function(Z){if(!arguments.length){X()}else{W?Z():V.push(Z)}}})()};var K=J.CSS={Size:function(W,V){this.value=parseFloat(W);this.unit=String(W).match(/[a-z%]*$/)[0]||"px";this.convert=function(X){return X/V*this.value};this.convertFrom=function(X){return X/this.value*V};this.toString=function(){return this.value+this.unit}},getStyle:function(W){var V=document.defaultView;if(V&&V.getComputedStyle){return new A(V.getComputedStyle(W,null))}if(W.currentStyle){return new A(W.currentStyle)}return new A(W.style)},ready:(function(){var X=false;var W=[],Y=function(){X=true;for(var a;a=W.shift();a()){}};var V=Object.prototype.propertyIsEnumerable?E("style"):{length:0};var Z=E("link");R.ready(function(){var d=0,c;for(var b=0,a=Z.length;c=Z[b],b<a;++b){if(!c.disabled&&c.rel.toLowerCase()=="stylesheet"){++d}}if(document.styleSheets.length>=V.length+d){Y()}else{setTimeout(arguments.callee,10)}});return function(a){if(X){a()}else{W.push(a)}}})(),supports:function(X,W){var V=document.createElement("span").style;if(V[X]===undefined){return false}V[X]=W;return V[X]===W},textAlign:function(Y,X,V,W){if(X.get("textAlign")=="right"){if(V>0){Y=" "+Y}}else{if(V<W-1){Y+=" "}}return Y},textDecoration:function(a,Z){if(!Z){Z=this.getStyle(a)}var W={underline:null,overline:null,"line-through":null};for(var V=a;V.parentNode&&V.parentNode.nodeType==1;){var Y=true;for(var X in W){if(W[X]){continue}if(Z.get("textDecoration").indexOf(X)!=-1){W[X]=Z.get("color")}Y=false}if(Y){break}Z=this.getStyle(V=V.parentNode)}return W},textShadow:H(function(Z){if(Z=="none"){return null}var Y=[],a={},V,W=0;var X=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(V=X.exec(Z)){if(V[0]==","){Y.push(a);a={},W=0}else{if(V[1]){a.color=V[1]}else{a[["offX","offY","blur"][W++]]=V[2]}}}Y.push(a);return Y}),color:H(function(W){var V={};V.color=W.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(Y,X,Z){V.opacity=parseFloat(Z);return"rgb("+X+")"});return V}),textTransform:function(W,V){return W[{uppercase:"toUpperCase",lowercase:"toLowerCase"}[V.get("textTransform")]||"toString"]()}};J.VML={parsePath:function(Y){var V=[],X=/([mrvxe])([^a-z]*)/g,W;while(W=X.exec(Y)){V.push({type:W[1],coords:W[2].split(",")})}return V}};function O(W){var V=this.face=W.face;this.glyphs=W.glyphs;this.w=W.w;this.baseSize=parseInt(V["units-per-em"],10);this.family=V["font-family"].toLowerCase();this.weight=V["font-weight"];this.style=V["font-style"]||"normal";this.viewBox=(function(){var X=V.bbox.split(/\s+/);return{minX:parseInt(X[0],10),minY:parseInt(X[1],10),width:parseInt(X[2],10)-parseInt(X[0],10),height:parseInt(X[3],10)-parseInt(X[1],10),toString:function(){return[this.minX,this.minY,this.width,this.height].join(" ")}}})();this.ascent=-parseInt(V.ascent,10);this.descent=-parseInt(V.descent,10);this.height=-this.ascent+this.descent}function D(){var W={},V={oblique:"italic",italic:"oblique"};this.add=function(X){(W[X.style]||(W[X.style]={}))[X.weight]=X};this.get=function(b,c){var a=W[b]||W[V[b]]||W.normal||W.italic||W.oblique;if(!a){return null}c={normal:400,bold:700}[c]||parseInt(c,10);if(a[c]){return a[c]}var Y={1:1,99:0}[c%100],e=[],Z,X;if(Y===undefined){Y=c>400}if(c==500){c=400}for(var d in a){d=parseInt(d,10);if(!Z||d<Z){Z=d}if(!X||d>X){X=d}e.push(d)}if(c<Z){c=Z}if(c>X){c=X}e.sort(function(g,f){return(Y?(g>c&&f>c)?g<f:g>f:(g<c&&f<c)?g>f:g<f)?-1:1});return a[e[0]]}}function U(){var X={},V=0;function W(Y){return Y.cufid||(Y.cufid=++V)}this.get=function(Y){var Z=W(Y);return X[Z]||(X[Z]={})}}function A(V){var X={},W={};this.get=function(Y){return X[Y]!=undefined?X[Y]:V[Y]};this.getSize=function(Z,Y){return W[Z]||(W[Z]=new K.Size(this.get(Z),Y))};this.extend=function(Y){for(var Z in Y){X[Z]=Y[Z]}return this}}function N(W,V,X){if(W.addEventListener){W.addEventListener(V,X,false)}else{if(W.attachEvent){W.attachEvent("on"+V,function(){return X.apply(W,arguments)})}}}function H(V){var W={};return function(X){if(!W.hasOwnProperty(X)){W[X]=V.apply(null,arguments)}return W[X]}}function B(a,Z){if(!Z){Z=K.getStyle(a)}var W=Z.get("fontFamily").split(/\s*,\s*/),Y;for(var X=0,V=W.length;X<V;++X){Y=W[X].replace(/^(["'])(.*?)\1$/,"$2").toLowerCase();if(G[Y]){return G[Y].get(Z.get("fontStyle"),Z.get("fontWeight"))}}return null}function E(V){return document.getElementsByTagName(V)}function F(){var V={},Y;for(var X=0,W=arguments.length;X<W;++X){for(Y in arguments[X]){V[Y]=arguments[X][Y]}}return V}function L(Y,g,W,h,Z,X){var f=h.separate;if(f=="none"){return T[h.engine].apply(null,arguments)}var e=document.createDocumentFragment(),b;var c=g.split(M[f]),V=(f=="words");if(V&&P){if(/^\s/.test(g)){c.unshift("")}if(/\s$/.test(g)){c.push("")}}for(var d=0,a=c.length;d<a;++d){b=T[h.engine](Y,V?K.textAlign(c[d],W,d,a):c[d],W,h,Z,X,d<a-1);if(b){e.appendChild(b)}}return e}function I(W,d){var b=C.get(W);if(!d){d=b.options}var X,V,a;for(var Y=W.firstChild;Y;Y=a){a=Y.nextSibling;if(Y.nodeType==1){if(!Y.firstChild){continue}if(!/cufon/.test(Y.className)){arguments.callee(Y,d);continue}}var c=Y.nodeType==3?Y.data:Y.alt;if(c===""){continue}if(!V){V=K.getStyle(W).extend(d)}if(!X){X=B(W,V)}if(!X){continue}var Z=L(X,c,V,d,Y,W);if(Z){Y.parentNode.replaceChild(Z,Y)}else{Y.parentNode.removeChild(Y)}}if(!b.options){b.options=d}}var P=" ".split(/\s+/).length==0;var C=new U();var S=[];var T={},G={},Q={enableTextDecoration:false,engine:null,printable:true,selector:(window.Sizzle||window.jQuery||(window.dojo&&dojo.query)||(window.$$&&function(V){return $$(V)})||(window.$&&function(V){return $(V)})||(document.querySelectorAll&&function(V){return document.querySelectorAll(V)})||E),separate:"words",textShadow:"none"};var M={words:/\s+/,characters:""};J.now=function(){R.ready();return J};J.refresh=function(){var X=S.splice(0,S.length);for(var W=0,V=X.length;W<V;++W){J.replace.apply(null,X[W])}return J};J.registerEngine=function(W,V){if(!V){return J}T[W]=V;return J.set("engine",W)};J.registerFont=function(X){var V=new O(X),W=V.family;if(!G[W]){G[W]=new D()}G[W].add(V);return J.set("fontFamily",W)};J.replace=function(X,W,V){W=F(Q,W);if(!W.engine){return J}if(typeof W.textShadow=="string"){W.textShadow=K.textShadow(W.textShadow)}if(!V){S.push(arguments)}if(X.nodeType||typeof X=="string"){X=[X]}K.ready(function(){for(var Z=0,Y=X.length;Z<Y;++Z){var a=X[Z];if(typeof a=="string"){J.replace(W.selector(a),W,true)}else{I(a,W)}}});return J};J.set=function(V,W){Q[V]=W;return J};return J})();Cufon.registerEngine("canvas",(function(){var B=document.createElement("canvas");if(!B||!B.getContext||!B.getContext.apply){return null}B=null;var A=Cufon.CSS.supports("display","inline-block");var E=!A&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var F=document.createElement("style");F.type="text/css";F.appendChild(document.createTextNode("@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle"+(E?"":";font-size:1px;line-height:1px")+"}.cufon-canvas .cufon-alt{display:none}"+(A?".cufon-canvas canvas{position:relative}":".cufon-canvas canvas{position:absolute}")+"}@media print{.cufon-canvas{padding:0 !important}.cufon-canvas canvas{display:none}.cufon-canvas .cufon-alt{display:inline}}"));document.getElementsByTagName("head")[0].appendChild(F);function D(O,I){var N=0,M=0;var G=Cufon.VML.parsePath(O);var H=new Array(G.length-1);generate:for(var K=0,J=G.length;K<J;++K){var L=G[K].coords;switch(G[K].type){case"v":H[K]={m:"bezierCurveTo",a:[N+Number(L[0]),M+Number(L[1]),N+Number(L[2]),M+Number(L[3]),N+=Number(L[4]),M+=Number(L[5])]};break;case"r":H[K]={m:"lineTo",a:[N+=Number(L[0]),M+=Number(L[1])]};break;case"m":H[K]={m:"moveTo",a:[N=Number(L[0]),M=Number(L[1])]};break;case"x":H[K]={m:"closePath"};break;case"e":break generate}I[H[K].m].apply(I,H[K].a)}return H}function C(K,J){for(var I=0,H=K.length;I<H;++I){var G=K[I];J[G.m].apply(J,G.a)}}return function(p,S,j,O,W,q){var U=p.viewBox;var I=j.getSize("fontSize",p.baseSize);var f=j.get("letterSpacing");f=(f=="normal")?0:I.convertFrom(parseInt(f,10));var V=0,h=0,e=0,Q=0;var T=O.textShadow,c=[];if(T){for(var o=0,k=T.length;o<k;++o){var Y=T[o];var b=I.convertFrom(parseFloat(Y.offX));var a=I.convertFrom(parseFloat(Y.offY));c[o]=[b,a];if(a<V){V=a}if(b>h){h=b}if(a>e){e=a}if(b<Q){Q=b}}}var t=Cufon.CSS.textTransform(S,j).split("");var G=0,R=null;for(var o=0,k=t.length;o<k;++o){var P=p.glyphs[t[o]]||p.missingGlyph;if(!P){continue}G+=R=Number(P.w||p.w)+f}if(R===null){return null}h+=(U.width-R);Q+=U.minX;var N=document.createElement("span");N.className="cufon cufon-canvas";N.alt=S;var J=document.createElement("canvas");var u=N.style;var Z=J.style;var H=I.convert(U.height-V+e);var s=Math.ceil(H);var d=s/H;J.width=Math.ceil(I.convert(G+h-Q)*d);J.height=s;V+=U.minY;Z.top=Math.round(I.convert(V-p.ascent))+"px";Z.left=Math.round(I.convert(Q))+"px";var M=Math.ceil(I.convert(G*d))+"px";if(A){u.width=M;u.height=I.convert(p.height)+"px"}else{u.paddingLeft=M;u.paddingBottom=(I.convert(p.height)-1)+"px"}var r=J.getContext("2d"),X=s/U.height;r.scale(X,X);r.translate(-Q,-V);r.lineWidth=p.face["underline-thickness"];r.save();function K(i,g){r.strokeStyle=g;r.beginPath();r.moveTo(0,i);r.lineTo(G,i);r.stroke()}var L=O.enableTextDecoration?Cufon.CSS.textDecoration(q,j):{};if(L.underline){K(-p.face["underline-position"],L.underline)}if(L.overline){K(p.ascent,L.overline)}r.fillStyle=j.get("color");function n(){for(var v=0,g=t.length;v<g;++v){var w=p.glyphs[t[v]]||p.missingGlyph;if(!w){continue}r.beginPath();if(w.d){if(w.code){C(w.code,r)}else{w.code=D("m"+w.d,r)}}r.fill();r.translate(Number(w.w||p.w)+f,0)}}if(T){for(var o=0,k=T.length;o<k;++o){var Y=T[o];r.save();r.fillStyle=Y.color;r.translate.apply(r,c[o]);n();r.restore()}}n();r.restore();if(L["line-through"]){K(-p.descent,L["line-through"])}N.appendChild(J);if(O.printable){var m=document.createElement("span");m.className="cufon-alt";m.appendChild(document.createTextNode(S));N.appendChild(m)}return N}})());Cufon.registerEngine("vml",(function(){if(!document.namespaces){return}document.write('<!--[if vml]><script type="text/javascript">Cufon.vmlEnabled=true;<\/script><![endif]-->');if(!Cufon.vmlEnabled){return}if(document.namespaces.cvml==null){document.namespaces.add("cvml","urn:schemas-microsoft-com:vml");document.write('<style type="text/css">@media screen{cvml\\:shape,cvml\\:group,cvml\\:shapetype,cvml\\:fill{behavior:url(#default#VML);display:inline-block;antialias:true;position:absolute}.cufon-vml{display:inline-block;position:relative;vertical-align:middle}.cufon-vml .cufon-alt{display:none}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none}.cufon-vml .cufon-alt{display:inline}}</style>')}var C=0;function B(E,F){return A(E,/(?:em|ex|%)$/i.test(F)?"1em":F)}function A(H,I){if(/px$/i.test(I)){return parseFloat(I)}var G=H.style.left,F=H.runtimeStyle.left;H.runtimeStyle.left=H.currentStyle.left;H.style.left=I;var E=H.style.pixelLeft;H.style.left=G;H.runtimeStyle.left=F;return E}function D(F,H){var E=document.createElement("cvml:shapetype");E.id="cufon-glyph-"+C++;F.typeRef="#"+E.id;E.stroked="f";E.coordsize=H.width+","+H.height;E.coordorigin=H.minX+","+H.minY;var G="m"+H.minX+","+H.minY+" r"+H.width+","+H.height;E.path=(F.d?"m"+F.d+"x":"")+G;document.body.insertBefore(E,document.body.firstChild)}return function(j,R,e,O,V,k,c){var U=j.viewBox;var G=e.computedFontSize||(e.computedFontSize=new Cufon.CSS.Size(B(k,e.get("fontSize"))+"px",j.baseSize));var b=e.computedLSpacing;if(b==undefined){b=e.get("letterSpacing");e.computedLSpacing=b=(b=="normal")?0:G.convertFrom(A(k,b))}var N=document.createElement("span");N.className="cufon cufon-vml";N.alt=R;var H=document.createElement("cvml:group");var r=N.runtimeStyle;var X=H.runtimeStyle;var F=G.convert(U.height);X.height=Math.ceil(F);X.top=Math.round(G.convert(U.minY-j.ascent));X.left=Math.round(G.convert(U.minX));var a=parseInt(X.height,10)/F;r.height=G.convert(-j.ascent+j.descent)+"px";var J=O.enableTextDecoration?Cufon.CSS.textDecoration(k,e):{};var Q=e.get("color");var o=Cufon.CSS.textTransform(R,e).split("");var E=0,Z=0,K=null;var T=O.textShadow;for(var h=0,f=o.length;h<f;++h){var P=j.glyphs[o[h]]||j.missingGlyph;if(!P){continue}if(!P.typeRef){D(P,U)}var L=document.createElement("cvml:shape");L.type=P.typeRef;var m=L.runtimeStyle;m.width=U.width;m.height=U.height;m.top=0;m.left=Z;m.zIndex=1;L.fillcolor=Q;H.appendChild(L);if(T){for(var Y=0,d=T.length;Y<d;++Y){var W=T[Y];var q=Cufon.CSS.color(W.color);var I=L.cloneNode(false),S=I.runtimeStyle;S.top=G.convertFrom(parseFloat(W.offY));S.left=Z+G.convertFrom(parseFloat(W.offX));S.zIndex=0;I.fillcolor=q.color;if(q.opacity){var n=document.createElement("cvml:fill");n.opacity=q.opacity;I.appendChild(n)}H.appendChild(I)}}K=Number(P.w||j.w)+b;E+=K;Z+=K}if(K===null){return null}var M=-U.minX+E+(U.width-K);H.coordsize=M+","+U.height;X.width=G.convert(M*a);r.width=Math.max(Math.ceil(G.convert(E*a)),0);N.appendChild(H);if(O.printable){var g=document.createElement("span");g.className="cufon-alt";g.innerText=R;N.appendChild(g)}if(!c){N.appendChild(document.createElement("cvml:group"))}return N}})());

// Cufon Font Script

Cufon.registerFont({"w":300,"face":{"font-family":"MicrogrammaDMedExt","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 11 6 7 3 5 2 6 2 4","ascent":"282","descent":"-78","x-height":"2","bbox":"-12 -281 506 62.4822","underline-thickness":"22.8516","underline-position":"-41.4844","unicode-range":"U+0020-U+2122"},"glyphs":{" ":{"w":90},"!":{"d":"34,-240r29,0r0,172r-29,0r0,-172xm29,-41r39,0r0,41r-39,0r0,-41","w":96},"\"":{"d":"43,-149r-21,0r-4,-91r30,0xm94,-149r-22,0r-4,-91r30,0","w":116},"#":{"d":"92,-240r26,0r-11,73r99,0r10,-73r25,0r-10,73r48,0r-3,23r-48,0r-7,49r48,0r-3,22r-48,0r-10,73r-26,0r10,-73r-98,0r-10,73r-25,0r10,-73r-48,0r3,-22r48,0r7,-49r-48,0r3,-23r48,0xm104,-144r-7,49r99,0r7,-49r-99,0"},"$":{"d":"140,0v-85,-3,-140,5,-133,-79r30,0v1,64,19,47,103,52r0,-80v-78,-3,-126,3,-131,-65v0,-69,50,-70,131,-70r0,-21r22,0r0,22v87,2,122,-1,126,73r-30,0v1,-58,-33,-42,-96,-47r0,80v91,4,125,-6,132,67v-2,72,-54,69,-132,68r0,27r-22,0r0,-27xm140,-216v-57,3,-103,-8,-99,43v5,47,42,33,99,37r0,-80xm262,-70v12,-50,-73,-31,-100,-37r0,80v66,-4,98,12,100,-43"},"%":{"d":"12,-174v-2,-65,10,-65,71,-67v54,-1,76,6,72,65v-1,55,-8,62,-68,61v-66,-1,-75,-1,-75,-59xm129,-179v11,-49,-37,-37,-72,-37v-23,1,-19,16,-20,40v-1,41,9,37,52,37v38,1,40,-4,40,-40xm242,-240r19,13r-156,227r-19,-13xm193,-61v-2,-63,12,-63,71,-64v56,-1,75,5,72,64v-1,57,-7,63,-72,62v-64,-2,-72,-2,-71,-62xm310,-63v1,-38,-6,-38,-44,-38v-45,0,-47,-1,-48,38v-1,42,7,40,50,40v41,1,41,-4,42,-40","w":347},"&":{"d":"145,-212v-53,-5,-90,7,-65,47v50,36,124,67,180,99r1,-51r31,0r-3,66r47,25r-9,27r-48,-26v-31,32,-52,23,-136,27v-84,0,-137,0,-136,-79v2,-44,16,-62,57,-66v-16,-9,-24,-24,-24,-45v3,-50,33,-51,96,-52v94,6,132,-8,131,74r-31,0v5,-59,-38,-42,-91,-46xm39,-76v3,67,46,42,126,49v43,-2,68,3,85,-14r-162,-85v-37,2,-48,12,-49,50","w":313},"'":{"d":"43,-149r-21,0r-4,-91r30,0","w":65},"(":{"d":"102,25v-80,2,-92,-27,-88,-115v3,-70,-8,-100,15,-135v14,-21,33,-19,73,-21r0,26v-38,-1,-61,2,-58,40v-1,15,-2,43,-2,82v3,72,-12,99,60,97r0,26","w":111},")":{"d":"10,-1v73,2,56,-26,59,-97v-6,-92,23,-124,-59,-122r0,-26v54,1,82,10,85,59v1,16,2,49,2,99v4,85,-9,115,-87,113r0,-26","w":111},"*":{"d":"83,-240r15,0r0,32r27,-16r8,12r-28,17r27,15r-7,13r-27,-15r0,32r-16,0r0,-32r-26,16r-8,-13r27,-16r-28,-16r7,-13r29,16r0,-32","w":180},"+":{"d":"139,-109r-103,0r0,-22r103,0r0,-98r23,0r0,98r102,0r0,22r-102,0r0,97r-23,0r0,-97"},",":{"d":"66,-40v-1,45,9,92,-43,85r0,-21v16,2,19,-7,19,-24r-15,0r0,-40r39,0","w":90},"-":{"d":"0,-101r141,0r0,31r-141,0r0,-31","w":141},".":{"d":"24,-41r39,0r0,41r-39,0r0,-41","w":87},"\/":{"d":"21,46r-33,0r219,-327r33,0","w":235},"0":{"d":"54,-234v66,-7,237,-36,231,53v3,55,13,154,-28,171v-41,15,-158,13,-201,4v-62,-8,-44,-129,-38,-187v4,-22,16,-39,36,-41xm43,-116v3,97,2,82,102,89v46,-1,79,3,99,-13v18,-15,19,-137,1,-160v-30,-20,-152,-19,-189,-1v-12,13,-12,57,-13,85"},"1":{"d":"142,-240r53,0r0,240r-31,0r0,-210r-11,0r-77,73r-20,-22","w":299},"2":{"d":"136,-241v71,4,145,-10,145,74v0,107,-122,63,-214,87v-17,9,-18,19,-18,53r234,0r0,27r-265,0v-4,-61,2,-105,55,-109v36,-16,190,18,179,-54v-4,-58,-29,-50,-102,-50v-40,0,-96,-6,-100,31v0,5,-1,16,-1,34r-30,0v-8,-87,39,-93,117,-93"},"3":{"d":"283,-67v0,76,-50,66,-131,68v-97,-4,-138,14,-137,-83r31,0v-12,73,56,49,111,55v46,-5,102,12,94,-45v4,-60,-79,-29,-135,-37r0,-28v50,-7,139,23,132,-36v-3,-53,-27,-40,-98,-40v-79,0,-103,-16,-101,53r-32,0v-7,-91,47,-79,134,-81v77,3,129,-9,129,63v0,37,-4,44,-29,55v27,8,32,20,32,56"},"4":{"d":"289,-78r0,28r-43,0r0,50r-31,0r0,-50r-204,0r0,-56r180,-134r55,0r0,162r43,0xm215,-78r0,-135r-14,0r-159,122r0,13r173,0"},"5":{"d":"141,-138v-55,4,-79,-5,-87,24r-31,0r0,-126r255,0r0,27r-224,0r0,70v20,-25,36,-18,93,-21v88,0,142,-3,139,82v-4,86,-36,82,-137,83v-61,-2,-63,0,-95,-5v-28,-9,-38,-30,-37,-71r30,0v-2,57,42,45,97,48v87,-4,110,12,110,-58v2,-64,-46,-50,-113,-53"},"6":{"d":"152,-241v80,0,127,-3,126,71r-31,0v-1,-52,-35,-40,-93,-43v-67,3,-111,-9,-103,64r0,30v21,-26,39,-23,96,-25v87,0,133,-7,135,68v-2,80,-47,76,-139,77v-110,2,-129,-13,-124,-127v-7,-108,29,-116,133,-115xm250,-74v1,-49,-37,-39,-86,-42v-63,4,-109,-12,-112,43v4,54,29,41,98,46v75,-5,96,10,100,-47"},"7":{"d":"15,-240r265,0r0,47r-171,193r-42,0r181,-204r0,-9r-233,0r0,-27"},"8":{"d":"280,-177v-1,33,-6,45,-33,52v31,7,36,19,38,58v-4,76,-43,63,-138,68v-75,-3,-134,8,-132,-66v1,-39,8,-52,38,-60v-25,-5,-34,-19,-34,-50v6,-72,29,-63,121,-66v95,2,134,-12,140,64xm248,-175v-1,-26,-7,-34,-30,-36v-5,0,-114,-1,-134,0v-28,2,-31,10,-33,37v-1,47,34,35,81,38v34,0,56,-1,68,-1v32,0,50,-4,48,-38xm253,-69v-5,-54,-26,-42,-102,-42v-57,0,-106,-13,-104,43v3,57,29,41,104,41v76,0,99,11,102,-42"},"9":{"d":"17,-168v-13,-103,139,-69,216,-68v44,11,50,44,48,107v-2,89,3,119,-71,128v-64,-5,-211,33,-194,-67r31,0v-11,67,104,35,153,40v54,1,48,-41,49,-93v-21,27,-50,27,-106,27v-81,1,-127,2,-126,-74xm247,-166v-1,-48,-28,-46,-81,-47v-73,6,-112,-16,-117,43v2,65,38,42,111,48v52,-1,84,3,87,-44"},":":{"d":"24,-167r39,0r0,41r-39,0r0,-41xm24,-41r39,0r0,41r-39,0r0,-41","w":87},";":{"d":"27,-167r40,0r0,41r-40,0r0,-41xm66,-40v-1,45,9,92,-43,85r0,-21v16,2,19,-7,19,-24r-15,0r0,-40r39,0","w":91},"<":{"d":"168,-206r0,28r-125,58r125,58r0,28r-156,-74r0,-24","w":180},"=":{"d":"36,-133r0,-22r228,0r0,22r-228,0xm36,-85r0,-22r228,0r0,22r-228,0"},">":{"d":"12,-206r156,74r0,24r-156,74r0,-28r125,-58r-125,-58r0,-28","w":180},"?":{"d":"118,-214v-64,4,-77,-6,-75,54r-30,0v-3,-75,26,-84,105,-82v86,1,120,-1,123,73v7,65,-52,65,-102,74v-11,5,-12,8,-12,26r-29,0v-9,-69,64,-47,104,-71v6,-6,9,-17,9,-33v-3,-51,-31,-37,-93,-41xm92,-42r41,0r0,42r-41,0r0,-42","w":255},"@":{"d":"167,-188v32,-1,40,3,55,15r1,-13r25,0r-8,87v0,13,3,20,17,20v41,0,20,-113,20,-114v-16,-30,-50,-22,-106,-24v-74,2,-91,-4,-121,15v-21,34,-24,148,9,168v28,13,56,10,111,11v53,-3,73,5,88,-15r22,11v-23,35,-59,25,-126,28v-116,1,-144,-10,-143,-122v0,-117,32,-122,161,-119v108,-2,130,2,133,94v-3,58,2,88,-46,91v-27,1,-35,-4,-46,-16v-11,16,-28,16,-63,16v-53,1,-82,-5,-83,-50v1,-69,25,-86,100,-83xm219,-132v-2,-36,-15,-32,-57,-34v-53,-2,-69,6,-69,57v2,34,16,31,56,33v59,0,66,-4,70,-56","w":316},"A":{"d":"284,0r-29,-51r-194,0r-28,51r-37,0r137,-240r51,0r135,240r-35,0xm240,-79r-75,-133r-12,0r-76,133r163,0","w":315},"B":{"d":"295,-68v4,73,-51,65,-118,68r-159,0r0,-240r159,0v72,1,104,-1,108,62v0,31,-7,43,-29,52v30,5,39,22,39,58xm253,-174v0,-45,-21,-35,-76,-38r-127,0r0,75r127,0v49,0,76,4,76,-37xm262,-69v-5,-50,-22,-36,-85,-40r-127,0r0,81r127,0v53,-3,84,9,85,-41","w":307},"C":{"d":"90,-209v-71,0,-36,97,-41,150v12,54,110,24,181,28v31,-5,32,-11,32,-51r31,0v4,88,-35,81,-125,83v-121,-2,-158,8,-155,-117v3,-71,-2,-108,51,-120v58,-1,210,-26,223,33v2,7,3,21,3,42r-29,0v-1,-62,-28,-46,-100,-51v-32,0,-55,3,-71,3","w":301},"D":{"d":"315,-120v1,95,-28,127,-129,120r-168,0r0,-240r166,0v104,-6,134,20,131,120xm185,-28v82,6,97,-16,97,-93v0,-83,-16,-94,-99,-91r-133,0r0,184r135,0","w":328},"E":{"d":"18,0r0,-240r235,0r0,28r-203,0r0,73r195,0r0,29r-195,0r0,82r203,0r0,28r-235,0","w":258},"F":{"d":"18,0r0,-240r225,0r0,28r-193,0r0,76r185,0r0,28r-185,0r0,108r-32,0","w":243},"G":{"d":"272,-165v4,-66,-57,-40,-112,-47v-60,4,-102,-11,-112,35v3,44,-21,147,29,145v28,0,174,19,192,-14v3,-7,5,-23,6,-48r-125,0r0,-28r157,0v2,116,-13,123,-139,123v-119,-2,-159,9,-155,-121v2,-58,0,-98,40,-113v64,-3,269,-46,252,68r-33,0","w":318},"H":{"d":"18,-240r32,0r0,101r221,0r0,-101r32,0r0,240r-32,0r0,-110r-221,0r0,110r-32,0r0,-240","w":320},"I":{"d":"18,-240r32,0r0,240r-32,0r0,-240","w":67},"J":{"d":"160,-30v44,-6,37,-26,37,-86r0,-124r32,0r-2,187v-11,58,-49,51,-126,54v-75,2,-106,-13,-101,-89r30,0v-14,80,67,57,130,58","w":244},"K":{"d":"18,-240r32,0r0,103r42,0r155,-103r56,0r-178,117r188,123r-57,0r-164,-109r-42,0r0,109r-32,0r0,-240","w":310},"L":{"d":"18,-240r32,0r0,212r189,0r0,28r-221,0r0,-240","w":239},"M":{"d":"18,-240r64,0r130,203r128,-203r65,0r0,240r-32,0r0,-210r-14,0r-134,210r-26,0r-135,-210r-14,0r0,210r-32,0r0,-240","w":422},"N":{"d":"18,-240r53,0r210,210r8,0r0,-210r32,0r0,240r-54,0r-210,-210r-7,0r0,210r-32,0r0,-240","w":338},"O":{"d":"65,-236v57,-3,226,-27,240,32v11,63,30,198,-45,201v-69,-1,-233,32,-243,-49v-3,-27,-5,-129,4,-150v6,-19,21,-33,44,-34xm250,-208v-47,-4,-156,-11,-192,8v-19,27,-16,127,-2,159v35,22,148,12,196,8v47,-3,25,-110,26,-152v-3,-13,-12,-21,-28,-23","w":326},"P":{"d":"285,-166v13,115,-137,65,-235,76r0,90r-32,0r0,-240r152,0v90,0,110,1,115,74xm252,-165v0,-54,-20,-44,-82,-47r-120,0r0,94r120,0v60,-2,82,7,82,-47","w":289},"Q":{"d":"222,-240v86,-4,94,37,93,120v0,33,-2,57,-6,73r25,15r-14,24r-22,-14v-38,32,-49,18,-134,23v-64,-2,-66,2,-102,-5v-67,-4,-49,-130,-43,-191v11,-68,121,-40,203,-45xm191,-123r90,58v2,-39,14,-125,-17,-140v-45,-8,-171,-16,-206,6v-20,28,-16,128,0,159v30,20,174,16,213,1r-95,-61","w":330},"R":{"d":"258,0v0,-50,6,-95,-43,-92r-165,0r0,92r-32,0r0,-240r150,0v90,1,121,-2,126,72v1,42,-8,57,-40,64v44,4,35,53,36,104r-32,0xm261,-168v-1,-55,-35,-40,-93,-44r-118,0r0,92r118,0v65,-3,90,10,93,-48","w":306},"S":{"d":"42,-75v2,64,22,43,102,49v58,-4,96,9,100,-41v1,-30,-11,-39,-42,-38v-10,-1,-45,-1,-104,-1v-56,0,-87,-11,-87,-67v-3,-89,128,-66,206,-64v36,9,54,22,52,68r-32,0v3,-50,-35,-45,-84,-45v-58,0,-106,-9,-110,41v2,46,29,35,82,39v11,0,37,0,79,1v50,-1,72,16,73,63v-5,80,-58,67,-154,71v-74,1,-117,-2,-112,-76r31,0","w":287},"T":{"d":"0,-240r273,0r0,28r-120,0r0,212r-32,0r0,-212r-121,0r0,-28","w":272},"U":{"d":"85,-1v-105,0,-60,-142,-69,-239r32,0r1,181v6,42,51,27,101,31v58,-2,84,4,109,-13v17,-36,4,-136,8,-199r32,0r-2,184v-14,66,-49,52,-139,57v-41,-1,-65,-2,-73,-2","w":314},"V":{"d":"-5,-240r36,0r118,211r12,0r116,-211r36,0r-133,240r-49,0","w":307},"W":{"d":"-5,-240r35,0r97,213r10,0r94,-213r40,0r91,213r9,0r100,-213r35,0r-113,240r-54,0r-88,-205r-91,205r-55,0","w":500},"X":{"d":"10,-240r45,0r105,101r105,-101r47,0r-123,115r130,125r-45,0r-116,-111r-113,111r-47,0r132,-125","w":316},"Y":{"d":"-5,-240r43,0r116,115r112,-115r45,0r-141,142r0,98r-32,0r0,-98","w":306},"Z":{"d":"12,-240r265,0r0,25r-218,187r221,0r0,28r-276,0r0,-21r222,-191r-214,0r0,-28","w":282},"[":{"d":"24,-240r77,0r0,24r-50,0r0,216r50,0r0,24r-77,0r0,-264","w":111},"\\":{"d":"214,46r-219,-327r34,0r219,327r-34,0","w":235},"]":{"d":"88,24r-77,0r0,-24r49,0r0,-216r-49,0r0,-24r77,0r0,264","w":111},"^":{"d":"38,-134r-27,0r63,-107r32,0r63,107r-27,0r-52,-87","w":180},"_":{"d":"0,19r180,0r0,22r-180,0r0,-22","w":180},"`":{"d":"52,-234r27,-21r35,56r-18,14","w":180},"a":{"d":"111,-146v-45,3,-65,-5,-68,29r-27,0v-3,-50,32,-51,93,-52v74,0,109,4,104,81r0,88r-26,0v-1,-6,4,-17,-1,-20v-17,24,-31,20,-75,22v-65,-1,-100,5,-103,-51v3,-50,23,-50,85,-50v57,1,69,-2,94,17v5,-57,-18,-67,-76,-64xm185,-49v-5,-30,-30,-25,-74,-27v-43,2,-72,-7,-75,28v6,34,23,23,80,27v43,-3,65,4,69,-28","w":226},"b":{"d":"122,2v-47,0,-62,-1,-80,-23r0,21r-26,0r0,-240r26,0v2,30,-4,67,2,93v16,-22,31,-21,74,-22v82,-3,114,12,114,88v0,72,-34,85,-110,83xm204,-83v-1,-60,-21,-63,-86,-63v-55,-2,-79,9,-77,63v-1,63,25,61,90,62v53,2,74,-10,73,-62","w":242},"c":{"d":"126,-21v47,-2,63,0,67,-39r27,0v-2,54,-31,63,-89,62v-83,2,-120,-6,-120,-85v1,-72,27,-88,104,-86v65,0,101,4,104,62r-28,0v-3,-41,-26,-36,-76,-39v-62,-1,-76,10,-76,65v2,56,20,60,87,60","w":228},"d":{"d":"126,-169v41,0,56,4,74,22r0,-93r27,0r0,240r-26,0v-1,-6,3,-18,-2,-21v-17,23,-33,23,-80,23v-75,3,-110,-14,-108,-85v2,-76,30,-88,115,-86xm201,-82v0,-57,-15,-64,-78,-64v-58,-2,-87,6,-84,63v2,58,15,60,76,62v58,2,89,-4,86,-61","w":242},"e":{"d":"130,-21v38,-2,64,2,67,-31r27,0v-3,48,-34,53,-92,54v-82,2,-122,-6,-121,-85v0,-72,27,-88,104,-86v81,-2,111,14,110,91r-186,0v1,58,30,57,91,57xm196,-100v4,-58,-73,-46,-121,-43v-24,4,-33,15,-35,43r156,0","w":234},"f":{"d":"35,-167v-6,-73,41,-74,111,-73r0,22v-44,3,-92,-9,-84,51r84,0r0,23r-85,0r0,144r-26,0r0,-144r-37,0r0,-23r37,0","w":145},"g":{"d":"123,-169v44,-1,60,4,79,24r-1,-22r27,0r0,125v0,60,-2,93,-54,101v-56,2,-165,20,-159,-51r27,0v-3,45,87,29,125,28v30,-4,38,-30,32,-64v-20,22,-33,21,-81,22v-73,3,-108,-14,-107,-82v0,-70,38,-84,112,-81xm201,-90v-1,-53,-20,-55,-78,-56v-64,1,-81,2,-84,59v3,54,18,58,81,58v64,0,80,-6,81,-61","w":242},"h":{"d":"126,-146v-57,2,-88,6,-84,68r0,78r-26,0r0,-240r26,0v2,31,-4,71,2,98v16,-26,38,-26,85,-27v69,-1,98,11,94,82r0,87r-27,0r0,-78v5,-59,-16,-68,-70,-68","w":235},"i":{"d":"16,-167r26,0r0,167r-26,0r0,-167xm16,-240r26,0r0,31r-26,0r0,-31","w":57},"j":{"d":"-5,35v29,1,30,-6,30,-33r0,-169r26,0r0,163v3,49,-10,64,-56,63r0,-24xm25,-240r26,0r0,30r-26,0r0,-30","w":66},"k":{"d":"16,-240r26,0r0,138r15,0r101,-65r42,0r-116,76r133,91r-44,0r-117,-79r-14,0r0,79r-26,0r0,-240","w":214},"l":{"d":"16,-240r26,0r0,240r-26,0r0,-240","w":57},"m":{"d":"111,-146v-59,-1,-74,15,-70,80r0,66r-27,0r0,-167r27,0r0,22v25,-37,138,-33,155,5v14,-25,35,-29,78,-29v66,0,95,11,91,81r0,88r-26,0r0,-94v0,-50,-14,-49,-66,-52v-86,-12,-69,69,-70,146r-26,0r0,-94v1,-47,-17,-50,-66,-52","w":378},"n":{"d":"124,-146v-57,1,-88,7,-83,69r0,77r-27,0r0,-167r27,0v1,8,-3,21,2,25v16,-26,37,-26,84,-27v67,-1,96,10,94,75r0,94r-26,0r0,-83v3,-55,-19,-63,-71,-63","w":234},"o":{"d":"11,-84v1,-70,28,-87,102,-85v83,-3,118,10,118,86v-1,71,-29,88,-106,85v-78,3,-116,-11,-114,-86xm202,-84v1,-60,-23,-61,-84,-62v-56,-2,-81,8,-79,63v0,57,21,62,84,62v57,1,81,-6,79,-63","w":241},"p":{"d":"119,2v-43,0,-60,-2,-78,-22r0,80r-27,0r0,-227r27,0v1,7,-2,17,1,22v17,-24,33,-22,80,-24v74,-2,111,14,109,86v-2,74,-31,87,-112,85xm203,-83v-1,-54,-16,-63,-75,-63v-60,-1,-90,4,-88,61v0,57,16,64,78,64v59,1,87,-5,85,-62","w":241},"q":{"d":"120,-169v47,1,62,2,81,23r0,-21r25,0r0,227r-26,0v-1,-26,2,-56,-1,-80v-15,19,-30,22,-73,22v-83,3,-116,-12,-115,-88v-1,-71,35,-85,109,-83xm201,-84v0,-62,-22,-61,-87,-62v-55,-2,-77,11,-75,63v0,58,22,63,85,62v56,2,80,-8,77,-63","w":240},"r":{"d":"115,-146v-62,2,-73,7,-74,69r0,77r-27,0r0,-167r27,0v1,7,-3,20,2,23v12,-24,37,-25,75,-25v58,-3,77,19,74,77r-27,0v3,-42,-7,-55,-50,-54","w":193},"s":{"d":"117,2v-65,-1,-111,6,-107,-60r28,0v1,48,21,33,80,37v41,-3,74,7,74,-26v0,-25,-15,-25,-44,-26v-5,0,-30,0,-76,-1v-37,0,-59,-8,-59,-46v-6,-69,112,-48,165,-44v25,7,39,15,36,49r-27,0v-1,-38,-33,-31,-72,-31v-50,0,-70,-5,-74,27v2,24,17,21,49,22v47,2,139,-14,130,50v-1,54,-45,47,-103,49","w":229},"t":{"d":"116,-21v38,3,46,-15,43,-54r27,0v4,58,-16,79,-72,77v-53,1,-77,-11,-74,-65r0,-81r-41,0r0,-23r41,0r0,-41r26,0r0,41r117,0r0,23r-117,0r1,101v6,19,22,22,49,22","w":190},"u":{"d":"105,2v-64,1,-96,-11,-92,-77r0,-92r27,0r0,85v-4,53,18,61,68,61v53,-1,83,-8,81,-63r0,-83r26,0r0,167r-26,0v-1,-8,3,-21,-2,-25v-18,25,-35,26,-82,27","w":229},"v":{"d":"-5,-167r31,0r81,143r3,0r81,-143r32,0r-97,167r-35,0","w":217},"w":{"d":"-5,-167r30,0r64,143r3,0r50,-143r42,0r51,143r3,0r64,-143r30,0r-77,167r-39,0r-51,-142r-3,0r-51,142r-39,0","w":327},"x":{"d":"8,-167r39,0r66,64r66,-64r39,0r-85,79r94,88r-41,0r-73,-71r-74,71r-41,0r95,-88","w":225},"y":{"d":"-4,-167r31,0r81,146r3,0r75,-146r31,0r-104,195v-16,26,-42,32,-86,30r0,-24v43,1,58,-3,72,-34r-9,0","w":213},"z":{"d":"11,-167r180,0r0,24r-149,121r150,0r0,22r-187,0r0,-26r147,-118r-141,0r0,-23","w":195},"{":{"d":"3,-124v45,2,6,-75,35,-101v16,-17,32,-19,69,-21r0,26v-47,-3,-57,13,-54,60v0,32,-2,37,-18,49v22,11,16,22,18,62v-1,41,10,49,54,48r0,26v-69,0,-84,-21,-83,-91v-1,-27,2,-32,-21,-33r0,-25","w":111},"|":{"d":"76,-240r28,0r0,300r-28,0r0,-300","w":180},"}":{"d":"58,-156v3,-49,-2,-68,-53,-64r0,-26v65,4,84,16,82,95v1,24,-1,25,21,27r0,25v-40,-8,-11,84,-29,95v-16,26,-30,26,-74,29r0,-26v44,1,53,-8,54,-48v2,-41,-4,-50,17,-63v-16,-9,-18,-18,-18,-44","w":111},"~":{"d":"82,-235v-19,1,-23,12,-33,26r-15,-12v17,-38,47,-53,90,-26v23,16,58,16,67,-15r15,12v-9,21,-24,41,-48,41v-22,0,-57,-27,-76,-26","w":239},"\u2122":{"d":"2,-240r175,0r0,20r-75,0r0,124r-24,0r0,-124r-76,0r0,-20xm194,-240r44,0r81,117r79,-117r44,0r0,144r-24,0r0,-123r-5,0r-85,123r-18,0r-86,-123r-6,0r0,123r-24,0r0,-144","w":454},"\u2026":{"d":"24,-41r39,0r0,41r-39,0r0,-41xm111,-41r39,0r0,41r-39,0r0,-41xm198,-41r39,0r0,41r-39,0r0,-41","w":261},"\u2013":{"d":"12,-101r190,0r0,31r-190,0r0,-31","w":213},"\u2014":{"d":"12,-101r334,0r0,31r-334,0r0,-31","w":357},"\u201c":{"d":"24,-157v0,-45,-7,-93,44,-85r0,21v-16,-2,-20,6,-19,23r14,0r0,41r-39,0xm88,-157v0,-45,-8,-93,43,-85r0,21v-15,-2,-20,6,-19,23r15,0r0,41r-39,0","w":153},"\u201d":{"d":"66,-240v-1,45,9,92,-43,85r0,-21v16,2,20,-7,19,-24r-15,0r0,-40r39,0xm131,-240v0,45,7,91,-43,85r0,-21v16,2,20,-7,19,-24r-15,0r0,-40r39,0","w":142},"\u2018":{"d":"24,-157v0,-45,-7,-93,44,-85r0,21v-16,-2,-20,6,-19,23r14,0r0,41r-39,0","w":90},"\u2019":{"d":"66,-240v-1,45,9,92,-43,85r0,-21v16,2,20,-7,19,-24r-15,0r0,-40r39,0","w":90},"\u00d7":{"d":"150,-104r-77,77r-16,-16r77,-77r-77,-77r16,-16r77,77r77,-77r16,16r-77,77r77,77r-16,16"}}});

// jquery.tabs.js

;(function($){$.ui={plugin:{add:function(module,option,set){var proto=$.ui[module].prototype;for(var i in set){proto.plugins[i]=proto.plugins[i]||[];proto.plugins[i].push([option,set[i]]);}},call:function(instance,name,args){var set=instance.plugins[name];if(!set){return;}
for(var i=0;i<set.length;i++){if(instance.options[set[i][0]]){set[i][1].apply(instance.element,args);}}}},cssCache:{},css:function(name){if($.ui.cssCache[name]){return $.ui.cssCache[name];}
var tmp=$('<div class="ui-gen">').addClass(name).css({position:'absolute',top:'-5000px',left:'-5000px',display:'block'}).appendTo('body');$.ui.cssCache[name]=!!((!(/auto|default/).test(tmp.css('cursor'))||(/^[1-9]/).test(tmp.css('height'))||(/^[1-9]/).test(tmp.css('width'))||!(/none/).test(tmp.css('backgroundImage'))||!(/transparent|rgba\(0, 0, 0, 0\)/).test(tmp.css('backgroundColor'))));try{$('body').get(0).removeChild(tmp.get(0));}catch(e){}
return $.ui.cssCache[name];},disableSelection:function(el){$(el).attr('unselectable','on').css('MozUserSelect','none');},enableSelection:function(el){$(el).attr('unselectable','off').css('MozUserSelect','');},hasScroll:function(e,a){var scroll=/top/.test(a||"top")?'scrollTop':'scrollLeft',has=false;if(e[scroll]>0)return true;e[scroll]=1;has=e[scroll]>0?true:false;e[scroll]=0;return has;}};var _remove=$.fn.remove;$.fn.remove=function(){$("*",this).add(this).triggerHandler("remove");return _remove.apply(this,arguments);};function getter(namespace,plugin,method){var methods=$[namespace][plugin].getter||[];methods=(typeof methods=="string"?methods.split(/,?\s+/):methods);return($.inArray(method,methods)!=-1);}
$.widget=function(name,prototype){var namespace=name.split(".")[0];name=name.split(".")[1];$.fn[name]=function(options){var isMethodCall=(typeof options=='string'),args=Array.prototype.slice.call(arguments,1);if(isMethodCall&&getter(namespace,name,options)){var instance=$.data(this[0],name);return(instance?instance[options].apply(instance,args):undefined);}
return this.each(function(){var instance=$.data(this,name);if(isMethodCall&&instance&&$.isFunction(instance[options])){instance[options].apply(instance,args);}else if(!isMethodCall){$.data(this,name,new $[namespace][name](this,options));}});};$[namespace][name]=function(element,options){var self=this;this.widgetName=name;this.widgetBaseClass=namespace+'-'+name;this.options=$.extend({},$.widget.defaults,$[namespace][name].defaults,options);this.element=$(element).bind('setData.'+name,function(e,key,value){return self.setData(key,value);}).bind('getData.'+name,function(e,key){return self.getData(key);}).bind('remove',function(){return self.destroy();});this.init();};$[namespace][name].prototype=$.extend({},$.widget.prototype,prototype);};$.widget.prototype={init:function(){},destroy:function(){this.element.removeData(this.widgetName);},getData:function(key){return this.options[key];},setData:function(key,value){this.options[key]=value;if(key=='disabled'){this.element[value?'addClass':'removeClass'](this.widgetBaseClass+'-disabled');}},enable:function(){this.setData('disabled',false);},disable:function(){this.setData('disabled',true);}};$.widget.defaults={disabled:false};$.ui.mouse={mouseInit:function(){var self=this;this.element.bind('mousedown.'+this.widgetName,function(e){return self.mouseDown(e);});if($.browser.msie){this._mouseUnselectable=this.element.attr('unselectable');this.element.attr('unselectable','on');}
this.started=false;},mouseDestroy:function(){this.element.unbind('.'+this.widgetName);($.browser.msie&&this.element.attr('unselectable',this._mouseUnselectable));},mouseDown:function(e){(this._mouseStarted&&this.mouseUp(e));this._mouseDownEvent=e;var self=this,btnIsLeft=(e.which==1),elIsCancel=(typeof this.options.cancel=="string"?$(e.target).parents().add(e.target).filter(this.options.cancel).length:false);if(!btnIsLeft||elIsCancel||!this.mouseCapture(e)){return true;}
this._mouseDelayMet=!this.options.delay;if(!this._mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){self._mouseDelayMet=true;},this.options.delay);}
if(this.mouseDistanceMet(e)&&this.mouseDelayMet(e)){this._mouseStarted=(this.mouseStart(e)!==false);if(!this._mouseStarted){e.preventDefault();return true;}}
this._mouseMoveDelegate=function(e){return self.mouseMove(e);};this._mouseUpDelegate=function(e){return self.mouseUp(e);};$(document).bind('mousemove.'+this.widgetName,this._mouseMoveDelegate).bind('mouseup.'+this.widgetName,this._mouseUpDelegate);return false;},mouseMove:function(e){if($.browser.msie&&!e.button){return this.mouseUp(e);}
if(this._mouseStarted){this.mouseDrag(e);return false;}
if(this.mouseDistanceMet(e)&&this.mouseDelayMet(e)){this._mouseStarted=(this.mouseStart(this._mouseDownEvent,e)!==false);(this._mouseStarted?this.mouseDrag(e):this.mouseUp(e));}
return!this._mouseStarted;},mouseUp:function(e){$(document).unbind('mousemove.'+this.widgetName,this._mouseMoveDelegate).unbind('mouseup.'+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this.mouseStop(e);}
return false;},mouseDistanceMet:function(e){return(Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance);},mouseDelayMet:function(e){return this._mouseDelayMet;},mouseStart:function(e){},mouseDrag:function(e){},mouseStop:function(e){},mouseCapture:function(e){return true;}};$.ui.mouse.defaults={cancel:null,distance:1,delay:0};})(jQuery);(function($){$.widget("ui.tabs",{init:function(){this.options.event+='.tabs';this.tabify(true);},setData:function(key,value){if((/^selected/).test(key))
this.select(value);else{this.options[key]=value;this.tabify();}},length:function(){return this.$tabs.length;},tabId:function(a){return a.title&&a.title.replace(/\s/g,'_').replace(/[^A-Za-z0-9\-_:\.]/g,'')||this.options.idPrefix+$.data(a);},ui:function(tab,panel){return{options:this.options,tab:tab,panel:panel,index:this.$tabs.index(tab)};},tabify:function(init){this.$lis=$('li:has(a[href])',this.element);this.$tabs=this.$lis.map(function(){return $('a',this)[0];});this.$panels=$([]);var self=this,o=this.options;this.$tabs.each(function(i,a){if(a.hash&&a.hash.replace('#',''))
self.$panels=self.$panels.add(a.hash);else if($(a).attr('href')!='#'){$.data(a,'href.tabs',a.href);$.data(a,'load.tabs',a.href);var id=self.tabId(a);a.href='#'+id;var $panel=$('#'+id);if(!$panel.length){$panel=$(o.panelTemplate).attr('id',id).addClass(o.panelClass).insertAfter(self.$panels[i-1]||self.element);$panel.data('destroy.tabs',true);}
self.$panels=self.$panels.add($panel);}
else
o.disabled.push(i+1);});if(init){this.element.addClass(o.navClass);this.$panels.each(function(){var $this=$(this);$this.addClass(o.panelClass);});if(o.selected===undefined){if(location.hash){this.$tabs.each(function(i,a){if(a.hash==location.hash){o.selected=i;if($.browser.msie||$.browser.opera){var $toShow=$(location.hash),toShowId=$toShow.attr('id');$toShow.attr('id','');setTimeout(function(){$toShow.attr('id',toShowId);},500);}
scrollTo(0,0);return false;}});}
else if(o.cookie){var index=parseInt($.cookie('ui-tabs'+$.data(self.element)),10);if(index&&self.$tabs[index])
o.selected=index;}
else if(self.$lis.filter('.'+o.selectedClass).length)
o.selected=self.$lis.index(self.$lis.filter('.'+o.selectedClass)[0]);}
o.selected=o.selected===null||o.selected!==undefined?o.selected:0;o.disabled=$.unique(o.disabled.concat($.map(this.$lis.filter('.'+o.disabledClass),function(n,i){return self.$lis.index(n);}))).sort();if($.inArray(o.selected,o.disabled)!=-1)
o.disabled.splice($.inArray(o.selected,o.disabled),1);this.$panels.addClass(o.hideClass);this.$lis.removeClass(o.selectedClass);if(o.selected!==null){this.$panels.eq(o.selected).show().removeClass(o.hideClass);this.$lis.eq(o.selected).addClass(o.selectedClass);var onShow=function(){$(self.element).triggerHandler('tabsshow',[self.fakeEvent('tabsshow'),self.ui(self.$tabs[o.selected],self.$panels[o.selected])],o.show);};if($.data(this.$tabs[o.selected],'load.tabs'))
this.load(o.selected,onShow);else
onShow();}
$(window).bind('unload',function(){self.$tabs.unbind('.tabs');self.$lis=self.$tabs=self.$panels=null;});}
for(var i=0,li;li=this.$lis[i];i++)
$(li)[$.inArray(i,o.disabled)!=-1&&!$(li).hasClass(o.selectedClass)?'addClass':'removeClass'](o.disabledClass);if(o.cache===false)
this.$tabs.removeData('cache.tabs');var hideFx,showFx,baseFx={'min-width':0,duration:1},baseDuration='normal';if(o.fx&&o.fx.constructor==Array)
hideFx=o.fx[0]||baseFx,showFx=o.fx[1]||baseFx;else
hideFx=showFx=o.fx||baseFx;var resetCSS={display:'',overflow:'',height:''};if(!$.browser.msie)
resetCSS.opacity='';function hideTab(clicked,$hide,$show){$hide.animate(hideFx,hideFx.duration||baseDuration,function(){$hide.addClass(o.hideClass).css(resetCSS);if($.browser.msie&&hideFx.opacity)
$hide[0].style.filter='';if($show)
showTab(clicked,$show,$hide);});}
function showTab(clicked,$show,$hide){if(showFx===baseFx)
$show.css('display','block');$show.animate(showFx,showFx.duration||baseDuration,function(){$show.removeClass(o.hideClass).css(resetCSS);if($.browser.msie&&showFx.opacity)
$show[0].style.filter='';$(self.element).triggerHandler('tabsshow',[self.fakeEvent('tabsshow'),self.ui(clicked,$show[0])],o.show);});}
function switchTab(clicked,$li,$hide,$show){$li.addClass(o.selectedClass).siblings().removeClass(o.selectedClass);hideTab(clicked,$hide,$show);}
this.$tabs.unbind('.tabs').bind(o.event,function(){var $li=$(this).parents('li:eq(0)'),$hide=self.$panels.filter(':visible'),$show=$(this.hash);if(($li.hasClass(o.selectedClass)&&!o.unselect)||$li.hasClass(o.disabledClass)||$(this).hasClass(o.loadingClass)||$(self.element).triggerHandler('tabsselect',[self.fakeEvent('tabsselect'),self.ui(this,$show[0])],o.select)===false){this.blur();return false;}
self.options.selected=self.$tabs.index(this);if(o.unselect){if($li.hasClass(o.selectedClass)){self.options.selected=null;$li.removeClass(o.selectedClass);self.$panels.stop();hideTab(this,$hide);this.blur();return false;}else if(!$hide.length){self.$panels.stop();var a=this;self.load(self.$tabs.index(this),function(){$li.addClass(o.selectedClass).addClass(o.unselectClass);showTab(a,$show);});this.blur();return false;}}
if(o.cookie)
$.cookie('ui-tabs'+$.data(self.element),self.options.selected,o.cookie);self.$panels.stop();if($show.length){var a=this;self.load(self.$tabs.index(this),$hide.length?function(){switchTab(a,$li,$hide,$show);}:function(){$li.addClass(o.selectedClass);showTab(a,$show);});}else
throw'jQuery UI Tabs: Mismatching fragment identifier.';if($.browser.msie)
this.blur();return false;});if(!(/^click/).test(o.event))
this.$tabs.bind('click.tabs',function(){return false;});},add:function(url,label,index){if(index==undefined)
index=this.$tabs.length;var o=this.options;var $li=$(o.tabTemplate.replace(/#\{href\}/g,url).replace(/#\{label\}/g,label));$li.data('destroy.tabs',true);var id=url.indexOf('#')==0?url.replace('#',''):this.tabId($('a:first-child',$li)[0]);var $panel=$('#'+id);if(!$panel.length){$panel=$(o.panelTemplate).attr('id',id).addClass(o.hideClass).data('destroy.tabs',true);}
$panel.addClass(o.panelClass);if(index>=this.$lis.length){$li.appendTo(this.element);$panel.appendTo(this.element[0].parentNode);}else{$li.insertBefore(this.$lis[index]);$panel.insertBefore(this.$panels[index]);}
o.disabled=$.map(o.disabled,function(n,i){return n>=index?++n:n});this.tabify();if(this.$tabs.length==1){$li.addClass(o.selectedClass);$panel.removeClass(o.hideClass);var href=$.data(this.$tabs[0],'load.tabs');if(href)
this.load(index,href);}
this.element.triggerHandler('tabsadd',[this.fakeEvent('tabsadd'),this.ui(this.$tabs[index],this.$panels[index])],o.add);},remove:function(index){var o=this.options,$li=this.$lis.eq(index).remove(),$panel=this.$panels.eq(index).remove();if($li.hasClass(o.selectedClass)&&this.$tabs.length>1)
this.select(index+(index+1<this.$tabs.length?1:-1));o.disabled=$.map($.grep(o.disabled,function(n,i){return n!=index;}),function(n,i){return n>=index?--n:n});this.tabify();this.element.triggerHandler('tabsremove',[this.fakeEvent('tabsremove'),this.ui($li.find('a')[0],$panel[0])],o.remove);},enable:function(index){var o=this.options;if($.inArray(index,o.disabled)==-1)
return;var $li=this.$lis.eq(index).removeClass(o.disabledClass);if($.browser.safari){$li.css('display','inline-block');setTimeout(function(){$li.css('display','block');},0);}
o.disabled=$.grep(o.disabled,function(n,i){return n!=index;});this.element.triggerHandler('tabsenable',[this.fakeEvent('tabsenable'),this.ui(this.$tabs[index],this.$panels[index])],o.enable);},disable:function(index){var self=this,o=this.options;if(index!=o.selected){this.$lis.eq(index).addClass(o.disabledClass);o.disabled.push(index);o.disabled.sort();this.element.triggerHandler('tabsdisable',[this.fakeEvent('tabsdisable'),this.ui(this.$tabs[index],this.$panels[index])],o.disable);}},select:function(index){if(typeof index=='string')
index=this.$tabs.index(this.$tabs.filter('[href$='+index+']')[0]);this.$tabs.eq(index).trigger(this.options.event);},load:function(index,callback){var self=this,o=this.options,$a=this.$tabs.eq(index),a=$a[0],bypassCache=callback==undefined||callback===false,url=$a.data('load.tabs');callback=callback||function(){};if(!url||!bypassCache&&$.data(a,'cache.tabs')){callback();return;}
var inner=function(parent){var $parent=$(parent),$inner=$parent.find('*:last');return $inner.length&&$inner.is(':not(img)')&&$inner||$parent;};var cleanup=function(){self.$tabs.filter('.'+o.loadingClass).removeClass(o.loadingClass).each(function(){if(o.spinner)
inner(this).parent().html(inner(this).data('label.tabs'));});self.xhr=null;};if(o.spinner){var label=inner(a).html();inner(a).wrapInner('<em></em>').find('em').data('label.tabs',label).html(o.spinner);}
var ajaxOptions=$.extend({},o.ajaxOptions,{url:url,success:function(r,s){$(a.hash).html(r);cleanup();if(o.cache)
$.data(a,'cache.tabs',true);$(self.element).triggerHandler('tabsload',[self.fakeEvent('tabsload'),self.ui(self.$tabs[index],self.$panels[index])],o.load);o.ajaxOptions.success&&o.ajaxOptions.success(r,s);callback();}});if(this.xhr){this.xhr.abort();cleanup();}
$a.addClass(o.loadingClass);setTimeout(function(){self.xhr=$.ajax(ajaxOptions);},0);},url:function(index,url){this.$tabs.eq(index).removeData('cache.tabs').data('load.tabs',url);},destroy:function(){var o=this.options;this.element.unbind('.tabs').removeClass(o.navClass).removeData('tabs');this.$tabs.each(function(){var href=$.data(this,'href.tabs');if(href)
this.href=href;var $this=$(this).unbind('.tabs');$.each(['href','load','cache'],function(i,prefix){$this.removeData(prefix+'.tabs');});});this.$lis.add(this.$panels).each(function(){if($.data(this,'destroy.tabs'))
$(this).remove();else
$(this).removeClass([o.selectedClass,o.unselectClass,o.disabledClass,o.panelClass,o.hideClass].join(' '));});},fakeEvent:function(type){return $.event.fix({type:type,target:this.element[0]});}});$.ui.tabs.defaults={unselect:false,event:'click',disabled:[],cookie:null,spinner:'Loading&#8230;',cache:false,idPrefix:'ui-tabs-',ajaxOptions:{},fx:null,tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>',panelTemplate:'<div></div>',navClass:'ui-tabs-nav',selectedClass:'ui-tabs-selected',unselectClass:'ui-tabs-unselect',disabledClass:'ui-tabs-disabled',panelClass:'ui-tabs-panel',hideClass:'ui-tabs-hide',loadingClass:'ui-tabs-loading'};$.ui.tabs.getter="length";$.extend($.ui.tabs.prototype,{rotation:null,rotate:function(ms,continuing){continuing=continuing||false;var self=this,t=this.options.selected;function start(){self.rotation=setInterval(function(){t=++t<self.$tabs.length?t:0;self.select(t);},ms);}
function stop(e){if(!e||e.clientX){clearInterval(self.rotation);}}
if(ms){start();if(!continuing)
this.$tabs.bind(this.options.event,stop);else
this.$tabs.bind(this.options.event,function(){stop();t=self.options.selected;start();});}
else{stop();this.$tabs.unbind(this.options.event,stop);}}});})(jQuery);

// Superfish

(function($){$.superfish={};$.superfish.o=[];$.superfish.op={};$.superfish.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',delay:800,animation:{opacity:'show'},speed:'normal',oldJquery:false,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.superfish=function(op){var bcClass='sfbreadcrumb',over=function(){var $$=$(this),menu=getMenu($$);getOpts(menu,true);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out=function(){var $$=$(this),menu=getMenu($$);var o=getOpts(menu,true);clearTimeout(menu.sfTimer);if(!$$.is('.'+bcClass)){menu.sfTimer=setTimeout(function(){$$.hideSuperfishUl();if(o.$path.length){over.call(o.$path);}},o.delay);}},getMenu=function($el){return $el.parents('ul.superfish:first')[0];},getOpts=function(el,menuFound){el=menuFound?el:getMenu(el);return $.superfish.op=$.superfish.o[el.serial];},hasUl=function(){return $.superfish.op.oldJquery?'li[ul]':'li:has(ul)';};return this.each(function(){var s=this.serial=$.superfish.o.length;var o=$.extend({},$.superfish.defaults,op);o.$path=$('li.'+o.pathClass,this).each(function(){$(this).addClass(o.hoverClass+' '+bcClass).filter(hasUl()).removeClass(o.pathClass);});$.superfish.o[s]=$.superfish.op=o;$(hasUl(),this)[($.fn.hoverIntent&&!o.disableHI)?'hoverIntent':'hover'](over,out).not('.'+bcClass).hideSuperfishUl();var $a=$('a',this);$a.each(function(i){var $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).addClass('superfish');};$.fn.extend({hideSuperfishUl:function(){var o=$.superfish.op,$ul=$('li.'+o.hoverClass,this).add(this).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this;},showSuperfishUl:function(){var o=$.superfish.op,$ul=this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){o.onShow.call(this);});return this;}});$(window).unload(function(){$('ul.superfish').each(function(){$('li',this).unbind('mouseover','mouseout','mouseenter','mouseleave');});});

// Shutter Reloaded


shutterOnload=function(){shutterReloaded.init('sh');}
if(typeof shutterOnload=='function'){if('undefined'!=typeof jQuery)jQuery(document).ready(function(){shutterOnload();});else if(typeof window.onload!='function')window.onload=shutterOnload;else{oldonld=window.onload;window.onload=function(){if(oldonld){oldonld();};shutterOnload();}};}
shutterReloaded={I:function(a){return document.getElementById(a);},settings:function(){var t=this,s=shutterSettings;t.imageCount=s.imageCount||0;t.msgLoading=s.msgLoading||'L O A D I N G';t.msgClose=s.msgClose||'Click to Close';},init:function(a){var t=this,L,T,ext,i,m,setid,inset,shfile,shMenuPre,k,img;shutterLinks={},shutterSets={};if('object'!=typeof shutterSettings)shutterSettings={};for(i=0;i<document.links.length;i++){L=document.links[i];ext=(L.href.indexOf('?')==-1)?L.href.slice(-4).toLowerCase():L.href.substring(0,L.href.indexOf('?')).slice(-4).toLowerCase();if(ext!='.jpg'&&ext!='.png'&&ext!='.gif'&&ext!='jpeg')continue;if(a=='sh'&&L.className.toLowerCase().indexOf('shutter')==-1)continue;if(a=='lb'&&L.rel.toLowerCase().indexOf('lightbox')==-1)continue;if(L.className.toLowerCase().indexOf('shutterset')!=-1)
setid=L.className.replace(/\s/g,'_');else if(L.rel.toLowerCase().indexOf('lightbox[')!=-1)
setid=L.rel.replace(/\s/g,'_');else setid=0,inset=-1;if(setid){if(!shutterSets[setid])shutterSets[setid]=[];inset=shutterSets[setid].push(i);}
shfile=L.href.slice(L.href.lastIndexOf('/')+1);T=(L.title&&L.title!=shfile)?L.title:'';shutterLinks[i]={link:L.href,num:inset,set:setid,title:T}
L.onclick=new Function('shutterReloaded.make("'+i+'");return false;');}
t.settings();},make:function(ln,fs){var t=this,prev,next,prevlink='',nextlink='',previmg,nextimg,D,S,W,fsarg=-1,imgNum,NavBar;if(!t.Top){if(typeof window.pageYOffset!='undefined')t.Top=window.pageYOffset;else t.Top=(document.documentElement.scrollTop>0)?document.documentElement.scrollTop:document.body.scrollTop;}
if(typeof t.pgHeight=='undefined')
t.pgHeight=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);if(fs)t.FS=(fs>0)?1:0;else t.FS=shutterSettings.FS||0;if(t.resizing)t.resizing=null;window.onresize=new Function('shutterReloaded.resize("'+ln+'");');document.documentElement.style.overflowX='hidden';if(!t.VP){t._viewPort();t.VP=true;}
if(!(S=t.I('shShutter'))){S=document.createElement('div');S.setAttribute('id','shShutter');document.getElementsByTagName('body')[0].appendChild(S);t.hideTags();}
if(!(D=t.I('shDisplay'))){D=document.createElement('div');D.setAttribute('id','shDisplay');D.style.top=t.Top+'px';document.getElementsByTagName('body')[0].appendChild(D);}
S.style.height=t.pgHeight+'px';var dv=t.textBtns?' | ':'';if(shutterLinks[ln].num>1){prev=shutterSets[shutterLinks[ln].set][shutterLinks[ln].num-2];prevlink='<a href="#" onclick="shutterReloaded.make('+prev+');return false">&lt;&lt;</a>'+dv;previmg=new Image();previmg.src=shutterLinks[prev].link;}else{prevlink='';}
if(shutterLinks[ln].num!=-1&&shutterLinks[ln].num<(shutterSets[shutterLinks[ln].set].length)){next=shutterSets[shutterLinks[ln].set][shutterLinks[ln].num];nextlink='<a href="#" onclick="shutterReloaded.make('+next+');return false">&gt;&gt;</a>'+dv;nextimg=new Image();nextimg.src=shutterLinks[next].link;}else{nextlink='';}
imgNum=((shutterLinks[ln].num>0)&&t.imageCount)?'<div id="shCount">&nbsp;(&nbsp;'+shutterLinks[ln].num+'&nbsp;/&nbsp;'+shutterSets[shutterLinks[ln].set].length+'&nbsp;)&nbsp;</div>':'';NavBar='<div id="shTitle"><div id="shPrev">'+prevlink+'</div><div id="shNext">'+nextlink+'</div><div id="shName">'+shutterLinks[ln].title+'</div>'+imgNum+'</div>';D.innerHTML='<div id="shWrap"><img src="'+shutterLinks[ln].link+'" id="shTopImg" title="'+t.msgClose+'" onload="shutterReloaded.showImg();" onclick="shutterReloaded.hideShutter();" />'+NavBar+'</div>';window.setTimeout(function(){shutterReloaded.loading();},2000);},loading:function(){var t=this,S,WB,W;if((W=t.I('shWrap'))&&W.style.visibility=='visible')return;if(!(S=t.I('shShutter')))return;if(t.I('shWaitBar'))return;WB=document.createElement('div');WB.setAttribute('id','shWaitBar');WB.style.top=t.Top+'px';WB.innerHTML=t.msgLoading;S.appendChild(WB);},hideShutter:function(){var t=this,D,S;if(D=t.I('shDisplay'))D.parentNode.removeChild(D);if(S=t.I('shShutter'))S.parentNode.removeChild(S);t.hideTags(true);window.scrollTo(0,t.Top);window.onresize=t.FS=t.Top=t.VP=null;document.documentElement.style.overflowX='';},resize:function(ln){var t=this;if(t.resizing)return;if(!t.I('shShutter'))return;var W=t.I('shWrap');if(W)W.style.visibility='hidden';window.setTimeout(function(){shutterReloaded.resizing=null},500);window.setTimeout(new Function('shutterReloaded.VP = null;shutterReloaded.make("'+ln+'");'),100);t.resizing=true;},_viewPort:function(){var t=this;var wiH=window.innerHeight?window.innerHeight:0;var dbH=document.body.clientHeight?document.body.clientHeight:0;var deH=document.documentElement?document.documentElement.clientHeight:0;if(wiH>0){t.wHeight=((wiH-dbH)>1&&(wiH-dbH)<30)?dbH:wiH;t.wHeight=((t.wHeight-deH)>1&&(t.wHeight-deH)<30)?deH:t.wHeight;}else t.wHeight=(deH>0)?deH:dbH;var deW=document.documentElement?document.documentElement.clientWidth:0;var dbW=window.innerWidth?window.innerWidth:document.body.clientWidth;t.wWidth=(deW>1)?deW:dbW;},showImg:function(){var t=this,S=t.I('shShutter'),D=t.I('shDisplay'),TI=t.I('shTopImg'),T=t.I('shTitle'),NB=t.I('shNavBar'),W,WB,wHeight,wWidth,shHeight,maxHeight,itop,mtop,resized=0;if(!S)return;if((W=t.I('shWrap'))&&W.style.visibility=='visible')return;if(WB=t.I('shWaitBar'))WB.parentNode.removeChild(WB);S.style.width=D.style.width='';T.style.width=(TI.width-4)+'px';shHeight=t.wHeight-7;if(t.FS){if(TI.width>(t.wWidth-10))
S.style.width=D.style.width=TI.width+10+'px';document.documentElement.style.overflowX='';}else{window.scrollTo(0,t.Top);if(TI.height>shHeight){TI.width=TI.width*(shHeight/TI.height);TI.height=shHeight;resized=1;}
if(TI.width>(t.wWidth-16)){TI.height=TI.height*((t.wWidth-16)/TI.width);TI.width=t.wWidth-16;resized=1;}
T.style.width=(TI.width-4)+'px';}
maxHeight=t.Top+TI.height+10;if(maxHeight>t.pgHeight)S.style.height=maxHeight+'px';window.scrollTo(0,t.Top);itop=(shHeight-TI.height)*0.45;mtop=(itop>3)?Math.floor(itop):3;D.style.top=t.Top+mtop+'px';W.style.visibility='visible';},hideTags:function(arg){var sel=document.getElementsByTagName('select');var obj=document.getElementsByTagName('object');var emb=document.getElementsByTagName('embed');var ifr=document.getElementsByTagName('iframe');var vis=(arg)?'visible':'hidden';for(i=0;i<sel.length;i++)sel[i].style.visibility=vis;for(i=0;i<obj.length;i++)obj[i].style.visibility=vis;for(i=0;i<emb.length;i++)emb[i].style.visibility=vis;for(i=0;i<ifr.length;i++)ifr[i].style.visibility=vis;}}

// Site functions

$(document).ready(function(){
	$("ul.nav").superfish({
		animation	: {height:"show"}
	});
	
	$('#home_updates > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
	
   // hide sidebar stuff on pageload 
   $("li#archives-2 ul").hide();
   $("li#archives-2 h2").click(function () {
     $("li#archives-2 ul").slideToggle("slow");
   });
});

})(jQuery); 