function trackFunnel(A){try{var C=_gat._getTracker("UA-10265634-1");C._trackPageview(A)}catch(B){}}Array.prototype.indexOf=function(A){for(var B=0;B<this.length;B++){if(this[B]===A){return B}}return -1};Array.prototype.lastIndexOf=function(A){var B=this.length;while(B--){if(this[B]===A){return B}}return -1};Array.prototype.forEach=function(C){var A=this.length,B,D=this.length;for(A=0;A<D;A++){if((B=this[A])){C(B)}}};Array.prototype.insert=function(D,B){if(D>=0){var A=this.slice(),C=A.splice(D);A[D]=value;return A.concat(C)}};Array.prototype.shuffle=function(){var B=this.length,C,A;while(B--){C=Math.floor((B+1)*Math.random());A=arr[B];arr[B]=arr[C];arr[C]=A}};Array.prototype.unique=function(){var A=[],B;this.sort();for(B=0;B<this.length;B++){if(this[B]!==this[B+1]){A[A.length]=this[B]}}return A};if(typeof Array.prototype.concat==="undefined"){Array.prototype.concat=function(A){for(var C=0,B=this.copy();C<A.length;C++){B[B.length]=A[C]}return B}}if(typeof Array.prototype.copy==="undefined"){Array.prototype.copy=function(A){var A=[],B=this.length;while(B--){A[B]=(typeof this[B].copy!=="undefined")?this[B].copy():this[B]}return A}}if(typeof Array.prototype.pop==="undefined"){Array.prototype.pop=function(){var A=this[this.length-1];this.length--;return A}}if(typeof Array.prototype.push==="undefined"){Array.prototype.push=function(){for(var C=0,B=this.length,A=arguments;C<A.length;C++){this[B+C]=A[C]}return this.length}}if(typeof Array.prototype.shift==="undefined"){Array.prototype.shift=function(){for(var B=0,A=this[0];B<this.length-1;B++){this[B]=this[B+1]}this.length--;return A}}if(typeof Array.prototype.slice==="undefined"){Array.prototype.slice=function(B,D){var E=0,C,A=[];if(!D){D=this.length}if(D<0){D=this.length+D}if(B<0){B=this.length-B}if(D<B){C=B;B=D;D=C}for(E;E<D-B;E++){A[E]=this[B+E]}return A}}if(typeof Array.prototype.splice==="undefined"){Array.prototype.splice=function(B,C){var D=0,E=arguments,A=this.copy(),F=B;if(!C){C=this.length-B}for(D;D<E.length-2;D++){this[B+D]=E[D+2]}for(B;B<this.length-C;B++){this[B+E.length-2]=A[B-C]}this.length-=C-E.length+2;return A.slice(F,F+C)}}if(typeof Array.prototype.unshift==="undefined"){Array.prototype.unshift=function(A){this.reverse();var B=this.push(A);this.reverse();return B}}function createCookie(A,E,D){if(D){var B=new Date();B.setTime(B.getTime()+(D*24*60*60*1000));var C="; expires="+B.toGMTString()}else{var C=""}document.cookie=A+"="+E+C+"; path=/"}function readCookie(A){var E=A+"=";var B=document.cookie.split(";");for(var D=0;D<B.length;D++){var C=B[D];while(C.charAt(0)==" "){C=C.substring(1,C.length)}if(C.indexOf(E)==0){return C.substring(E.length,C.length)}}return null}function eraseCookie(A){createCookie(A,"",-1)}var Cufon=(function(){var Q=function(){return Q.replace.apply(null,arguments)};var Ab=Q.DOM={ready:(function(){var a=false,c={loaded:1,complete:1};var A=[],b=function(){if(a){return}a=true;for(var d;d=A.shift();d()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false);window.addEventListener("pageshow",b,false)}if(!window.opera&&document.readyState){(function(){c[document.readyState]?b():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");b()}catch(d){setTimeout(arguments.callee,1)}})()}E(window,"load",b);return function(d){if(!arguments.length){b()}else{a?d():A.push(d)}}})(),root:function(){return document.documentElement||document.body}};var R=Q.CSS={Size:function(a,A){this.value=parseFloat(a);this.unit=String(a).match(/[a-z%]*$/)[0]||"px";this.convert=function(b){return b/A*this.value};this.convertFrom=function(b){return b/this.value*A};this.toString=function(){return this.value+this.unit}},addClass:function(a,A){var b=a.className;a.className=b+(b&&" ")+A;return a},color:N(function(a){var A={};A.color=a.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(c,b,d){A.opacity=parseFloat(d);return"rgb("+b+")"});return A}),fontStretch:N(function(A){if(typeof A=="number"){return A}if(/%$/.test(A)){return parseFloat(A)/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}[A]||1}),getStyle:function(a){var A=document.defaultView;if(A&&A.getComputedStyle){return new T(A.getComputedStyle(a,null))}if(a.currentStyle){return new T(a.currentStyle)}return new T(a.style)},gradient:N(function(f){var A={id:f,type:f.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},b=f.substr(f.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var d=0,a=b.length,c;d<a;++d){c=b[d].split("=",2).reverse();A.stops.push([c[1]||d/(a-1),c[0]])}return A}),quotedList:N(function(c){var b=[],a=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,A;while(A=a.exec(c)){b.push(A[3]||A[1])}return b}),recognizesMedia:N(function(A){var d=document.createElement("style"),c,b,a;d.type="text/css";d.media=A;try{d.appendChild(document.createTextNode("/**/"))}catch(f){}b=Z("head")[0];b.insertBefore(d,b.firstChild);c=(d.sheet||d.styleSheet);a=c&&!c.disabled;b.removeChild(d);return a}),removeClass:function(b,a){var A=RegExp("(?:^|\\s+)"+a+"(?=\\s|$)","g");b.className=b.className.replace(A,"");return b},supports:function(b,a){var A=document.createElement("span").style;if(A[b]===undefined){return false}A[b]=a;return A[b]===a},textAlign:function(c,b,A,a){if(b.get("textAlign")=="right"){if(A>0){c=" "+c}}else{if(A<a-1){c+=" "}}return c},textShadow:N(function(f){if(f=="none"){return null}var d=[],A={},a,b=0;var c=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(a=c.exec(f)){if(a[0]==","){d.push(A);A={};b=0}else{if(a[1]){A.color=a[1]}else{A[["offX","offY","blur"][b++]]=a[2]}}}d.push(A);return d}),textTransform:(function(){var A={uppercase:function(a){return a.toUpperCase()},lowercase:function(a){return a.toLowerCase()},capitalize:function(a){return a.replace(/\b./g,function(b){return b.toUpperCase()})}};return function(c,b){var a=A[b.get("textTransform")];return a?a(c):c}})(),whiteSpace:(function(){var b={inline:1,"inline-block":1,"run-in":1};var a=/^\s+/,A=/\s+$/;return function(d,g,c,f){if(f){if(f.nodeName.toLowerCase()=="br"){d=d.replace(a,"")}}if(b[g.get("display")]){return d}if(!c.previousSibling){d=d.replace(a,"")}if(!c.nextSibling){d=d.replace(A,"")}return d}})()};R.ready=(function(){var A=!R.recognizesMedia("all"),c=false;var b=[],g=function(){A=true;for(var k;k=b.shift();k()){}};var h=Z("link"),j=Z("style");function a(k){return k.disabled||f(k.sheet,k.media||"screen")}function f(l,q){if(!R.recognizesMedia(q||"all")){return true}if(!l||l.disabled){return false}try{var k=l.cssRules,n;if(k){search:for(var p=0,o=k.length;n=k[p],p<o;++p){switch(n.type){case 2:break;case 3:if(!f(n.styleSheet,n.media.mediaText)){return false}break;default:break search}}}}catch(m){}return true}function d(){if(document.createStyleSheet){return true}var k,l;for(l=0;k=h[l];++l){if(k.rel.toLowerCase()=="stylesheet"&&!a(k)){return false}}for(l=0;k=j[l];++l){if(!a(k)){return false}}return true}Ab.ready(function(){if(!c){c=R.getStyle(document.body).isUsable()}if(A||(c&&d())){g()}else{setTimeout(arguments.callee,10)}});return function(k){if(A){k()}else{b.push(k)}}})();function G(b){var a=this.face=b.face,A={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=b.glyphs;this.w=b.w;this.baseSize=parseInt(a["units-per-em"],10);this.family=a["font-family"].toLowerCase();this.weight=a["font-weight"];this.style=a["font-style"]||"normal";this.viewBox=(function(){var d=a.bbox.split(/\s+/);var c={minX:parseInt(d[0],10),minY:parseInt(d[1],10),maxX:parseInt(d[2],10),maxY:parseInt(d[3],10)};c.width=c.maxX-c.minX;c.height=c.maxY-c.minY;c.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return c})();this.ascent=-parseInt(a.ascent,10);this.descent=-parseInt(a.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(l,n,c){var o=this.glyphs,m,k,f,p=[],d=0,j=-1,h=-1,g;while(g=l[++j]){m=o[g]||this.missingGlyph;if(!m){continue}if(k){d-=f=k[g]||0;p[h]-=f}d+=p[++h]=~~(m.w||this.w)+n+(A[g]?c:0);k=m.k}p.total=d;return p}}function Y(){var a={},A={oblique:"italic",italic:"oblique"};this.add=function(b){(a[b.style]||(a[b.style]={}))[b.weight]=b};this.get=function(g,h){var f=a[g]||a[A[g]]||a.normal||a.italic||a.oblique;if(!f){return null}h={normal:400,bold:700}[h]||parseInt(h,10);if(f[h]){return f[h]}var c={1:1,99:0}[h%100],k=[],d,b;if(c===undefined){c=h>400}if(h==500){h=400}for(var j in f){if(!O(f,j)){continue}j=parseInt(j,10);if(!d||j<d){d=j}if(!b||j>b){b=j}k.push(j)}if(h<d){h=d}if(h>b){h=b}k.sort(function(m,l){return(c?(m>=h&&l>=h)?m<l:m>l:(m<=h&&l<=h)?m>l:m<l)?-1:1});return f[k[0]]}}function F(){function b(f,d){if(f.contains){return f.contains(d)}return f.compareDocumentPosition(d)&16}function A(d){var f=d.relatedTarget;if(!f||b(this,f)){return}a(this,d.type=="mouseover")}function c(d){a(this,d.type=="mouseenter")}function a(f,d){setTimeout(function(){var g=W.get(f).options;Q.replace(f,d?L(g,g.hover):g,true)},10)}this.attach=function(d){if(d.onmouseenter===undefined){E(d,"mouseover",A);E(d,"mouseout",A)}else{E(d,"mouseenter",c);E(d,"mouseleave",c)}}}function I(){var a=[],b={};function A(d){var f=[],c;for(var g=0;c=d[g];++g){f[g]=a[b[c]]}return f}this.add=function(d,c){b[d]=a.push(c)-1};this.repeat=function(){var d=arguments.length?A(arguments):a,f;for(var c=0;f=d[c++];){Q.replace(f[0],f[1],true)}}}function Aa(){var b={},A=0;function a(c){return c.cufid||(c.cufid=++A)}this.get=function(c){var d=a(c);return b[d]||(b[d]={})}}function T(A){var b={},a={};this.extend=function(c){for(var d in c){if(O(c,d)){b[d]=c[d]}}return this};this.get=function(c){return b[c]!=undefined?b[c]:A[c]};this.getSize=function(d,c){return a[d]||(a[d]=new R.Size(this.get(d),c))};this.isUsable=function(){return !!A}}function E(a,A,b){if(a.addEventListener){a.addEventListener(A,b,false)}else{if(a.attachEvent){a.attachEvent("on"+A,function(){return b.call(a,window.event)})}}}function J(a,A){var b=W.get(a);if(b.options){return a}if(A.hover&&A.hoverables[a.nodeName.toLowerCase()]){U.attach(a)}b.options=A;return a}function N(A){var a={};return function(b){if(!O(a,b)){a[b]=A.apply(null,arguments)}return a[b]}}function V(d,c){var A=R.quotedList(c.get("fontFamily").toLowerCase()),b;for(var a=0;b=A[a];++a){if(M[b]){return M[b].get(c.get("fontStyle"),c.get("fontWeight"))}}return null}function Z(A){return document.getElementsByTagName(A)}function O(a,A){return a.hasOwnProperty(A)}function L(){var a={},A,d;for(var c=0,b=arguments.length;A=arguments[c],c<b;++c){for(d in A){if(O(A,d)){a[d]=A[d]}}}return a}function S(c,m,a,n,d,b){var k=document.createDocumentFragment(),g;if(m===""){return k}var l=n.separate;var h=m.split(D[l]),A=(l=="words");if(A&&H){if(/^\s/.test(m)){h.unshift("")}if(/\s$/.test(m)){h.push("")}}for(var j=0,f=h.length;j<f;++j){g=C[n.engine](c,A?R.textAlign(h[j],a,j,f):h[j],a,n,d,b,j<f-1);if(g){k.appendChild(g)}}return k}function P(b,m){var a=b.nodeName.toLowerCase();if(m.ignore[a]){return}var c=!m.textless[a];var A=R.getStyle(J(b,m)).extend(m);var d=V(b,A),f,k,h,g,l,j;if(!d){return}for(f=b.firstChild;f;f=h){k=f.nodeType;h=f.nextSibling;if(c&&k==3){if(g){g.appendData(f.data);b.removeChild(f)}else{g=f}if(h){continue}}if(g){b.replaceChild(S(d,R.whiteSpace(g.data,A,g,j),A,m,f,b),g);g=null}if(k==1){if(f.firstChild){if(f.nodeName.toLowerCase()=="cufon"){C[m.engine](d,null,A,m,f,b)}else{arguments.callee(f,m)}}j=f}}}var H=" ".split(/\s+/).length==0;var W=new Aa();var U=new F();var B=new I();var X=false;var C={},M={},K={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(A){return jQuery(A)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(A){return $$(A)})||(window.$&&function(A){return $(A)})||(document.querySelectorAll&&function(A){return document.querySelectorAll(A)})||Z),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var D={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};Q.now=function(){Ab.ready();return Q};Q.refresh=function(){B.repeat.apply(B,arguments);return Q};Q.registerEngine=function(a,A){if(!A){return Q}C[a]=A;return Q.set("engine",a)};Q.registerFont=function(b){if(!b){return Q}var A=new G(b),a=A.family;if(!M[a]){M[a]=new Y()}M[a].add(A);return Q.set("fontFamily",'"'+a+'"')};Q.replace=function(b,a,A){a=L(K,a);if(!a.engine){return Q}if(!X){R.addClass(Ab.root(),"cufon-active cufon-loading");R.ready(function(){R.addClass(R.removeClass(Ab.root(),"cufon-loading"),"cufon-ready")});X=true}if(a.hover){a.forceHitArea=true}if(a.autoDetect){delete a.fontFamily}if(typeof a.textShadow=="string"){a.textShadow=R.textShadow(a.textShadow)}if(typeof a.color=="string"&&/^-/.test(a.color)){a.textGradient=R.gradient(a.color)}else{delete a.textGradient}if(!A){B.add(b,arguments)}if(b.nodeType||typeof b=="string"){b=[b]}R.ready(function(){for(var f=0,d=b.length;f<d;++f){var c=b[f];if(typeof c=="string"){Q.replace(a.selector(c),a,true)}else{P(c,a)}}});return Q};Q.set=function(A,a){K[A]=a;return Q};return Q})();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(M,I){if(I==="0"){return 0}if(/px$/i.test(I)){return parseFloat(I)}var L=M.style.left,K=M.runtimeStyle.left;M.runtimeStyle.left=M.currentStyle.left;M.style.left=I.replace("%","em");var J=M.style.pixelLeft;M.style.left=L;M.runtimeStyle.left=K;return J}function F(N,M,L,J){var K="computed"+J,I=M[K];if(isNaN(I)){I=M.get(J);M[K]=I=(I=="normal")?0:~~L.convertFrom(A(N,I))}return I}var G={};function D(N){var O=N.id;if(!G[O]){var J=N.stops,K=document.createElement("cvml:fill"),M=[];K.type="gradient";K.angle=180;K.focus="0";K.method="sigma";K.color=J[0][1];for(var I=1,L=J.length-1;I<L;++I){M.push(J[I][0]*100+"% "+J[I][1])}K.colors=M.join(",");K.color2=J[L][1];G[O]=K}return G[O]}return function(AD,As,b,Ao,Ah,AO,Ad){var AI=(As===null);if(AI){As=Ah.alt}var Af=AD.viewBox;var Aw=b.computedFontSize||(b.computedFontSize=new Cufon.CSS.Size(C(AO,b.get("fontSize"))+"px",AD.baseSize));var Au,Ax;if(AI){Au=Ah;Ax=Ah.firstChild}else{Au=document.createElement("cufon");Au.className="cufon cufon-vml";Au.alt=As;Ax=document.createElement("cufoncanvas");Au.appendChild(Ax);if(Ao.printable){var c=document.createElement("cufontext");c.appendChild(document.createTextNode(As));Au.appendChild(c)}if(!Ad){Au.appendChild(document.createElement("cvml:shape"))}}var AK=Au.style;var h=Ax.style;var AG=Aw.convert(Af.height),AN=Math.ceil(AG);var Ac=AN/AG;var f=Ac*Cufon.CSS.fontStretch(b.get("fontStretch"));var Ab=Af.minX,Aa=Af.minY;h.height=AN;h.top=Math.round(Aw.convert(Aa-AD.ascent));h.left=Math.round(Aw.convert(Ab));AK.height=Aw.convert(AD.height)+"px";var Ar=b.get("color");var AQ=Cufon.CSS.textTransform(As,b).split("");var Ai=AD.spacing(AQ,F(AO,b,Aw,"letterSpacing"),F(AO,b,Aw,"wordSpacing"));if(!Ai.length){return null}var AF=Ai.total;var At=-Ab+AF+(Af.width-Ai[Ai.length-1]);var AM=Aw.convert(At*f),a=Math.round(AM);var Al=At+","+Af.height,AH;var Ag="r"+Al+"ns";var AB=Ao.textGradient&&D(Ao.textGradient);var AJ=AD.glyphs,j=0;var Ae=Ao.textShadow;var AP=-1,AE=0,d;while(d=AQ[++AP]){var Ap=AJ[AQ[AP]]||AD.missingGlyph,AC;if(!Ap){continue}if(AI){AC=Ax.childNodes[AE];while(AC.firstChild){AC.removeChild(AC.firstChild)}}else{AC=document.createElement("cvml:shape");Ax.appendChild(AC)}AC.stroked="f";AC.coordsize=Al;AC.coordorigin=AH=(Ab-j)+","+Aa;AC.path=(Ap.d?"m"+Ap.d+"xe":"")+"m"+AH+Ag;AC.fillcolor=Ar;if(AB){AC.appendChild(AB.cloneNode(false))}var AA=AC.style;AA.width=a;AA.height=AN;if(Ae){var Az=Ae[0],Ay=Ae[1];var An=Cufon.CSS.color(Az.color),Av;var Ak=document.createElement("cvml:shadow");Ak.on="t";Ak.color=An.color;Ak.offset=Az.offX+","+Az.offY;if(Ay){Av=Cufon.CSS.color(Ay.color);Ak.type="double";Ak.color2=Av.color;Ak.offset2=Ay.offX+","+Ay.offY}Ak.opacity=An.opacity||(Av&&Av.opacity)||1;AC.appendChild(Ak)}j+=Ai[AE++]}var Aj=AC.nextSibling,AL,Am;if(Ao.forceHitArea){if(!Aj){Aj=document.createElement("cvml:rect");Aj.stroked="f";Aj.className="cufon-vml-cover";AL=document.createElement("cvml:fill");AL.opacity=0;Aj.appendChild(AL);Ax.appendChild(Aj)}Am=Aj.style;Am.width=a;Am.height=AN}else{if(Aj){Ax.removeChild(Aj)}}AK.width=Math.max(Math.ceil(Aw.convert(AF*f)),0);if(H){var g=b.computedYAdjust;if(g===undefined){var Aq=b.get("lineHeight");if(Aq=="normal"){Aq="1em"}else{if(!isNaN(Aq)){Aq+="em"}}b.computedYAdjust=g=0.5*(A(AO,Aq)-parseFloat(AK.height))}if(g){AK.marginTop=Math.ceil(g)+"px";AK.marginBottom=g+"px"}}return Au}})());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(M,O){var K=0,J=0;var N=[],L=/([mrvxe])([^a-z]*)/g,H;generate:for(var G=0;H=L.exec(M);++G){var I=H[2].split(",");switch(H[1]){case"v":N[G]={m:"bezierCurveTo",a:[K+~~I[0],J+~~I[1],K+~~I[2],J+~~I[3],K+=~~I[4],J+=~~I[5]]};break;case"r":N[G]={m:"lineTo",a:[K+=~~I[0],J+=~~I[1]]};break;case"m":N[G]={m:"moveTo",a:[K=~~I[0],J=~~I[1]]};break;case"x":N[G]={m:"closePath"};break;case"e":break generate}O[N[G].m].apply(O,N[G].a)}return N}function C(G,J){for(var I=0,H=G.length;I<H;++I){var K=G[I];J[K.m].apply(J,K.a)}}return function(Aa,Az,d,Aw,Am,Ab){var AC=(Az===null);if(AC){Az=Am.getAttribute("alt")}var Ak=Aa.viewBox;var AD=d.getSize("fontSize",Aa.baseSize);var Al=0,Aj=0,Ai=0,Ax=0;var Ar=Aw.textShadow,Ag=[];if(Ar){for(var y=Ar.length;y--;){var Ap=Ar[y];var Af=AD.convertFrom(parseFloat(Ap.offX));var Ad=AD.convertFrom(parseFloat(Ap.offY));Ag[y]=[Af,Ad];if(Ad<Al){Al=Ad}if(Af>Aj){Aj=Af}if(Ad>Ai){Ai=Ad}if(Af<Ax){Ax=Af}}}var c=Cufon.CSS.textTransform(Az,d).split("");var Ao=Aa.spacing(c,~~AD.convertFrom(parseFloat(d.get("letterSpacing"))||0),~~AD.convertFrom(parseFloat(d.get("wordSpacing"))||0));if(!Ao.length){return null}var AA=Ao.total;Aj+=Ak.width-Ao[Ao.length-1];Ax+=Ak.minX;var Av,AE;if(AC){Av=Am;AE=Am.firstChild}else{Av=document.createElement("cufon");Av.className="cufon cufon-canvas";Av.setAttribute("alt",Az);AE=document.createElement("canvas");Av.appendChild(AE);if(Aw.printable){var l=document.createElement("cufontext");l.appendChild(document.createTextNode(Az));Av.appendChild(l)}}var AB=Av.style;var Ac=AE.style;var AG=AD.convert(Ak.height);var b=Math.ceil(AG);var Ah=b/AG;var Aq=Ah*Cufon.CSS.fontStretch(d.get("fontStretch"));var Ae=AA*Aq;var f=Math.ceil(AD.convert(Ae+Aj-Ax));var AF=Math.ceil(AD.convert(Ak.height-Al+Ai));AE.width=f;AE.height=AF;Ac.width=f+"px";Ac.height=AF+"px";Al+=Ak.minY;Ac.top=Math.round(AD.convert(Al-Aa.ascent))+"px";Ac.left=Math.round(AD.convert(Ax))+"px";var Au=Math.max(Math.ceil(AD.convert(Ae)),0)+"px";if(A){AB.width=Au;AB.height=AD.convert(Aa.height)+"px"}else{AB.paddingLeft=Au;AB.paddingBottom=(AD.convert(Aa.height)-1)+"px"}var a=AE.getContext("2d"),An=AG/Ak.height;a.scale(An,An*Ah);a.translate(-Ax,-Al);a.save();function x(){var G=Aa.glyphs,J,K=-1,I=-1,H;a.scale(Aq,1);while(H=c[++K]){var J=G[c[K]]||Aa.missingGlyph;if(!J){continue}if(J.d){a.beginPath();if(J.code){C(J.code,a)}else{J.code=D("m"+J.d,a)}a.fill()}a.translate(Ao[++I],0)}a.restore()}if(Ar){for(var y=Ar.length;y--;){var Ap=Ar[y];a.save();a.fillStyle=Ap.color;a.translate.apply(a,Ag[y]);x()}}var At=Aw.textGradient;if(At){var Ay=At.stops,As=a.createLinearGradient(0,Ak.minY,0,Ak.maxY);for(var y=0,g=Ay.length;y<g;++y){As.addColorStop.apply(As,Ay[y])}a.fillStyle=As}else{a.fillStyle=d.get("color")}x();return Av}})());$(function(){$("#gss_input").keyup(function(){if($(this).val()!=""){$("#loader,#gcsResults").show();$(".searchIconLoading,#gscHead").show();$("#introductionContent, #content-wrapper, .searchIcon").hide()}else{$("#gcsResults,#gscHead").hide();$("#introductionContent, #content-wrapper").show();searchComplete()}});$("#loader, .searchIconLoading, #gcsResults").hide()});function initializeGoogleSearch(){try{var E=new google.search.DrawOptions();E.setInput(document.getElementById("gss_input"));var D=new google.search.SearcherOptions();D.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);D.setRoot(document.getElementById("gcsResults"));D.setNoResultsString("Geen resultaten gevonden.");var A=new google.search.WebSearch();A.setSiteRestriction("maggi.nl");var B=new google.search.SearchControl();B.addSearcher(A,D);B.setLinkTarget(google.search.Search.LINK_TARGET_SELF);B.setResultSetSize(google.search.Search.LARGE_RESULTSET);B.setSearchCompleteCallback(null,searchComplete);B.draw(null,E)}catch(C){}}function searchComplete(B,A){$("#loader").hide();$(".searchIconLoading").hide();$(".searchIcon").show()}google.setOnLoadCallback(initializeGoogleSearch);$(function(){$("div.box").each(function(){var A="<tr><td class='rc-tl'></td><td class='rc-tm'></td><td class='rc-tr'></td></tr>";var C="<tr><td class='rc-bl'></td><td class='rc-bm'></td><td class='rc-br'></td></tr>";var B="icCorners";$(this).wrap("<table class='"+B+"'><tr><td colspan='3' class='rc-m'></td></tr></table>");$parent=$(this).parent().parent();$parent.before(A);$parent.after(C)})});$(function(){var A=$("div.ic-overlay");if(A.length>0){$("a.ic-overlay-closeButton",A).click(onOverlayCloseButtonClick)}});function onOverlayCloseButtonClick(B){var A=$("div.ic-overlay");A.hide();B.preventDefault()}function showOverlay(){var A=$("div.ic-overlay");A.show();e.preventDefault()}jQuery.ui||(function(D){var A=D.fn.remove,E=D.browser.mozilla&&(parseFloat(D.browser.version)<1.9);D.ui={version:"1.7.2",plugin:{add:function(M,N,K){var J=D.ui[M].prototype;for(var L in K){J.plugins[L]=J.plugins[L]||[];J.plugins[L].push([N,K[L]])}},call:function(L,N,M){var K=L.plugins[N];if(!K||!L.element[0].parentNode){return}for(var J=0;J<K.length;J++){if(L.options[K[J][0]]){K[J][1].apply(L.element,M)}}}},contains:function(K,J){return document.compareDocumentPosition?K.compareDocumentPosition(J)&16:K!==J&&K.contains(J)},hasScroll:function(J,L){if(D(J).css("overflow")=="hidden"){return false}var K=(L&&L=="left")?"scrollLeft":"scrollTop",M=false;if(J[K]>0){return true}J[K]=1;M=(J[K]>0);J[K]=0;return M},isOverAxis:function(K,J,L){return(K>J)&&(K<(J+L))},isOver:function(L,N,K,J,M,O){return D.ui.isOverAxis(L,K,M)&&D.ui.isOverAxis(N,J,O)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(E){var G=D.attr,F=D.fn.removeAttr,I="http://www.w3.org/2005/07/aaa",B=/^aria-/,C=/^wairole:/;D.attr=function(L,K,M){var J=M!==undefined;return(K=="role"?(J?G.call(this,L,K,"wairole:"+M):(G.apply(this,arguments)||"").replace(C,"")):(B.test(K)?(J?L.setAttributeNS(I,K.replace(B,"aaa:"),M):G.call(this,L,K.replace(B,"aaa:"))):G.apply(this,arguments)))};D.fn.removeAttr=function(J){return(B.test(J)?this.each(function(){this.removeAttributeNS(I,J.replace(B,""))}):F.call(this,J))}}D.fn.extend({remove:function(){D("*",this).add(this).each(function(){D(this).triggerHandler("remove")});return A.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var J;if((D.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){J=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(D.curCSS(this,"position",1))&&(/(auto|scroll)/).test(D.curCSS(this,"overflow",1)+D.curCSS(this,"overflow-y",1)+D.curCSS(this,"overflow-x",1))}).eq(0)}else{J=this.parents().filter(function(){return(/(auto|scroll)/).test(D.curCSS(this,"overflow",1)+D.curCSS(this,"overflow-y",1)+D.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!J.length?D(document):J}});D.extend(D.expr[":"],{data:function(L,K,J){return !!D.data(L,J[3])},focusable:function(K){var L=K.nodeName.toLowerCase(),J=D.attr(K,"tabindex");return(/input|select|textarea|button|object/.test(L)?!K.disabled:"a"==L||"area"==L?K.href||!isNaN(J):!isNaN(J))&&!D(K)["area"==L?"parents":"closest"](":hidden").length},tabbable:function(K){var J=D.attr(K,"tabindex");return(isNaN(J)||J>=0)&&D(K).is(":focusable")}});function H(J,K,L,O){function N(Q){var P=D[J][K][Q]||[];return(typeof P=="string"?P.split(/,?\s+/):P)}var M=N("getter");if(O.length==1&&typeof O[0]=="string"){M=M.concat(N("getterSetter"))}return(D.inArray(L,M)!=-1)}D.widget=function(K,J){var L=K.split(".")[0];K=K.split(".")[1];D.fn[K]=function(P){var N=(typeof P=="string"),O=Array.prototype.slice.call(arguments,1);if(N&&P.substring(0,1)=="_"){return this}if(N&&H(L,K,P,O)){var M=D.data(this[0],K);return(M?M[P].apply(M,O):undefined)}return this.each(function(){var Q=D.data(this,K);(!Q&&!N&&D.data(this,K,new D[L][K](this,P))._init());(Q&&N&&D.isFunction(Q[P])&&Q[P].apply(Q,O))})};D[L]=D[L]||{};D[L][K]=function(O,N){var M=this;this.namespace=L;this.widgetName=K;this.widgetEventPrefix=D[L][K].eventPrefix||K;this.widgetBaseClass=L+"-"+K;this.options=D.extend({},D.widget.defaults,D[L][K].defaults,D.metadata&&D.metadata.get(O)[K],N);this.element=D(O).bind("setData."+K,function(R,Q,P){if(R.target==O){return M._setData(Q,P)}}).bind("getData."+K,function(Q,P){if(Q.target==O){return M._getData(P)}}).bind("remove",function(){return M.destroy()})};D[L][K].prototype=D.extend({},D.widget.prototype,J);D[L][K].getterSetter="option"};D.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(M,J){var L=M,K=this;if(typeof M=="string"){if(J===undefined){return this._getData(M)}L={};L[M]=J}D.each(L,function(N,O){K._setData(N,O)})},_getData:function(J){return this.options[J]},_setData:function(J,K){this.options[J]=K;if(J=="disabled"){this.element[K?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",K)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(P,J,K){var O=this.options[P],N=(P==this.widgetEventPrefix?P:this.widgetEventPrefix+P);J=D.Event(J);J.type=N;if(J.originalEvent){for(var M=D.event.props.length,L;M;){L=D.event.props[--M];J[L]=J.originalEvent[L]}}this.element.trigger(J,K);return !(D.isFunction(O)&&O.call(this.element[0],J,K)===false||J.isDefaultPrevented())}};D.widget.defaults={disabled:false};D.ui.mouse={_mouseInit:function(){var J=this;this.element.bind("mousedown."+this.widgetName,function(K){return J._mouseDown(K)}).bind("click."+this.widgetName,function(K){if(J._preventClickEvent){J._preventClickEvent=false;K.stopImmediatePropagation();return false}});if(D.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(D.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(M){M.originalEvent=M.originalEvent||{};if(M.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(M));this._mouseDownEvent=M;var L=this,J=(M.which==1),K=(typeof this.options.cancel=="string"?D(M.target).parents().add(M.target).filter(this.options.cancel).length:false);if(!J||K||!this._mouseCapture(M)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){L.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(M)&&this._mouseDelayMet(M)){this._mouseStarted=(this._mouseStart(M)!==false);if(!this._mouseStarted){M.preventDefault();return true}}this._mouseMoveDelegate=function(N){return L._mouseMove(N)};this._mouseUpDelegate=function(N){return L._mouseUp(N)};D(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(D.browser.safari||M.preventDefault());M.originalEvent.mouseHandled=true;return true},_mouseMove:function(J){if(D.browser.msie&&!J.button){return this._mouseUp(J)}if(this._mouseStarted){this._mouseDrag(J);return J.preventDefault()}if(this._mouseDistanceMet(J)&&this._mouseDelayMet(J)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,J)!==false);(this._mouseStarted?this._mouseDrag(J):this._mouseUp(J))}return !this._mouseStarted},_mouseUp:function(J){D(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(J.target==this._mouseDownEvent.target);this._mouseStop(J)}return false},_mouseDistanceMet:function(J){return(Math.max(Math.abs(this._mouseDownEvent.pageX-J.pageX),Math.abs(this._mouseDownEvent.pageY-J.pageY))>=this.options.distance)},_mouseDelayMet:function(J){return this.mouseDelayMet},_mouseStart:function(J){},_mouseDrag:function(J){},_mouseStop:function(J){},_mouseCapture:function(J){return true}};D.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);(function(A){A.widget("ui.slider",A.extend({},A.ui.mouse,{_init:function(){var B=this,C=this.options;this._keySliding=false;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");this.range=A([]);if(C.range){if(C.range===true){this.range=A("<div></div>");if(!C.values){C.values=[this._valueMin(),this._valueMin()]}if(C.values.length&&C.values.length!=2){C.values=[C.values[0],C.values[0]]}}else{this.range=A("<div></div>")}this.range.appendTo(this.element).addClass("ui-slider-range");if(C.range=="min"||C.range=="max"){this.range.addClass("ui-slider-range-"+C.range)}this.range.addClass("ui-widget-header")}if(A(".ui-slider-handle",this.element).length==0){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}if(C.values&&C.values.length){while(A(".ui-slider-handle",this.element).length<C.values.length){A('<a href="#"></a>').appendTo(this.element).addClass("ui-slider-handle")}}this.handles=A(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(D){D.preventDefault()}).hover(function(){if(!C.disabled){A(this).addClass("ui-state-hover")}},function(){A(this).removeClass("ui-state-hover")}).focus(function(){if(!C.disabled){A(".ui-slider .ui-state-focus").removeClass("ui-state-focus");A(this).addClass("ui-state-focus")}else{A(this).blur()}}).blur(function(){A(this).removeClass("ui-state-focus")});this.handles.each(function(D){A(this).data("index.ui-slider-handle",D)});this.handles.keydown(function(F){var H=true;var G=A(this).data("index.ui-slider-handle");if(B.options.disabled){return}switch(F.keyCode){case A.ui.keyCode.HOME:case A.ui.keyCode.END:case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:H=false;if(!B._keySliding){B._keySliding=true;A(this).addClass("ui-state-active");B._start(F,G)}break}var I,D,E=B._step();if(B.options.values&&B.options.values.length){I=D=B.values(G)}else{I=D=B.value()}switch(F.keyCode){case A.ui.keyCode.HOME:D=B._valueMin();break;case A.ui.keyCode.END:D=B._valueMax();break;case A.ui.keyCode.UP:case A.ui.keyCode.RIGHT:if(I==B._valueMax()){return}D=I+E;break;case A.ui.keyCode.DOWN:case A.ui.keyCode.LEFT:if(I==B._valueMin()){return}D=I-E;break}B._slide(F,G,D);return H}).keyup(function(E){var D=A(this).data("index.ui-slider-handle");if(B._keySliding){B._stop(E,D);B._change(E,D);B._keySliding=false;A(this).removeClass("ui-state-active")}});this._refreshValue()},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy()},_mouseCapture:function(G){var H=this.options;if(H.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();var K={x:G.pageX,y:G.pageY};var C=this._normValueFromMouse(K);var F=this._valueMax()-this._valueMin()+1,I;var D=this,B;this.handles.each(function(M){var L=Math.abs(C-D.values(M));if(F>L){F=L;I=A(this);B=M}});if(H.range==true&&this.values(1)==H.min){I=A(this.handles[++B])}this._start(G,B);D._handleIndex=B;I.addClass("ui-state-active").focus();var J=I.offset();var E=!A(G.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=E?{left:0,top:0}:{left:G.pageX-J.left-(I.width()/2),top:G.pageY-J.top-(I.height()/2)-(parseInt(I.css("borderTopWidth"),10)||0)-(parseInt(I.css("borderBottomWidth"),10)||0)+(parseInt(I.css("marginTop"),10)||0)};C=this._normValueFromMouse(K);this._slide(G,B,C);return true},_mouseStart:function(B){return true},_mouseDrag:function(D){var B={x:D.pageX,y:D.pageY};var C=this._normValueFromMouse(B);this._slide(D,this._handleIndex,C);return false},_mouseStop:function(B){this.handles.removeClass("ui-state-active");this._stop(B,this._handleIndex);this._change(B,this._handleIndex);this._handleIndex=null;this._clickOffset=null;return false},_detectOrientation:function(){this.orientation=this.options.orientation=="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(E){var D,I;if("horizontal"==this.orientation){D=this.elementSize.width;I=E.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{D=this.elementSize.height;I=E.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}var G=(I/D);if(G>1){G=1}if(G<0){G=0}if("vertical"==this.orientation){G=1-G}var F=this._valueMax()-this._valueMin(),B=G*F,C=B%this.options.step,H=this._valueMin()+B-C;if(C>(this.options.step/2)){H+=this.options.step}return parseFloat(H.toFixed(5))},_start:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values()}this._trigger("start",D,B)},_slide:function(G,F,E){var H=this.handles[F];if(this.options.values&&this.options.values.length){var C=this.values(F?0:1);if((this.options.values.length==2&&this.options.range===true)&&((F==0&&E>C)||(F==1&&E<C))){E=C}if(E!=this.values(F)){var D=this.values();D[F]=E;var B=this._trigger("slide",G,{handle:this.handles[F],value:E,values:D});var C=this.values(F?0:1);if(B!==false){this.values(F,E,(G.type=="mousedown"&&this.options.animate),true)}}}else{if(E!=this.value()){var B=this._trigger("slide",G,{handle:this.handles[F],value:E});if(B!==false){this._setData("value",E,(G.type=="mousedown"&&this.options.animate))}}}},_stop:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values()}this._trigger("stop",D,B)},_change:function(D,C){var B={handle:this.handles[C],value:this.value()};if(this.options.values&&this.options.values.length){B.value=this.values(C);B.values=this.values()}this._trigger("change",D,B)},value:function(B){if(arguments.length){this._setData("value",B);this._change(null,0)}return this._value()},values:function(B,E,C,D){if(arguments.length>1){this.options.values[B]=E;this._refreshValue(C);if(!D){this._change(null,B)}}if(arguments.length){if(this.options.values&&this.options.values.length){return this._values(B)}else{return this.value()}}else{return this._values()}},_setData:function(B,D,C){A.widget.prototype._setData.apply(this,arguments);switch(B){case"disabled":if(D){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled")}else{this.handles.removeAttr("disabled")}case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue(C);break;case"value":this._refreshValue(C);break}},_step:function(){var B=this.options.step;return B},_value:function(){var B=this.options.value;if(B<this._valueMin()){B=this._valueMin()}if(B>this._valueMax()){B=this._valueMax()}return B},_values:function(B){if(arguments.length){var C=this.options.values[B];if(C<this._valueMin()){C=this._valueMin()}if(C>this._valueMax()){C=this._valueMax()}return C}else{return this.options.values}},_valueMin:function(){var B=this.options.min;return B},_valueMax:function(){var B=this.options.max;return B},_refreshValue:function(G){var J=this.options.range,H=this.options,E=this;if(this.options.values&&this.options.values.length){var B,L;this.handles.each(function(P,N){var O=(E.values(P)-E._valueMin())/(E._valueMax()-E._valueMin())*100;var M={};M[E.orientation=="horizontal"?"left":"bottom"]=O+"%";A(this).stop(1,1)[G?"animate":"css"](M,H.animate);if(E.options.range===true){if(E.orientation=="horizontal"){(P==0)&&E.range.stop(1,1)[G?"animate":"css"]({left:O+"%"},H.animate);(P==1)&&E.range[G?"animate":"css"]({width:(O-lastValPercent)+"%"},{queue:false,duration:H.animate})}else{(P==0)&&E.range.stop(1,1)[G?"animate":"css"]({bottom:(O)+"%"},H.animate);(P==1)&&E.range[G?"animate":"css"]({height:(O-lastValPercent)+"%"},{queue:false,duration:H.animate})}}lastValPercent=O})}else{var C=this.value(),K=this._valueMin(),D=this._valueMax(),I=D!=K?(C-K)/(D-K)*100:0;var F={};F[E.orientation=="horizontal"?"left":"bottom"]=I+"%";this.handle.stop(1,1)[G?"animate":"css"](F,H.animate);(J=="min")&&(this.orientation=="horizontal")&&this.range.stop(1,1)[G?"animate":"css"]({width:I+"%"},H.animate);(J=="max")&&(this.orientation=="horizontal")&&this.range[G?"animate":"css"]({width:(100-I)+"%"},{queue:false,duration:H.animate});(J=="min")&&(this.orientation=="vertical")&&this.range.stop(1,1)[G?"animate":"css"]({height:I+"%"},H.animate);(J=="max")&&(this.orientation=="vertical")&&this.range[G?"animate":"css"]({height:(100-I)+"%"},{queue:false,duration:H.animate})}}}));A.extend(A.ui.slider,{getter:"value values",version:"1.7.2",eventPrefix:"slide",defaults:{animate:false,delay:0,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null}})})(jQuery);(function(A){A.fn.extend({autocomplete:function(B,D){var C=typeof B=="string";D=A.extend({},A.Autocompleter.defaults,{url:C?B:null,data:C?null:B,delay:C?A.Autocompleter.defaults.delay:10,max:D&&!D.scroll?10:150},D);D.highlight=D.highlight||function(E){return E};D.formatMatch=D.formatMatch||D.formatItem;return this.each(function(){new A.Autocompleter(this,D)})},result:function(B){return this.bind("result",B)},search:function(B){return this.trigger("search",[B])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(B){return this.trigger("setOptions",[B])},unautocomplete:function(){return this.trigger("unautocomplete")}});A.Autocompleter=function(S,M){var X={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var I=A(S).attr("autocomplete","off").addClass(M.inputClass);var P;var B="";var T=A.Autocompleter.Cache(M);var K=0;var N;var E={mouseDownOnSelect:false};var R=A.Autocompleter.Select(M,S,J,E);var Q;A.browser.opera&&A(S.form).bind("submit.autocomplete",function(){if(Q){Q=false;return false}});I.bind((A.browser.opera?"keypress":"keydown")+".autocomplete",function(Y){K=1;N=Y.keyCode;switch(Y.keyCode){case X.UP:Y.preventDefault();if(R.visible()){R.prev()}else{W(0,true)}break;case X.DOWN:Y.preventDefault();if(R.visible()){R.next()}else{W(0,true)}break;case X.PAGEUP:Y.preventDefault();if(R.visible()){R.pageUp()}else{W(0,true)}break;case X.PAGEDOWN:Y.preventDefault();if(R.visible()){R.pageDown()}else{W(0,true)}break;case M.multiple&&A.trim(M.multipleSeparator)==","&&X.COMMA:case X.TAB:case X.RETURN:if(J()){Y.preventDefault();Q=true;return false}break;case X.ESC:R.hide();break;default:clearTimeout(P);P=setTimeout(W,M.delay);break}}).focus(function(){K++}).blur(function(){K=0;if(!E.mouseDownOnSelect){F()}}).click(function(){if(K++>1&&!R.visible()){W(0,true)}}).bind("search",function(){var Y=(arguments.length>1)?arguments[1]:null;function Z(d,b){var a;if(b&&b.length){for(var c=0;c<b.length;c++){if(b[c].result.toLowerCase()==d.toLowerCase()){a=b[c];break}}}if(typeof Y=="function"){Y(a)}else{I.trigger("result",a&&[a.data,a.value])}}A.each(C(I.val()),function(b,a){V(a,Z,Z)})}).bind("flushCache",function(){T.flush()}).bind("setOptions",function(){A.extend(M,arguments[1]);if("data" in arguments[1]){T.populate()}}).bind("unautocomplete",function(){R.unbind();I.unbind();A(S.form).unbind(".autocomplete")});function J(){var f=R.selected();if(!f){return false}var b=f.result;B=b;if(M.multiple){var c=C(I.val());if(c.length>1){var Z=M.multipleSeparator.length;var d=A(S).selection().start;var a,Y=0;A.each(c,function(g,h){Y+=h.length;if(d<=Y){a=g;return false}Y+=Z});c[a]=b;b=c.join(M.multipleSeparator)}b+=M.multipleSeparator}I.val(b);G();I.trigger("result",[f.data,f.value]);return true}function W(Y,Z){if(N==X.DEL){R.hide();return}var a=I.val();if(!Z&&a==B){return}B=a;a=L(a);if(a.length>=M.minChars){I.addClass(M.loadingClass);if(!M.matchCase){a=a.toLowerCase()}V(a,O,G)}else{U();R.hide()}}function C(Y){if(!Y){return[""]}if(!M.multiple){return[A.trim(Y)]}return A.map(Y.split(M.multipleSeparator),function(Z){return A.trim(Y).length?A.trim(Z):null})}function L(Y){if(!M.multiple){return Y}var Z=C(Y);if(Z.length==1){return Z[0]}var a=A(S).selection().start;if(a==Y.length){Z=C(Y)}else{Z=C(Y.replace(Y.substring(a),""))}return Z[Z.length-1]}function D(Z,Y){if(M.autoFill&&(L(I.val()).toLowerCase()==Z.toLowerCase())&&N!=X.BACKSPACE){I.val(I.val()+Y.substring(L(B).length));A(S).selection(B.length,B.length+Y.length)}}function F(){clearTimeout(P);P=setTimeout(G,200)}function G(){var Y=R.visible();R.hide();clearTimeout(P);U();if(M.mustMatch){I.search(function(Z){if(!Z){if(M.multiple){var a=C(I.val()).slice(0,-1);I.val(a.join(M.multipleSeparator)+(a.length?M.multipleSeparator:""))}else{I.val("");I.trigger("result",null)}}})}}function O(Z,Y){if(Y&&Y.length&&K){U();R.display(Y,Z);D(Z,Y[0].value);R.show()}else{G()}}function V(b,Y,Z){if(!M.matchCase){b=b.toLowerCase()}var c=T.load(b);if(c&&c.length){Y(b,c)}else{if((typeof M.url=="string")&&(M.url.length>0)){var a={timestamp:+new Date()};A.each(M.extraParams,function(d,f){a[d]=typeof f=="function"?f():f});A.ajax({mode:"abort",port:"autocomplete"+S.name,dataType:M.dataType,url:M.url,data:A.extend({q:L(b),limit:M.max},a),success:function(f){var d=M.parse&&M.parse(f)||H(f);T.add(b,d);Y(b,d)}})}else{R.emptyList();Z(b)}}}function H(c){var a=[];var b=c.split("\n");for(var Z=0;Z<b.length;Z++){var Y=A.trim(b[Z]);if(Y){Y=Y.split("|");a[a.length]={data:Y,value:Y[0],result:M.formatResult&&M.formatResult(Y,Y[0])||Y[0]}}}return a}function U(){I.removeClass(M.loadingClass)}};A.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(B){return B[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(B,C){return B.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+C.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180};A.Autocompleter.Cache=function(F){var H={};var G=0;function B(J,I){if(!F.matchCase){J=J.toLowerCase()}var K=J.indexOf(I);if(F.matchContains=="word"){K=J.toLowerCase().search("\\b"+I.toLowerCase())}if(K==-1){return false}return K==0||F.matchContains}function D(J,I){if(G>F.cacheLength){C()}if(!H[J]){G++}H[J]=I}function E(){if(!F.data){return false}var L={},N=0;if(!F.url){F.cacheLength=1}L[""]=[];for(var I=0,J=F.data.length;I<J;I++){var P=F.data[I];P=(typeof P=="string")?[P]:P;var K=F.formatMatch(P,I+1,F.data.length);if(K===false){continue}var O=K.charAt(0).toLowerCase();if(!L[O]){L[O]=[]}var M={value:K,data:P,result:F.formatResult&&F.formatResult(P)||K};L[O].push(M);if(N++<F.max){L[""].push(M)}}A.each(L,function(R,Q){F.cacheLength++;D(R,Q)})}setTimeout(E,25);function C(){H={};G=0}return{flush:C,add:D,populate:E,load:function(M){if(!F.cacheLength||!G){return null}if(!F.url&&F.matchContains){var I=[];for(var L in H){if(L.length>0){var J=H[L];A.each(J,function(O,N){if(B(N.value,M)){I.push(N)}})}}return I}else{if(H[M]){return H[M]}else{if(F.matchSubset){for(var K=M.length-1;K>=F.minChars;K--){var J=H[M.substr(0,K)];if(J){var I=[];A.each(J,function(O,N){if(B(N.value,M)){I[I.length]=N}});return I}}}}}return null}}};A.Autocompleter.Select=function(C,Q,P,B){var L={ACTIVE:"ac_over"};var K,F=-1,E,S="",D=true,J,O;function N(){if(!D){return}J=A("<div/>").hide().addClass(C.resultsClass).css("position","absolute").appendTo(document.body);O=A("<ul/>").appendTo(J).mouseover(function(T){if(R(T).nodeName&&R(T).nodeName.toUpperCase()=="LI"){F=A("li",O).removeClass(L.ACTIVE).index(R(T));A(R(T)).addClass(L.ACTIVE)}}).click(function(T){A(R(T)).addClass(L.ACTIVE);P();Q.focus();return false}).mousedown(function(){B.mouseDownOnSelect=true}).mouseup(function(){B.mouseDownOnSelect=false});if(C.width>0){J.css("width",C.width)}D=false}function R(T){var U=T.target;while(U&&U.tagName!="LI"){U=U.parentNode}if(!U){return[]}return U}function H(T){K.slice(F,F+1).removeClass(L.ACTIVE);G(T);var U=K.slice(F,F+1).addClass(L.ACTIVE);if(C.scroll){var V=0;K.slice(0,F).each(function(){V+=this.offsetHeight});if((V+U[0].offsetHeight-O.scrollTop())>O[0].clientHeight){O.scrollTop(V+U[0].offsetHeight-O.innerHeight())}else{if(V<O.scrollTop()){O.scrollTop(V)}}}}function G(T){F+=T;if(F<0){F=K.size()-1}else{if(F>=K.size()){F=0}}}function I(T){return C.max&&C.max<T?C.max:T}function M(){O.empty();var W=I(E.length);for(var V=0;V<W;V++){if(!E[V]){continue}var T=C.formatItem(E[V].data,V+1,W,E[V].value,S);if(T===false){continue}var U=A("<li/>").html(C.highlight(T,S)).addClass(V%2==0?"ac_even":"ac_odd").appendTo(O)[0];A.data(U,"ac_data",E[V])}K=O.find("li");if(C.selectFirst){K.slice(0,1).addClass(L.ACTIVE);F=0}if(A.fn.bgiframe){O.bgiframe()}}return{display:function(T,U){N();E=T;S=U;M()},next:function(){H(1)},prev:function(){H(-1)},pageUp:function(){if(F!=0&&F-8<0){H(-F)}else{H(-8)}},pageDown:function(){if(F!=K.size()-1&&F+8>K.size()){H(K.size()-1-F)}else{H(8)}},hide:function(){J&&J.hide();K&&K.removeClass(L.ACTIVE);F=-1},visible:function(){return J&&J.is(":visible")},current:function(){return this.visible()&&(K.filter("."+L.ACTIVE)[0]||C.selectFirst&&K[0])},show:function(){var U=A(Q).offset();J.css({width:typeof C.width=="string"||C.width>0?C.width:A(Q).width(),top:U.top+Q.offsetHeight,left:U.left}).show();if(C.scroll){O.scrollTop(0);O.css({maxHeight:C.scrollHeight,overflow:"auto"});if(A.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var T=0;K.each(function(){T+=this.offsetHeight});var V=T>C.scrollHeight;O.css("height",V?C.scrollHeight:T);if(!V){K.width(O.width()-parseInt(K.css("padding-left"))-parseInt(K.css("padding-right")))}}}},selected:function(){var T=K&&K.filter("."+L.ACTIVE).removeClass(L.ACTIVE);return T&&T.length&&A.data(T[0],"ac_data")},emptyList:function(){O&&O.empty()},unbind:function(){J&&J.remove()}}};A.fn.selection=function(G,C){if(G!==undefined){return this.each(function(){if(this.createTextRange){var J=this.createTextRange();if(C===undefined||G==C){J.move("character",G);J.select()}else{J.collapse(true);J.moveStart("character",G);J.moveEnd("character",C);J.select()}}else{if(this.setSelectionRange){this.setSelectionRange(G,C)}else{if(this.selectionStart){this.selectionStart=G;this.selectionEnd=C}}}})}var E=this[0];if(E.createTextRange){var D=document.selection.createRange(),F=E.value,I="<->",B=D.text.length;D.text=I;var H=E.value.indexOf(I);E.value=F;this.selection(H,H+B);return{start:H,end:H+B}}else{if(E.selectionStart!==undefined){return{start:E.selectionStart,end:E.selectionEnd}}}}})(jQuery);(function(A){A.fn.hoverIntent=function(I,J){var C={sensitivity:7,interval:100,timeout:0};C=A.extend(C,J?{over:I,out:J}:I);var B,E,D,F;var K=function(M){B=M.pageX;E=M.pageY};var G=function(M,N){N.hoverIntent_t=clearTimeout(N.hoverIntent_t);if((Math.abs(D-B)+Math.abs(F-E))<C.sensitivity){A(N).unbind("mousemove",K);N.hoverIntent_s=1;return C.over.apply(N,[M])}else{D=B;F=E;N.hoverIntent_t=setTimeout(function(){G(M,N)},C.interval)}};var H=function(M,N){N.hoverIntent_t=clearTimeout(N.hoverIntent_t);N.hoverIntent_s=0;return C.out.apply(N,[M])};var L=function(O){var P=(O.type=="mouseover"?O.fromElement:O.toElement)||O.relatedTarget;while(P&&P!=this){try{P=P.parentNode}catch(O){P=this}}if(P==this){return false}var M=jQuery.extend({},O);var N=this;if(N.hoverIntent_t){N.hoverIntent_t=clearTimeout(N.hoverIntent_t)}if(O.type=="mouseover"){D=M.pageX;F=M.pageY;A(N).bind("mousemove",K);if(N.hoverIntent_s!=1){N.hoverIntent_t=setTimeout(function(){G(M,N)},C.interval)}}else{A(N).unbind("mousemove",K);if(N.hoverIntent_s==1){N.hoverIntent_t=setTimeout(function(){H(M,N)},C.timeout)}}};return this.mouseover(L).mouseout(L)}})(jQuery);var MINISLIDER_SPEED=800;var ITEM_SLIDE_COUNT=1;function initSlider(){var E=$("#content div.miniSliderMask");var A=$("div.miniSlider",E);var C=$("div.miniSliderItem",A);var B=$(":first",C).width();A.attr("scrollIndex","0");A.css("width",((C.length*B)+10000)+"px");E.prepend("<span class='miniSliderForwardButton'><a href='#forward'></a></span>");E.prepend("<span class='miniSliderBackButton'><a href='#back'></a></span>");var F=$("span.miniSliderBackButton a",E);var D=$("span.miniSliderForwardButton a",E);F.click(onBackButtonClick);D.click(onForwardButtonClick);if(C.length==0){F.hide();D.hide()}A.each(function(){navigateMiniSliderTo($(this),0,0)})}function onBackButtonClick(B){var A=$("div.miniSlider",$(this).parent().parent());var C=parseInt(A.attr("scrollIndex"));navigateMiniSliderTo(A,C-ITEM_SLIDE_COUNT,MINISLIDER_SPEED);B.preventDefault()}function onForwardButtonClick(B){var A=$("div.miniSlider",$(this).parent().parent());var C=parseInt(A.attr("scrollIndex"));navigateMiniSliderTo(A,C+ITEM_SLIDE_COUNT,MINISLIDER_SPEED);B.preventDefault()}function navigateMiniSliderTo(B,D,C){var F=$("div.miniSliderItem:visible",B);var I=$("div.miniSliderItem:first",B).width();var E=Math.floor(B.parent().width()/I);var A=D;var H=$("span.miniSliderBackButton",B.parent());var G=$("span.miniSliderForwardButton",B.parent());if(A>=F.length-E){A=F.length-E}if(A<0){A=0}if(A>=F.length-E){G.fadeTo(300,0.2);$("a",G).css("cursor","default")}else{G.fadeTo(100,1);$("a",G).css("cursor","pointer")}if(A<=0){H.fadeTo(300,0.2);$("a",H).css("cursor","default")}else{H.fadeTo(100,1);$("a",H).css("cursor","pointer")}B.attr("scrollIndex",A);B.animate({marginLeft:-(A*I)+"px"},C)}jQuery.fn.prettyCheckboxes=function(A){A=jQuery.extend({checkboxWidth:17,checkboxHeight:17,className:"prettyCheckbox",display:"list"},A);$(this).each(function(){$label=$('label[for="'+$(this).attr("id")+'"]');if($label.find("span.holderWrap").length==0){$label.prepend("<span class='holderWrap'><span class='holder'></span></span>");if($(this).is(":checked")){$label.addClass("checked")}$label.addClass(A.className).addClass($(this).attr("type")).addClass(A.display);$label.find("span.holderWrap").width(A.checkboxWidth).height(A.checkboxHeight);$label.find("span.holder").width(A.checkboxWidth);$(this).addClass("hiddenCheckbox");$label.bind("click",function(){$("input#"+$(this).attr("for")).triggerHandler("click");if($("input#"+$(this).attr("for")).is(":checkbox")){$(this).toggleClass("checked");$("input#"+$(this).attr("for")).checked=true;$(this).find("span.holder").css("top",0)}else{$toCheck=$("input#"+$(this).attr("for"));$('input[name="'+$toCheck.attr("name")+'"]').each(function(){$('label[for="'+$(this).attr("id")+'"]').removeClass("checked")});$(this).addClass("checked");$toCheck.checked=true}});$("input#"+$label.attr("for")).bind("keypress",function(B){if(B.keyCode==32){if($.browser.msie){$('label[for="'+$(this).attr("id")+'"]').toggleClass("checked")}else{$(this).trigger("click")}return false}})}})};checkAllPrettyCheckboxes=function(B,A){if($(B).is(":checked")){$(A).find("input[type=checkbox]:not(:checked)").each(function(){$('label[for="'+$(this).attr("id")+'"]').trigger("click");if($.browser.msie){$(this).attr("checked","checked")}else{$(this).trigger("click")}})}else{$(A).find("input[type=checkbox]:checked").each(function(){$('label[for="'+$(this).attr("id")+'"]').trigger("click");if($.browser.msie){$(this).attr("checked","")}else{$(this).trigger("click")}})}};(function(C){var B=false;var A;if(C.browser.safari){B=true;A="-webkit-border-image"}else{if(C.browser.mozilla&&C.browser.version.substr(0,3)=="1.9"&&parseFloat(C.browser.version.substr(3))>1){B=true;A="-moz-border-image"}}C.fn.extend({scale9Grid:function(E){var D=E.top||0;var H=E.bottom||0;var F=E.left||0;var G=E.right||0;return C(this).each(function(){var O=C(this);if(O.data("layoutGrid")){O.remove9Grid()}var P=O.css("background-image");var T=/url\("?([^\(\)"]+)"?\)/i.exec(P);if(!T||T.length<2){return}var I=T[1];if(C.browser.msie&&C.browser.version<7&&O.css("float")!="none"&&O.css("position")=="static"){O.css("position","relative")}O.wrapInner('<div class="s9gwrapper"></div>');var W=O.find(".s9gwrapper");W.css({"padding-left":O.css("padding-left"),"padding-right":O.css("padding-right"),"padding-top":O.css("padding-top"),"padding-bottom":O.css("padding-bottom"),"text-align":O.css("text-align"),"position":"relative","z-index":"2","display":"block","background-color":"transparent","background-image":"none"});O.css({"background-color":"transparent","background-image":"none","border-color":"transparent","padding":"0","text-align":"left"});var V=document.createElement("div");O.prepend(V);var M=C(V);M.css({"position":"relative","width":"0px","height":"0px","z-index":"0","display":"block"});M.addClass("s9gbackground");if(B){var N={"border-width":D+"px "+G+"px "+H+"px "+F+"px ","position":"absolute"};N[A]=P+" "+D+" "+G+" "+H+" "+F+" stretch stretch";M.css(N)}var U;var S;var J=0;var Q=0;var L=new Array();var K=function(){var Z=O.innerWidth();var g=O.innerHeight();if(Z<F+G||g<D+H||(Z==J&&g==Q)){return}if(B){M.css({"width":Z-F-G+"px","height":g-D-H+"px"});return}J=Z;Q=g;var Y=0;var j=L.length;for(var c=0;c<g;){var d;var f;if(c==0){f="top";d=Math.min(S-H,g-H)}else{if(c+S-D>=g){f="bottom";d=g-c}else{f="center";d=Math.min(S-D-H,g-c-H)}}for(var b=0;b<Z;Y++){var h;if(Y<j){h=L[Y]}else{cellElement=document.createElement("div");M.append(cellElement);h=C(cellElement);h.css({"position":"absolute","background-image":P});L.push(h)}var k;var a;if(b==0){a="left";k=Math.min(U-G,Z-G)}else{if(b+U-H>=Z){a="right";k=Z-b}else{a="center";k=Math.min(U-F-G,Z-b-G)}}h.css({"left":b+"px","top":c+"px","width":k+"px","height":d+"px","background-position":f+" "+a});b+=k}c+=d}for(var X=Y;X<j;X++){L[X].remove()}L.splice(Y,L.length-Y)};var R=new Image();C(R).load(function(){if(R.width<F+G||R.height<D+H){return}U=R.width;S=R.height;K();C(window).resize(K)}).attr("src",I);O.data("layoutGrid",K)})},remove9Grid:function(){return C(this).each(function(){var D=C(this);if(!D.data("layoutGrid")){return}C(window).unbind("resize",D.data("layoutGrid"));D.removeAttr("style");var E=D.find(".s9gwrapper").contents();D.prepend(E);D.find(".s9gwrapper").remove();D.find(".s9gbackground").remove();D.removeData("layoutGrid")})}})})(jQuery);(function(B){var C=B.scrollTo=function(D,E,F){B(window).scrollTo(D,E,F)};C.defaults={axis:"y",duration:parseFloat(B.fn.jquery)>=1.3?0:1};C.window=function(D){return B(window)._scrollable()};B.fn._scrollable=function(){return this.map(function(){var D=this,E=!D.nodeName||B.inArray(D.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!E){return D}var F=(D.contentWindow||D).document||D.ownerDocument||D;return B.browser.safari||F.compatMode=="BackCompat"?F.body:F.documentElement})};B.fn.scrollTo=function(D,F,E){if(typeof F=="object"){E=F;F=0}if(typeof E=="function"){E={onAfter:E}}if(D=="max"){D=9000000000}E=B.extend({},C.defaults,E);F=F||E.speed||E.duration;E.queue=E.queue&&E.axis.length>1;if(E.queue){F/=2}E.offset=A(E.offset);E.over=A(E.over);return this._scrollable().each(function(){var M=this,G=B(M),L=D,H,K={},J=G.is("html,body");switch(typeof L){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(L)){L=A(L);break}L=B(L,this);case"object":if(L.is||L.style){H=(L=B(L)).offset()}}B.each(E.axis.split(""),function(R,N){var T=N=="x"?"Left":"Top",U=T.toLowerCase(),S="scroll"+T,O=M[S],P=C.max(M,N);if(H){K[S]=H[U]+(J?0:O-G.offset()[U]);if(E.margin){K[S]-=parseInt(L.css("margin"+T))||0;K[S]-=parseInt(L.css("border"+T+"Width"))||0}K[S]+=E.offset[U]||0;if(E.over[U]){K[S]+=L[N=="x"?"width":"height"]()*E.over[U]}}else{var Q=L[U];K[S]=Q.slice&&Q.slice(-1)=="%"?parseFloat(Q)/100*P:Q}if(/^\d+$/.test(K[S])){K[S]=K[S]<=0?0:Math.min(K[S],P)}if(!R&&E.queue){if(O!=K[S]){I(E.onAfterFirst)}delete K[S]}});I(E.onAfter);function I(N){G.animate(K,F,E.easing,N&&function(){N.call(this,D,E)})}}).end()};C.max=function(F,H){var I=H=="x"?"Width":"Height",G="scroll"+I;if(!B(F).is("html,body")){return F[G]-B(F)[I.toLowerCase()]()}var E="client"+I,J=F.ownerDocument.documentElement,D=F.ownerDocument.body;return Math.max(J[G],D[G])-Math.min(J[E],D[E])};function A(D){return typeof D=="object"?D:{top:D,left:D}}})(jQuery);
/*
 * jQuery UI Stars v2.1.1
 * http://plugins.jquery.com/project/Star_Rating_widget
 *
 * Copyright (c) 2009 Orkan (orkans@gmail.com)
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * $Rev: 114 $
 * $Date:: 2009-06-12 #$
 * $Build: 32 (2009-06-12)
 *
 * Depends:
 *  ui.core.js
 *
 */
(function(A){A.widget("ui.stars",{_init:function(){var D=this,B=this.options,E=0;B.isSelect=B.inputType=="select";this.$form=A(this.element).closest("form");this.$useLargeIcons=A(this.element).parents("div.largeRatingIcons");this.$selec=B.isSelect?A("select",this.element):null;this.$rboxs=B.isSelect?A("option",this.$selec):A(":radio",this.element);this.$stars=this.$rboxs.map(function(K){var I={value:this.value,title:(B.isSelect?this.text:this.title)||this.value,isDefault:(B.isSelect&&this.defaultSelected)||this.defaultChecked};if(K==0){B.split=typeof B.split!="number"?0:B.split;B.val2id=[];B.id2val=[];B.id2title=[];B.name=B.isSelect?D.$selec.get(0).name:this.name;B.disabled=B.disabled||(B.isSelect?A(D.$selec).attr("disabled"):A(this).attr("disabled"))}if(I.value==B.cancelValue){B.cancelTitle=I.title;return null}B.val2id[I.value]=E;B.id2val[E]=I.value;B.id2title[E]=I.title;if(I.isDefault){B.checked=E;B.value=B.defaultValue=I.value;B.title=I.title}var J=A("<div/>").addClass(B.starClass);var G=A("<a/>").attr("title",B.showTitles?I.title:"").text(I.value);if(B.split){var H=(E%B.split);if(D.$useLargeIcons.length==1){B.starWidth=30}var L=Math.floor(B.starWidth/B.split);J.width(L);G.css("margin-left","-"+(H*L)+"px")}E++;return J.append(G).get(0)});B.items=E;B.isSelect?this.$selec.remove():this.$rboxs.remove();this.$cancel=A("<div/>").addClass(B.cancelClass).append(A("<a/>").attr("title",B.showTitles?B.cancelTitle:"").text(B.cancelValue));B.cancelShow&=!B.disabled&&!B.oneVoteOnly;B.cancelShow&&this.element.append(this.$cancel);this.element.append(this.$stars);if(B.checked===undefined){B.checked=-1;B.value=B.defaultValue=B.cancelValue;B.title=""}this.$value=A('<input type="hidden" name="'+B.name+'" value="'+B.value+'" />');this.element.append(this.$value);this.$stars.bind("click.stars",function(H){if(!B.forceSelect&&B.disabled){return false}var G=D.$stars.index(this);B.checked=G;B.value=B.id2val[G];B.title=B.id2title[G];D.$value.attr({disabled:B.disabled?"disabled":"",value:B.value});C(G,false);D._disableCancel();!B.forceSelect&&D.callback(H,"star")}).bind("mouseover.stars",function(){if(B.disabled){return false}var G=D.$stars.index(this);C(G,true)}).bind("mouseout.stars",function(){if(B.disabled){return false}C(D.options.checked,false)});this.$cancel.bind("click.stars",function(G){if(!B.forceSelect&&(B.disabled||B.value==B.cancelValue)){return false}B.checked=-1;B.value=B.cancelValue;B.title="";D.$value.val(B.value).attr({disabled:"disabled"});F();D._disableCancel();!B.forceSelect&&D.callback(G,"cancel")}).bind("mouseover.stars",function(){if(D._disableCancel()){return false}D.$cancel.addClass(B.cancelHoverClass);F();D._showCap(B.cancelTitle)}).bind("mouseout.stars",function(){if(D._disableCancel()){return false}D.$cancel.removeClass(B.cancelHoverClass);D.$stars.triggerHandler("mouseout.stars")});this.$form.bind("reset.stars",function(){!B.disabled&&D.select(B.defaultValue)});A(window).unload(function(){D.$cancel.unbind(".stars");D.$stars.unbind(".stars");D.$form.unbind(".stars");D.$selec=D.$rboxs=D.$stars=D.$value=D.$cancel=D.$form=null});function C(I,J){if(I!=-1){var G=J?B.starHoverClass:B.starOnClass;var H=J?B.starOnClass:B.starHoverClass;D.$stars.eq(I).prevAll("."+B.starClass).andSelf().removeClass(H).addClass(G);D.$stars.eq(I).nextAll("."+B.starClass).removeClass(B.starHoverClass+" "+B.starOnClass);D._showCap(B.id2title[I])}else{F()}}function F(){D.$stars.removeClass(B.starOnClass+" "+B.starHoverClass);D._showCap("")}this.select(B.value);B.disabled&&this.disable()},_disableCancel:function(){var B=this.options,C=B.disabled||B.oneVoteOnly||(B.value==B.cancelValue);if(C){this.$cancel.removeClass(B.cancelHoverClass).addClass(B.cancelDisabledClass)}else{this.$cancel.removeClass(B.cancelDisabledClass)}this.$cancel.css("opacity",C?0.5:1);return C},_disableAll:function(){var B=this.options;this._disableCancel();if(B.disabled){this.$stars.filter("div").addClass(B.starDisabledClass)}else{this.$stars.filter("div").removeClass(B.starDisabledClass)}},_showCap:function(B){var C=this.options;if(C.captionEl){C.captionEl.text(B)}},value:function(){return this.options.value},select:function(D){var B=this.options,C=(D==B.cancelValue)?this.$cancel:this.$stars.eq(B.val2id[D]);B.forceSelect=true;C.triggerHandler("click.stars");B.forceSelect=false},selectID:function(D){var B=this.options,C=(D==-1)?this.$cancel:this.$stars.eq(D);B.forceSelect=true;C.triggerHandler("click.stars");B.forceSelect=false},enable:function(){this.options.disabled=false;this._disableAll()},disable:function(){this.options.disabled=true;this._disableAll()},destroy:function(){this.options.isSelect?this.$selec.appendTo(this.element):this.$rboxs.appendTo(this.element);this.$form.unbind(".stars");this.$cancel.unbind(".stars").remove();this.$stars.unbind(".stars").remove();this.$value.remove();this.element.unbind(".stars").removeData("stars")},callback:function(D,C){var B=this.options;B.callback&&B.callback(this,C,B.value,D);B.oneVoteOnly&&!B.disabled&&this.disable()}});A.extend(A.ui.stars,{version:"2.1.1",getter:"value",defaults:{inputType:"radio",split:0,disabled:false,cancelTitle:"Cancel Rating",cancelValue:0,cancelShow:true,oneVoteOnly:false,showTitles:false,captionEl:null,callback:null,starWidth:20,cancelClass:"ui-stars-cancel",starClass:"ui-stars-star",starOnClass:"ui-stars-star-on",starHoverClass:"ui-stars-star-hover",starDisabledClass:"ui-stars-star-disabled",cancelHoverClass:"ui-stars-cancel-hover",cancelDisabledClass:"ui-stars-cancel-disabled"}})})(jQuery);jQuery.jqURL={url:function(A){A=jQuery.extend({win:window},A);return A.win.location.href},loc:function(B,A){A=jQuery.extend({win:window,w:500,h:500,wintype:"_top"},A);if(!A.t){A.t=screen.height/2-A.h/2}if(!A.l){A.l=screen.width/2-A.w/2}if(A["wintype"]=="_top"){A.win.location.href=B}else{open(B,A["wintype"],"width="+A.w+",height="+A.h+",top="+A.t+",left="+A.l+",scrollbars,resizable")}return},qs:function(B){B=jQuery.extend({ret:"string",win:window},B);if(B["ret"]=="string"){return jQuery.jqURL.url({win:B.win}).split("?")[1]}else{if(B["ret"]=="object"){var D={};var E=jQuery.jqURL.url({win:B.win}).split("?")[1];if(E){var A=E.split("&");for(i=0;i<A.length;i++){var C=A[i].split("=");D[C[0]]=C[1]}}return D}}},strip:function(B){B=jQuery.extend({keys:"",win:window},B);if(jQuery.jqURL.url().indexOf("?")==-1){return jQuery.jqURL.url({win:B.win})}else{if(!B.keys){return jQuery.jqURL.url({win:B.win}).split("?")[0]}else{var D=jQuery.jqURL.qs({ret:"object",win:B.win});var A=0;var C=jQuery.jqURL.url({win:B.win}).split("?")[0]+"?";var E="";for(var F in D){if(B.keys.indexOf(F)==-1){E=(A)?"&":"";C=C+E+F+"="+D[F];A++}}return C}}},get:function(A,B){B=jQuery.extend({win:window},B);qsobj=jQuery.jqURL.qs({ret:"object",win:B.win});return qsobj[A]},set:function(D,F){F=jQuery.extend({win:window},F);var C=jQuery.jqURL.qs({ret:"object",win:F.win});for(var A in D){C[A]=D[A]}var G="";var E=0;var H="";for(var B in C){H=(E)?"&":"";G=G+H+B+"="+C[B];E++}return jQuery.jqURL.strip({win:F.win})+"?"+G}};(function(A){A.fn.wait=function(D,E){milli=1000;if(D&&(typeof D=="function"||isNaN(D))){E=D}else{if(D){milli=D}}var B={msec:milli,onEnd:E},C=A.extend({},B,E);if(typeof C.onEnd=="function"){this.each(function(){setTimeout(C.onEnd,C.msec)});return this}else{return this.queue("fx",function(){var F=this;setTimeout(function(){A.dequeue(F)},C.msec)})}}})(jQuery);(function(A){var B=new Array();A.Watermark={ShowAll:function(){for(var C=0;C<B.length;C++){if(B[C].obj.val()==""){B[C].obj.val(B[C].text);B[C].obj.css("color",B[C].WatermarkColor)}else{B[C].obj.css("color",B[C].DefaultColor)}}},HideAll:function(){for(var C=0;C<B.length;C++){if(B[C].obj.val()==B[C].text){B[C].obj.val("")}}}};A.fn.Watermark=function(D,C){if(!C){C="#aaa"}return this.each(function(){var G=A(this);var E=G.css("color");B[B.length]={text:D,obj:G,DefaultColor:E,WatermarkColor:C};function H(){if(G.val()==D){G.val("")}G.css("color",E)}function F(){if(G.val().length==0||G.val()==D){G.val(D);G.css("color",C)}else{G.css("color",E)}}G.focus(H);G.blur(F);G.change(F);F()})}})(jQuery);var CAROUSEL_SPEED=1000;var SCROLL_ITEM_COUNT=3;var PRODUCT_CURRENT_PAGE=1;$.fn.infiniteCarousel=function(){function A(B,C){return new Array(C+1).join(B)}return this.each(function(){var L=$("div",this);L.css("overflow","hidden");var E=L.find("ul");E.find(".empty, .cloned").remove();var C=E.find("li:visible");var H=C.filter(":first");var F=H.outerWidth();var I=Math.ceil(L.innerWidth()/F);var D=Math.ceil(C.length/I);var J=2;for(var B=0;B<C.length;B++){if(C.eq(B).hasClass("active")){J=1+((B%C.length)/I>>0);break}}if((C.length%I)!=0){E.append(A('<li class="empty" />',I-(C.length%I)));C=E.find("li:visible")}C.filter(":first").before(C.slice(-I).clone().addClass("cloned"));C.filter(":last").after(C.slice(0,I).clone().addClass("cloned"));C=E.find("li:visible");L.scrollLeft(F*I);L.after('<a class="arrow back">&nbsp;</a><a class="arrow forward">&nbsp;</a>');function K(M){var O=M<J?-1:1,N=Math.abs(J-M),P=F*O*I*N;L.filter(":not(:animated)").animate({scrollLeft:"+="+P},CAROUSEL_SPEED,function(){if(M==0){L.scrollLeft(F*I*D);M=D}else{if(M>D){L.scrollLeft(F*I);M=1}}var R=L.next();var Q=L.next().next();R.show();Q.show();if(M>D-1){Q.hide()}if(M==1){R.hide()}if(M-1==D){R.hide();Q.hide()}J=M});return false}$("a.back,a.forward",this).unbind("click");$("a.back",this).click(function(){return K(J-1)});$("a.forward",this).click(function(){return K(J+1)});if(D==1){$("a.back, a.forward",this).hide()}else{$("a.back, a.forward",this).show();var G=CAROUSEL_SPEED;CAROUSEL_SPEED=0;K(1);CAROUSEL_SPEED=G;K(J)}})};$.fn.infiniteCarouselReinit=function(){function A(B,C){return new Array(C+1).join(B)}return this.each(function(){var L=$("div",this);var E=L.find("> ul");L.find(".empty, .cloned").remove();var C=E.find("li:visible");var H=C.filter(":first");var F=H.outerWidth();var I=Math.ceil(L.innerWidth()/F);var D=Math.ceil(C.length/I);var J=1;for(var B=0;B<C.length;B++){if(C.eq(B).hasClass("active")){J=1+((B%C.length)/I>>0);break}}if((C.length%I)!=0){E.append(A('<li class="empty" />',I-(C.length%I)));C=E.find("li:visible")}C.filter(":first").before(C.slice(-I).clone().addClass("cloned"));C.filter(":last").after(C.slice(0,I).clone().addClass("cloned"));C=E.find("li:visible");L.scrollLeft(F*I);function K(M){PRODUCT_CURRENT_PAGE=M;var O=M<J?-1:1,N=Math.abs(J-M),P=F*O*I*N;L.filter(":not(:animated)").animate({scrollLeft:"+="+P},CAROUSEL_SPEED,function(){var R=L.next();var Q=L.next().next();R.show();Q.show();if(M>D-1){Q.hide()}if(M<=1){R.hide()}if(M-1==D){R.hide();Q.hide()}J=M});return false}$("a.back,a.forward",this).unbind("click");$("a.back",this).click(function(){return K(J-1)});$("a.forward",this).click(function(){return K(J+1)});if(D==1){$("a.back, a.forward",this).hide()}else{$("a.back, a.forward",this).show();var G=CAROUSEL_SPEED;CAROUSEL_SPEED=0;K(1);CAROUSEL_SPEED=G;K(J)}})};function initEventTracking(){$("a").each(function(){var E=$(this).attr("href");var A=$(this).find("img");var F=$(this).attr("class");var D=$(this).attr("href");var C=document.title;if(A.length>0){var B=A.attr("title");var G=A.attr("alt");if(B==""&&G!=""){B=G}}else{B=$(this).text();B=B.replace("'"," ")}$(this).click(function(){pageTracker._trackEvent(C,"Click","LINK: "+B+", URL: "+D)})})}function initFaq(){var B="";var A=[];$(".question").each(function(D){var C=$(this).attr("rel");if(C&&A.indexOf(C)==-1){if(D!=0){B+="</ul>"}B+="<small style='color:#FFB305'>+</small> <a href='#' class='faq-category-link' onclick='showCategory("+A.length+"); return false'> "+C+"</a>";B+="<br/><ul class='faq-category'>";A.push(C)}B+="<li><a href='#"+D+"' onclick='showFaq("+D+"); '>"+$(this).text()+"</a></li>"});B+="</ul>";$(".question").hide();$(".answer").hide();$("#faq-intro").show();$("#questionList").html(B);if(document.location.hash.length>1){showFaq(parseInt(document.location.hash.replace("#","")))}else{showCategory(0)}$(".faq-category").hide()}function showFaq(A){$("#faq-intro").hide();$(".question").hide();$(".answer").hide();$(".question").eq(A).show(0).fadeOut(0).fadeIn(500);$(".answer").eq(A).show(0).fadeOut(0).wait(450).fadeIn(700);setTimeout(function(){$.scrollTo($("#content").offset().top+"px",700)},220)}function showCategory(A){$(".faq-category").slideUp(300);$(".faq-category").wait(310).eq(A).slideDown(300)}var FOOTERBAR_DYNAMIC_CLASSES="#footerbar-dynamic, #footerbar-image1-dynamic, #footerbar-image2-dynamic, #footerbar-buttons-dynamic, #footerbar-image1-1-dynamic, #footerbar-image1-1-1-dynamic,#footerbar-image3a-dynamic,#footerbar-image3b-dynamic";var FOOTERBAR_STATIC_CLASSES="#footerbar-static, #footerbar-image1-static, #footerbar-image2-static, #footerbar-buttons-static, #footerbar-image1-1-static, #footerbar-image1-1-1-static, #footerbar-image3a-static, #footerbar-image3b-static";var FOOTERBAR_COOKIE_NAME="Maggi_FOOTERBAR";function initFooterBar(){if($.browser.msie&&$.browser.version=="6.0"){setFooterbarState("STATIC");$("#footerbar-buttons-static, #footerbar-buttons-dynamic").hide()}else{if(readCookie(FOOTERBAR_COOKIE_NAME)){var A=readCookie(FOOTERBAR_COOKIE_NAME);switch(A){case"DYNAMIC":showDynamicFooterBar();break;case"STATIC":setTimeout(showStaticFooterBar,500);break}}else{setFooterbarState("DYNAMIC")}}setTimeout(resetStaticBar,500)}function resetStaticBar(){$(FOOTERBAR_STATIC_CLASSES).css("top",$(document).height()+"px")}function setFooterbarState(A){createCookie(FOOTERBAR_COOKIE_NAME,A.toString().toUpperCase());switch(A.toString().toUpperCase()){case"DYNAMIC":showDynamicFooterBar();break;case"STATIC":showStaticFooterBar();break}}function showDynamicFooterBar(){$(FOOTERBAR_DYNAMIC_CLASSES).show();$(FOOTERBAR_STATIC_CLASSES).hide()}function showStaticFooterBar(){$(FOOTERBAR_DYNAMIC_CLASSES).hide();$(FOOTERBAR_STATIC_CLASSES).show()}function initNavigation(A){var B=$("li.AspNet-Menu-WithChildren",A);B.hover(function(){$(this).find(".subMenuContainer, ul").css("display","block")},function(){$(this).find(".subMenuContainer, ul").css("display","none")});$("ul",B).each(function(){$(this).wrap("<div class='subMenuContainer'></div>").wrap("<div class='subMenuInnerContainer'></div>")});$(".AspNet-Menu > li:last > a",A).addClass("myMaggi")}function setActiveNavigation(A){$("a",A).each(function(){if($(this).attr("href")=="./"){$(this).addClass("active")}})}function initRating(){$("#content div.userRating").stars({split:1,cancelShow:false,callback:onRatingSelected})}function onRatingSelected(C,D,A){var B=$("button",C.$stars.parent()).attr("onclick");B()}function showCarousels(){$("#content div.infiniteCarousel").css("visibility","visible")}function makeProductHeaderRed(){$("#product h2, #results h1 span").each(function(){var A=$.trim($(this).html());var B=A.split(" ");var C=B.length;var E="";if(C>1){for(var D=0;D<C;D++){if(C-1==D){E+="<span class='red'>"+B[D]+"</span>"}else{E+=B[D]+" "}}$(this).html(E)}})}function initHeadings(){Cufon.replace("#content h1, h2, button.sariItalic, span.sariItalic, label.sariItalic, a.sariItalic",{fontFamily:"sari_italic",forceHitArea:true,hover:true});Cufon.replace("h3, span.sariBold, #footer h2",{fontFamily:"sari_bold"})}function addLoadEventListener(B){var A=window.onload;if(typeof window.onload!="function"){window.onload=B}else{window.onload=function(){if(A){A()}B()}}}function addKeyEventListener(B){var A=window.onkeypress;if(typeof window.onkeypress!="function"){window.onkeypress=B}else{window.onkeypress=function(){if(A){A()}B()}}}function setSameHeight(B){var C=getHighestHeight(B);var D=B.length;for(var A=0;A<D;A++){$(B[A]).css("height",C+"px")}}function getHighestHeight(B){var A=0;var D=B.length;for(var C=0;C<D;++C){if(isIE){A=Math.max(A,$(B[C]).innerHeight())}else{A=Math.max(A,$(B[C]).height())}}return A}function isIE(){var A=false;jQuery.each(jQuery.browser,function(B){if(jQuery.browser.msie){A=true}});return A}function fixViewportScroll(){var A=0,B=0;if(typeof(window.innerWidth)=="number"){A=window.innerWidth;B=window.innerHeight}else{if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){A=document.documentElement.clientWidth;B=document.documentElement.clientHeight}else{if(document.body&&(document.body.clientWidth||document.body.clientHeight)){A=document.body.clientWidth;B=document.body.clientHeight}}}if(A>1000){$("body,html").css("overflow-x","hidden")}else{}}function MultiDimensionalArray(B,E){var C;var D;var A=new Array(B);for(C=0;C<B;C++){A[C]=new Array(E);for(D=0;D<E;D++){A[C][D]=""}}return(A)}function RequiredValidate(B,A){var C="#"+B.controltovalidate;if(A.Value!=""){A.IsValid=true}else{A.IsValid=false;curvyCorners.redraw()}}function showfoldOut(){$("#content div.foldOut").css("display","block")}function closefoldOut(){$("#content div.foldOut").css("display","none")}$(function(){$("a.closeButton").click(function(){$(this).closest("div.foldOut").css("display","none")});$("a.openButton").click(function(){$(this).parent().parent().next().css("display","block")});$("#content div.Xmark").click(function(B){$(this).next().next().next().children("div.ui-slider").slider("option","value",-5);$(this).next().next().next().children("div.ui-slider").next().val(-5);$(this).next().next().next().children("div.ui-slider_word").attr("class","ui-slider_word ui-slider_word-5");$(this).next().attr("class","FootPict FootPict-5");B.preventDefault()});$("#content div.ui-slider_plus").click(function(D){var C=$(this).next().next();var E=parseFloat(C.slider("option","value"));if(E>-5){var B=E-1;C.slider("option","value",B);C.next().val(B);C.next().next().next().attr("class","ui-slider_word ui-slider_word"+(B));$(this).parent().prev().prev().attr("class","FootPict FootPict"+(B))}D.preventDefault()});$("#content div.ui-slider_min").click(function(D){var C=$(this).next();var E=parseFloat(C.slider("option","value"));if(E<5){var B=E+1;C.slider("option","value",B);C.next().val(B);C.next().next().next().attr("class","ui-slider_word ui-slider_word"+(B));$(this).parent().prev().prev().attr("class","FootPict FootPict"+(B))}D.preventDefault()});$("#content div.ui-slider").slider({value:0,min:-5,max:5,step:1,slide:function(C,B){$(this).next().val(B.value);$(this).next().next().next().attr("class","ui-slider_word ui-slider_word"+B.value);$(this).parent().prev().prev().attr("class","FootPict FootPict"+B.value)}});var A=$("#content div.ui-slider");A.each(function(){var B=$(this).next().val();$(this).slider("option","value",B);$(this).parent().prev().prev().attr("class","FootPict FootPict"+B);$(this).next().next().next().attr("class","ui-slider_word ui-slider_word"+B)})});$(function(){if($.jqURL.get("ypos")){$("html").scrollTop(parseInt($.jqURL.get("ypos")));$("body").scrollTop(parseInt($.jqURL.get("ypos"))).css("overflow-x","hidden")}$("#search input").Watermark("Typ een woord","#929670");initEventTracking();initNavigation($("#navigation"));makeProductHeaderRed();initHeadings();initSpotlight();initFooterBar();initRating();setActiveNavigation($("#navigation"));initSlider();setSameHeight(["#content div.grid-2-columns div.column-1:first div.box:first","#content div.grid-2-columns div.column-2:first div.box:first"]);$("#content div.pcb input[type=checkbox], #content table.radioButtonList").prettyCheckboxes({"checkboxWidth":18,"checkboxHeight":24});$("#content div.pollAnswers input[type=radio], #content table.radioButtonList").prettyCheckboxes({"checkboxWidth":21,"checkboxHeight":24})});window.onerror=function(){return true};$(function(){initPers()});function initPers(B){var A=$("#content div.persResultBar span.persResultBarPercent");if(B&&B.length>0){A=$("#content div.persResultBar span.persResultBarPercent",B)}A.each(function(){var C=$(this).text().split("%").join("").split(",").join(".");var D=171/(100/parseFloat(C))+10;$(this).css("width",Math.round(D)+"px");$(this).css("visibility","visible")})}$(function(){initPolls()});function initPolls(B){var A;if(B&&B.length>0){A=$("div.pollResultBar span.pollResultBarPercent",B)}else{A=$("div.pollResultBar span.pollResultBarPercent")}A.each(function(){var C=$(this).text().split("%").join("").split(",").join(".");var D=165/(100/parseFloat(C));$(this).css("width","0");$(this).css("visibility","visible");$(this).animate({"width":Math.round(D)+"px"},600)})}var SPOTLIGHTSLIDER_SPEED=800;var SPOTLIGHTSLIDER_DELAY=5000;function initSpotlight(){var D=$("#content div.spotlightSliderMask");var A=$("div.spotlightSlider",D);var C=$("div.spotlightSliderItem",A);var B=$(":first",C).width();A.attr("scrollIndex","0");A.css("width",((C.length*B)+1000)+"px");for(var E=C.length-1;E>=0;E--){D.prepend("<span class='spotlightSliderButton' spotlightID='"+E+"'><a class='active' href='#spotlight-"+E+"'>"+E+"</a></span>")}var F=$("span.spotlightSliderButton a",D);F.parent().wrap("<div class='spotlightSliderButtons'></div>");F.click(onSpotlightButtonClick);if(F.length==0||F.length==1){F.hide()}resetSpotlightAutomaticSlide();navigateSpotlightSliderTo(A,0,0)}var spotlightCurrentInterval=0;function resetSpotlightAutomaticSlide(){clearTimeout(spotlightCurrentInterval);spotlightCurrentInterval=setTimeout(navigateToNextSpotlight,SPOTLIGHTSLIDER_DELAY)}function navigateToNextSpotlight(){var A=$("#content div.spotlightSlider");var B=parseInt(A.attr("scrollIndex"));navigateSpotlightSliderTo(A,B+1,SPOTLIGHTSLIDER_SPEED)}function onSpotlightButtonClick(B){var A=$("div.spotlightSlider",$(this).parent().parent().parent());var C=parseInt($(this).parent().attr("spotlightID"));navigateSpotlightSliderTo(A,C,SPOTLIGHTSLIDER_SPEED);B.preventDefault()}function navigateSpotlightSliderTo(B,E,C){var G=$("div.spotlightSliderItem:visible",B);var H=$("div.spotlightSliderItem:first",B).width();var F=Math.floor(B.parent().width()/H);var A=E;if(A>=(G.length+1)-F){A=0;E=0}if(A<=0){A=0;E=0}var D=$("span.spotlightSliderButton a",B.parent());D.removeClass("active");D.eq(E).addClass("active");B.attr("scrollIndex",A);B.animate({marginLeft:-(A*H)+"px"},C);resetSpotlightAutomaticSlide()};
