(function(g,f,a,h){var b=a.getElementsByTagName("script");var d;if(b[b.length-1].src.substring(0,4)=="http"){var c=b[b.length-1].src.split("/");d=c[0]+"//"+c[2]}else{d=""}g(function(){var k=g("#header"),j=g("#content"),i=g("#container");g(".curves",k).wrapInner("<span><span><span><span></span></span></span></span>").find("input").css("border","0");g(".button-previous-history").click(function(){f.history.go(-1);return false});g("#tabmenu > ul",k).find("li > div > ul").firstLastClass().end().find("li > div > ul a").wrapInner('<span class="inner"/>').prepend('<span class="bottom"/>').end().find("li > div > ul > li").hoverClass().end().timedMenu();g(".teaser.teaser-home",j).equalHeights();g(".col:has(.teaser-content)",j).pairedEqualHeights(".teaser");g(".toggle",j).faqToggler();g("button",k).hoverClass();g("table .round, table .roundrect",j).prev().filter(":not(.roundrect)").filter(":not(.round)").css("padding-right","15px").end().end().end().find("span").css({position:"relative",left:"-10px"});(function(){var l=g(".text-file input[type=file]").stylableUpload({button:'<button class="button button-engaging" type="button"><span>Bladeren</span></button>'});if(g.msieVersion()===0||g.msieVersion()>6){l.hover(function(){g(this).next(".fakefile").find("button").addClass("hover")},function(){g(this).next(".fakefile").find("button").removeClass("hover")})}}());g(".text.text-date .datepicker",j).telfortDatePicker();g(".text:has(.bubble) > input",j).telfortHelpBubble({borderWidth:2,extraoffset:{left:10,top:-4},event:"focus"});g(".tooltip[title]",j).telfortHelpBubble({borderWidth:2,extraoffset:{left:22,top:-7},event:"hover"});g(".attract-tooltip[title], .tooltip-lite[title]",j).telfortHelpBubble({borderWidth:2,extraoffset:{left:10,top:-10},event:"hover"});g(".text input, .text textarea",j).live("focus",function(){g(this).addClass("focus")}).live("blur",function(){g(this).removeClass("focus")});g(".steps",j).telfortFormSteps();g(".vertical-steps",j).telfortFormSteps();g("fieldset.section > div:has(.suboptions)",j).suboptionsSlider();g.extend(g.telfortPopup.popupTypes,{aanmelden:{width:700,height:800},specs:{width:600,height:800},internetchat:{width:643,height:565},productinfo:{width:650,height:480},voorwaarden:{width:650,height:480},repairform:{width:650,height:480}});g("a.popup,a[rel~=popup]",j).telfortPopup();g(".tabs",j).telfortTabs();g("a[rel~=tab]",j).click(function(){g(this).telfortTabs(g(this).attr("href"));return false});if(g.browser.mozilla&&g(".progressbar").length>0){g(".progressbar").each(function(){if(g("div",this).outerWidth()==g(this).innerWidth()){g("div",this).addClass("progressFull")}})}if(g("a[rel~=lightbox]").length>0||g("a[rel~=slideshow]").length>0||g("a.gallery_images, a.gallery_videos").length>0){g.ajax({url:d+"/javascript/template/jquery.colorbox.js",async:false,dataType:"script",success:function(){g("a[rel~=lightbox]").each(function(l,m){g(m).bind("click.colorbox",function(){var n=g(this).attr("rel"),o=n.split(" "),q=["auto","wide"],w=["iframe","video","xhr","normal"],p,s,u;for(u=o.length-1;u>=0;u--){if(g.inArray(o[u],q)>-1){p=o[u];break}}for(u=o.length-1;u>=0;u--){if(g.inArray(o[u],w)>-1){s=o[u];break}}var r={width:540,height:null,href:g(m).attr("href"),onComplete:function(){var x=g("#cboxLoadedContent").contents().find(".button-engaging");if(!Modernizr.borderradius&&!Modernizr.boxshadow){if(true||!x.find("shape").length>0){x.modernBox({applyPngFix:false})}else{}}}};if(g.inArray("nocache",o)>-1){if(r.href.indexOf("?")>0){r.href+="&"+Math.round((new Date()).getTime()/1000)}else{r.href+="?"+Math.round((new Date()).getTime()/1000)}}switch(p){case"auto":g.extend(r,{width:null});break;case"wide":g.extend(r,{width:780});break}switch(s){case"iframe":g.colorbox(g.extend(r,{iframe:true,height:"90%",onComplete:function(){}}));break;case"video":g.colorbox(g.extend(r,{iframe:true,width:g(m).attr("data-videowidth"),height:g(m).attr("data-videoheight")}));break;case"xhr":g.colorbox(g.extend(r,{onComplete:function(){var x=g("#cboxLoadedContent").contents().find(".button-engaging");if(!Modernizr.borderradius&&!Modernizr.boxshadow){if(true||!x.find("shape").length>0){x.modernBox({applyPngFix:false})}}g("#colorbox").browserFixes()}}));break;case"normal":default:var t=g(m).attr("href");var v=g(t);g.colorbox(g.extend(r,{inline:true,onOpen:function(){v.show(0)},onCleanup:function(){v.hide(0)}}))}return false})});if(g("a.gallery_images, a.gallery_videos").length>0){g.ajax({url:d+"/javascript/template/telfort.ui.src.js",async:false,dataType:"script",success:function(){var l=function(){return g.metavalue("jsonLightbox")};g("a.gallery_images").bind({click:function(m){var n=l();var o=new telfortUI.mediaGallery(n,{swfObjectScriptUrl:d+"/javascript/template/swfobject.js",videoPlayerSwfUrl:d+"/javascript/template/player.swf",carousel:{singleItemSlide:false,animationDuration:1000,animationEasing:"easeInOutQuad"},viewport:{fadeDuration:200},infobaloon:{beforeAnimationPause:1000,animationSpeed:5},onComplete:function(){g.colorbox.resize()}});g.colorbox({html:'<div id="gallery"></div>',initialWidth:780,initialHeight:696,width:780,height:696,onOpen:function(){},onComplete:function(){o.initialize("images","#gallery")}});return false}});g("a.gallery_videos").bind({click:function(m){var n=l();var o=new telfortUI.mediaGallery(n,{swfObjectScriptUrl:d+"/javascript/template/swfobject.js",videoPlayerSwfUrl:d+"/javascript/template/player.swf",carousel:{singleItemSlide:false,animationDuration:1000,animationEasing:"easeInOutQuad"},viewport:{fadeDuration:200},infobaloon:{beforeAnimationPause:1000,animationSpeed:5},onComplete:function(){g.colorbox.resize()}});g.colorbox({html:'<div id="gallery"></div>',initialWidth:780,initialHeight:651,width:780,height:651,onOpen:function(){},onComplete:function(){o.initialize("videos","#gallery")}});return false}})}})}}})}g("#sidebar > .container, .sidebar > .container").firstLastClass({selector:"h2"});g(".flash").telfortFlash();g("a.print,button.print,input[type=button].print",j).click(function(){f.print();return false});if(a.getElementById("belmeterug")){if(g("#meerdere_aansluitingen").attr("checked")){g("#meerdere_aansluitingen").change()}g("#meerdere_aansluitingen, #een_aansluiting").change(function(){if(!g("#meerdere_aansluitingen").attr("checked")){g("#onderling_ja, #onderling_nee, #buitenland_ja, #buitenland_nee, #mobielinternet_ja, #mobielinternet_nee").removeAttr("checked");g("#aantal_aansluitingen").val("")}})}if(g(".frames-new .frame h3 input").length>0){g(".frame h3").click(function(){g(this).find("input:radio").each(function(){this.checked=true}).triggerHandler("change");g(this).find("input:checkbox").each(function(){this.checked=!this.checked}).triggerHandler("change")});g(".frame h3 input").bind("click change",function(){g(this).parents(".frames:first").children(".frame").each(function(){var l=g(this);if(l.find("input:checked").length>0){l.removeClass("frame-normal").addClass("frame-active")}else{l.removeClass("frame-active").addClass("frame-normal")}})}).triggerHandler("click")}g(".glass:not(.glass-trans) > .container",i).modernBox({contentWrapper:'<div class="innercontainer"/>'});if(Modernizr&&!Modernizr.borderradius){g(".button-engaging").modernBox({applyPngFix:false});g(".progressbar").modernBox({applyPngFix:true})}if(Modernizr&&!Modernizr.lastchild){g("tr:last-child",g("table")).addClass("last")}g.belatedPNG(".button-login, .arrowlink, .colored-balls, .sidebar-stock div, #tabmenu div > ul > li, .steps, .vertical-steps, .heading .callmeback, .heading .chatwithtelfort, .text-date .datepicker, .label.tooltip, .contact-phone",i.add(k),false);if(f.DD_belatedPNG){g(".button-engaging > span, .button-previous",i).filter(function(){return g(this).parents(".with-fallback").length===0}).belatedPNG()}g("html").removeClass("delay-colored-balls")});g(f).load(function(){if(!Modernizr.borderradius){var i="transparent";g('<div class="teaser-link-background"/>').each(function(){i=g(this).appendTo("body").getstyle("background-color");g(this).remove()});g(".borderbottomradius").css({borderWidth:0}).liquidCanvas("[border{color:$COLOR$; width:1}] => bottomRoundedRect{radius:5}".replace("$COLOR$",i));g(".list-links li").each(function(){var l=g(this).children("a").width(),m=g(this).height();g(this).append(g('<div class="teaser-link-background"/>').height(m).css("background","transparent").append(g("<div/>").height(m).width(l+15+23))).find(".teaser-link-background div").liquidCanvas("fill{color:$COLOR$} => roundedRect{radius:10}".replace("$COLOR$",i))}).hoverClass();g(".contentheader #split, .list-top li span").each(function(){g(this).liquidCanvas("fill{color:$COLOR$} => roundedRect{radius:10}".replace("$COLOR$",g(this).getstyle("background-color")))});g(".contentwrapper-divided").each(function(m,l){g(l).css("border",0);$contentWrapperInner=g(".contentwrapper-inner",l);$contentWrapperInner.each(function(p,n){var o=g(n).outerWidth()+2;g(n).css({width:o});if(p==$contentWrapperInner.length-1){g(n).append(g('<div class="corners corners-bottom"/>'));g(n).addClass("contentwrapper-inner-last")}else{if(p==0){g(n).prepend(g('<div class="corners corners-top"/>'));g(n).addClass("contentwrapper-inner-first")}}})});g(".curves").each(function(){var l=g(this).getstyle("border-color");g(this).css("border","0").liquidCanvas("[border{color:$COLOR$;width:1} fill{color:#fff}] => roundedRect{radius:4}".replace("$COLOR$",l))});g(".round:not(.round-left):not(.round-right) span").each(function(){var l=g(this).getstyle("background-color");g(this).css("background","none").liquidCanvas("fill{color:$COLOR$} => roundedRect{radius:10}".replace("$COLOR$",l))});g(".steps li .nr").each(function(){var l=g(this).getstyle("background-color");g(this).css("background","none").liquidCanvas("fill{color:$COLOR$} => ellipse".replace("$COLOR$",l))});g(".vertical-steps li .nr").each(function(){var l=g(this).getstyle("background-color");g(this).css("background","none").liquidCanvas("fill{color:$COLOR$} => ellipse".replace("$COLOR$",l))});g("div.errormessage").each(function(){var l=g(this).getstyle("border-color");g(this).css("border","0").liquidCanvas("[border{color:$COLOR$;width:1} fill{color:#fff}] => roundedRect{radius:10}".replace("$COLOR$",l))})}g("#container").browserFixes();g(".roundrect span").liquidCanvas("fill{color:#e3e3e3} => effectRect{radius:10;effect:'round,straight,straight,round'}");var k,j;g("#menu li.active").each(function(){k=g(this).getstyle("background-color")}).find("a").each(function(){j=g(this).getstyle("background-color")}).andSelf().css("background","none").end().end().liquidCanvas("[movesize{w:'-4';h:'-4';x:2;y:2} dualcolor{from:$FROM$;to:$TO$} border{color:$TO$;width:1}] => effectRect{radius:'10,48%,48%,10';effect:'round,straight,straight,round'}".replace(/\$FROM\$/g,k).replace(/\$TO\$/g,j))});g.fn.browserFixes=function(){if(!Modernizr.borderradius||!Modernizr.rgba){g(".glass-trans > .container",g(this)).css({border:0,background:"none"}).liquidCanvas("[fill{color:'rgba(255,255,255,.80)'} border{color:'rgba(0,0,0,.15)';width:1}] => roundedRect{radius:9}")}if(!Modernizr.borderradius){g(".contentwrapper",g(this)).not(".contentwrapper-divided").each(function(){var i=g(this).getstyle("border-color");g(this).css("border","0").liquidCanvas("[shadow{color:'rgba(0,0,0,.15)';width:2;shift:2} movesize{w:'2';x:'-1'} border{color:$COLOR$;width:1} fill{color:#fff}] => roundedRect{radius:10}".replace("$COLOR$",i))})}};g.telfortPopup={popupTypes:{external:{}}};g.fn.telfortPopup=function(){this.unbind("click.telfortpopup").bind("click.telfortpopup",function(){var k,i,j;g.each((g(this).attr("rel")||"").split(" "),function(m,l){if(l!="popup"&&g.telfortPopup.popupTypes[l]){k=g.telfortPopup.popupTypes[l];i=l;return false}});if(k){g(this).addClass("popup");if(k.width&&k.height){j=f.open(g(this).attr("href"),i,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+k.width+",height="+k.height)}else{j=f.open(g(this).attr("href"))}if(j){j.focus();if(i==="repairform"){j.print();j.focus()}return false}}})};g.fn.telfortFlash=function(){var j=function(l,k){throw String(l)+" (at position "+k+")"};var i=function(r){var q=/\'|\:|\s+|[^\'\s\:]+/g,n,p=false,l=false,m="",k="",o={};r=String(r||"")+" ";while((n=q.exec(r))!==null){if(n[0]=="'"){if(l){p=!p}else{j("Quote in param name is not allowed",n.index);return null}continue}if(/^\s+$/.test(n[0])){if(p&&l){k+=n[0]}else{if(m!==""&&k!==""){o[m]=k}m=k="";p=l=false}continue}if(n[0]==":"){if(l||p){k+=":"}else{l=true}continue}if(l){k+=n[0]}else{m+=n[0]}}return o};if(!g.isFunction(g.fn.flash)){return}return this.each(function(){var m=g(this);if(g.flash.available){var o=i(m.attr("class")),l=o.file,n=o.width,k=o.height;if(String(l||"").length>0){delete o.file;delete o.width;delete o.height;m.empty().flash({swf:l,width:n,height:k,flashvars:o})}}})};g.telfortLightbox=g.extend({types:{normal:{width:480},wide:{width:710},media:{width:480}},options:{debug:false,minHeight:100,windowResize:false,titleFromIframe:false,bgColor:"transparent",showBackground:function(j,i,k){j.content.addClass("lightbox-content").show();j.contentWrapper.addClass("lightbox-content-wrapper");j.full.addClass("lightbox-full").css("z-index",200);j.loading.addClass("lightbox-loading");j.bg.addClass("lightbox-background").css({height:10000,backgroundColor:"black",opacity:0}).fadeTo(500,0.35,k)},showContent:function(j,i,k){if(isNaN(i.width)){i.width=j.contentWrapper.css({visibility:"hidden",display:"block"}).width();j.contentWrapper.css({visibility:"visible",display:"none"})}j.contentWrapper.css({marginTop:(-i.height/2+i.marginScrollTop)-40+"px",marginLeft:(-i.width/2+i.marginScrollLeft)+"px"}).show();g("a.popup,a[rel~=popup]",j.wrapper).telfortPopup();j.content.find("iframe").bind("load",function(){var o,l=g(this).find("body");if(l.length===0){try{o=this.contentDocument||(this.contentWindow?this.contentWindow.document:null)||this.document;l=g(o.body)}catch(q){l=g()}}var m=function(){if(l.length===0){try{l=g(o.body)}catch(t){l=g()}}if(l.length>0){var s=l.height(),r=l.get(0).scrollHeight;g.nyroModalSettings({width:480,height:Math.min(s,r)/0.99+4,windowResizing:true})}else{g.nyroModalSettings({width:480,height:500,windowResizing:true})}if(!Modernizr.borderradius&&!Modernizr.boxshadow){j.wrapper.modernBox({applyPngFix:false});g("#nyroModalWrapper .button-engaging").modernBox({applyPngFix:false})}};var p=false;try{p=!!o.body}catch(n){p=false}if(l.length===0&&!p){g.waitForIt({condition:function(){try{return !!o.body}catch(r){return true}},success:m,timeout:2000})}else{m()}});k()},endShowContent:function(k,j){var i=k.content.find("iframe");if(g.msieVersion()>0&&g.msieVersion()<=6){i.height(i.parent().height())}if(!Modernizr.borderradius&&!Modernizr.boxshadow){k.wrapper.modernBox({applyPngFix:false});g("#nyroModalWrapper .button-engaging").modernBox({applyPngFix:false})}},resize:function(j,i,k){j.contentWrapper.css({width:i.width+"px",height:i.height+"px",marginLeft:i.marginLeft+"px",marginTop:i.marginTop+"px"});k()},hideContent:function(j,i,k){j.contentWrapper.hide();k()},wrap:{div:'<div class="lightbox-wrapper"></div>',ajax:'<div class="lightbox-wrapper lightbox-wrapper-ajax"></div>',form:'<div class="lightbox-wrapper"></div>',formData:'<div class="lightbox-wrapper"></div>',image:'<div class="lightbox-wrapper lightbox-wrapper-image"></div>',swf:'<div class="lightbox-wrapper lightbox-wrapper-flash"></div>',iframe:'<div class="lightbox-wrapper lightbox-wrapper-iframe"></div>',iframeForm:'<div class="lightbox-wrapper lightbox-wrapper-iframe"></div>',manual:'<div class="lightbox-wrapper"></div>'},closeButton:'<button type="button" type="hidden" id="Testvoll" class="button lightbox-close"></button> <a href="#" class="lightbox-close lightbox-button-close">Sluiten</a>',closeSelector:".lightbox-close"},resize:function(){if(g("html").hasClass("msie-7-down")){}}},g.telfortLightbox);g.fn.telfortLightbox=function(k){if(this.length===0){return this}var i=function(l){var m=g(l).attr("href");return(/^#/).test(m)?g(m):g()};var j=function(l){this.each(function(){i(this).hide().children(":last-child").addClass("last-in-lightbox")});this.click(function(){var o=g(this),m=o.attr("rel").split(" "),q=g.telfortLightbox.types.normal;for(var p in g.telfortLightbox.types){if(g.inArray(p,m)>=0){q=g.telfortLightbox.types[p];break}}l=g.extend(q,l,g.telfortLightbox.options);var n=function(s){if(g.inArray("iframe",m)>=0){s.type="iframe";s.forceType="iframe"}s.gallery=null};l.processHandler=n;var r=i(o);if(r.length==1){r.width(l.width).height(l.height);l.width=r.width()}o.nyroModalManual(l);return false})};if(!g.isFunction(g.fn.nyroModal)){g.loadScripts("jquery.nyromodal.js",(function(m,l){return j.apply(m,l)})(this,arguments))}else{j.apply(this,arguments)}};g.extend(g.expr[":"],{idhash:function(j,i,k,l){return(/^#[a-z0-9_\-]+/i).test(g(j).attr("href")||"")}});g.fn.telfortTabs=function(m){var l=function(n){return g(n.map(function(){try{return a.getElementById(g(this).attr("href").replace(/^#/,""))||null}catch(o){return null}}))};var k=function(p){if(typeof p=="string"){p=g("li > a[href=#"+p.replace(/^#/,"")+"]").parent().filter(function(){return !!g(this).data("tabs")}).first()}else{if(typeof p=="object"&&!p.jquery){p=g(p)}}if(p.is("a")){p=p.parents("li:first")}p.removeClass("prev-active next-active").addClass("active").siblings().removeClass("active prev-active next-active active-first active-last").end().prev().addClass("next-active").end().next().addClass("prev-active").end();if(p.is(":first-child")){p.addClass("active-first")}if(p.is(":last-child")){p.addClass("active-last")}var o=p.data("tabs");if(p.length===0||!o){return null}var n=p.children("a:first");if(n.length){o.not(n.attr("href")).hide().end().filter(n.attr("href")).show().end();if(g(".button-engaging").length>0){g(".button-engaging").modernBox({applyPngFix:false})}}return p};var i=function(o){var n=g("#"+o),p=n.parents(".tab")[0];g(".subtab",p).removeClass("active").removeClass("passive").addClass("passive");n.removeClass("passive").addClass("active");g(".subTabs LI A",p).each(function(){var q=g(this).attr("href");if(q.indexOf("|"+o)>0){g(this).removeClass("active").removeClass("passive").addClass("active")}else{g(this).removeClass("active").removeClass("passive").addClass("passive")}})};var j=function(n){if(g(".button-engaging").length>0){g(".button-engaging").modernBox({applyPngFix:false})}n.first().addClass("first").end().last().addClass("last").end().prepend('<span class="filler filler-1"/>').prepend('<span class="filler filler-2"/>').children("a").bind("focus",function(){this.blur()}).end();if(g.msieVersion()<=6){n.hover(function(){var o=g(this).addClass("hover");if(o.is(":first-child")){o.addClass("hover-first")}if(o.is(":last-child")){o.addClass("hover-last")}},function(){g(this).removeClass("hover-first hover-last hover")})}};if(!!m&&!g.isPlainObject(m)){openArr=m.split("|");k(openArr[0]);if(openArr[1]){i(openArr[1])}}return g(this).each(function(){var x=g(this),w=g("li > a:idhash",x),v=x.find("li"),n=x.find("li.active").removeClass("active");var p=0,q=0;v.each(function(){var y=g(this),z=y.height();p+=y.width()+2;q=q<z?z:q}).each(function(){var y=g(this),z=q-y.height();y.find("> a > span").css({"padding-top":3+z/2,"padding-bottom":3+z/2})});if(!x.hasClass("tabs-noautowidth")){v.parents("ul:first").width(p)}k(n);if(w.length===0){j(v);return}var u=l(w);if(x.find("li.active").length===0){x.find("li:first").addClass("active")}v.data("tabs",u).bind("click.tabactivate",function(){k(this);return false}).bind("click.tabhash",(function(){var t=function(y){return(g("a",y).attr("href")||"").replace(/^#/,"")};if(g.navi){return function(){var y=x.attr("id");g.navi.set(y?y+"-tab":"open-tab",t(this));return false}}return function(){a.location.hash="open-"+t(this);return false}}())).filter(".active").triggerHandler("click.tabactivate");var o=x.attr("id"),r,s;if(g.navi){r=g.navi.get(o?o+"-tab":"open-tab");r=r?k(r).attr("id"):""}else{r=(a.location.hash||"").replace(/^#/,"");s=r.split("|");r=s[0];r=r.length>5&&r.substr(0,5).toLowerCase()=="open-"?k(r.substr(5)).attr("id"):"";if(s[1]){i(s[1])}}if(r&&g.fn.scrollTo){g("body").scrollTo(x,500)}j(v);g(".subTabs").each(function(){var C=g(this),A=[],z=false;g("li",C).each(function(){var D=g("a",g(this)).attr("href").split("|");A.push(D[1]);g(this).bind("click",function(){i(D[1])});if(!z&&g("#"+D[1]).hasClass("active")){z=true}});if(!z){for(var t=0;t<A.length;t++){var B=g("#"+A[t]),y=t==0?"active":"passive";B.removeClass("active").removeClass("passive").addClass(y)}}})})};g.fn.suboptionsSlider=function(i){i=g.extend({triggerelement:null,triggerevents:null,selectsuboptions:null},i);return this.each(function(){if(g(this).is(".radio")){g(this).find("> .radio-field > .radio-wrapper > input:radio").bind("change click",function(m,l){var k=typeof l=="object"&&l.initial===true;var n=g(this).parents(".radio:first").find("> .radio-field > .radio-wrapper > input:radio");n.filter(":not(:checked)").each(function(){g(this).parents(".radio-field:first").children(".suboptions").showHideSlider(k,"hide")});n.filter(":checked").each(function(){g(this).parents(".radio-field:first").children(".suboptions").showHideSlider(k,"show")})}).trigger("change",{initial:true})}else{if(g(this).is(".checkbox")){g(this).find("> .checkbox-field > .checkbox-wrapper > input:checkbox").bind("change click",function(n,m){var l=typeof m=="object"&&m.initial===true;var k=g(this).parents(".checkbox-field:first").children(".suboptions");if(g(this).is(":checked")){k.showHideSlider(l,"show")}else{k.showHideSlider(l,"hide")}}).trigger("change",{initial:true})}else{if(i.triggerelement&&i.selectsuboptions){var j=g(this);g(i.triggerelement).bind(i.triggerevents||"change",function(n,m){var s=g(this),q=false,o=typeof m=="object"&&m.initial===true,k=j.children(".suboptions"),l=i.selectsuboptions.call(k,i.triggerelement),p=k.filter(function(){return g.inArray(this,l)!==0});var r=function(){if(q){return}if(g.isFunction(i.aftershowhide)){i.aftershowhide.call(s,o)}q=true};l.showHideSlider(o,"show",r);p.showHideSlider(o,"hide",r)}).trigger("change",{initial:true})}}}})};g.fn.showHideSlider=function(j,k,l){if(j){if(k=="show"){this.show(function(){if(g(".button-engaging").length>0){g(".button-engaging").modernBox({applyPngFix:false})}})}else{this.hide(function(){if(g(".button-engaging").length>0){g(".button-engaging").modernBox({applyPngFix:false})}})}if(g.isFunction(l)){l()}}else{var i=function(){g(this).children().css("position","");if(g.isFunction(l)){l()}};this.children().css("position","static");if(k=="show"){this.slideDown(800,i)}else{this.slideUp(400,i)}}return this};g.fn.hoverClass=function(i){i=g.extend({checkBrowserSupport:true,className:"hover"},i);if(!i.checkBrowserSupport||(!!(a.body.applyElement)&&g.msieVersion()<=6)){this.hover(function(){g(this).addClass("hover")},function(){g(this).removeClass("hover")})}return this};g.fn.equalHeights=function(){var i=0;this.each(function(){i=Math.max(g(this).height(),i)});return this.height(i)};g.fn.pairedEqualHeights=function(p){var o={columns:2,selector:"*"};if(typeof p=="string"){p={selector:p}}p=g.extend(o,p);var j=function(i){return function(r,s){i.smallest=Math.min(s.length,i.smallest)}};var l=function(r){return function(i){return i.get(r)}};var n,k,q,m=[];for(k=0;k+p.columns-1<this.length;k+=p.columns){for(n=k;n<k+p.columns;n++){m.push(g(this.get(n)).children(p.selector))}q={smallest:10000};g.each(m,j(q));for(n=0;n<q.smallest;n++){g(g.map(m,l(n))).equalHeights()}}return this};g.fn.hoverfocus=function(j,i){return this.bind("mouseover focus",j).bind("mouseout blur",i)};g.fn.timedMenu=function(j){j=g.extend({delayhide:500,delayshow:500,showspeed:200,hidespeed:200},j);var k=this;if(k.filter("ul").length>0){k=k.children("li")}else{if(k.filter("li").length===0){k=k.children("ul").children("li")}}k.find("ul").removeClass("closed");var i=function(p,o){var n=o.children("div"),u=n.children("ul"),q=n.height(),t=false,w=false;n.height(0);u.addClass("slidable");var m=0,s=0;var v=function(){if(s!==0){f.clearTimeout(s);s=0}if(m!==0){f.clearTimeout(m);m=0}};var x=function(z){v();var y=function(){n.prevAll("a").parent("li").andSelf().addClass("hover");n.children("ul").removeClass("closed");if(!t){w=false;t=true;n.stop().show().trigger("timedmenu.beforeshow").animate({height:q},j.showspeed,"swing",function(){t=false;o.trigger("timedmenu.aftershow")})}};if(z===true||j.delayshow===0){y()}else{m=f.setTimeout(y,j.delayshow)}};var r=function(z){v();var y=function(){if(!w){t=false;w=true;n.stop().trigger("timedmenu.beforehide").animate({height:0},j.hidespeed,"swing",function(){w=false;n.height(0).hide().prevAll("a").removeClass("hover");o.trigger("timedmenu.afterhide")})}s=0};if(z===true||j.delayhide===0){y()}else{s=f.setTimeout(y,j.delayhide)}};return function(y){if(y.type=="mouseenter"||y.type=="focus"){var z=p.filter(function(){return this!=o.get(0)&&g(this).children(".hover").length>0});z.trigger("timedmenu-hidenow");if(w||!n.is(":visible")){x(z.length>0)}}else{if(y.type=="mouseleave"||y.type=="blur"){r()}else{if(y.type=="timedmenu-shownow"){x(true)}else{if(y.type=="timedmenu-hidenow"){r(true)}}}}}};k.each(function(){var m=g(this);m.bind("mouseenter mouseleave focus blur timedmenu-shownow timedmenu-hidenow",i(k,m))});if(g.msieVersion()>0&&g.msieVersion()<=7){var l=11;g(g.makeArray(k).reverse()).each(function(){g(this).css("z-index",l++)})}return this};g.fn.randomClass=function(k){if(!g.isArray(k)){k=arguments}if(k.length>0){var i=Math.round(Math.random()*k.length+0.5)-1;if(g.readCookie&&g.createCookie){var j=parseInt(g.readCookie("random-class-index"),10);if(i===j){i+=i==k.length-1?-k.length+1:1}g.createCookie("random-class-index",i)}this.addClass(k[i])}return this};g.fn.firstLastClass=function(i){i=g.extend({firstClass:"first",lastClass:"last",selector:"*"},i);return this.each(function(){g(this).children(i.selector).first().addClass(i.firstClass).end().last().addClass(i.lastClass).end()})};g.fn.oddClass=function(j){j=g.extend({className:"odd",startIndex:0,endIndex:0},j);var i=this.children(),k=true;if(typeof j.startIndex=="number"&&typeof j.endIndex=="number"&&(j.startIndex!==0||j.endIndex!==0)){i=i.filter(function(l){return(j.startIndex===0||l>=Math.abs(j.startIndex))&&(j.endIndex===0||l<=(j.endIndex>0?j.endIndex:i.length-1+j.endIndex))})}i.each(function(){if(k){g(this).addClass(j.className)}k=!k});return this};g.getstyle={fn:(function(){if(g("*:first").get(0).currentStyle){return function(i,j){return i.currentStyle[j]}}if(f.getComputedStyle){return function(i,j){return a.defaultView.getComputedStyle(i,null).getPropertyValue(j)}}return function(){return""}})()};g.fn.getstyle=function(j){if(typeof j!="string"){return}var i=function(l){var k=g.getstyle.fn(l,j);if(typeof k=="undefined"||k===""||k===null){j=j.replace(/-(\w)/g,function(n,m,o){return o===0?m.toLowerCase():m.toUpperCase()});k=g.getstyle.fn(l,j)}return k};if(this.length==1){return i(this.get(0))}return this.map(function(){return i(this)})};g.fn.faqToggler=g.fn.togglers=(function(){var n={close:{height:"hide",marginTop:"hide",marginBottom:"hide",paddingTop:"hide",paddingBottom:"hide",opacity:0.5},open:{height:"show",marginTop:"show",marginBottom:"show",paddingTop:"show",paddingBottom:"show",opacity:1},instantclose:{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0.5},instantopen:{height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:"",opacity:1}};var k="faqtoggler-open";if(!Modernizr.opacity){delete n.close.opacity;delete n.open.opacity}var l=function(p){var o=p.children(":header + *");if(!o.length){var o=g(".toggleTarget",p)}return o};var j=function(p){var o=p.children(":header");if(!o.length){o=g(".toggler",p)}return o};var m=function(p){var o=l(p);return p.unbind("close.faqtoggler open.faqtoggler afteropen.faqtoggler afterclose.faqtoggler").bind("close.faqtoggler",function(s,r){var q=!!(r||{instant:false}).instant;p.data(k,false).trigger("beforeclose");var t=function(){p.addClass("toggle-closed");p.trigger("afterclose")};if(q){o.css(n.instantclose);t.call(o)}else{o.animate(n.close,250,"swing",t)}}).bind("open.faqtoggler",function(s,r){var q=!!(r||{instant:false}).instant;p.data(k,true).trigger("beforeopen");if(Modernizr.opacity){o.css({opacity:0.5})}p.removeClass("toggle-closed");var t=function(){p.trigger("afteropen")};if(q){o.css(n.instantopen).show();t.call(o)}else{o.hide().animate(n.open,500,"swing",t)}})};var i=function(o){return function(){if(o.data(k)===true){o.trigger("close")}else{if(o.data(k)===false){o.trigger("open")}}}};return function(p){var o={close:function(x){x=g.extend({instant:false},x);return this.each(function(){var y=g(this);if(y.data(k)===true){y.trigger("close",{instant:x.instant})}})},open:function(x){x=g.extend({instant:false},x);return this.each(function(){var y=g(this);if(y.data(k)===false){y.trigger("open",{instant:x.instant})}})},toggle:function(x){x=g.extend({instant:false},x);return this.each(function(){var y=g(this);if(y.data(k)===true){y.trigger("close",{instant:x.instant})}else{if(y.data(k)===false){y.trigger("open",{instant:x.instant})}}})},status:function(){var x=this.map(function(z,y){return g(this).data(k)===true?"open":"closed"});if(x.length==1){return x[0]}return x},filter:function(y){y=g.extend({by:"",what:""},y);y.by=g.trim(y.by).toLowerCase();y.what=g.trim(y.what).toLowerCase();if(y.by!="open"&&y.by!="closed"){if(y.what=="index"){return g.makeArray(this.map(function(z){return z}))}if(y.what=="id"){return g.makeArray(this.map(function(A,z){return z.id||""}))}return this}var x=this.map(function(A,z){if((g(this).data(k)===true?"open":"closed")==y.by){if(y.what=="index"){return A}if(y.what=="id"){return z.id||""}return this}else{return null}});if(y.what=="index"||y.what=="id"){return g.makeArray(x)}return g(x)},savecookie:function(x){x=g.extend({name:"",days:0},x);if(!x.name){throw'You must supply a cookie name to .togglers("savecookie", ...)'}var y=o.filter.call(this,{by:"open",what:"index"}).join(",");g.createCookie(x.name,y,x.days)},loadcookie:function(x){x=g.extend({name:""},x);if(!x.name){throw'You must supply a cookie name to .togglers("loadcookie", ...)'}var z=[],y=this;g.each((g.readCookie(x.name)||"").split(","),function(C,B){B=parseInt(B,10);var A=y.eq(B);if(A.length){z.push(A)}});o.open.call(g(z),{instant:true})}};if(typeof p=="string"){p=g.trim(p).toLowerCase();if(g.isFunction(o[p])){return o[p].apply(this,Array.prototype.slice.call(arguments,1))}return this}var w=g.extend({autocookie:""},p);this.each(function(x){var y=m(g(this));j(y).unbind("click.faqtoggler").bind("click.faqtoggler",i(y))});var q=g.trim(String(a.location.hash||"").replace(/^#/,"")),v=q.split(","),t=this,u;for(var r=0;r<t.length;r++){var s=g(t[r]);if(s.hasClass("toggle-default-open")){s.data(k,true)}else{if(q.length>0&&g.inArray(s.attr("id"),v)>=0){s.data(k,false)}else{s.data(k,false).addClass("toggle-closed")}}}if(w.autocookie){o.loadcookie.call(t,{name:w.autocookie});t.bind("afteropen.faqtoggler afterclose.faqtoggler",function(){o.savecookie.call(t,{name:w.autocookie})})}return t}}());g.fn.stylableUpload=function(i){i=g.extend({hideclass:"hidden",fakeclass:"fakefile",button:'<button type="button">Browse</button>'},i);if(this.length>0&&(Modernizr.opacity||g.msieVersion()>=6)){this.each(function(){var j=null,k=this;g(this).after(g("<div/>").addClass(i.fakeclass).css("left",this.offsetLeft).css("top",this.offsetTop).append(j=g("<input/>")).append(g(i.button).click(function(){k.click()}))).addClass(i.hideclass).css("opacity",0).bind("change mouseout",function(){if(j!==null){var l=g(this).val(),m=(/[\/\\]([^\/\\]+)$/).exec(l);if(m&&m[1]){l=m[1]}j.val(l)}})});if(this.val()){this.change()}}return this};g.fn.mediaWiki=(function(i){return i.replace(/\n/ig,"<br>").replace(/(==)(.*?)(==)/g,"<strong>$2</strong><br/>").replace(/(''')(.*?)(''')/g,"<strong>$2</strong>").replace(/(\[\[)(.*?)\|(.*?)(\]\])/g,'<a href="$2">$3</a>');replace(/(\[\[)(.*?)(\]\])/g,'<a href="$2">$2</a>')});g.fn.telfortHelpBubble=(function(){var i=[];return function(o){o=g.extend({bubbles:".bubble",borderColor:"auto",borderWidth:"auto",extraoffset:{left:0,top:0},event:"focus",action:"none",delay:500,callback:null},o);var m=[];var k=(function(){if(g.isFunction(g.fn.mediaWiki)){return function(t){return g(this).html(g.fn.mediaWiki(t.replace(/\\n/gi,"\n")))}}return function(t){return g(this).text(t)}}());var l=g(this.map(function(){var v=g(this),u=v.nextAll(o.bubbles);if(u.length===0){u=g(v.data("bubble"))}if(v.attr("title").length>0){if(u.length===0){u=g("<div/>",{className:"bubble bubble-active"}).append(k.call(g("<div/>",{className:"bubble-text"}),v.attr("title")));v.removeAttr("title");return v.data("bubble",u.get(0)).after(u).get(0)}else{return v.removeAttr("title").data("bubble",u.get(0)).get(0)}}else{if(u.length>0){return v.data("bubble",u.get(0)).get(0)}}return null}));var n=function(t){if(g.isFunction(o.callback)){o.callback.call(this,t)}};var q=function(){var C=g(this),B=g(C.data("bubble")).data("input",C),y=C.data("bubble-initialized");if(B.length===0){return}if(B.hasClass("bubble-inactive")){return}var w,v,A,x,u,z=false;if(y===true){w=g.extend({left:0,top:0},o.extraoffset);v={left:C.offset().left+C.width()+w.left,top:C.offset().top+w.top};B.css({left:v.left,top:v.top});B.show()}else{x=o.borderColor;u=o.borderWidth;w=g.extend({left:0,top:0},o.extraoffset);if(typeof g.fn.getstyle=="function"){x=x=="auto"?B.getstyle("border-left-color")||"black":x;u=u=="auto"?parseInt(B.getstyle("border-left-width"),10)||0:u}A=g.viewportSize?g.viewportSize():{width:65536,height:65536};v={left:C.offset().left+C.width()+w.left,top:C.offset().top+w.top};B.appendTo("body").css({border:0,position:"absolute","z-index":1001,left:v.left,top:v.top});if(B.width()+v.left>A.width){B.css({left:C.offset().left-B.width()-w.left});z=true}B.show().children("div").liquidCanvas("[fill{color:#fff} border{color:$COLOR$;width:$WIDTH$}] => effectRect{radius:0;arrow:'$ARROW$'}".replace("$COLOR$",x).replace("$WIDTH$",u).replace("$ARROW$",z?"right start 11 18 6":"left end 11 18 6"));C.data("bubble-initialized",true);n.call(B,"show")}i.push(B.get(0));m.push(B.get(0))};var r=function(){var t=g(g(this).data("bubble"));if(typeof t!="object"||t.length===0){return}g(t).hide();var u=g.inArray(t.get(0),m);if(u>=0){m.splice(u,1)}u=g.inArray(t.get(0),i);if(u>=0){i.splice(u,1)}n.call(t,"hide")};var s=function(){var w=g(this),u=w.data("bubble"),v=w.data("input"),x=g.extend({left:0,top:0},o.extraoffset);w.css({left:v.offset().left+v.width()+x.left,top:v.offset().top+x.top});n.call(u,"reposition")};var p=function(){if(i.length>0){g(i).hide();for(var t=0;t<i.length;t++){n.call(g(i[t]),"hide")}i=m=[]}};var j=function(u){var v=0;var t=function(){if(v>0){f.clearTimeout(v)}};return function(w){if(w.type=="mouseenter"){t();v=f.setTimeout(function(){q.call(u)},o.delay)}else{if(w.type=="mouseleave"){t();v=f.setTimeout(function(){r.call(u)},o.delay)}else{if(w.type=="click"){t();q.call(u)}}}}};o.action=g.trim(o.action).toLowerCase();o.event=g.trim(o.event).toLowerCase();switch(o.action){case"show":q.call(l);if(o.delay){f.setTimeout(function(){r.call(l)},o.delay)}break;case"hide":r.call(l);break;case"hideall":p();break}switch(o.event){case"focus":l.unbind(".helpbubble").bind("focus.helpbubble",q).bind("blur.helpbubble",r);break;case"hover":l.each(function(){var t=g(this),u=parseInt(t.getstyle("padding-right"),10)||0;if(t.get(0).tagName.toLowerCase()!="img"){t.append(g("<span/>",{className:"grow",width:t.width()+u+10,height:t.height()+10}))}else{t.attr("alt","")}t.add(t.data("bubble")).unbind(".helpbubble").bind("mouseenter.helpbubble mouseleave.helpbubble click.helpbubble",j(t))});break}g(f).resize(function(){g.each(m,s)});return this}}());g.fn.telfortDatePicker=function(){var i=this;if(i.length===0){return this}if(typeof g.fn.bgiframe!="function"||typeof g.fn.datePicker!="function"){g.loadScripts("jquery.bgiframe.js","jquery.datepicker.js",function(){if(typeof g.dpText=="undefined"){throw"jQuery.dpText is undefined. Common cause: jQuery may have been loaded more than once."}g.dpText.TEXT_PREV_YEAR="Jaar terug";g.dpText.TEXT_PREV_MONTH="Maand terug";g.dpText.TEXT_NEXT_YEAR="Jaar vooruit";g.dpText.TEXT_NEXT_MONTH="Maand vooruit";g.dpText.TEXT_CLOSE="Sluiten";g.dpText.TEXT_CHOOSE_DATE="Kies datum";g.dpConst.SHOW_HEADER_SHORT=false;Date.dayNames=["zo","ma","di","wo","do","vr","za"];var l=function(o,m){m=g.trim(String(m)).toLowerCase();if(m!="ddmmyyyy"&&m!="mmddyyyy"&&m!="yyyymmdd"){m="ddmmyyyy"}var s=/^(\d{1,2})[\s\.\/\-](\d{1,2})[\s\.\/\-](\d{4})$/,r=/^(\d{4})[\s\.\/\-](\d{2})[\s\.\/\-](\d{2})$/;o=g.trim(String(o));var n=function(z,y,w,v){var u=y.exec(z),x;if(g.isArray(u)){u=u.slice(1);if(typeof w=="number"&&typeof v=="number"&&w!==v){x=u[w];u[w]=u[v];u[v]=x}return u}return null};var q,t=null;switch(m){case"ddmmyyyy":q=n(o,s)||n(o,r,0,2);break;case"mmddyyyy":q=n(o,s,0,1)||n(o,r,0,2);break;case"yyyymmdd":q=n(o,r,0,2);break}if(q!==null){try{t=new Date(Number(q[2]),Number(q[1])-1,Number(q[0]))}catch(p){t=null}}return t};var j=function(n,m){return n.getDate()==m.getDate()&&n.getMonth()==m.getMonth()&&n.getFullYear()==m.getFullYear()};var k=function(o,n){for(var m=0;m<n.length;m++){if(j(n[m],o)){return true}}return false};i.each(function(){var q=g(this).parents(".text-date:first").find(".datepicker-settings").hide(),s=q.find(".datepicker-format").text().replace(/[^dmyj]/gi,"").replace(/j/gi,"y"),o=g(this),t=o.parents(".text-date:first"),r=t.children(".text-day").find("input, select"),m=t.children(".text-month").find("input, select"),p=t.children(".text-year").find("input, select");o.data("datepicker.settings",{startdate:l(q.find(".datepicker-startdate").text(),s),enddate:l(q.find(".datepicker-enddate").text(),s),weekends:q.find(".datepicker-weekends-disabled").length===0,notselectable:q.find(".datepicker-dates-disabled").children().map(function(){return l(g(this).text(),s)})}).datePicker({createButton:false,verticalOffset:22,startDate:o.data("datepicker.settings").startdate.asString(),endDate:o.data("datepicker.settings").enddate.asString(),renderCallback:function(w,u){var v=o.data("datepicker.settings");if((!v.weekends&&u.isWeekend())||k(u,v.notselectable)){w.addClass("disabled")}}}).bind("click",function(){g(this).dpDisplay();if(!Modernizr.borderradius){g(".dp-popup").each(function(){if(g(this).data("datepicker.hascanvas")){return}var w=g(this).getstyle("border-color");g(this).css({border:0,padding:0}).wrapInner('<div class="dp-popup-inner"/>').children(".dp-popup-inner").css("position","static").liquidCanvas("[shadow{color:'rgba(0,0,0,.15)';width:2;shift:2} movesize{w:'2';x:'-1'} border{color:$COLOR$;width:1} fill{color:#fff}] => roundedRect{radius:10}".replace("$COLOR$",w));if(g.msieVersion()==6){g(this).find(".dp-nav-prev").css("left",0)}var v=g(this).find(".dp-calendar"),u=v.width();v.width(g(this).find("table").width());g(this).width(g(this).width()+v.width()-u).data("datepicker.hascanvas",true)})}this.blur();return false}).bind("dateSelected",function(v,u){r.val((u.getDate()<=9?"0":"")+u.getDate());m.val((u.getMonth()<9?"0":"")+(u.getMonth()+1));p.val(u.getFullYear())});var n=g(r.get().concat(m.get(),p.get()));n.bind({focus:function(u){n.addClass("focus")},blur:function(u){var v=new Date(p.val(),m.val()-1,r.val());if(!isNaN(v.getTime())){o.dpSetSelected(v.asString());n.removeClass("focus")}}})})})}return this};g.fn.telfortFormSteps=function(){this.each(function(){if(g(this).hasClass("steps")){var l=g(this).children("li"),j=g(this).width()/l.length;if(j!=Math.round(j)){j=Math.round(j-0.5)}l.width(j).each(function(m){g(this).addClass("nr"+(m+1))})}if(g.webkitVersion()>0){var k=g(this).find(".nr");if(k.length>0){var i=a.defaultView.getComputedStyle(k.get(0),null).getPropertyValue("-webkit-border-top-left-radius");if(!i||i=="0px"){k.css("-webkit-border-radius",k.width())}}}})};g.loadScripts=function(i,m){i=g.grep(arguments,function(n){return typeof n=="string"&&n.length>0});m=g.grep(arguments,function(n){return g.isFunction(n)});var l=0;var k=function(){if(++l==i.length){m[0].apply(this,arguments)}};var j=g("script[src*=default.js],script[src*=default.src.js]").attr("src").replace(/default(\.src)?\.js$/i,"");g.each(i,function(n,o){g.ajax({type:"GET",url:j+o,success:m.length>0?k:null,dataType:"script",cache:true})})};g.createCookie=function(k,l,m){var i="";if(m){var j=new Date();j.setTime(j.getTime()+m*24*60*60*1000);i="; expires="+j.toGMTString()}a.cookie=k+"="+l+i+"; path=/"};g.readCookie=function(k){var m=k+"=",j=a.cookie.split(";"),l,n;for(l=0;l<j.length;l++){n=j[l];while(n.charAt(0)===" "){n=n.substring(1,n.length)}if(n.indexOf(m)===0){return n.substring(m.length,n.length)}}return null};g.msieVersion=function(){if(typeof g.msieVersion.detected!="number"){if(navigator.appName.toLowerCase()!=="microsoft internet explorer"){return 0}var i=/MSIE ([0-9]{1,})[\.0-9]{0,}/i.exec(navigator.userAgent);if(i===null||typeof i[1]=="undefined"){return 0}g.msieVersion.detected=parseInt(i[1],10)}return g.msieVersion.detected};g.webkitVersion=function(){if(typeof g.webkitVersion.detected!="number"){var i=/ AppleWebKit\/([0-9]{1,})[\.0-9]{0,}/.exec(navigator.userAgent);if(i===null||typeof i[1]=="undefined"){return 0}g.webkitVersion.detected=parseInt(i[1],10)}return g.webkitVersion.detected};g.userAgentName=function(){var l=[],j=g.msieVersion(),k;if(j>0){l.push("msie");for(k=4;k<=9;k++){if(j==k){l.push("msie-"+k)}if(j>=k){l.push("msie-"+k+"-up")}if(j<=k){l.push("msie-"+k+"-down")}}if(a.compatMode=="BackCompat"){l.push("msie-quirks")}if(a.documentMode==7&&navigator.userAgent.indexOf("Trident/4.0")>=0){l.push("msie-8-compat")}}else{if(g.webkitVersion()>0){l.push("webkit")}else{if(navigator.appCodeName=="Mozilla"&&navigator.product=="Gecko"){l.push("gecko")}else{if(typeof f.opera!="undefined"){l.push("presto")}}}}return l.join(" ")};g.loadStylesheets=function(){g.each(arguments,function(l,j){var k=function(){g('<link rel="stylesheet" type="text/css"/>').attr("href",j).appendTo("head")};if(!!a.createStyleSheet){try{a.createStyleSheet(j)}catch(m){k()}}else{k()}})};g.waitForIt=function(i){i=g.extend({condition:function(){return true},success:function(){},timeout:-1},i);if(!g.isFunction(i.condition)||!g.isFunction(i.success)){return}var j=new Date().getTime();var k=function(){if(i.condition()){i.success()}else{if(i.timeout<=0||new Date().getTime()-j<i.timeout){f.setTimeout(k,50)}}};f.setTimeout(k,50)};g.viewportSize=function(){var j=[],m=[];if(a.body.clientWidth){j.push(a.body.clientWidth);m.push(a.body.clientHeight)}if(f.innerWidth){j.push(f.innerWidth);m.push(f.innerHeight)}if(a.documentElement&&a.documentElement.clientWidth){j.push(a.documentElement.clientWidth);m.push(a.documentElement.clientHeight)}if(j.length==1){return{width:j[0],height:m[0]}}if(j.length>1){var l,k=65536,n=65336;for(l=0;l<j.length;l++){k=Math.min(k,j[l]);n=Math.min(n,m[l])}return{width:k,height:n}}return{width:0,height:0}};g("html").randomClass(["color-1","color-3","color-4","color-5","color-6"]).addClass("delay-colored-balls script-loaded").addClass(g.userAgentName())})(this.jQuery.noConflict(),this,this.document,document.getElementsByTagName("script")[document.getElementsByTagName("script").length-1].src);(function(f,d,b){var a=f.scrollTo=function(i,h,g){f(d).scrollTo(i,h,g)};function c(g){return typeof g=="object"?g:{top:g,left:g}}a.defaults={axis:"xy",duration:parseFloat(f.fn.jquery)>=1.3?0:1};a.window=function(g){return f(d)._scrollable()};f.fn._scrollable=function(){return this.map(function(){var h=this,g=!h.nodeName||f.inArray(h.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!g){return h}var i=(h.contentWindow||h).document||h.ownerDocument||h;return f.browser.safari||i.compatMode=="BackCompat"?i.body:i.documentElement})};f.fn.scrollTo=function(i,h,g){if(typeof h=="object"){g=h;h=0}if(typeof g=="function"){g={onAfter:g}}if(i=="max"){i=9000000000}g=f.extend({},a.defaults,g);h=h||g.speed||g.duration;g.queue=g.queue&&g.axis.length>1;if(g.queue){h/=2}g.offset=c(g.offset);g.over=c(g.over);return this._scrollable().each(function(){var o=this,m=f(o),n=i,l,j={},p=m.is("html,body");function k(q){m.animate(j,h,g.easing,q&&function(){q.call(this,i,g)})}switch(typeof n){case"number":case"string":if(/^([+\-]=)?\d+(\.\d+)?(px|%)?$/.test(n)){n=c(n);break}n=f(n,this);if(n.is||n.style){l=(n=f(n)).offset()}break;case"object":if(n.is||n.style){l=(n=f(n)).offset()}break}f.each(g.axis.split(""),function(t,u){var v=u=="x"?"Left":"Top",x=v.toLowerCase(),s="scroll"+v,r=o[s],q=a.max(o,u);if(l){j[s]=l[x]+(p?0:r-m.offset()[x]);if(g.margin){j[s]-=parseInt(n.css("margin"+v),10)||0;j[s]-=parseInt(n.css("border"+v+"Width"),10)||0}j[s]+=g.offset[x]||0;if(g.over[x]){j[s]+=n[u=="x"?"width":"height"]()*g.over[x]}}else{var w=n[x];j[s]=w.slice&&w.slice(-1)=="%"?parseFloat(w)/100*q:w}if(/^\d+$/.test(j[s])){j[s]=j[s]<=0?0:Math.min(j[s],q)}if(!t&&g.queue){if(r!=j[s]){k(g.onAfterFirst)}delete j[s]}});k(g.onAfter)}).end()};a.max=function(m,l){var k=l=="x"?"Width":"Height",h="scroll"+k;if(!f(m).is("html,body")){return m[h]-f(m)[k.toLowerCase()]()}var j="client"+k,i=m.ownerDocument.documentElement,g=m.ownerDocument.body;return Math.max(i[h],g[h])-Math.min(i[j],g[j])};f.createCircle=(function(){var i=100/43,h=44/215,g=407/500;return function(k){k=f.extend({size:100,color:"#000"},k);var j={position:"relative",padding:0,border:0,outline:0,background:"none","vertical-align":"baseline"};return f("<div/>",{css:f.extend({width:k.size,height:k.size,"max-width":k.size,"max-height":k.size,overflow:"hidden"},j)}).append(f("<div/>",{text:String.fromCharCode(9679),css:f.extend({color:k.color,"font-family":"Arial,sans-serif","font-size":k.size*i,"font-weight":"normal","font-style":"normal","text-decoration":"none","line-height":1,"text-indent":-k.size*h,top:-k.size*g+1},j,{position:"absolute"})}))}}());f.metavalue=function(g){g=f.trim(g).toLowerCase();var h=f("head > meta").filter(function(){var i=f(this);return f.trim(i.attr("name")).toLowerCase()==g||f.trim(i.attr("http-equiv")).toLowerCase()==g});if(h.length===0){return""}if(h.length==1){return h.attr("content")}return h.map(function(){return f(this).attr("content")})}})(this.jQuery,this,this.document);try{document.execCommand("BackgroundImageCache",false,true)}catch(e){};
