(function(A){A.fn.superfish=function(F){var G=A.fn.superfish,D=G.c,H=A(['<span class="',D.arrowClass,'"></span>'].join("")),I=function(){var L=A(this),K=C(L);clearTimeout(K.sfTimer);L.showSuperfishUl().siblings().hideSuperfishUl()},E=function(){var M=A(this),L=C(M),K=G.op;clearTimeout(L.sfTimer);L.sfTimer=setTimeout(function(){K.retainPath=(A.inArray(M[0],K.$path)>-1);M.hideSuperfishUl();if(K.$path.length&&M.parents(["li.",K.hoverClass].join("")).length<1){I.call(K.$path)}},K.delay)},C=function(L){var K=L.parents(["ul.",D.menuClass,":first"].join(""))[0];G.op=G.o[K.serial];return K},J=function(K){K.addClass(D.anchorClass).append(H.clone())};return this.each(function(){var K=this.serial=G.o.length;var L=A.extend({},G.defaults,F);L.$path=A("li."+L.pathClass,this).slice(0,L.pathLevels).each(function(){A(this).addClass([L.hoverClass,D.bcClass].join(" ")).filter("li:has(ul)").removeClass(L.pathClass)});G.o[K]=G.op=L;A("li:has(ul)",this)[(A.fn.hoverIntent&&!L.disableHI)?"hoverIntent":"hover"](I,E).each(function(){if(L.autoArrows){J(A(">a:first-child",this))}}).not("."+D.bcClass).hideSuperfishUl();var M=A("a",this);M.each(function(O){var N=M.eq(O).parents("li");M.eq(O).focus(function(){I.call(N)}).blur(function(){E.call(N)})});L.onInit.call(this)}).each(function(){var K=[D.menuClass];if(G.op.dropShadows&&!(A.browser.msie&&A.browser.version<7)){K.push(D.shadowClass)}A(this).addClass(K.join(" "))})};var B=A.fn.superfish;B.o=[];B.op={};B.IE7fix=function(){var C=B.op;if(A.browser.msie&&A.browser.version>6&&C.dropShadows&&C.animation.opacity!=undefined){this.toggleClass(B.c.shadowClass+"-off")}};B.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};B.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};A.fn.extend({hideSuperfishUl:function(){var D=B.op,C=(D.retainPath===true)?D.$path:"";D.retainPath=false;var E=A(["li.",D.hoverClass].join(""),this).add(this).not(C).removeClass(D.hoverClass).find(">ul").hide().css("visibility","hidden");D.onHide.call(E);return this},showSuperfishUl:function(){var D=B.op,E=B.c.shadowClass+"-off",C=this.addClass(D.hoverClass).find(">ul:hidden").css("visibility","visible");B.IE7fix.call(C);D.onBeforeShow.call(C);C.animate(D.animation,D.speed,function(){B.IE7fix.call(C);D.onShow.call(C)});return this}})})(jQuery);var $j=jQuery.noConflict();$j.fn.getIndex=function(){var A=$j(this).parent().children();return A.index(this)};$j(function(){$j("ul#AdminMenu").superfish();fixSeoMenu();var A=false;if(!A){$j("#accordionMenu ul li a.sub").next().wrap("<div class='TableWrapper'/>")}$j("#accordionMenu ul a.sub").click(function(){if($j(this).next().css("display")!="block"){$j("#accordionMenu ul a.sub").css("backgroundColor","#CCCCCC").next().hide("slow");$j(this).stop().css("backgroundColor","#009FE0").next().show("slow");$j.cookie(document.location.href+"_accordionMenu",$j(this).parent().getIndex()+1)}else{$j.cookie(document.location.href+"_accordionMenu",0);$j("#accordionMenu ul a.sub").css("backgroundColor","#CCCCCC").next().hide("slow")}return false});$j("#gss_input").focus(function(){$j(document).bind("keypress",onKeypress)});$j("#gss_input").blur(function(){$j(document).unbind("keypress",onKeypress)});$j(".zipcode").blur(function(){var B=$j(this).val();if(B.length>=6){B=B.split(" ").join("");B=B.substr(0,4)+" "+B.substr(4,2);B=B.toUpperCase()}$j(this).val(B)});$j(".ddlRef input").click(function(){$j(".ddlRef input").removeAttr("checked");$j(this).attr("checked","true")});$j("#accordionMenu ul li a.sub").stop().css("backgroundColor","#CCCCCC").next().hide(2);if($j.cookie(document.location.href+"_accordionMenu")!=null){$j("#accordionMenu ul li:nth-child("+$j.cookie(document.location.href+"_accordionMenu")+") a.sub").stop().css("backgroundColor","#009FE0").next().show(2)}else{$j("#accordionMenu ul li:first-child a.sub").css("backgroundColor","#009FE0").next().show(2)}$j("#accordionMenu .item_1 a.sub").stop().css("backgroundColor","#CCCCCC").next().hide(1);$j("#accordionMenu .item_2 a.sub").stop().css("backgroundColor","#CCCCCC").next().hide(1);$j("#accordionMenu .item_3 a.sub").stop().css("backgroundColor","#CCCCCC").next().hide(1);$j("#accordionMenu .item_4 a.sub").stop().css("backgroundColor","#CCCCCC").next().hide(1);$j("#accordionMenu .item_5 a.sub").stop().css("backgroundColor","#CCCCCC").next().hide(1);$j("input[@value='Verstuur']").addClass("submitButton");startDocumentsList()});function showSearch(){if($j("#gss_input").val()!=""){$j(".contentPane").hide();$j(".googleResults").show()}else{$j(".contentPane").show();$j(".googleResults").hide()}}function onKeypress(A){if(A.keyCode==13){showSearch()}}function fixSeoMenu(){if($j.browser.msie&&$j("#accordionMenu").length>0){var A=parseInt($j.browser.version);if(A==6||A==8){var C=$j("#accordionMenu").html();var B=C.replace(/<TABLE>/g,"</a><table>");$j("#accordionMenu").html(B)}}}function setcurrentItem(A){$j("#accordionMenu ul a.sub").css("backgroundColor","#CCCCCC").next().hide("slow");$j("#accordionMenu .item_"+A+" a.sub").stop().css("backgroundColor","#009FE0").next().show("slow")}function openVenster(A,B){var C="";verbergAlleVensters();if(window.innerHeight&&window.scrollMaxY){yWithScroll=window.innerHeight+window.scrollMaxY;xWithScroll=window.innerWidth+window.scrollMaxX}else{if(document.body.scrollHeight>document.body.offsetHeight){yWithScroll=document.body.scrollHeight;xWithScroll=document.body.scrollWidth}else{yWithScroll=document.body.offsetHeight;xWithScroll=document.body.offsetWidth}}document.getElementById(A).style.display="block";document.getElementById("disabler").style.display="block";document.getElementById("disabler").style.height=yWithScroll;if(B!=undefined){if(B=="stap2"){setStap("/Portals/_default/skins/meijers/img/mainstep2.gif");C="_formulier"}if(B=="stap3"){setStap("/Portals/_default/skins/meijers/img/mainstep3.gif");C="_bevestiging"}}else{setStap("/Portals/_default/skins/meijers/img/mainstep1.gif")}}function sluitVenster(A){document.getElementById(A).style.display="none";document.getElementById("disabler").style.display="none";document.getElementById("disabler").style.height=document.documentElement.scrollHeight;setStap("/Portals/_default/skins/meijers/img/mainstep1.gif");verbergAlleVensters()}function setStap(A){document.getElementById("kies123").style.backgroundImage="url('"+A+"')"}function verbergAlleVensters(){var A=document.getElementsByTagName("div");for(var B=0;B<A.length;B++){if(A[B].id.indexOf("venster_")>-1){A[B].style.display="none"}}}function trackFunnel(A){try{var C=_gat._getTracker("UA-10377453-1");C._trackPageview(A)}catch(B){}}function startDocumentsList(){$j(".documents_list").each(function(){var B=new Array();var D="";var A=this;$j("li",this).each(function(){var E=$j(this).attr("rel");if(B.indexOf(E)==-1){B.push(E)}});B.sort();for(var C=0;C<B.length;C++){D+="\n<li>\n\t<h3>"+B[C]+'</h3>\n\t<ul class="docs">';$j("li[rel='"+B[C]+"']",A).each(function(){$j(this).attr("rel","");D+="\n\t\t<li>"+$j(this).html()+"</li>"});D+="\n\t</ul>\n</li>"}$j(this).html(D)});addDocumentsListBehaviour();$j(".documents_list").show()}function addDocumentsListBehaviour(){$j(".docs").hide(0);$j("h3").click(function(){$j(this).next().slideToggle("fast")})}[].indexOf||(Array.prototype.indexOf=function(A){for(var B=this.length;B--&&this[B]!==A;){}return B});var csshoverReg=/(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active))|((a|input|textarea):unknown)/i,currentSheet,doc=window.document,hoverEvents=[],activators={onhover:{on:"onmouseover",off:"onmouseout"},onactive:{on:"onmousedown",off:"onmouseup"},onunknown:{on:"onfocus",off:"onblur"}};function parseStylesheets(){if(!/MSIE (5|6)/.test(navigator.userAgent)){return}window.attachEvent("onunload",unhookHoverEvents);var C=doc.styleSheets,A=C.length;for(var B=0;B<A;B++){parseStylesheet(C[B])}}function parseStylesheet(A){if(A.imports){try{var C=A.imports,G=C.length;for(var E=0;E<G;E++){parseStylesheet(A.imports[E])}}catch(B){}}try{var D=(currentSheet=A).rules,G=D.length;for(var F=0;F<G;F++){parseCSSRule(D[F])}}catch(B){}}function parseCSSRule(C){var E=C.selectorText,H=C.style.cssText;if(!csshoverReg.test(E)||!H){return}var D=E.replace(/[^:]+:([a-z-]+).*/i,"on$1");var F=E.replace(/(\.([a-z0-9_-]+):[a-z]+)|(:[a-z]+)/gi,".$2"+D);var I=(/\.([a-z0-9_-]*on(hover|active|unknown))/i).exec(F)[1];var B=E.replace(/:(hover|active|unknown).*$/,"");var G=getElementsBySelect(B);if(G.length==0){return}currentSheet.addRule(F,H);for(var A=0;A<G.length;A++){new HoverElement(G[A],I,activators[D])}}function HoverElement(C,B,A){if(!C.hovers){C.hovers={}}if(C.hovers[B]){return}C.hovers[B]=true;hookHoverEvent(C,A.on,function(){C.className+=" "+B});hookHoverEvent(C,A.off,function(){C.className=C.className.replace(new RegExp("\\s+"+B,"g"),"")})}function hookHoverEvent(C,B,A){C.attachEvent(B,A);hoverEvents[hoverEvents.length]={node:C,type:B,handler:A}}function unhookHoverEvents(){for(var B,A=0;A<hoverEvents.length;A++){B=hoverEvents[A];B.node.detachEvent(B.type,B.handler)}}function getElementsBySelect(D){var C,B=[doc];C=D.split(" ");for(var A=0;A<C.length;A++){B=getSelectedNodes(C[A],B)}return B}function getSelectedNodes(G,D){var F,B,J=[];var C=(/\#([a-z0-9_-]+)/i).exec(G);if(C){return[doc.getElementById(C[1])]}var H=(/\.([a-z0-9_-]+)/i).exec(G);var E=G.replace(/(\.|\#|\:)[a-z0-9_-]+/i,"");var A=H?new RegExp("\\b"+H[1]+"\\b"):false;for(var K=0;K<D.length;K++){F=E?D[K].all.tags(E):D[K].all;for(var I=0;I<F.length;I++){B=F[I];if(A&&!A.test(B.className)){continue}J[J.length]=B}}return J}function setSameHeight(B){var C=getHighestHeight(B);var D=B.length;for(var A=0;A<D;A++){$j(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,$j(B[C]).innerHeight())}else{A=Math.max(A,$j(B[C]).height())}}return A}function findPos(B){var A=curtop=0;if(B.offsetParent){do{A+=B.offsetLeft;curtop+=B.offsetTop}while(B=B.offsetParent)}return[A,curtop]}function isIE(){var A=false;jQuery.each(jQuery.browser,function(B){if(jQuery.browser.msie){A=true}});return A}jQuery.ui||(function(D){var A=D.fn.remove,E=D.browser.mozilla&&(parseFloat(D.browser.version)<1.9);D.ui={version:"1.7.1",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.accordion",{_init:function(){var D=this.options,B=this;this.running=0;if(D.collapsible==A.ui.accordion.defaults.collapsible&&D.alwaysOpen!=A.ui.accordion.defaults.alwaysOpen){D.collapsible=!D.alwaysOpen}if(D.navigation){var C=this.element.find("a").filter(D.navigationFilter);if(C.length){if(C.filter(D.header).length){this.active=C}else{this.active=C.parent().parent().prev();C.addClass("ui-accordion-content-active")}}}this.element.addClass("ui-accordion ui-widget ui-helper-reset");if(this.element[0].nodeName=="UL"){this.element.children("li").addClass("ui-accordion-li-fix")}this.headers=this.element.find(D.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){A(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){A(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){A(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){A(this).removeClass("ui-state-focus")});this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");this.active=this._findActive(this.active||D.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");this.active.next().addClass("ui-accordion-content-active");A("<span/>").addClass("ui-icon "+D.icons.header).prependTo(this.headers);this.active.find(".ui-icon").toggleClass(D.icons.header).toggleClass(D.icons.headerSelected);if(A.browser.msie){this.element.find("a").css("zoom","1")}this.resize();this.element.attr("role","tablist");this.headers.attr("role","tab").bind("keydown",function(E){return B._keydown(E)}).next().attr("role","tabpanel");this.headers.not(this.active||"").attr("aria-expanded","false").attr("tabIndex","-1").next().hide();if(!this.active.length){this.headers.eq(0).attr("tabIndex","0")}else{this.active.attr("aria-expanded","true").attr("tabIndex","0")}if(!A.browser.safari){this.headers.find("a").attr("tabIndex","-1")}if(D.event){this.headers.bind((D.event)+".accordion",function(E){return B._clickHandler.call(B,E,this)})}},destroy:function(){var C=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role").unbind(".accordion").removeData("accordion");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabindex");this.headers.find("a").removeAttr("tabindex");this.headers.children(".ui-icon").remove();var B=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active");if(C.autoHeight||C.fillHeight){B.css("height","")}},_setData:function(B,C){if(B=="alwaysOpen"){B="collapsible";C=!C}A.widget.prototype._setData.apply(this,arguments)},_keydown:function(E){var G=this.options,F=A.ui.keyCode;if(G.disabled||E.altKey||E.ctrlKey){return}var D=this.headers.length;var B=this.headers.index(E.target);var C=false;switch(E.keyCode){case F.RIGHT:case F.DOWN:C=this.headers[(B+1)%D];break;case F.LEFT:case F.UP:C=this.headers[(B-1+D)%D];break;case F.SPACE:case F.ENTER:return this._clickHandler({target:E.target},E.target)}if(C){A(E.target).attr("tabIndex","-1");A(C).attr("tabIndex","0");C.focus();return false}return true},resize:function(){var E=this.options,D;if(E.fillSpace){if(A.browser.msie){var B=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}D=this.element.parent().height();if(A.browser.msie){this.element.parent().css("overflow",B)}this.headers.each(function(){D-=A(this).outerHeight()});var C=0;this.headers.next().each(function(){C=Math.max(C,A(this).innerHeight()-A(this).height())}).height(Math.max(0,D-C)).css("overflow","auto")}else{if(E.autoHeight){D=0;this.headers.next().each(function(){D=Math.max(D,A(this).outerHeight())}).height(D)}}},activate:function(B){var C=this._findActive(B)[0];this._clickHandler({target:C},C)},_findActive:function(B){return B?typeof B=="number"?this.headers.filter(":eq("+B+")"):this.headers.not(this.headers.not(B)):B===false?A([]):this.headers.filter(":eq(0)")},_clickHandler:function(D,H){var F=this.options;if(F.disabled){return false}if(!D.target&&F.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(F.icons.headerSelected).addClass(F.icons.header);this.active.next().addClass("ui-accordion-content-active");var J=this.active.next(),G={options:F,newHeader:A([]),oldHeader:F.active,newContent:A([]),oldContent:J},E=(this.active=A([]));this._toggle(E,J,G);return false}var I=A(D.currentTarget||H);var B=I[0]==this.active[0];if(this.running||(!F.collapsible&&B)){return false}this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").find(".ui-icon").removeClass(F.icons.headerSelected).addClass(F.icons.header);this.active.next().addClass("ui-accordion-content-active");if(!B){I.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").find(".ui-icon").removeClass(F.icons.header).addClass(F.icons.headerSelected);I.next().addClass("ui-accordion-content-active")}var E=I.next(),J=this.active.next(),G={options:F,newHeader:B&&F.collapsible?A([]):I,oldHeader:this.active,newContent:B&&F.collapsible?A([]):E.find("> *"),oldContent:J.find("> *")},C=this.headers.index(this.active[0])>this.headers.index(I[0]);this.active=B?A([]):I;this._toggle(E,J,G,B,C);return false},_toggle:function(G,B,L,C,D){var I=this.options,F=this;this.toShow=G;this.toHide=B;this.data=L;var H=function(){if(!F){return}return F._completed.apply(F,arguments)};this._trigger("changestart",null,this.data);this.running=B.size()===0?G.size():B.size();if(I.animated){var K={};if(I.collapsible&&C){K={toShow:A([]),toHide:B,complete:H,down:D,autoHeight:I.autoHeight||I.fillSpace}}else{K={toShow:G,toHide:B,complete:H,down:D,autoHeight:I.autoHeight||I.fillSpace}}if(!I.proxied){I.proxied=I.animated}if(!I.proxiedDuration){I.proxiedDuration=I.duration}I.animated=A.isFunction(I.proxied)?I.proxied(K):I.proxied;I.duration=A.isFunction(I.proxiedDuration)?I.proxiedDuration(K):I.proxiedDuration;var E=A.ui.accordion.animations,J=I.duration,M=I.animated;if(!E[M]){E[M]=function(N){this.slide(N,{easing:M,duration:J||700})}}E[M](K)}else{if(I.collapsible&&C){G.toggle()}else{B.hide();G.show()}H(true)}B.prev().attr("aria-expanded","false").attr("tabIndex","-1").blur();G.prev().attr("aria-expanded","true").attr("tabIndex","0").focus()},_completed:function(B){var C=this.options;this.running=B?0:--this.running;if(this.running){return}if(C.clearStyle){this.toShow.add(this.toHide).css({height:"",overflow:""})}this._trigger("change",null,this.data)}});A.extend(A.ui.accordion,{version:"1.7.1",defaults:{active:null,alwaysOpen:true,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()==location.href.toLowerCase()}},animations:{slide:function(C,J){C=A.extend({easing:"swing",duration:300},C,J);if(!C.toHide.size()){C.toShow.animate({height:"show"},C);return}if(!C.toShow.size()){C.toHide.animate({height:"hide"},C);return}var E=C.toShow.css("overflow"),I,F={},H={},G=["height","paddingTop","paddingBottom"],D;var B=C.toShow;D=B[0].style.width;B.width(parseInt(B.parent().width(),10)-parseInt(B.css("paddingLeft"),10)-parseInt(B.css("paddingRight"),10)-(parseInt(B.css("borderLeftWidth"),10)||0)-(parseInt(B.css("borderRightWidth"),10)||0));A.each(G,function(L,K){H[K]="hide";var M=(""+A.css(C.toShow[0],K)).match(/^([\d+-.]+)(.*)$/);F[K]={value:M[1],unit:M[2]||"px"}});C.toShow.css({height:0,overflow:"hidden"}).show();C.toHide.filter(":hidden").each(C.complete).end().filter(":visible").animate(H,{step:function(K,L){if(L.prop=="height"){I=(L.now-L.start)/(L.end-L.start)}C.toShow[0].style[L.prop]=(I*F[L.prop].value)+F[L.prop].unit},duration:C.duration,easing:C.easing,complete:function(){if(!C.autoHeight){C.toShow.css("height","")}C.toShow.css("width",D);C.toShow.css({overflow:E});C.complete()}})},bounceslide:function(B){this.slide(B,{easing:B.down?"easeOutBounce":"swing",duration:B.down?1000:200})},easeslide:function(B){this.slide(B,{easing:"easeinout",duration:700})}}})})(jQuery);jQuery.cookie=function(H,D,A){if(typeof D!="undefined"){A=A||{};if(D===null){D="";A.expires=-1}var G="";if(A.expires&&(typeof A.expires=="number"||A.expires.toUTCString)){var B;if(typeof A.expires=="number"){B=new Date();B.setTime(B.getTime()+(A.expires*24*60*60*1000))}else{B=A.expires}G="; expires="+B.toUTCString()}var K=A.path?"; path="+(A.path):"";var C=A.domain?"; domain="+(A.domain):"";var I=A.secure?"; secure":"";document.cookie=[H,"=",encodeURIComponent(D),G,K,C,I].join("")}else{var F=null;if(document.cookie&&document.cookie!=""){var L=document.cookie.split(";");for(var J=0;J<L.length;J++){var E=jQuery.trim(L[J]);if(E.substring(0,H.length+1)==(H+"=")){F=decodeURIComponent(E.substring(H.length+1));break}}}return F}};jQuery.create=function(){if(arguments.length==0){return[]}var B=arguments[0]||{},D=null,A=null;var C=null;if(B==null){B=""}if(B.constructor==String){if(arguments.length>1){var F=arguments[1];if(F.constructor==String){D=document.createTextNode(B);A=[];A.push(D);C=jQuery.create.apply(null,Array.prototype.slice.call(arguments,1));A=A.concat(C);return A}else{D=document.createElement(B);var F=arguments[1];for(var G in F){jQuery(D).attr(G,F[G])}var E=arguments[2];E=jQuery.create.apply(null,E);jQuery(D).append(E);if(arguments.length>3){C=jQuery.create.apply(null,Array.prototype.slice.call(arguments,3));return[D].concat(C)}return D}}else{return document.createTextNode(B)}}else{A=[];A.push(B);C=jQuery.create.apply(null,(Array.prototype.slice.call(arguments,1)));A=A.concat(C);return A}};jQuery.effects||(function(D){D.effects={version:"1.7.1",save:function(H,F){for(var G=0;G<F.length;G++){if(F[G]!==null){H.data("ec.storage."+F[G],H[0].style[F[G]])}}},restore:function(H,F){for(var G=0;G<F.length;G++){if(F[G]!==null){H.css(F[G],H.data("ec.storage."+F[G]))}}},setMode:function(F,G){if(G=="toggle"){G=F.is(":hidden")?"show":"hide"}return G},getBaseline:function(I,F){var G,H;switch(I[0]){case"top":G=0;break;case"middle":G=0.5;break;case"bottom":G=1;break;default:G=I[0]/F.height}switch(I[1]){case"left":H=0;break;case"center":H=0.5;break;case"right":H=1;break;default:H=I[1]/F.width}return{x:H,y:G}},createWrapper:function(I){if(I.parent().is(".ui-effects-wrapper")){return I.parent()}var J={width:I.outerWidth(true),height:I.outerHeight(true),"float":I.css("float")};I.wrap('<div class="ui-effects-wrapper" style="font-size:100%;background:transparent;border:none;margin:0;padding:0"></div>');var H=I.parent();if(I.css("position")=="static"){H.css({position:"relative"});I.css({position:"relative"})}else{var G=I.css("top");if(isNaN(parseInt(G,10))){G="auto"}var F=I.css("left");if(isNaN(parseInt(F,10))){F="auto"}H.css({position:I.css("position"),top:G,left:F,zIndex:I.css("z-index")}).show();I.css({position:"relative",top:0,left:0})}H.css(J);return H},removeWrapper:function(F){if(F.parent().is(".ui-effects-wrapper")){return F.parent().replaceWith(F)}return F},setTransition:function(I,G,H,F){F=F||{};D.each(G,function(K,J){unit=I.cssUnit(J);if(unit[0]>0){F[J]=unit[0]*H+unit[1]}});return F},animateClass:function(G,H,J,I){var F=(typeof J=="function"?J:(I?I:null));var K=(typeof J=="string"?J:null);return this.each(function(){var Q={};var M=D(this);var P=M.attr("style")||"";if(typeof P=="object"){P=P.cssText}if(G.toggle){M.hasClass(G.toggle)?G.remove=G.toggle:G.add=G.toggle}var N=D.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(G.add){M.addClass(G.add)}if(G.remove){M.removeClass(G.remove)}var L=D.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(G.add){M.removeClass(G.add)}if(G.remove){M.addClass(G.remove)}for(var O in L){if(typeof L[O]!="function"&&L[O]&&O.indexOf("Moz")==-1&&O.indexOf("length")==-1&&L[O]!=N[O]&&(O.match(/color/i)||(!O.match(/color/i)&&!isNaN(parseInt(L[O],10))))&&(N.position!="static"||(N.position=="static"&&!O.match(/left|top|bottom|right/)))){Q[O]=L[O]}}M.animate(Q,H,K,function(){if(typeof D(this).attr("style")=="object"){D(this).attr("style")["cssText"]="";D(this).attr("style")["cssText"]=P}else{D(this).attr("style",P)}if(G.add){D(this).addClass(G.add)}if(G.remove){D(this).removeClass(G.remove)}if(F){F.apply(this,arguments)}})})}};function C(J,I){var G=J[1]&&J[1].constructor==Object?J[1]:{};if(I){G.mode=I}var F=J[1]&&J[1].constructor!=Object?J[1]:(G.duration?G.duration:J[2]);F=D.fx.off?0:typeof F==="number"?F:D.fx.speeds[F]||D.fx.speeds._default;var H=G.callback||(D.isFunction(J[1])&&J[1])||(D.isFunction(J[2])&&J[2])||(D.isFunction(J[3])&&J[3]);return[J[0],G,F,H]}D.fn.extend({_show:D.fn.show,_hide:D.fn.hide,__toggle:D.fn.toggle,_addClass:D.fn.addClass,_removeClass:D.fn.removeClass,_toggleClass:D.fn.toggleClass,effect:function(I,H,F,G){return D.effects[I]?D.effects[I].call(this,{method:I,options:H||{},duration:F,callback:G}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,C(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,C(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(arguments[0].constructor==Function)){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,C(arguments,"toggle"))}},addClass:function(I,H,G,F){return H?D.effects.animateClass.apply(this,[{add:I},H,G,F]):this._addClass(I)},removeClass:function(I,H,G,F){return H?D.effects.animateClass.apply(this,[{remove:I},H,G,F]):this._removeClass(I)},toggleClass:function(I,H,G,F){return((typeof H!=="boolean")&&H)?D.effects.animateClass.apply(this,[{toggle:I},H,G,F]):this._toggleClass(I,H)},morph:function(I,F,J,H,G){return D.effects.animateClass.apply(this,[{add:F,remove:I},J,H,G])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(G){var H=this.css(G),F=[];D.each(["em","px","%","pt"],function(I,J){if(H.indexOf(J)>0){F=[parseFloat(H),J]}});return F}});D.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(G,F){D.fx.step[F]=function(H){if(H.state==0){H.start=E(H.elem,F);H.end=B(H.end)}H.elem.style[F]="rgb("+[Math.max(Math.min(parseInt((H.pos*(H.end[0]-H.start[0]))+H.start[0],10),255),0),Math.max(Math.min(parseInt((H.pos*(H.end[1]-H.start[1]))+H.start[1],10),255),0),Math.max(Math.min(parseInt((H.pos*(H.end[2]-H.start[2]))+H.start[2],10),255),0)].join(",")+")"}});function B(G){var F;if(G&&G.constructor==Array&&G.length==3){return G}if(F=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(G)){return[parseInt(F[1],10),parseInt(F[2],10),parseInt(F[3],10)]}if(F=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(G)){return[parseFloat(F[1])*2.55,parseFloat(F[2])*2.55,parseFloat(F[3])*2.55]}if(F=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(G)){return[parseInt(F[1],16),parseInt(F[2],16),parseInt(F[3],16)]}if(F=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(G)){return[parseInt(F[1]+F[1],16),parseInt(F[2]+F[2],16),parseInt(F[3]+F[3],16)]}if(F=/rgba\(0, 0, 0, 0\)/.exec(G)){return A.transparent}return A[D.trim(G).toLowerCase()]}function E(F,G){var H;do{H=D.curCSS(F,G);if(H!=""&&H!="transparent"||D.nodeName(F,"body")){break}G="backgroundColor"}while(F=F.parentNode);return B(H)}var A={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};D.easing.jswing=D.easing.swing;D.extend(D.easing,{def:"easeOutQuad",swing:function(J,F,I,H,G){return D.easing[D.easing.def](J,F,I,H,G)},easeInQuad:function(J,F,I,H,G){return H*(F/=G)*F+I},easeOutQuad:function(J,F,I,H,G){return -H*(F/=G)*(F-2)+I},easeInOutQuad:function(J,F,I,H,G){if((F/=G/2)<1){return H/2*F*F+I}return -H/2*((--F)*(F-2)-1)+I},easeInCubic:function(J,F,I,H,G){return H*(F/=G)*F*F+I},easeOutCubic:function(J,F,I,H,G){return H*((F=F/G-1)*F*F+1)+I},easeInOutCubic:function(J,F,I,H,G){if((F/=G/2)<1){return H/2*F*F*F+I}return H/2*((F-=2)*F*F+2)+I},easeInQuart:function(J,F,I,H,G){return H*(F/=G)*F*F*F+I},easeOutQuart:function(J,F,I,H,G){return -H*((F=F/G-1)*F*F*F-1)+I},easeInOutQuart:function(J,F,I,H,G){if((F/=G/2)<1){return H/2*F*F*F*F+I}return -H/2*((F-=2)*F*F*F-2)+I},easeInQuint:function(J,F,I,H,G){return H*(F/=G)*F*F*F*F+I},easeOutQuint:function(J,F,I,H,G){return H*((F=F/G-1)*F*F*F*F+1)+I},easeInOutQuint:function(J,F,I,H,G){if((F/=G/2)<1){return H/2*F*F*F*F*F+I}return H/2*((F-=2)*F*F*F*F+2)+I},easeInSine:function(J,F,I,H,G){return -H*Math.cos(F/G*(Math.PI/2))+H+I},easeOutSine:function(J,F,I,H,G){return H*Math.sin(F/G*(Math.PI/2))+I},easeInOutSine:function(J,F,I,H,G){return -H/2*(Math.cos(Math.PI*F/G)-1)+I},easeInExpo:function(J,F,I,H,G){return(F==0)?I:H*Math.pow(2,10*(F/G-1))+I},easeOutExpo:function(J,F,I,H,G){return(F==G)?I+H:H*(-Math.pow(2,-10*F/G)+1)+I},easeInOutExpo:function(J,F,I,H,G){if(F==0){return I}if(F==G){return I+H}if((F/=G/2)<1){return H/2*Math.pow(2,10*(F-1))+I}return H/2*(-Math.pow(2,-10*--F)+2)+I},easeInCirc:function(J,F,I,H,G){return -H*(Math.sqrt(1-(F/=G)*F)-1)+I},easeOutCirc:function(J,F,I,H,G){return H*Math.sqrt(1-(F=F/G-1)*F)+I},easeInOutCirc:function(J,F,I,H,G){if((F/=G/2)<1){return -H/2*(Math.sqrt(1-F*F)-1)+I}return H/2*(Math.sqrt(1-(F-=2)*F)+1)+I},easeInElastic:function(L,F,K,J,I){var G=1.70158;var H=0;var M=J;if(F==0){return K}if((F/=I)==1){return K+J}if(!H){H=I*0.3}if(M<Math.abs(J)){M=J;var G=H/4}else{var G=H/(2*Math.PI)*Math.asin(J/M)}return -(M*Math.pow(2,10*(F-=1))*Math.sin((F*I-G)*(2*Math.PI)/H))+K},easeOutElastic:function(L,F,K,J,I){var G=1.70158;var H=0;var M=J;if(F==0){return K}if((F/=I)==1){return K+J}if(!H){H=I*0.3}if(M<Math.abs(J)){M=J;var G=H/4}else{var G=H/(2*Math.PI)*Math.asin(J/M)}return M*Math.pow(2,-10*F)*Math.sin((F*I-G)*(2*Math.PI)/H)+J+K},easeInOutElastic:function(L,F,K,J,I){var G=1.70158;var H=0;var M=J;if(F==0){return K}if((F/=I/2)==2){return K+J}if(!H){H=I*(0.3*1.5)}if(M<Math.abs(J)){M=J;var G=H/4}else{var G=H/(2*Math.PI)*Math.asin(J/M)}if(F<1){return -0.5*(M*Math.pow(2,10*(F-=1))*Math.sin((F*I-G)*(2*Math.PI)/H))+K}return M*Math.pow(2,-10*(F-=1))*Math.sin((F*I-G)*(2*Math.PI)/H)*0.5+J+K},easeInBack:function(K,G,J,F,I,H){if(H==undefined){H=1.70158}return F*(G/=I)*G*((H+1)*G-H)+J},easeOutBack:function(K,G,J,F,I,H){if(H==undefined){H=1.70158}return F*((G=G/I-1)*G*((H+1)*G+H)+1)+J},easeInOutBack:function(K,G,J,F,I,H){if(H==undefined){H=1.70158}if((G/=I/2)<1){return F/2*(G*G*(((H*=(1.525))+1)*G-H))+J}return F/2*((G-=2)*G*(((H*=(1.525))+1)*G+H)+2)+J},easeInBounce:function(J,F,I,H,G){return H-D.easing.easeOutBounce(J,G-F,0,H,G)+I},easeOutBounce:function(J,F,I,H,G){if((F/=G)<(1/2.75)){return H*(7.5625*F*F)+I}else{if(F<(2/2.75)){return H*(7.5625*(F-=(1.5/2.75))*F+0.75)+I}else{if(F<(2.5/2.75)){return H*(7.5625*(F-=(2.25/2.75))*F+0.9375)+I}else{return H*(7.5625*(F-=(2.625/2.75))*F+0.984375)+I}}}},easeInOutBounce:function(J,F,I,H,G){if(F<G/2){return D.easing.easeInBounce(J,F*2,0,H,G)*0.5+I}return D.easing.easeOutBounce(J,F*2-G,0,H,G)*0.5+H*0.5+I}})})(jQuery);$j(function(){setPerfectMenuItemWidth(993);setNavigationBackgrounds()});function setNavigationBackgrounds(){$j("#navigation ul li:last-child, #navigation ul li:last-child a").css("background","none");var A=$j("#navigation ul li.selected");var C=$j("#active-nav-block-img");var B=$j("#active-nav-block-img");if(!A.length){B.hide();C.hide()}else{C.css("left",(A.position().left-10)+"px");if(A.position().left==$j("#navigation ul li:first-child").position().left){createActiveBar(6,-13);C.hide()}else{if(A.position().left==$j("#navigation ul li:last-child").position().left){createActiveBar(-5,14);jQuery.each(jQuery.browser,function(D,E){if(D=="mozilla"&&jQuery.browser.version.substr(0,3)=="1.9"){createActiveBar(-5,11)}})}else{createActiveBar(-5,-1)}}}}function createActiveBar(B,C){var A=$j("#navigation ul li.selected");$j("#active-nav-block").css("left",(A.position().left+B)+"px").css("width",(A.width()+C)+"px")}function setPerfectMenuItemWidth(C){var D=[];var F=[];var E=0;$j("#navigation ul li a").each(function(H){var G=$j(this).html().length;var I=Math.sqrt(G);E+=I;D.push(I)});var A=0;for(var B=0;B<D.length;B++){F.push(C/(E/D[B]));A+=F[B]}$j("#navigation li a").each(function(G){$j(this).css("width",F[G]+"px");$j("a",this).css("width",F[G]+"px")})}var swfobject=function(){var Aq="undefined",Az="object",Aa="Shockwave Flash",Ae="ShockwaveFlash.ShockwaveFlash",Ay="application/x-shockwave-flash",Z="SWFObjectExprInst",Au="onreadystatechange",Am=window,AH=document,AB=navigator,Ab=false,Ac=[AF],AM=[],Al=[],Ag=[],AJ,Y,Ar,Ao,Ah=false,AN=false,AL,At,AK=true,Ak=function(){var C=typeof AH.getElementById!=Aq&&typeof AH.getElementsByTagName!=Aq&&typeof AH.createElement!=Aq,G=AB.userAgent.toLowerCase(),J=AB.platform.toLowerCase(),H=J?/win/.test(J):/win/.test(G),A=J?/mac/.test(J):/mac/.test(G),B=/webkit/.test(G)?parseFloat(G.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,I=!+"\v1",E=[0,0,0],F=null;if(typeof AB.plugins!=Aq&&typeof AB.plugins[Aa]==Az){F=AB.plugins[Aa].description;if(F&&!(typeof AB.mimeTypes!=Aq&&AB.mimeTypes[Ay]&&!AB.mimeTypes[Ay].enabledPlugin)){Ab=true;I=false;F=F.replace(/^.*\s+(\S+\s+\S+$)/,"$1");E[0]=parseInt(F.replace(/^(.*)\..*$/,"$1"),10);E[1]=parseInt(F.replace(/^.*\.(.*)\s.*$/,"$1"),10);E[2]=/[a-zA-Z]/.test(F)?parseInt(F.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof Am.ActiveXObject!=Aq){try{var D=new ActiveXObject(Ae);if(D){F=D.GetVariable("$version");if(F){I=true;F=F.split(" ")[1].split(",");E=[parseInt(F[0],10),parseInt(F[1],10),parseInt(F[2],10)]}}}catch(K){}}}return{w3:C,pv:E,wk:B,ie:I,win:H,mac:A}}(),AI=function(){if(!Ak.w3){return}if((typeof AH.readyState!=Aq&&AH.readyState=="complete")||(typeof AH.readyState==Aq&&(AH.getElementsByTagName("body")[0]||AH.body))){AS()}if(!Ah){if(typeof AH.addEventListener!=Aq){AH.addEventListener("DOMContentLoaded",AS,false)}if(Ak.ie&&Ak.win){AH.attachEvent(Au,function(){if(AH.readyState=="complete"){AH.detachEvent(Au,arguments.callee);AS()}});if(Am==top){(function(){if(Ah){return}try{AH.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,0);return}AS()})()}}if(Ak.wk){(function(){if(Ah){return}if(!/loaded|complete/.test(AH.readyState)){setTimeout(arguments.callee,0);return}AS()})()}AA(AS)}}();function AS(){if(Ah){return}try{var D=AH.getElementsByTagName("body")[0].appendChild(Ap("span"));D.parentNode.removeChild(D)}catch(A){return}Ah=true;var B=Ac.length;for(var C=0;C<B;C++){Ac[C]()}}function Ai(A){if(Ah){A()}else{Ac[Ac.length]=A}}function AA(B){if(typeof Am.addEventListener!=Aq){Am.addEventListener("load",B,false)}else{if(typeof AH.addEventListener!=Aq){AH.addEventListener("load",B,false)}else{if(typeof Am.attachEvent!=Aq){AG(Am,"onload",B)}else{if(typeof Am.onload=="function"){var A=Am.onload;Am.onload=function(){A();B()}}else{Am.onload=B}}}}}function AF(){if(Ab){Ad()}else{Af()}}function Ad(){var B=AH.getElementsByTagName("body")[0];var A=Ap(Az);A.setAttribute("type",Ay);var D=B.appendChild(A);if(D){var C=0;(function(){if(typeof D.GetVariable!=Aq){var E=D.GetVariable("$version");if(E){E=E.split(" ")[1].split(",");Ak.pv=[parseInt(E[0],10),parseInt(E[1],10),parseInt(E[2],10)]}}else{if(C<10){C++;setTimeout(arguments.callee,10);return}}B.removeChild(A);D=null;Af()})()}else{Af()}}function Af(){var F=AM.length;if(F>0){for(var C=0;C<F;C++){var K=AM[C].id;var G=AM[C].callbackFn;var D={success:false,id:K};if(Ak.pv[0]>0){var I=AP(K);if(I){if(As(AM[C].swfVersion)&&!(Ak.wk&&Ak.wk<312)){AE(K,true);if(G){D.success=true;D.ref=Aw(K);G(D)}}else{if(AM[C].expressInstall&&An()){var B={};B.data=AM[C].expressInstall;B.width=I.getAttribute("width")||"0";B.height=I.getAttribute("height")||"0";if(I.getAttribute("class")){B.styleclass=I.getAttribute("class")}if(I.getAttribute("align")){B.align=I.getAttribute("align")}var H={};var J=I.getElementsByTagName("param");var A=J.length;for(var E=0;E<A;E++){if(J[E].getAttribute("name").toLowerCase()!="movie"){H[J[E].getAttribute("name")]=J[E].getAttribute("value")}}X(B,H,K,G)}else{Ax(I);if(G){G(D)}}}}}else{AE(K,true);if(G){var L=Aw(K);if(L&&typeof L.SetVariable!=Aq){D.success=true;D.ref=L}G(D)}}}}}function Aw(A){var B=null;var C=AP(A);if(C&&C.nodeName=="OBJECT"){if(typeof C.SetVariable!=Aq){B=C}else{var D=C.getElementsByTagName(Az)[0];if(D){B=D}}}return B}function An(){return !AN&&As("6.0.65")&&(Ak.win||Ak.mac)&&!(Ak.wk&&Ak.wk<312)}function X(B,D,F,H){AN=true;Ar=H||null;Ao={success:false,id:F};var E=AP(F);if(E){if(E.nodeName=="OBJECT"){AJ=AT(E);Y=null}else{AJ=E;Y=F}B.id=Z;if(typeof B.width==Aq||(!/%$/.test(B.width)&&parseInt(B.width,10)<310)){B.width="310"}if(typeof B.height==Aq||(!/%$/.test(B.height)&&parseInt(B.height,10)<137)){B.height="137"}AH.title=AH.title.slice(0,47)+" - Flash Player Installation";var C=Ak.ie&&Ak.win?"ActiveX":"PlugIn",A="MMredirectURL="+Am.location.toString().replace(/&/g,"%26")+"&MMplayerType="+C+"&MMdoctitle="+AH.title;if(typeof D.flashvars!=Aq){D.flashvars+="&"+A}else{D.flashvars=A}if(Ak.ie&&Ak.win&&E.readyState!=4){var G=Ap("div");F+="SWFObjectNew";G.setAttribute("id",F);E.parentNode.insertBefore(G,E);E.style.display="none";(function(){if(E.readyState==4){E.parentNode.removeChild(E)}else{setTimeout(arguments.callee,10)}})()}AC(B,D,F)}}function Ax(B){if(Ak.ie&&Ak.win&&B.readyState!=4){var A=Ap("div");B.parentNode.insertBefore(A,B);A.parentNode.replaceChild(AT(B),A);B.style.display="none";(function(){if(B.readyState==4){B.parentNode.removeChild(B)}else{setTimeout(arguments.callee,10)}})()}else{B.parentNode.replaceChild(AT(B),B)}}function AT(F){var A=Ap("div");if(Ak.win&&Ak.ie){A.innerHTML=F.innerHTML}else{var C=F.getElementsByTagName(Az)[0];if(C){var E=C.childNodes;if(E){var B=E.length;for(var D=0;D<B;D++){if(!(E[D].nodeType==1&&E[D].nodeName=="PARAM")&&!(E[D].nodeType==8)){A.appendChild(E[D].cloneNode(true))}}}}}return A}function AC(B,F,K){var J,D=AP(K);if(Ak.wk&&Ak.wk<312){return J}if(D){if(typeof B.id==Aq){B.id=K}if(Ak.ie&&Ak.win){var H="";for(var I in B){if(B[I]!=Object.prototype[I]){if(I.toLowerCase()=="data"){F.movie=B[I]}else{if(I.toLowerCase()=="styleclass"){H+=' class="'+B[I]+'"'}else{if(I.toLowerCase()!="classid"){H+=" "+I+'="'+B[I]+'"'}}}}}var C="";for(var E in F){if(F[E]!=Object.prototype[E]){C+='<param name="'+E+'" value="'+F[E]+'" />'}}D.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+H+">"+C+"</object>";Al[Al.length]=B.id;J=AP(B.id)}else{var L=Ap(Az);L.setAttribute("type",Ay);for(var A in B){if(B[A]!=Object.prototype[A]){if(A.toLowerCase()=="styleclass"){L.setAttribute("class",B[A])}else{if(A.toLowerCase()!="classid"){L.setAttribute(A,B[A])}}}}for(var G in F){if(F[G]!=Object.prototype[G]&&G.toLowerCase()!="movie"){AR(L,G,F[G])}}D.parentNode.replaceChild(L,D);J=L}}return J}function AR(D,B,C){var A=Ap("param");A.setAttribute("name",B);A.setAttribute("value",C);D.appendChild(A)}function Av(B){var A=AP(B);if(A&&A.nodeName=="OBJECT"){if(Ak.ie&&Ak.win){A.style.display="none";(function(){if(A.readyState==4){AO(B)}else{setTimeout(arguments.callee,10)}})()}else{A.parentNode.removeChild(A)}}}function AO(C){var B=AP(C);if(B){for(var A in B){if(typeof B[A]=="function"){B[A]=null}}B.parentNode.removeChild(B)}}function AP(C){var A=null;try{A=AH.getElementById(C)}catch(B){}return A}function Ap(A){return AH.createElement(A)}function AG(C,A,B){C.attachEvent(A,B);Ag[Ag.length]=[C,A,B]}function As(C){var B=Ak.pv,A=C.split(".");A[0]=parseInt(A[0],10);A[1]=parseInt(A[1],10)||0;A[2]=parseInt(A[2],10)||0;return(B[0]>A[0]||(B[0]==A[0]&&B[1]>A[1])||(B[0]==A[0]&&B[1]==A[1]&&B[2]>=A[2]))?true:false}function AD(F,C,E,G){if(Ak.ie&&Ak.mac){return}var A=AH.getElementsByTagName("head")[0];if(!A){return}var B=(E&&typeof E=="string")?E:"screen";if(G){AL=null;At=null}if(!AL||At!=B){var D=Ap("style");D.setAttribute("type","text/css");D.setAttribute("media",B);AL=A.appendChild(D);if(Ak.ie&&Ak.win&&typeof AH.styleSheets!=Aq&&AH.styleSheets.length>0){AL=AH.styleSheets[AH.styleSheets.length-1]}At=B}if(Ak.ie&&Ak.win){if(AL&&typeof AL.addRule==Az){AL.addRule(F,C)}}else{if(AL&&typeof AH.createTextNode!=Aq){AL.appendChild(AH.createTextNode(F+" {"+C+"}"))}}}function AE(C,A){if(!AK){return}var B=A?"visible":"hidden";if(Ah&&AP(C)){AP(C).style.visibility=B}else{AD("#"+C,"visibility:"+B)}}function Aj(B){var C=/[\\\"<>\.;]/;var A=C.exec(B)!=null;return A&&typeof encodeURIComponent!=Aq?encodeURIComponent(B):B}var AQ=function(){if(Ak.ie&&Ak.win){window.attachEvent("onunload",function(){var E=Ag.length;for(var F=0;F<E;F++){Ag[F][0].detachEvent(Ag[F][1],Ag[F][2])}var D=Al.length;for(var A=0;A<D;A++){Av(Al[A])}for(var C in Ak){Ak[C]=null}Ak=null;for(var B in swfobject){swfobject[B]=null}swfobject=null})}}();return{registerObject:function(E,B,A,D){if(Ak.w3&&E&&B){var C={};C.id=E;C.swfVersion=B;C.expressInstall=A;C.callbackFn=D;AM[AM.length]=C;AE(E,false)}else{if(D){D({success:false,id:E})}}},getObjectById:function(A){if(Ak.w3){return Aw(A)}},embedSWF:function(F,G,H,E,J,C,K,D,B,A){var I={success:false,id:G};if(Ak.w3&&!(Ak.wk&&Ak.wk<312)&&F&&G&&H&&E&&J){AE(G,false);Ai(function(){H+="";E+="";var M={};if(B&&typeof B===Az){for(var Q in B){M[Q]=B[Q]}}M.data=F;M.width=H;M.height=E;var P={};if(D&&typeof D===Az){for(var L in D){P[L]=D[L]}}if(K&&typeof K===Az){for(var N in K){if(typeof P.flashvars!=Aq){P.flashvars+="&"+N+"="+K[N]}else{P.flashvars=N+"="+K[N]}}}if(As(J)){var O=AC(M,P,G);if(M.id==G){AE(G,true)}I.success=true;I.ref=O}else{if(C&&An()){M.data=C;X(M,P,G,A);return}else{AE(G,true)}}if(A){A(I)}})}else{if(A){A(I)}}},switchOffAutoHideShow:function(){AK=false},ua:Ak,getFlashPlayerVersion:function(){return{major:Ak.pv[0],minor:Ak.pv[1],release:Ak.pv[2]}},hasFlashPlayerVersion:As,createSWF:function(C,B,A){if(Ak.w3){return AC(C,B,A)}else{return undefined}},showExpressInstall:function(D,A,B,C){if(Ak.w3&&An()){X(D,A,B,C)}},removeSWF:function(A){if(Ak.w3){Av(A)}},createCSS:function(A,D,C,B){if(Ak.w3){AD(A,D,C,B)}},addDomLoadEvent:Ai,addLoadEvent:AA,getQueryParamValue:function(A){var D=AH.location.search||AH.location.hash;if(D){if(/\?/.test(D)){D=D.split("?")[1]}if(A==null){return Aj(D)}var C=D.split("&");for(var B=0;B<C.length;B++){if(C[B].substring(0,C[B].indexOf("="))==A){return Aj(C[B].substring((C[B].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(AN){var A=AP(Z);if(A&&AJ){A.parentNode.replaceChild(AJ,A);if(Y){AE(Y,true);if(Ak.ie&&Ak.win){AJ.style.display="block"}}if(Ar){Ar(Ao)}}AN=false}}}}();