/* BEGIN CUFON */
	var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}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(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})());
/* END CUFON */

/* BEGIN CUFON - FONT DEFINITION */
	Cufon.registerFont({"w":61,"face":{"font-family":"DIN 1451 Std","font-weight":400,"font-stretch":"normal","units-per-em":"128","panose-1":"0 0 5 0 0 0 0 0 0 0","ascent":"91","descent":"-37","bbox":"-4 -101 105 32","underline-thickness":"6.4","underline-position":"-6.4","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":30},"#":{"d":"35,-28r-13,0r-4,28r-10,0r4,-28r-12,0r0,-8r13,0r3,-19r-12,0r0,-8r13,0r4,-28r10,0r-4,28r12,0r4,-28r10,0r-4,28r12,0r0,8r-13,0r-2,19r11,0r0,8r-12,0r-4,28r-10,0xm38,-55r-12,0r-3,19r13,0"},"$":{"d":"34,-12v14,-1,13,-26,0,-27r0,27xm27,-80v-10,1,-13,24,0,26r0,-26xm27,-40v-30,-1,-28,-51,0,-52r0,-9r7,0r0,9v10,0,16,3,22,9v-5,11,-12,6,-22,3r0,28v14,3,23,10,23,26v0,17,-9,24,-23,27v0,7,3,17,-7,14v4,-20,-17,-15,-26,-26v7,-14,13,-3,26,-1r0,-28"},"%":{"d":"51,-91r8,0r-43,91r-9,0xm19,-85v-7,0,-7,21,0,20v5,0,4,-8,4,-13v0,-4,-1,-7,-4,-7xm23,-59v-12,3,-18,-6,-16,-20v-1,-10,7,-15,16,-12v11,1,11,29,0,32xm52,0v-12,3,-18,-7,-16,-21v1,-8,5,-14,16,-12v10,2,12,30,0,33xm43,-20v-3,10,8,19,10,7v3,-10,-8,-19,-10,-7","w":66},"&":{"d":"30,-45v-17,4,-18,34,3,34v8,-1,14,-3,19,-8xm80,-38v-3,6,-7,15,-12,20r15,18v-13,2,-20,-2,-24,-9v-17,17,-55,10,-54,-18v0,-12,7,-22,17,-27v-12,-12,-7,-38,13,-38v25,0,27,35,6,41r19,24v4,-4,6,-10,8,-16xm35,-80v-12,0,-10,15,-2,20v6,-3,11,-5,11,-12v1,-4,-4,-9,-9,-8","w":82},"(":{"d":"33,-91v-16,27,-16,77,0,104v-35,-13,-29,-85,-5,-104r5,0","w":35},")":{"d":"3,13v16,-27,16,-77,0,-104v35,13,29,85,5,104r-5,0","w":35},"*":{"d":"19,-66v-6,3,-12,9,-14,0r10,-6v-5,-4,-13,-6,-7,-13r11,6v0,0,-2,-15,7,-12r0,12v6,-3,12,-9,14,0r-10,7v5,3,13,5,7,12r-11,-6v0,6,2,16,-7,13r0,-13","w":45},"+":{"d":"33,-65r10,0r0,28r28,0r0,10r-28,0r0,27r-10,0r0,-27r-27,0r0,-10r27,0r0,-28","w":76},",":{"d":"9,-13r13,0v3,14,-6,17,-13,22r0,-22","w":30},"-":{"d":"7,-42r38,0r0,13r-38,0r0,-13","w":52},".":{"d":"9,-13r13,0r0,13r-13,0r0,-13","w":30},"\/":{"d":"32,-92r10,0r-31,93r-10,0","w":42},"0":{"d":"31,1v-31,0,-26,-36,-26,-67v0,-17,11,-26,26,-26v30,0,27,36,26,67v-1,15,-10,25,-26,26xm31,-12v21,0,13,-33,13,-53v0,-8,-5,-13,-13,-14v-21,1,-11,33,-13,53v0,9,5,14,13,14"},"1":{"d":"25,-77r-13,9v-2,-18,7,-24,26,-23r0,91r-13,0r0,-77"},"2":{"d":"29,-92v22,-2,35,26,22,42r-30,37r35,0r0,13r-52,0v1,-34,33,-37,39,-66v0,-8,-5,-13,-13,-13v-8,1,-12,5,-13,13r-13,0v1,-16,10,-25,25,-26"},"3":{"d":"42,-27v0,-10,-8,-15,-19,-14v1,-4,-3,-14,4,-12v8,0,15,-5,14,-13v0,-16,-24,-17,-26,-2r-13,0v2,-13,10,-23,25,-24v25,-2,36,33,17,45v21,10,10,50,-16,48v-15,-1,-24,-9,-26,-24r13,0v2,15,28,14,27,-4"},"4":{"d":"2,-14v2,-33,21,-50,30,-77r15,0r-31,65r24,0r0,-26r13,0r0,26r7,0v0,0,2,15,-7,12r0,14r-13,0r0,-14r-38,0"},"5":{"d":"43,-25v8,-18,-15,-34,-24,-17r-13,0r0,-49r49,0r0,13r-36,0r0,21v23,-16,44,9,36,40v-7,25,-52,21,-50,-6r13,0v2,6,5,11,13,11v8,0,12,-5,12,-13"},"6":{"d":"44,-27v0,-9,-4,-15,-13,-15v-9,0,-13,6,-13,15v0,10,4,14,13,15v8,-2,13,-5,13,-15xm30,1v-48,-10,-11,-67,3,-92r14,0r-19,38v17,-4,29,7,29,25v1,18,-11,28,-27,29"},"7":{"d":"7,-91r51,0v-2,38,-21,60,-30,91r-15,0r31,-78r-24,0r0,13r-13,0r0,-26"},"8":{"d":"31,-41v-9,0,-15,5,-15,14v0,9,6,15,15,15v9,0,14,-6,14,-15v0,-9,-6,-13,-14,-14xm31,1v-27,0,-37,-36,-17,-48v-17,-11,-8,-45,17,-45v24,0,34,32,17,45v19,12,9,48,-17,48xm31,-79v-8,0,-13,5,-13,13v0,8,5,13,13,13v8,0,13,-5,13,-13v0,-8,-5,-13,-13,-13"},"9":{"d":"31,-79v-18,0,-16,30,0,30v8,0,13,-6,13,-15v-1,-9,-4,-15,-13,-15xm31,-92v49,9,11,66,-2,92r-15,0v5,-13,16,-28,19,-39v-16,6,-28,-5,-28,-24v0,-18,10,-27,26,-29"},":":{"d":"9,-13r13,0r0,13r-13,0r0,-13xm9,-42r13,0r0,13r-13,0r0,-13","w":30},";":{"d":"9,-42r13,0r0,13r-13,0r0,-13xm9,-13r13,0v3,14,-6,17,-13,22r0,-22","w":30},"<":{"d":"6,-37r65,-29r0,11r-53,23r53,22r0,11r-65,-29r0,-9","w":76},"=":{"d":"6,-25r65,0r0,10r-65,0r0,-10xm6,-50r65,0r0,10r-65,0r0,-10","w":76},">":{"d":"6,-10r53,-22r-53,-23r0,-11r65,29r0,9r-65,29r0,-11","w":76},"?":{"d":"22,-13r13,0r0,13r-13,0r0,-13xm28,-92v35,0,24,44,7,58r0,11r-13,0v-7,-25,35,-42,7,-56v-8,0,-13,4,-12,14v-4,-1,-13,3,-13,-2v1,-15,9,-25,24,-25","w":59},"@":{"d":"24,-37v-4,-26,32,-48,45,-25v-1,-6,3,-8,10,-7v-2,14,-16,33,-9,44v28,-10,20,-61,-17,-57v-22,3,-37,12,-38,36v-2,37,51,48,71,25r9,0v-20,35,-90,26,-90,-25v0,-56,93,-61,93,-8v0,19,-12,34,-30,36v-13,-8,-10,-2,-26,0v-12,1,-17,-8,-18,-19xm54,-64v-17,-1,-30,34,-9,38v15,-1,30,-34,9,-38","w":102},"A":{"d":"56,-20r-34,0r-7,20r-15,0r33,-91r12,0r33,91r-15,0xm52,-33r-13,-39r-13,39r26,0","w":78,"k":{"T":9,"V":7,"W":5,"w":2,"G":2,"C":2,"O":2,"Q":2,"U":2,"Y":9,"u":2,"v":2,"y":2}},"B":{"d":"58,-66v0,-16,-19,-13,-35,-13r0,26v16,0,36,3,35,-13xm60,-27v0,-16,-21,-13,-37,-13r0,27v17,0,37,3,37,-14xm58,-47v25,7,17,47,-10,47r-38,0r0,-91v30,-1,68,-4,61,30v-2,7,-6,11,-13,14","w":78},"C":{"d":"39,-78v-28,1,-26,66,0,65v8,0,13,-4,17,-12r15,0v-2,31,-56,33,-62,5v-22,-48,36,-107,62,-45r-15,0v-2,-8,-8,-13,-17,-13","w":71},"D":{"d":"59,-24v5,-31,3,-62,-36,-54r0,65v16,1,31,1,36,-11xm58,-87v27,16,24,92,-17,87r-31,0r0,-91v17,1,36,-3,48,4","w":80,"k":{"V":2,"Y":3,"A":2}},"E":{"d":"10,-91r58,0r0,13r-45,0r0,26r38,0r0,12r-38,0r0,27r45,0r0,13r-58,0r0,-91","w":71},"F":{"d":"10,-91r58,0r0,13r-45,0r0,27r38,0r0,12r-38,0r0,39r-13,0r0,-91","w":68,"k":{",":17,".":17,"r":2,"A":7,"a":3,"e":2,"o":2}},"G":{"d":"39,-13v14,0,19,-10,19,-24r-19,0r0,-13r33,0v12,50,-50,69,-65,26v-17,-53,40,-97,64,-41r-15,0v-3,-17,-33,-16,-35,1v-2,22,-5,51,18,51","w":78},"H":{"d":"60,-40r-37,0r0,40r-13,0r0,-91r13,0r0,39r37,0r0,-39r13,0r0,91r-13,0r0,-40","w":82},"I":{"d":"10,-91r13,0r0,91r-13,0r0,-91","w":33},"J":{"d":"53,-91v0,43,10,106,-43,89v-4,-2,-7,-5,-10,-9r11,-8v8,11,28,6,28,-11r0,-61r14,0","k":{",":2,".":2,"u":2,"a":1}},"K":{"d":"10,-91r13,0v1,15,-2,34,1,47r37,-47r17,0r-30,36r33,55r-17,0r-25,-45r-16,17r0,28r-13,0r0,-91","w":80,"k":{"O":3,"u":2,"y":2,"o":2}},"L":{"d":"10,-91r13,0r0,78r45,0r0,13r-58,0r0,-91","w":71,"k":{"T":14,"V":14,"W":9,"Y":17,"y":7}},"M":{"d":"10,-91r13,0r26,59r25,-59r13,0r0,91r-13,0v-1,-18,2,-41,-1,-57r-19,44r-11,0v-7,-14,-11,-31,-20,-44r0,57r-13,0r0,-91","w":97},"N":{"d":"10,-91r13,0r41,65r0,-65r14,0r0,91r-13,0r-42,-65r0,65r-13,0r0,-91","w":87},"O":{"d":"57,-27v13,-36,-19,-69,-36,-37v-1,22,-5,51,18,51v10,-1,15,-6,18,-14xm68,-16v-32,38,-72,2,-61,-51v6,-29,55,-32,62,-5v4,14,4,43,-1,56","w":78,"k":{",":3,".":3,"T":2,"V":3,"W":2,"Y":4,"A":2,"X":2}},"P":{"d":"73,-63v0,24,-22,30,-50,27r0,36r-13,0r0,-91v31,-1,63,-3,63,28xm44,-49v18,2,19,-26,5,-29r-26,0r0,29r21,0","w":75,"k":{",":17,".":17,"A":9,"a":3,"e":2,"o":2}},"Q":{"d":"61,-7v-24,18,-64,1,-54,-39v-13,-47,52,-62,64,-21v1,17,3,38,-3,50r12,10r-8,9xm39,-78v-28,0,-26,66,0,65v3,0,8,-2,10,-3r-11,-9r8,-10v4,3,11,15,11,2v0,-21,3,-45,-18,-45","w":78,"k":{"U":1}},"R":{"d":"45,-91v33,-3,36,44,10,51r21,40r-16,0r-19,-39r-18,0r0,39r-13,0r0,-91r35,0xm44,-51v17,2,22,-24,7,-27v-8,-2,-19,-1,-28,-1r0,28r21,0","w":78,"k":{"T":2,"V":2,"W":2,"Y":4}},"S":{"d":"68,-26v3,33,-49,33,-66,14r9,-10v10,9,42,15,44,-4v-5,-23,-48,-6,-48,-39v0,-31,41,-32,59,-17r-8,11v-10,-8,-37,-12,-38,6v6,22,53,6,48,39","w":73},"T":{"d":"25,-79r-25,0r0,-12r64,0r0,12r-25,0r0,79r-14,0r0,-79","w":64,"k":{",":13,".":14,"r":12,"-":17,":":13,";":13,"h":2,"w":14,"O":2,"u":12,"y":14,"A":9,"a":13,"e":13,"o":13,"i":2}},"U":{"d":"40,1v-41,0,-31,-52,-32,-92r14,0v4,28,-13,78,18,78v31,0,15,-49,19,-78r14,0v-1,41,9,92,-33,92","w":80,"k":{",":3,".":3,"A":3}},"V":{"d":"0,-91r15,0v8,22,12,48,21,69r20,-69r15,0r-30,91r-11,0","w":71,"k":{",":17,".":17,"-":7,":":9,";":9,"G":2,"O":2,"u":5,"A":7,"a":7,"e":7,"o":7,"i":2}},"W":{"d":"1,-91r15,0v6,21,8,46,15,65r17,-65r10,0r18,65r14,-65r15,0r-23,91r-11,0r-18,-66r-17,66r-12,0","w":106,"k":{",":9,".":9,"-":2,":":2,";":2,"h":2,"u":3,"A":5,"a":5,"e":3,"o":3}},"X":{"d":"34,-34r-20,34r-15,0r28,-47r-26,-44r15,0r18,31r18,-31r16,0r-26,44r28,47r-16,0","w":68},"Y":{"d":"25,-38r-27,-53r15,0r19,40r19,-40r15,0r-27,53r0,38r-14,0r0,-38","w":64,"k":{",":14,".":14,"-":14,":":12,";":12,"O":3,"u":9,"A":9,"a":12,"e":10,"o":10,"i":5}},"Z":{"d":"4,-12r41,-67r-39,0r0,-12r56,0r0,10r-41,68r41,0r0,13r-58,0r0,-12","w":66},"[":{"d":"9,-91r24,0r0,8r-12,0r0,88r12,0r0,8r-24,0r0,-104","w":35},"\\":{"d":"1,-92r10,0r31,93r-10,0","w":42},"]":{"d":"15,-83r-12,0r0,-8r23,0r0,104r-23,0r0,-8r12,0r0,-88","w":35},"^":{"d":"34,-91r9,0r27,55r-10,0r-22,-44r-21,44r-11,0","w":76},"_":{"d":"0,10r64,0r0,6r-64,0r0,-6","w":64},"a":{"d":"28,-12v12,1,16,-3,14,-16v-11,0,-26,-2,-26,8v-1,6,5,9,12,8xm7,-56v9,-17,49,-13,49,12r0,44v-6,-1,-17,3,-14,-6v-9,14,-40,6,-39,-13v1,-18,18,-21,39,-19v6,-17,-18,-19,-25,-10","w":64,"k":{"y":1}},"b":{"d":"47,-25v0,-14,1,-28,-13,-28v-14,0,-12,14,-12,28v0,8,4,13,12,13v9,0,12,-6,13,-13xm59,-49v11,35,-15,64,-37,42r0,7r-14,0r0,-91r14,0r0,33v8,-13,37,-8,37,9","w":66},"c":{"d":"17,-32v-3,21,21,25,30,13r9,9v-16,21,-56,9,-53,-22v-3,-32,36,-44,53,-22r-9,8v-9,-13,-34,-7,-30,14","w":56},"d":{"d":"47,-25v0,-14,1,-28,-13,-28v-14,0,-12,14,-12,28v0,8,4,13,12,13v9,0,12,-6,13,-13xm9,-16v-7,-36,15,-63,38,-42r0,-33r13,0r0,91v-6,0,-16,2,-13,-7v-9,14,-35,7,-38,-9","w":66},"e":{"d":"46,-38v2,-13,-14,-20,-24,-12v-3,3,-4,7,-4,12r28,0xm32,-66v20,0,29,15,27,38r-41,0v-2,17,22,21,30,10r9,8v-16,20,-55,10,-52,-22v2,-19,9,-34,27,-34","w":64,"k":{"v":1}},"f":{"d":"37,-79v-11,-2,-15,1,-13,14r13,0r0,10r-13,0r0,55r-14,0r0,-55v-7,2,-6,-4,-6,-10v6,2,6,-3,6,-8v0,-14,10,-20,27,-18r0,12","w":35,"k":{"f":2}},"g":{"d":"32,-12v31,-11,4,-60,-12,-33v-1,15,-3,33,12,33xm17,8v10,11,33,5,28,-15v-18,19,-49,0,-39,-36v-2,-22,27,-30,39,-15r0,-7r13,0v-1,41,11,106,-40,89v-4,-2,-8,-5,-11,-8","w":66},"h":{"d":"34,-53v-20,0,-9,34,-12,53r-14,0r0,-91r14,0r0,33v11,-15,38,-6,38,15r0,43r-13,0v-2,-20,8,-53,-13,-53","w":68},"i":{"d":"9,-91r13,0r0,13r-13,0r0,-13xm9,-65r13,0r0,65r-13,0r0,-65","w":30},"j":{"d":"10,-91r13,0r0,13r-13,0r0,-13xm-1,14v6,1,11,-1,11,-7r0,-72r13,0v-6,33,18,93,-24,91r0,-12","w":33},"k":{"d":"8,-91r14,0r0,57v13,-10,14,-34,40,-31r-22,25r25,40r-16,0r-17,-30v-8,6,-12,15,-10,30r-14,0r0,-91","w":66,"k":{"e":2,"o":2}},"l":{"d":"31,0v-40,4,-17,-59,-23,-91r14,0r0,74v-1,5,4,5,9,5r0,12","w":33},"m":{"d":"22,-58v8,-11,29,-9,36,1v11,-16,42,-9,42,14r0,43r-13,0v-2,-20,7,-53,-13,-53v-21,0,-11,33,-13,53r-13,0v-2,-20,7,-53,-13,-53v-21,0,-11,33,-13,53r-13,0r0,-65v6,0,16,-2,13,7","w":109},"n":{"d":"34,-53v-20,0,-9,34,-12,53r-14,0r0,-65v7,0,17,-3,14,7v11,-15,38,-6,38,15r0,43r-13,0v-2,-20,8,-53,-13,-53","w":68},"o":{"d":"20,-45v-13,25,20,48,26,18v5,-21,-17,-34,-26,-18xm55,-12v-22,30,-60,2,-48,-36v7,-23,47,-22,50,0v2,12,4,28,-2,36","w":64},"p":{"d":"22,-40v0,14,-2,28,12,28v14,0,13,-14,13,-28v-1,-7,-4,-13,-13,-13v-8,0,-12,5,-12,13xm59,-49v11,35,-15,64,-37,42r0,33r-14,0r0,-91v7,0,17,-3,14,7v8,-13,37,-8,37,9","w":66},"q":{"d":"20,-40v0,12,-2,28,12,28v13,0,14,-14,13,-28v-1,-7,-5,-13,-13,-13v-8,0,-12,5,-12,13xm7,-16v-9,-35,16,-64,38,-42r0,-7r13,0r0,91r-13,0r0,-33v-10,13,-34,7,-38,-9","w":66},"r":{"d":"43,-49v-8,-8,-21,-2,-21,10r0,39r-14,0r0,-65v7,0,17,-3,14,7v5,-10,22,-10,30,-3","w":49,"k":{",":12,".":12,"-":7,"q":2,"u":2,"a":2,"e":2,"o":2,"c":2,"d":2,"n":3}},"s":{"d":"57,-19v0,26,-44,23,-56,8r9,-9v6,8,30,13,34,0v-6,-13,-38,-1,-38,-26v0,-25,36,-23,49,-11r-8,10v-18,-20,-46,8,-9,8v11,0,19,8,19,20","k":{"w":1}},"t":{"d":"32,0v-31,5,-22,-29,-23,-55v-7,2,-6,-4,-6,-10r6,0r0,-20r13,0r0,20r10,0r0,10r-10,0r0,38v-1,6,5,5,10,5r0,12","w":35},"u":{"d":"47,-7v-11,15,-39,7,-39,-15r0,-43r14,0v2,19,-8,53,12,53v21,0,11,-33,13,-53r13,0r0,65v-6,0,-16,2,-13,-7","w":68},"v":{"d":"-1,-65r14,0v6,15,9,33,16,46r15,-46r14,0r-24,65r-11,0","w":56,"k":{",":9,".":9,"e":1}},"w":{"d":"46,-45r-13,45r-12,0r-21,-65r14,0v5,15,6,33,13,46r14,-46r10,0r15,46r12,-46r14,0r-21,65r-11,0","w":92,"k":{",":7,".":7}},"x":{"d":"2,-65r16,0r13,21v7,-9,8,-25,28,-21r-21,32r22,33r-15,0r-14,-22r-14,22r-16,0r22,-33"},"y":{"d":"-1,-65r14,0v6,15,9,33,16,46r15,-46r14,0r-31,85v-4,5,-11,7,-20,6v-4,-16,15,-11,15,-29","w":56,"k":{",":12,".":12,"o":1}},"z":{"d":"4,0v2,-26,23,-34,33,-53r-31,0r0,-12r47,0v-2,26,-23,34,-33,53r33,0r0,12r-49,0","w":56},"{":{"d":"35,13v-40,8,-11,-44,-33,-48v2,-14,13,-18,10,-42v-2,-14,10,-15,23,-14v3,12,-12,5,-12,19v0,14,2,30,-10,33v20,1,-3,45,22,44r0,8","w":35},"|":{"d":"9,-96r10,0r0,128r-10,0r0,-128","w":28},"}":{"d":"34,-35v-26,8,9,57,-34,48r0,-8v24,4,1,-35,22,-44v-19,-3,3,-45,-22,-44r0,-8v36,-10,13,40,34,48r0,8","w":35},"~":{"d":"68,-34v-10,26,-46,-11,-55,11r-4,-8v10,-27,45,12,54,-11","w":76},"'":{"d":"10,-91r10,0r0,22r-10,0r0,-22","w":30},"`":{"d":"-4,-92r17,0r12,19v-18,2,-20,-12,-29,-19","w":30},"\"":{"d":"25,-91r10,0r0,22r-10,0r0,-22xm8,-91r10,0r0,22r-10,0r0,-22","w":42},"!":{"d":"10,-13r13,0r0,13r-13,0r0,-13xm8,-91r17,0r-5,68r-7,0","w":33},"\u00a0":{"w":30}}});
/* END CUFON - FONT DEFINITION */


/* BEGIN JCAROUSEL */
(function($){$.fn.jCarouselLite=function(o){o=$.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},o||{});return this.each(function(){var b=false,animCss=o.vertical?"top":"left",sizeCss=o.vertical?"height":"width";var c=$(this),ul=$("ul",c),tLi=$("li",ul),tl=tLi.size(),v=o.visible;if(o.circular){ul.prepend(tLi.slice(tl-v-1+1).clone()).append(tLi.slice(0,v).clone());o.start+=v}var f=$("li",ul),itemLength=f.size(),curr=o.start;c.css("visibility","visible");f.css({overflow:"hidden",float:o.vertical?"none":"left"});ul.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});c.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var g=o.vertical?height(f):width(f);var h=g*itemLength;var j=g*v;f.css({width:f.width(),height:f.height()});ul.css(sizeCss,h+"px").css(animCss,-(curr*g));c.css(sizeCss,j+"px");if(o.btnPrev)$(o.btnPrev).click(function(){return go(curr-o.scroll)});if(o.btnNext)$(o.btnNext).click(function(){return go(curr+o.scroll)});if(o.btnGo)$.each(o.btnGo,function(i,a){$(a).click(function(){return go(o.circular?o.visible+i:i)})});if(o.mouseWheel&&c.mousewheel)c.mousewheel(function(e,d){return d>0?go(curr-o.scroll):go(curr+o.scroll)});if(o.auto)setInterval(function(){go(curr+o.scroll)},o.auto+o.speed);function vis(){return f.slice(curr).slice(0,v)};function go(a){if(!b){if(o.beforeStart)o.beforeStart.call(this,vis());if(o.circular){if(a<=o.start-v-1){ul.css(animCss,-((itemLength-(v*2))*g)+"px");curr=a==o.start-v-1?itemLength-(v*2)-1:itemLength-(v*2)-o.scroll}else if(a>=itemLength-v+1){ul.css(animCss,-((v)*g)+"px");curr=a==itemLength-v+1?v+1:v+o.scroll}else curr=a}else{if(a<0||a>itemLength-v)return;else curr=a}b=true;ul.animate(animCss=="left"?{left:-(curr*g)}:{top:-(curr*g)},o.speed,o.easing,function(){if(o.afterEnd)o.afterEnd.call(this,vis());b=false});if(!o.circular){$(o.btnPrev+","+o.btnNext).removeClass("disabled");$((curr-o.scroll<0&&o.btnPrev)||(curr+o.scroll>itemLength-v&&o.btnNext)||[]).addClass("disabled")}}return false}})};function css(a,b){return parseInt($.css(a[0],b))||0};function width(a){return a[0].offsetWidth+css(a,'marginLeft')+css(a,'marginRight')};function height(a){return a[0].offsetHeight+css(a,'marginTop')+css(a,'marginBottom')}})(jQuery);
/* END JCAROUSEL */

/* BEGIN SWF OBJECT */
// jQuery SWFObject v1.1.1 MIT/GPL @jon_neal
// http://jquery.thewikies.com/swfobject
(function(f,h,i){function k(a,c){var b=(a[0]||0)-(c[0]||0);return b>0||!b&&a.length>0&&k(a.slice(1),c.slice(1))}function l(a){if(typeof a!=g)return a;var c=[],b="";for(var d in a){b=typeof a[d]==g?l(a[d]):[d,m?encodeURI(a[d]):a[d]].join("=");c.push(b)}return c.join("&")}function n(a){var c=[];for(var b in a)a[b]&&c.push([b,'="',a[b],'"'].join(""));return c.join(" ")}function o(a){var c=[];for(var b in a)c.push(['<param name="',b,'" value="',l(a[b]),'" />'].join(""));return c.join("")}var g="object",m=true;try{var j=i.description||function(){return(new i("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}()}catch(p){j="Unavailable"}var e=j.match(/\d+/g)||[0];f[h]={available:e[0]>0,activeX:i&&!i.name,version:{original:j,array:e,string:e.join("."),major:parseInt(e[0],10)||0,minor:parseInt(e[1],10)||0,release:parseInt(e[2],10)||0},hasVersion:function(a){a=/string|number/.test(typeof a)?a.toString().split("."):/object/.test(typeof a)?[a.major,a.minor]:a||[0,0];return k(e,a)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(a){if(!a.swf||this.expressInstallIsActive||!this.available&&!a.hasVersionFail)return false;if(!this.hasVersion(a.hasVersion||1)){this.expressInstallIsActive=true;if(typeof a.hasVersionFail=="function")if(!a.hasVersionFail.apply(a))return false;a={swf:a.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:a.swf,type:"application/x-shockwave-flash",id:a.id||"flash_"+Math.floor(Math.random()*999999999),width:a.width||320,height:a.height||180,style:a.style||""};m=typeof a.useEncode!=="undefined"?a.useEncode:this.encodeParams;a.movie=a.swf;a.wmode=a.wmode||"opaque";delete a.fallback;delete a.hasVersion;delete a.hasVersionFail;delete a.height;delete a.id;delete a.swf;delete a.useEncode;delete a.width;var c=document.createElement("div");c.innerHTML=["<object ",n(attrs),">",o(a),"</object>"].join("");return c.firstChild}};f.fn[h]=function(a){var c=this.find(g).andSelf().filter(g);/string|object/.test(typeof a)&&this.each(function(){var b=f(this),d;a=typeof a==g?a:{swf:a};a.fallback=this;if(d=f[h].create(a)){b.children().remove();b.html(d)}});typeof a=="function"&&c.each(function(){var b=this;b.jsInteractionTimeoutMs=b.jsInteractionTimeoutMs||0;if(b.jsInteractionTimeoutMs<660)b.clientWidth||b.clientHeight?a.call(b):setTimeout(function(){f(b)[h](a)},b.jsInteractionTimeoutMs+66)});return c}})(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject);
/* END SWF OBJECT */

/* BEGIN COLORBOX PHOTO VIEWER */
// ColorBox v1.3.13 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+
// Copyright (c) 2010 Jack Moore - jack@colorpowered.com
// licenced under the MIT licence: http://www.opensource.org/licences/mit-licence.jsp
(function(b,ib){var t="none",M="LoadedContent",c=false,v="resize.",o="y",q="auto",e=true,L="nofollow",m="x";function f(a,c){a=a?' id="'+i+a+'"':"";c=c?' style="'+c+'"':"";return b("<div"+a+c+"/>")}function p(a,b){b=b===m?n.width():n.height();return typeof a==="string"?Math.round(/%/.test(a)?b/100*parseInt(a,10):parseInt(a,10)):a}function U(b){return a.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(b)}function cb(a){for(var c in a)if(b.isFunction(a[c])&&c.substring(0,2)!=="on")a[c]=a[c].call(l);a.rel=a.rel||l.rel||L;a.href=a.href||b(l).attr("href");a.title=a.title||l.title;return a}function w(c,a){a&&a.call(l);b.event.trigger(c)}function jb(){var b,e=i+"Slideshow_",c="click."+i,f,k;if(a.slideshow&&h[1]){f=function(){F.text(a.slideshowStop).unbind(c).bind(V,function(){if(g<h.length-1||a.loop)b=setTimeout(d.next,a.slideshowSpeed)}).bind(W,function(){clearTimeout(b)}).one(c+" "+N,k);j.removeClass(e+"off").addClass(e+"on");b=setTimeout(d.next,a.slideshowSpeed)};k=function(){clearTimeout(b);F.text(a.slideshowStart).unbind([V,W,N,c].join(" ")).one(c,f);j.removeClass(e+"on").addClass(e+"off")};a.slideshowAuto?f():k()}}function db(c){if(!O){l=c;a=cb(b.extend({},b.data(l,r)));h=b(l);g=0;if(a.rel!==L){h=b("."+G).filter(function(){return (b.data(this,r).rel||this.rel)===a.rel});g=h.index(l);if(g===-1){h=h.add(l);g=h.length-1}}if(!u){u=E=e;j.show();if(a.returnFocus)try{l.blur();b(l).one(eb,function(){try{this.focus()}catch(a){}})}catch(f){}x.css({opacity:+a.opacity,cursor:a.overlayClose?"pointer":q}).show();a.w=p(a.initialWidth,m);a.h=p(a.initialHeight,o);d.position(0);X&&n.bind(v+P+" scroll."+P,function(){x.css({width:n.width(),height:n.height(),top:n.scrollTop(),left:n.scrollLeft()})}).trigger("scroll."+P);w(fb,a.onOpen);Y.add(H).add(I).add(F).add(Z).hide();ab.html(a.close).show()}d.load(e)}}var gb={transition:"elastic",speed:300,width:c,initialWidth:"600",innerWidth:c,maxWidth:c,height:c,initialHeight:"450",innerHeight:c,maxHeight:c,scalePhotos:e,scrolling:e,inline:c,html:c,iframe:c,photo:c,href:c,title:c,rel:c,opacity:.9,preloading:e,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:c,returnFocus:e,loop:e,slideshow:c,slideshowAuto:e,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:c,onLoad:c,onComplete:c,onCleanup:c,onClosed:c,overlayClose:e,escKey:e,arrowKey:e},r="colorbox",i="cbox",fb=i+"_open",W=i+"_load",V=i+"_complete",N=i+"_cleanup",eb=i+"_closed",Q=i+"_purge",hb=i+"_loaded",A=b.browser.msie&&!b.support.opacity,X=A&&b.browser.version<7,P=i+"_IE6",x,j,B,s,bb,T,R,S,h,n,k,J,K,Z,Y,F,I,H,ab,C,D,y,z,l,g,a,u,E,O=c,d,G=i+"Element";d=b.fn[r]=b[r]=function(c,f){var a=this,d;if(!a[0]&&a.selector)return a;c=c||{};if(f)c.onComplete=f;if(!a[0]||a.selector===undefined){a=b("<a/>");c.open=e}a.each(function(){b.data(this,r,b.extend({},b.data(this,r)||gb,c));b(this).addClass(G)});d=c.open;if(b.isFunction(d))d=d.call(a);d&&db(a[0]);return a};d.init=function(){var l="hover",m="clear:left";n=b(ib);j=f().attr({id:r,"class":A?i+"IE":""});x=f("Overlay",X?"position:absolute":"").hide();B=f("Wrapper");s=f("Content").append(k=f(M,"width:0; height:0; overflow:hidden"),K=f("LoadingOverlay").add(f("LoadingGraphic")),Z=f("Title"),Y=f("Current"),I=f("Next"),H=f("Previous"),F=f("Slideshow").bind(fb,jb),ab=f("Close"));B.append(f().append(f("TopLeft"),bb=f("TopCenter"),f("TopRight")),f(c,m).append(T=f("MiddleLeft"),s,R=f("MiddleRight")),f(c,m).append(f("BottomLeft"),S=f("BottomCenter"),f("BottomRight"))).children().children().css({"float":"left"});J=f(c,"position:absolute; width:9999px; visibility:hidden; display:none");b("body").prepend(x,j.append(B,J));s.children().hover(function(){b(this).addClass(l)},function(){b(this).removeClass(l)}).addClass(l);C=bb.height()+S.height()+s.outerHeight(e)-s.height();D=T.width()+R.width()+s.outerWidth(e)-s.width();y=k.outerHeight(e);z=k.outerWidth(e);j.css({"padding-bottom":C,"padding-right":D}).hide();I.click(d.next);H.click(d.prev);ab.click(d.close);s.children().removeClass(l);b("."+G).live("click",function(a){if(!(a.button!==0&&typeof a.button!=="undefined"||a.ctrlKey||a.shiftKey||a.altKey)){a.preventDefault();db(this)}});x.click(function(){a.overlayClose&&d.close()});b(document).bind("keydown",function(b){if(u&&a.escKey&&b.keyCode===27){b.preventDefault();d.close()}if(u&&a.arrowKey&&!E&&h[1])if(b.keyCode===37&&(g||a.loop)){b.preventDefault();H.click()}else if(b.keyCode===39&&(g<h.length-1||a.loop)){b.preventDefault();I.click()}})};d.remove=function(){j.add(x).remove();b("."+G).die("click").removeData(r).removeClass(G)};d.position=function(f,d){function b(a){bb[0].style.width=S[0].style.width=s[0].style.width=a.style.width;K[0].style.height=K[1].style.height=s[0].style.height=T[0].style.height=R[0].style.height=a.style.height}var e,h=Math.max(document.documentElement.clientHeight-a.h-y-C,0)/2+n.scrollTop(),g=Math.max(n.width()-a.w-z-D,0)/2+n.scrollLeft();e=j.width()===a.w+z&&j.height()===a.h+y?0:f;B[0].style.width=B[0].style.height="9999px";j.dequeue().animate({width:a.w+z,height:a.h+y,top:h,left:g},{duration:e,complete:function(){b(this);E=c;B[0].style.width=a.w+z+D+"px";B[0].style.height=a.h+y+C+"px";d&&d()},step:function(){b(this)}})};d.resize=function(b){if(u){b=b||{};if(b.width)a.w=p(b.width,m)-z-D;if(b.innerWidth)a.w=p(b.innerWidth,m);k.css({width:a.w});if(b.height)a.h=p(b.height,o)-y-C;if(b.innerHeight)a.h=p(b.innerHeight,o);if(!b.innerHeight&&!b.height){b=k.wrapInner("<div style='overflow:auto'></div>").children();a.h=b.height();b.replaceWith(b.children())}k.css({height:a.h});d.position(a.transition===t?0:a.speed)}};d.prep=function(o){var e="hidden";function m(t){var q,f,o,e,m=h.length,s=a.loop;d.position(t,function(){if(u){A&&p&&k.fadeIn(100);k.show();w(hb);Z.show().html(a.title);if(m>1){typeof a.current==="string"&&Y.html(a.current.replace(/\{current\}/,g+1).replace(/\{total\}/,m)).show();I[s||g<m-1?"show":"hide"]().html(a.next);H[s||g?"show":"hide"]().html(a.previous);q=g?h[g-1]:h[m-1];o=g<m-1?h[g+1]:h[0];a.slideshow&&F.show();if(a.preloading){e=b.data(o,r).href||o.href;f=b.data(q,r).href||q.href;e=b.isFunction(e)?e.call(o):e;f=b.isFunction(f)?f.call(q):f;if(U(e))b("<img/>")[0].src=e;if(U(f))b("<img/>")[0].src=f}}K.hide();if(a.transition==="fade")j.fadeTo(l,1,function(){if(A)j[0].style.filter=c});else if(A)j[0].style.filter=c;n.bind(v+i,function(){d.position(0)});w(V,a.onComplete)}})}if(u){var p,l=a.transition===t?0:a.speed;n.unbind(v+i);k.remove();k=f(M).html(o);k.hide().appendTo(J.show()).css({width:function(){a.w=a.w||k.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}(),overflow:a.scrolling?q:e}).css({height:function(){a.h=a.h||k.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}()}).prependTo(s);J.hide();b("#"+i+"Photo").css({cssFloat:t,marginLeft:q,marginRight:q});X&&b("select").not(j.find("select")).filter(function(){return this.style.visibility!==e}).css({visibility:e}).one(N,function(){this.style.visibility="inherit"});a.transition==="fade"?j.fadeTo(l,0,function(){m(0)}):m(l)}};d.load=function(u){var n,c,s,q=d.prep;E=e;l=h[g];u||(a=cb(b.extend({},b.data(l,r))));w(Q);w(W,a.onLoad);a.h=a.height?p(a.height,o)-y-C:a.innerHeight&&p(a.innerHeight,o);a.w=a.width?p(a.width,m)-z-D:a.innerWidth&&p(a.innerWidth,m);a.mw=a.w;a.mh=a.h;if(a.maxWidth){a.mw=p(a.maxWidth,m)-z-D;a.mw=a.w&&a.w<a.mw?a.w:a.mw}if(a.maxHeight){a.mh=p(a.maxHeight,o)-y-C;a.mh=a.h&&a.h<a.mh?a.h:a.mh}n=a.href;K.show();if(a.inline){f().hide().insertBefore(b(n)[0]).one(Q,function(){b(this).replaceWith(k.children())});q(b(n))}else if(a.iframe){j.one(hb,function(){var c=b("<iframe name='"+(new Date).getTime()+"' frameborder=0"+(a.scrolling?"":" scrolling='no'")+(A?" allowtransparency='true'":"")+" style='width:100%; height:100%; border:0; display:block;'/>");c[0].src=a.href;c.appendTo(k).one(Q,function(){c[0].src="about:blank"})});q(" ")}else if(a.html)q(a.html);else if(U(n)){c=new Image;c.onload=function(){var e;c.onload=null;c.id=i+"Photo";b(c).css({border:t,display:"block",cssFloat:"left"});if(a.scalePhotos){s=function(){c.height-=c.height*e;c.width-=c.width*e};if(a.mw&&c.width>a.mw){e=(c.width-a.mw)/c.width;s()}if(a.mh&&c.height>a.mh){e=(c.height-a.mh)/c.height;s()}}if(a.h)c.style.marginTop=Math.max(a.h-c.height,0)/2+"px";h[1]&&(g<h.length-1||a.loop)&&b(c).css({cursor:"pointer"}).click(d.next);if(A)c.style.msInterpolationMode="bicubic";setTimeout(function(){q(c)},1)};setTimeout(function(){c.src=n},1)}else n&&J.load(n,function(d,c,a){q(c==="error"?"Request unsuccessful: "+a.statusText:b(this).children())})};d.next=function(){if(!E){g=g<h.length-1?g+1:0;d.load()}};d.prev=function(){if(!E){g=g?g-1:h.length-1;d.load()}};d.close=function(){if(u&&!O){O=e;u=c;w(N,a.onCleanup);n.unbind("."+i+" ."+P);x.fadeTo("fast",0);j.stop().fadeTo("fast",0,function(){w(Q);k.remove();j.add(x).css({opacity:1,cursor:q}).hide();setTimeout(function(){O=c;w(eb,a.onClosed)},1)})}};d.element=function(){return b(l)};d.settings=gb;b(d.init)})(jQuery,this)
/* END COLORBOX PHOTO VIEWER */

/* BEGIN E-MAIL OBFUSCATOR */ 
	jQuery.fn.nospam=function(settings){settings=jQuery.extend({replaceText:false,filterLevel:'normal'},settings);return this.each(function(){e=null;if(settings.filterLevel=='low'){if($(this).is('a[rel]')){e=$(this).attr('rel').replace('//','@').replace(/\//g,'.');}else{e=$(this).text().replace('//','@').replace(/\//g,'.');}}else{if($(this).is('a[rel]')){e=$(this).attr('rel').split('').reverse().join('').replace('//','@').replace(/\//g,'.');}else{e=$(this).text().split('').reverse().join('').replace('//','@').replace(/\//g,'.');}}
	if(e){if($(this).is('a[rel]')){$(this).attr('href','mailto:'+e);if(settings.replaceText){$(this).text(e);}}else{$(this).text(e);}}});};
/* END E-MAIL OBFUSCATOR */

/* BEGIN GENERIC FUNCTIONS */
$(document).ready(function()
{
	$(".mailto").each(function(){
		$(this).nospam({
		replaceText: false,
		filterLevel: 'normal'
		});	
	})

	$("#main-carousel").each(function(){
	var oldSlide;
	var newSlide;
	var first;
		$(this).jCarouselLite({
			btnNext: ".next",
			btnPrev: ".prev",
			speed: "800",
			auto: "5",
			beforeStart: function(a){
				oldSlide = $('#b'+a.eq('1').attr('id'));
			},
			afterEnd: function(a) {			
				newSlide = $('#b'+a.eq('1').attr('id'));				
				$(oldSlide).fadeOut('slow');
				$(newSlide).fadeIn('slow');
			}
		});	
	})
	
	$("div.ad-flash").each(function(){
		var file = "i/ads/"+$(this).attr("id");
		$(this).flash({
			swf: file,
			height: 120,
			width: 296		
		});
	})
	
	$(".mini-slides").each(function(){
		$(this).jCarouselLite({
			btnNext: ".mini-next",
			btnPrev: ".mini-prev",
			speed: "800",
			afterEnd: function(a) {
				text = $(a.eq("0")).find('a').attr('title');
				link = $(a.eq("0")).find('a').attr('href');				
				definition = $('<a target="_blank" href='+link+'>'+text+'</a>')
				$(".controls > dfn").html(definition);
			}
		});	
	})
	$(".default-slide").each(function(){
		$(this).show();		
	})
	var active;
	$(".externalControl .content-carousel").jCarouselLite({
		visible: 1,
		start: 0,
		speed: "800",
		btnNext: ".externalControl .dot-next",
		btnPrev: ".externalControl .dot-prev",
		btnGo:
		[".externalControl .dot.1", ".externalControl .dot.2",
		".externalControl .dot.3"],
		beforeStart: function(a){
			$('div.business-startup div.indicator a.'+$(a).attr('class')).removeClass('active');
		},
		afterEnd: function(a) {
			$('div.business-startup div.indicator a.'+$(a).attr('class')).addClass('active');
		}
	});
	
	$("div#primary-navigation > ul > li").each(function(){		
		var dd = $('#d'+$(this).attr("rev"));
		$(this).hover(function(){
			$(dd).show();
		}, function(){			
			$(dd).hide()
		});		
	})
	
	$("div#primary-navigation").find(".dd-img").each(function(){
		target = $(this).find(".dd-img-overlay");
		$(this).hover(function(){
			$(target).slideDown("fast")
		}, function(){
			$(target).slideUp("fast")
		}	
		)	
	})
	
	$("#subsection-navigation > ul").each(function(){
		$(this).find('li.primer[rev!="d-'+mainlink+'"]').remove();
		$(this).find('li.primer[rev="d-'+mainlink+'"]').each(function(){		
			$(this).find('div[class="img"]').remove();
			$(this).find('div[class="dd-img"]').remove();
			$(this).find('a[class="rounded-green"]').remove();	
			$(this).find('a[class="cufon main"]').remove();
			$(this).find("ul.drop").find('a[href="'+url+'.jsp"]').addClass("active");
			$(this).find("li.single-level").find('a[href="'+url+'.jsp"]').addClass("active")
		})		
	})	

	$("#accordion").accordion({ icons: { 'header': 'ui-icon-plus', 'headerSelected': 'ui-icon-minus'}, autoHeight: false});
	$("#accordion-secondary").accordion({ icons: { 'header': 'ui-icon-plus', 'headerSelected': 'ui-icon-minus'}, autoHeight: false});
	
   	if ( $.browser.msie && $.browser.version < 7){
	   $("#primary-navigation div.dropdown").each(function(i) {
		 $(this).css({'background' : 'url(c/cssimg/dropdown-shadow-8bit.gif)'})
	   })
	   $("a.video-overlay").each(function(i) {
		 this.style.backgroundImage = "none"
		 this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='c/cssimg/play-video.png', sizingMethod='scale')"; 
	   })	   

	   $("#main-carousel").each(function(){
			$(this).css("height", "340px")
	   })
	   $(".ui-icon").each(function(){
			$(this).remove();
	   })
    }
	
	$('#login-link').toggle(function(){
		$("#login-panel").slideDown("normal")
                if ($.browser.msie){
                }else if($.browser.mozilla){
                }else{
                alert('DSO GSD E-Services will not work properly with your current browser. Please use Internet Explorer / Mozilla Firefox.');
                /*jAlert('DSO GSD E-Services will not work properly with your current browser. Please use Internet Explorer / Mozilla Firefox.', 'Browser Alert');                */
                    /*$("#login-panel").append("<ul><li><label><font color='black'><b>DSO GSD E-Services will not work properly with your current browser. Please use Internet Explorer / Mozilla Firefox.</b></font></label></li></ul>");*/
                }
	},
	function(){
		$("#login-panel").slideUp("fast")
	}
	)	
	
	/* 					 BEGIN NEWS-EVENTS 				*/
	
	function xmlParser(xmlFile, location) {
		$.ajax({
			type: "GET",
			url: xmlFile,
			dataType: "xml",
			success: init
		});
		function init(xml){
			var ul = $('<ul role="navigation"></ul>');
			var carouselCapsule = $('<div class="carousel vertical"></div>');
			var carouselItems = $('<div class="jCarouselLite"></div>');
			var li ='';
			var a ='';
			var p ='';
			var img ='';
			var date ='';
			var text = '';
			var thumbExtract = [];
			var linkExtract = [];
			var total = '';
			var current = '';

			/* BEGIN NEWS ARTICLE AND LIST CONSTRUCTOR */
			if (location === "#news-article"){
				var articleHolder = $('<div class="article"></div>');
				$(xml).find("article").each(function () {

					a = $('<a href="news.jsp" rel="section" title="Take me back to all news">Back to all news</a>');
					title = $('<h3>'+$(this).find('title').text()+'</h3>');						
					var day = $(this).find('pubDay').text();
					var month = $(this).find('pubMonth').text();
					var year = $(this).find('pubYear').text();
					var articleContents = $('<div></div>');
					var description = $('<div class="description"><p><dfn>'+day+" "+month+", "+year+',</dfn>'+$(this).find('description').text()+'</p></div>');
					$(this).find('img').each(function(){
						var path = "i/news/med/"+year+"/"+month+"/"+$(this).attr("src");
						var clickPath = "i/news/big/"+year+"/"+month+"/"+$(this).attr("src");
						img = $('<a href="'+clickPath+'" rel="colorbox" alt="'+$(this).attr("title")+'" title="'+$(this).attr("title")+'"><img src="'+path+'" alt="'+$(this).attr("title")+'" title="'+$(this).attr("title")+'"/></a>');
					})
					
					$(this).find('articleBody').children().each(function(){
						var text = $('<'+$(this).attr("tag")+'>'+$(this).text()+'</'+$(this).attr("tag")+'>');
						articleContents.append(text);
					});
					$(articleContents).prepend(img);
					$(articleHolder).append(title);
					$(articleHolder).append(description);					
					$(articleHolder).append(articleContents);
					$(articleHolder).append(a);
					document.title = "DSO Press releases, "+$(this).find('title').text();
				})
				$(location).append(articleHolder);
				$("a[rel='colorbox']").colorbox();
			}
			
			if (location === "#news-details"){
				var h3 ='';
				$(xml).find("item").each(function () {
					thumbExtract = $(this).find('enclosure').attr('url').split("/");
					var len = thumbExtract.length;
					thumbUrl = "i/news/tmb/"+thumbExtract[len-3]+"/"+thumbExtract[len-2]+"/"+thumbExtract[len-1];
					linkExtract = $(this).find('link').text().split("/");
					var linkLength = linkExtract.length;
					li = $('<li href="news"></li>');					
					a = $('<a href="'+linkExtract[linkLength-1]+'" rel="subsection" title="'+$(this).find('title').text()+'">Read More</a>');
					p = $('<p></p>');
					img = $('<img src="'+thumbUrl+'" alt="'+$(this).find('title').text()+'" title="'+$(this).find('title').text()+'"/>');
					text = $(this).find('description').text();
					title = $('<h3><a href="'+linkExtract[linkLength-1]+'" rel="subsection" title="'+$(this).find('title').text()+'">'+$(this).find('title').text()+'</a></h3>');
					date = $('<dfn>'+$(this).find('pubDate').text()+', </dfn>');
					p.append(img).append(title).append(date).append(text).append(a);
					li.append(p);
					ul.append(li);
				})
				$(location).append(ul);
			}
			/* END NEWS ARTICLE AND LIST CONSTRUCTOR */
			
			/* BEGIN EVENTS ARTICLE AND LIST CONSTRUCTOR */ 
			if (location === "#events-article"){
				var articleHolder = $('<div class="article"></div>');
				$(xml).find("article").each(function () {
					var articleContents = $('<div></div>');
					a = $('<a href="events.jsp" rel="section" title="Take me back to all events">Back to all events</a>');
					title = $('<h3>'+$(this).find('eventTitle').text()+'</h3>');
					var eventLogo = $(this).find('eventLogo').text();
					
					var day = $(this).find('eventDay').text();
					var month = $(this).find('eventMonth').text();
					var year = $(this).find('eventYear').text();

					var eventPeriod = $('<tr><td><strong>Period</strong></td><td>'+$(this).find('eventBeginning').text()+'-'+$(this).find('eventEnd').text()+'</td></tr>');
					var eventType = $('<tr><td><strong>Type</strong></td><td>'+$(this).find('eventType').text()+'</td></tr>');
					var eventLocation = $('<tr><td><strong>Location</strong></td><td>'+$(this).find('eventLocation').text()+'</td></tr>');
					var eventWebsite = $('<tr><td><strong>Website</strong></td><td><a href="'+$(this).find('eventWebsite').text()+'" rel="nofollow" target="_blank">'+$(this).find('eventWebsite').text()+'</a></td></tr>');
					
					var description = $('<div class="description"><p><dfn>'+day+" "+month+", "+year+',</dfn>'+$(this).find('description').text()+'</p></div>');
					var badge = $('<table class="event-badge"></table>');
					
					badge.append(eventPeriod).append(eventType).append(eventLocation).append(eventWebsite);
					
					$(this).find('eventLogo').each(function(){
						var path = "i/events/logos/big/"+eventLogo;
						img = $('<img src="'+path+'"/>');
					})
					
					$(this).find('articleBody').children().each(function(){
						var text = $('<p>'+$(this).text()+'</p>');
						articleContents.append(text);
					});
					
					$(articleContents).prepend(img);
					$(articleHolder).append(title);
					$(articleHolder).append(description);
					$(articleHolder).append(badge);
					$(articleHolder).append(articleContents);
					$(articleHolder).append(a);
					document.title = "DSO events, "+$(this).find('eventTitle').text();
				})
				$(location).append(articleHolder);
				$("a[rel='colorbox']").colorbox();
			}
			
			if (location === "#events-details"){
				var h3 ='';
				$(xml).find("item").each(function () {
					thumbExtract = $(this).find('enclosure').attr('url').split("/");
					var len = thumbExtract.length;
					thumbUrl = "i/events/logos/tmb/"+thumbExtract[len-1];
					linkExtract = $(this).find('link').text().split("/");
					var linkLength = linkExtract.length;
					li = $('<li href="news"></li>');					
					a = $('<a href="'+linkExtract[linkLength-1]+'" rel="subsection" title="'+$(this).find('title').text()+'">Read More</a>');
					p = $('<p></p>');
					img = $('<img src="'+thumbUrl+'" alt="'+$(this).find('title').text()+'" title="'+$(this).find('title').text()+'"/>');
					text = $(this).find('description').text();
					title = $('<h3><a href="'+linkExtract[linkLength-1]+'" rel="subsection" title="'+$(this).find('title').text()+'">'+$(this).find('title').text()+'</a></h3>');
					date = $('<dfn>'+$(this).find('pubDate').text()+', </dfn>');
					p.append(img).append(title).append(date).append(text).append(a);
					li.append(p);
					ul.append(li);
				})
				$(location).append(ul);
			}
			/* 	END EVENTS ARTICLE AND LIST CONSTRUCTOR */ 
			
			/* NEWS-EVENTS WIDGETS CONTENT CONSTRUCTOR */ 
			if (location === "#news"){
				total = 3;
				current = 0;
				$(xml).find("item").each(function () {
					if(current < total){
						thumbExtract = $(this).find('enclosure').attr('url').split("/");
						var len = thumbExtract.length;
						
						linkExtract = $(this).find('link').text().split("/");
						var linkLength = linkExtract.length;						
						
						thumbUrl = "i/news/tmb/"+thumbExtract[len-3]+"/"+thumbExtract[len-2]+"/"+thumbExtract[len-1];
						li = $('<li href="news"></li>');					
						a = $('<a href="'+linkExtract[linkLength-1]+'" rel="subsection" title="'+$(this).find('title').text()+'"></a>');
						p = $('<p></p>');
						img = $('<img src="'+thumbUrl+'" alt="'+$(this).find('title').text()+'" title="'+$(this).find('title').text()+'"/>');
						text = $(this).find('title').text();
						date = $('<dfn>'+$(this).find('pubDate').text()+' - </dfn>')
						p.append(img).append(date).append(text);
						a.append(p);
						li.append(a);
						ul.append(li);
						current++;
					}
					else{return false}
				})
				$(location).append(ul);
			}
			if (location === "#events"){
				var prev = $('<a class="next" rel="next" title="Next event"></a>');
				var next = $('<a class="prev" rel="prev" title="Previous event"></a>');
				var controls = $('<div class="controls"></div>');
				controls.append(prev).append(next);
				
				$(xml).find("item").each(function () {					
					var eventData = $('<div class="event-holder"></div>');					
					thumbExtract = $(this).find('enclosure').attr('url').split("/");
					var len = thumbExtract.length;
					linkExtract = $(this).find('link').text().split("/");
					var linkLength = linkExtract.length;
					thumbUrl = "i/events/logos/tmb/"+thumbExtract[len-1];
					li = $('<li href="news"></li>');
					img = $('<img src="'+thumbUrl+'" alt="'+$(this).find('title').text()+'" title="'+$(this).find('title').text()+'"/>');
					date = $('<dfn>'+$(this).find('pubDate').text()+'</dfn>');
					var eventTitle = $('<h6><a href="'+linkExtract[linkLength-1]+'" rel="subsection" title="Event details: '+$(this).find('title').text()+'">'+$(this).find('title').text()+'</a></h6>');					
					
					eventData.append(img).append(date).append(eventTitle);
					li.append(eventData);
					ul.append(li);
					carouselItems.append(ul);
				})
				carouselCapsule.append(carouselItems).append(controls);
				$(location).append(carouselCapsule);
				$(".vertical .jCarouselLite").jCarouselLite({
					btnNext: ".vertical .next",
					btnPrev: ".vertical .prev",
					vertical: true
				});
			}
			/* NEWS-EVENTS WIDGETS CONTENT CONSTRUCTOR */ 
		}
	}
	
	/* BEGIN PARSE NEWS.XML ON LOAD, PARSE EVENTS.XML ON CLICK */ 
	$('#news-events').tabs().each(function(){
		$(this).find("#news").each(function(){
			xmlParser('news/dso-rss.xml', '#news');
		})
		$(this).find("a.event-trigger").click(function(){
			var loaded = $("#events").text;
			if ($("#events").text() == ""){
				xmlParser('events/events.xml', '#events');
			}
			else {}
		})	
	});	
	/* END PARSE NEWS.XML ON LOAD, PARSE EVENTS.XML ON CLICK */ 
	
	/* BEGIN NEWS-EVENTS ARTICLE PAGE PARSER */ 
	$('#news-details').each(function(){
		var dateQuery = window.location.href.split("/");
		var queryExtract = dateQuery[(dateQuery.length-1)];
		if (queryExtract === "news.jsp"){xmlParser('news/dso-rss.xml', '#news-details')}
		else 
		{
			articlePath = 'news/'+queryExtract.replace("news.jsp?date=", "")+'.xml';
			xmlParser(articlePath, '#news-article')
		}		
	})
	$('#events-details').each(function(){
		var dateQuery = window.location.href.split("/");
		var queryExtract = dateQuery[(dateQuery.length-1)];
		if (queryExtract === "events.jsp"){xmlParser('events/events.xml', '#events-details')}
		else 
		{
			articlePath = 'events/'+queryExtract.replace("events.jsp?date=", "")+'.xml';
			xmlParser(articlePath, '#events-article')
		}		
	})
	/* END NEWS-EVENTS ARTICLE PAGE PARSER */ 
	
	/* 					 END NEWS-EVENTS 				*/
	
	

	$("a[rel='colorbox']").colorbox();	
	$("a[rel='freehold']").colorbox({href:"freehold-summary.jsp", width:"500px"});
	
	$('.multimedia').each(function(){	
		$("a[rel='colorbox']").colorbox();
		$('div.photo-filter').each(function(){
			$(this).toggle(function(){
				$("ul.filters").slideDown("normal");
			}, function(){			
				$("ul.filters").slideUp("fast");
			});
		})
		$('ul.filters > li').each(function(){
			var filter = $(this).attr('rev');
			$(this).click(function(){
				if (filter === 'all'){
					$("ul.photo > li").each(function(){
						$(this).show();
					})
				}
				else {
					$("ul.photo > li").each(function(){
						$(this).hide();
					})
					$("ul.photo").find('li[rev='+filter+']').each(function(){
						$(this).fadeIn("normal", "linear");
					})
				}
			})
		})
	})
	
	$(".colorbox-video").colorbox({iframe:true, innerWidth:425, innerHeight:344});
	
	$("#video-block").each(function(){		
		$(this).hover(function(){
			$(".video-overlay").fadeIn("fast");
		}, function(){			
			$(".video-overlay").fadeOut("fast")
		});
	})

	$("ul.alphabetical-pagination > li > a").each(function(){
		var letter = $(this).attr("rel");
		$(this).click(function(){
			if(letter === 'all'){
				$("ul.alphabetical-list > li").each(function(){
					$(this).show();
				})
			}
			else {			
				$("ul.alphabetical-list > li").each(function(){
					$(this).hide();
				})
				$("ul.alphabetical-list").find('li[rel='+letter+']').each(function(){
					$(this).slideDown("normal");
				})
			}
		})
	})
	$("a.rounded-green").button();
	$("input.submit").button();
	
	Cufon.replace('h1.cufon');
	Cufon.replace('h2.cufon');
	Cufon.replace('h3.cufon');
	Cufon.replace('h4.cufon');
	Cufon.replace('h6.cufon');
	Cufon.replace('p.cufon');
	Cufon.replace('a.cufon');
	Cufon.replace('a.cufon.main');
	
	$("a.cufon.main").each(function(){
		$(this).css("font-size", "12px")
	})	
	
	Cufon.replace('address.cufon');
	Cufon.replace('strong.cufon');
	
	function googlemapinit() {
		var latlng = new google.maps.LatLng(25.1245, 55.381380);		
		var hq = new google.maps.LatLng(25.12468, 55.380994);
		var hqmarker = 'i/ui/gmaps-hq.png';
		var hqmarkershadow = 'i/ui/gmaps-hq-shadow.png';
		var dsopolygon;
		
		var myOptions = {
		  zoom: 13,
		  center: latlng,
			mapTypeControl: true,
			mapTypeControlOptions: {
			style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
			},
			navigationControl: true,
			navigationControlOptions: {
			style: google.maps.NavigationControlStyle.SMALL
			},
		  mapTypeId: google.maps.MapTypeId.SATELLITE
		};
		
		var map = new google.maps.Map(document.getElementById("google-map-holder"),myOptions);		

		marker = new google.maps.Marker({
			map:map,
			draggable:false,
			animation: google.maps.Animation.DROP,
			position: hq,
			icon: hqmarker,
			shadow:hqmarkershadow
			});
		
		var triangleCoords = [
			new google.maps.LatLng(25.117406815057326, 55.367319587707506),
			new google.maps.LatLng(25.12082620647502, 55.36774874114989),
			new google.maps.LatLng(25.128519487319384, 55.376074317932115),
			new google.maps.LatLng(25.13815483238301, 55.382339958190904),
			new google.maps.LatLng(25.12991821360531, 55.40225267791747),
			new google.maps.LatLng(25.127586994230846, 55.40491342926024),
			new google.maps.LatLng(25.12494489182534, 55.40474176788329),
			new google.maps.LatLng(25.105749079905, 55.38036585235594),
			new google.maps.LatLng(25.106681739625365, 55.37667513275145),
		];

		dsopolygon = new google.maps.Polygon({
			paths: triangleCoords,
			strokeColor: "#59DAFF",
			strokeOpacity: 0.6,
			strokeWeight: 4,
			fillColor: "#59DAFF",
			fillOpacity: 0.08
		});
		dsopolygon.setMap(map);
		google.maps.event.addListener(marker, 'click', toggleBounce);	
	}	
	$("#google-map-holder").each(function(){
		googlemapinit();	
	})
});
