function getCookie(a){var b,c,d,e=document.cookie.split(";");for(b=0;b<e.length;b++){c=e[b].substr(0,e[b].indexOf("="));d=e[b].substr(e[b].indexOf("=")+1);c=c.replace(/^\s+|\s+$/g,"");if(c==a){return unescape(d)}}}function setCookie(a,b,c){var d=new Date;d.setDate(d.getDate()+c);var e=escape(b)+(c==null?"":"; expires="+d.toUTCString());document.cookie=a+"="+e}function sponsorCycle(){$("#sponsorCycleBottom").cycle({fx:"fade",speed:5e3})}function openLightbox(a,b,c){var d=b-20;$.modal('<iframe src="'+a+'" height="'+c+'" width="'+d+'" frameborder="0">',{opacity:80,overlayCss:{backgroundColor:"#000"},closeClass:"lightboxClose",containerCss:{backgroundColor:"#fff",borderColor:"#999",height:c,padding:0,width:b},overlayClose:true})}function lightboxNewsletter(){var a=$(".newsletterEmail").parent().children(".newsletterEmail").val();var b="http://aabsport.us1.list-manage.com/subscribe?u=12aa8eeef3426daf67b4d1aa2&id=4ffafe533c&MERGE0="+a;if(a!="Skriv din mailadresse her"){$.modal('<iframe src="'+b+'" height="650" width="700" frameborder="0">',{opacity:80,overlayCss:{backgroundColor:"#000"},closeClass:"lightboxClose",containerCss:{backgroundColor:"#fff",borderColor:"#999",height:653,padding:0,width:700},overlayClose:true})}else{alert("Udfyld venligst din mailadresse i feltet til venstre for tilmeld-knappen")}}function updateInput(a,b){if(a.value==b){a.value=""}else{if(a.value==""){a.value=b}}}function sliderMakeCycle(){var a=0;var b=$(".matchListWrapper > li").size();sliderCheck(a,b);$("#matchNext .btnNext").bind("click",function(){a++;sliderCheck(a,b)});$("#matchPrevious .btnPrevious").bind("click",function(){a--;sliderCheck(a,b)});$(".matchListWrapper").cycle({fx:"scrollHorz",timeout:0,speed:600,prev:"#matchPrevious .btnPrevious",next:"#matchNext .btnNext"})}function sliderCheck(a,b){if(a>=b-1){$("#btnNext").toggleClass("hidden");$("#btnNext_ia").toggleClass("hidden")}else{$("#btnNext").removeClass("hidden");$("#btnNext_ia").addClass("hidden")}if(a<=0){$("#btnPrevious").toggleClass("hidden");$("#btnPrevious_ia").toggleClass("hidden")}else{$("#btnPrevious").removeClass("hidden");$("#btnPrevious_ia").addClass("hidden")}}function makeSlider2(a){$("#newsItemText .date").html($("#movers-row-first").find(".date").html());$("#newsItemText .content .teaserlink").attr("href",$("#movers-row-first").find(".url").html());$("#newsItemText .content .teaserlink").attr("title",$("#movers-row-first").find(".head").html());$("#newsItemText .content .head").html($("#movers-row-first").find(".teaser").html());var b=null;var c,d;var e=0;theInterval=function(a,d){clearInterval(b);if(typeof a!="undefined")e=a;$(".stripNav ul li a").eq(e).trigger("click");if(d=="click"){c.removeClass("active-thumb");c.eq(e).addClass("active-thumb");$(".stripNav ul li a").eq(e).trigger("click");$("#newsItemText .content .date").html(c.eq(e).find(".date").html());$("#newsItemText .content .teaserlink").attr("href",c.eq(e).find(".url").html());$("#newsItemText .content .teaserlink").attr("title",c.eq(e).find(".head").html());$("#newsItemText .content .head").html(c.eq(e).find(".teaser").html());e++;if(4==e)e=0}else{b=setInterval(function(){c.removeClass("active-thumb");c.eq(e).addClass("active-thumb");$(".stripNav ul li a").eq(e).trigger("click");$("#newsItemText .content .date").html(c.eq(e).find(".date").html());$("#newsItemText .content .teaserlink").attr("href",c.eq(e).find(".url").html());$("#newsItemText .content .teaserlink").attr("title",c.eq(e).find(".head").html());$("#newsItemText .content .head").html(c.eq(e).find(".teaser").html());e++;if(4==e)e=0},5e3)}};$("#main-photo-slider").codaSlider({autoSlide:true,autoSlideInterval:5500,autoHeightEaseDuration:2500,autoHeightEaseFunction:"easeInOutElastic",slideEaseDuration:2500,slideEaseFunction:"easeInOutElastic",autoSlideStopWhenClicked:true,crossLinking:false});d=$(".nav-thumb");c=$("a.cross-link");$("a.cross-link").mouseover(function(){var a=$(this);var b="#"+$(this).find(".position").html();theInterval($(this).find(".position").html()-1,"click");$("#newsItemText .content .date").html(a.find(".date").html());$("#newsItemText .content .teaserlink").attr("href",a.find(".url").html());$("#newsItemText .content .teaserlink").attr("title",a.find(".head").html());$("#newsItemText .content .head").html(a.find(".teaser").html());return false;c.removeClass("active-thumb");$(this).addClass("active-thumb");return false});theInterval()}function makeSlider(){$("#newsItemText .date").html($("#movers-row-first").find(".date").html());$("#newsItemText .content .teaserlink").attr("href",$("#movers-row-first").find(".url").html());$("#newsItemText .content .teaserlink").attr("title",$("#movers-row-first").find(".head").html());$("#newsItemText .content .head").html($("#movers-row-first").find(".teaser").html());var a=null;var b,c;var d=0;theInterval=function(c){clearInterval(a);if(typeof c!="undefined")d=c;$(".stripNav ul li a").eq(d).trigger("click");a=setInterval(function(){b.removeClass("active-thumb");b.eq(d).addClass("active-thumb");$(".stripNav ul li a").eq(d).trigger("click");$("#newsItemText .content .date").html(b.eq(d).find(".date").html());$("#newsItemText .content .teaserlink").attr("href",b.eq(d).find(".url").html());$("#newsItemText .content .teaserlink").attr("title",b.eq(d).find(".head").html());$("#newsItemText .content .head").html(b.eq(d).find(".teaser").html());d++;if(4==d)d=0},5e3)};$("#main-photo-slider").codaSlider({slideEaseDuration:2500,autoHeightEaseDuration:2500});c=$(".nav-thumb");b=$("a.cross-link");theInterval()}(function($){$.extend({tablesorter:new function(){function getCachedSortType(a,b){return a[b].type}function sortNumericDesc(a,b){return b-a}function sortNumeric(a,b){return a-b}function sortTextDesc(a,b){if(table.config.sortLocaleCompare)return b.localeCompare(a);return b<a?-1:b>a?1:0}function sortText(a,b){if(table.config.sortLocaleCompare)return a.localeCompare(b);return a<b?-1:a>b?1:0}function makeSortNumericDesc(a){return"b["+a+"]-a["+a+"];"}function makeSortNumeric(a){return"a["+a+"]-b["+a+"];"}function makeSortTextDesc(a){return"((b["+a+"] < a["+a+"]) ? -1 : ((b["+a+"] > a["+a+"]) ? 1 : 0));"}function makeSortText(a){return"((a["+a+"] < b["+a+"]) ? -1 : ((a["+a+"] > b["+a+"]) ? 1 : 0));"}function makeSortFunction(a,b,c){var d="a["+c+"]",e="b["+c+"]";if(a=="text"&&b=="asc"){return"("+d+" == "+e+" ? 0 : ("+d+" === null ? Number.POSITIVE_INFINITY : ("+e+" === null ? Number.NEGATIVE_INFINITY : ("+d+" < "+e+") ? -1 : 1 )));"}else if(a=="text"&&b=="desc"){return"("+d+" == "+e+" ? 0 : ("+d+" === null ? Number.POSITIVE_INFINITY : ("+e+" === null ? Number.NEGATIVE_INFINITY : ("+e+" < "+d+") ? -1 : 1 )));"}else if(a=="numeric"&&b=="asc"){return"("+d+" === null && "+e+" === null) ? 0 :("+d+" === null ? Number.POSITIVE_INFINITY : ("+e+" === null ? Number.NEGATIVE_INFINITY : "+d+" - "+e+"));"}else if(a=="numeric"&&b=="desc"){return"("+d+" === null && "+e+" === null) ? 0 :("+d+" === null ? Number.POSITIVE_INFINITY : ("+e+" === null ? Number.NEGATIVE_INFINITY : "+e+" - "+d+"));"}}function multisort(table,sortList,cache){if(table.config.debug){var sortTime=new Date}var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length;for(var i=0;i<l;i++){var c=sortList[i][0];var order=sortList[i][1];var s=table.config.parsers[c].type=="text"?order==0?makeSortFunction("text","asc",c):makeSortFunction("text","desc",c):order==0?makeSortFunction("numeric","asc",c):makeSortFunction("numeric","desc",c);var e="e"+i;dynamicExp+="var "+e+" = "+s;dynamicExp+="if("+e+") { return "+e+"; } ";dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++){dynamicExp+="}; "}dynamicExp+="return 0; ";dynamicExp+="}; ";if(table.config.debug){benchmark("Evaling expression:"+dynamicExp,new Date)}eval(dynamicExp);cache.normalized.sort(sortWrapper);if(table.config.debug){benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime)}return cache}function updateHeaderSortCount(a,b){var c=a.config,d=b.length;for(var e=0;e<d;e++){var f=b[e],g=c.headerList[f[0]];g.count=f[1];g.count++}}function fixColumnWidth(a,b){var c=a.config;if(c.widthFixed){var d=$("<colgroup>");$("tr:first td",a.tBodies[0]).each(function(){d.append($("<col>").css("width",$(this).width()))});$(a).prepend(d)}}function setHeadersCss(a,b,c,d){b.removeClass(d[0]).removeClass(d[1]);var e=[];b.each(function(a){if(!this.sortDisabled){e[this.column]=$(this)}});var f=c.length;for(var g=0;g<f;g++){e[c[g][0]].addClass(d[c[g][1]])}}function isValueInArray(a,b){var c=b.length;for(var d=0;d<c;d++){if(b[d][0]==a){return true}}return false}function formatSortingOrder(a){if(typeof a!="Number"){return a.toLowerCase()=="desc"?1:0}else{return a==1?1:0}}function getWidgetById(a){var b=widgets.length;for(var c=0;c<b;c++){if(widgets[c].id.toLowerCase()==a.toLowerCase()){return widgets[c]}}}function applyWidget(a){var b=a.config.widgets;var c=b.length;for(var d=0;d<c;d++){getWidgetById(b[d]).format(a)}}function checkHeaderOptionsSortingLocked(a,b){if(a.config.headers[b]&&a.config.headers[b].lockedOrder)return a.config.headers[b].lockedOrder;return false}function checkHeaderOptions(a,b){if(a.config.headers[b]&&a.config.headers[b].sorter===false){return true}return false}function checkHeaderMetadata(a){if($.metadata&&$(a).metadata().sorter===false){return true}return false}function checkCellColSpan(a,b,c){var d=[],e=a.tHead.rows,f=e[c].cells;for(var g=0;g<f.length;g++){var h=f[g];if(h.colSpan>1){d=d.concat(checkCellColSpan(a,headerArr,c++))}else{if(a.tHead.length==1||h.rowSpan>1||!e[c+1]){d.push(h)}}}return d}function computeTableHeaderCellIndexes(a){var b=[];var c={};var d=a.getElementsByTagName("THEAD")[0];var e=d.getElementsByTagName("TR");for(var f=0;f<e.length;f++){var g=e[f].cells;for(var h=0;h<g.length;h++){var i=g[h];var j=i.parentNode.rowIndex;var k=j+"-"+i.cellIndex;var l=i.rowSpan||1;var m=i.colSpan||1;var n;if(typeof b[j]=="undefined"){b[j]=[]}for(var o=0;o<b[j].length+1;o++){if(typeof b[j][o]=="undefined"){n=o;break}}c[k]=n;for(var o=j;o<j+l;o++){if(typeof b[o]=="undefined"){b[o]=[]}var p=b[o];for(var q=n;q<n+m;q++){p[q]="x"}}}}return c}function buildHeaders(a){if(a.config.debug){var b=new Date}var c=$.metadata?true:false;var d=computeTableHeaderCellIndexes(a);$tableHeaders=$(a.config.selectorHeaders,a).each(function(b){this.column=d[this.parentNode.rowIndex+"-"+this.cellIndex];this.order=formatSortingOrder(a.config.sortInitialOrder);this.count=this.order;if(checkHeaderMetadata(this)||checkHeaderOptions(a,b))this.sortDisabled=true;if(checkHeaderOptionsSortingLocked(a,b))this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(a,b);if(!this.sortDisabled){var c=$(this).addClass(a.config.cssHeader);if(a.config.onRenderHeader)a.config.onRenderHeader.apply(c)}a.config.headerList[b]=this});if(a.config.debug){benchmark("Built headers:",b);log($tableHeaders)}return $tableHeaders}function appendToTable(a,b){if(a.config.debug){var c=new Date}var d=b,e=d.row,f=d.normalized,g=f.length,h=f[0].length-1,i=$(a.tBodies[0]),j=[];for(var k=0;k<g;k++){var l=f[k][h];j.push(e[l]);if(!a.config.appender){var m=e[l].length;for(var n=0;n<m;n++){i[0].appendChild(e[l][n])}}}if(a.config.appender){a.config.appender(a,j)}j=null;if(a.config.debug){benchmark("Rebuilt table:",c)}applyWidget(a);setTimeout(function(){$(a).trigger("sortEnd")},0)}function getElementText(a,b){var c="";if(!b)return"";if(!a.supportsTextContent)a.supportsTextContent=b.textContent||false;if(a.textExtraction=="simple"){if(a.supportsTextContent){c=b.textContent}else{if(b.childNodes[0]&&b.childNodes[0].hasChildNodes()){c=b.childNodes[0].innerHTML}else{c=b.innerHTML}}}else{if(typeof a.textExtraction=="function"){c=a.textExtraction(b)}else{c=$(b).text()}}return c}function buildCache(a){if(a.config.debug){var b=new Date}var c=a.tBodies[0]&&a.tBodies[0].rows.length||0,d=a.tBodies[0].rows[0]&&a.tBodies[0].rows[0].cells.length||0,e=a.config.parsers,f={row:[],normalized:[]};for(var g=0;g<c;++g){var h=$(a.tBodies[0].rows[g]),i=[];if(h.hasClass(a.config.cssChildRow)){f.row[f.row.length-1]=f.row[f.row.length-1].add(h);continue}f.row.push(h);for(var j=0;j<d;++j){i.push(e[j].format(getElementText(a.config,h[0].cells[j]),a,h[0].cells[j]))}i.push(f.normalized.length);f.normalized.push(i);i=null}if(a.config.debug){benchmark("Building cache for "+c+" rows:",b)}return f}function getParserById(a){var b=parsers.length;for(var c=0;c<b;c++){if(parsers[c].id.toLowerCase()==a.toLowerCase()){return parsers[c]}}return false}function trimAndGetNodeText(a,b){return $.trim(getElementText(a,b))}function getNodeFromRowAndCellIndex(a,b,c){return a[b].cells[c]}function detectParserForColumn(a,b,c,d){var e=parsers.length,f=false,g=false,h=true;while(g==""&&h){c++;if(b[c]){f=getNodeFromRowAndCellIndex(b,c,d);g=trimAndGetNodeText(a.config,f);if(a.config.debug){log("Checking if value was empty on row:"+c)}}else{h=false}}for(var i=1;i<e;i++){if(parsers[i].is(g,a,f)){return parsers[i]}}return parsers[0]}function buildParserCache(a,b){if(a.config.debug){var c=""}if(a.tBodies.length==0)return;var d=a.tBodies[0].rows;if(d[0]){var e=[],f=d[0].cells,g=f.length;for(var h=0;h<g;h++){var i=false;if($.metadata&&$(b[h]).metadata()&&$(b[h]).metadata().sorter){i=getParserById($(b[h]).metadata().sorter)}else if(a.config.headers[h]&&a.config.headers[h].sorter){i=getParserById(a.config.headers[h].sorter)}if(!i){i=detectParserForColumn(a,d,-1,h)}if(a.config.debug){c+="column:"+h+" parser:"+i.id+"\n"}e.push(i)}}if(a.config.debug){log(c)}return e}function log(a){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(a)}else{alert(a)}}function benchmark(a,b){log(a+","+((new Date).getTime()-b.getTime())+"ms")}var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:true,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:false};this.benchmark=benchmark;this.construct=function(a){return this.each(function(){if(!this.tHead||!this.tBodies)return;var b,c,d,e,f,g=0,h;this.config={};f=$.extend(this.config,$.tablesorter.defaults,a);b=$(this);$.data(this,"tablesorter",f);d=buildHeaders(this);this.config.parsers=buildParserCache(this,d);e=buildCache(this);var i=[f.cssDesc,f.cssAsc];fixColumnWidth(this);d.click(function(a){var c=b[0].tBodies[0]&&b[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&c>0){b.trigger("sortStart");var g=$(this);var h=this.column;this.order=this.count++%2;if(this.lockedOrder)this.order=this.lockedOrder;if(!a[f.sortMultiSortKey]){f.sortList=[];if(f.sortForce!=null){var j=f.sortForce;for(var k=0;k<j.length;k++){if(j[k][0]!=h){f.sortList.push(j[k])}}}f.sortList.push([h,this.order])}else{if(isValueInArray(h,f.sortList)){for(var k=0;k<f.sortList.length;k++){var l=f.sortList[k],m=f.headerList[l[0]];if(l[0]==h){m.count=l[1];m.count++;l[1]=m.count%2}}}else{f.sortList.push([h,this.order])}}setTimeout(function(){setHeadersCss(b[0],d,f.sortList,i);appendToTable(b[0],multisort(b[0],f.sortList,e))},1);return false}}).mousedown(function(){if(f.cancelSelection){this.onselectstart=function(){return false};return false}});b.bind("update",function(){var a=this;setTimeout(function(){a.config.parsers=buildParserCache(a,d);e=buildCache(a)},1)}).bind("updateCell",function(a,b){var c=this.config;var d=[b.parentNode.rowIndex-1,b.cellIndex];e.normalized[d[0]][d[1]]=c.parsers[d[1]].format(getElementText(c,b),b)}).bind("sorton",function(a,b){$(this).trigger("sortStart");f.sortList=b;var c=f.sortList;updateHeaderSortCount(this,c);setHeadersCss(this,d,c,i);appendToTable(this,multisort(this,c,e))}).bind("appendCache",function(){appendToTable(this,e)}).bind("applyWidgetId",function(a,b){getWidgetById(b).format(this)}).bind("applyWidgets",function(){applyWidget(this)});if($.metadata&&$(this).metadata()&&$(this).metadata().sortlist){f.sortList=$(this).metadata().sortlist}if(f.sortList.length>0){b.trigger("sorton",[f.sortList])}applyWidget(this)})};this.addParser=function(a){var b=parsers.length,c=true;for(var d=0;d<b;d++){if(parsers[d].id.toLowerCase()==a.id.toLowerCase()){c=false}}if(c){parsers.push(a)}};this.addWidget=function(a){widgets.push(a)};this.formatFloat=function(a){var b=parseFloat(a);return isNaN(b)?0:b};this.formatInt=function(a){var b=parseInt(a);return isNaN(b)?0:b};this.isDigit=function(a,b){return/^[-+]?\d*$/.test($.trim(a.replace(/[,.']/g,"")))};this.clearTableBody=function(a){if($.browser.msie){function b(){while(this.firstChild)this.removeChild(this.firstChild)}b.apply(a.tBodies[0])}else{a.tBodies[0].innerHTML=""}}}});$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(a){return true},format:function(a){return $.trim(a.toLocaleLowerCase())},type:"text"});ts.addParser({id:"digit",is:function(a,b){var c=b.config;return $.tablesorter.isDigit(a,c)},format:function(a){return $.tablesorter.formatFloat(a)},type:"numeric"});ts.addParser({id:"currency",is:function(a){return/^[Â£$â‚¬?.]/.test(a)},format:function(a){return $.tablesorter.formatFloat(a.replace(new RegExp(/[Â£$â‚¬]/g),""))},type:"numeric"});ts.addParser({id:"ipAddress",is:function(a){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(a)},format:function(a){var b=a.split("."),c="",d=b.length;for(var e=0;e<d;e++){var f=b[e];if(f.length==2){c+="0"+f}else{c+=f}}return $.tablesorter.formatFloat(c)},type:"numeric"});ts.addParser({id:"url",is:function(a){return/^(https?|ftp|file):\/\/$/.test(a)},format:function(a){return jQuery.trim(a.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"});ts.addParser({id:"isoDate",is:function(a){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)},format:function(a){return $.tablesorter.formatFloat(a!=""?(new Date(a.replace(new RegExp(/-/g),"/"))).getTime():"0")},type:"numeric"});ts.addParser({id:"percent",is:function(a){return/\%$/.test($.trim(a))},format:function(a){return $.tablesorter.formatFloat(a.replace(new RegExp(/%/g),""))},type:"numeric"});ts.addParser({id:"usLongDate",is:function(a){return a.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(a){return $.tablesorter.formatFloat((new Date(a)).getTime())},type:"numeric"});ts.addParser({id:"shortDate",is:function(a){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(a)},format:function(a,b){var c=b.config;a=a.replace(/\-/g,"/");if(c.dateFormat=="us"){a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2")}else if(c.dateFormat=="uk"){a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1")}else if(c.dateFormat=="dd/mm/yy"||c.dateFormat=="dd-mm-yy"){a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")}return $.tablesorter.formatFloat((new Date(a)).getTime())},type:"numeric"});ts.addParser({id:"time",is:function(a){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(a)},format:function(a){return $.tablesorter.formatFloat((new Date("2000/01/01 "+a)).getTime())},type:"numeric"});ts.addParser({id:"metadata",is:function(a){return false},format:function(a,b,c){var d=b.config,e=!d.parserMetadataName?"sortValue":d.parserMetadataName;return $(c).metadata()[e]},type:"numeric"});ts.addWidget({id:"zebra",format:function(a){if(a.config.debug){var b=new Date}var c,d=-1,e;$("tr:visible",a.tBodies[0]).each(function(b){c=$(this);if(!c.hasClass(a.config.cssChildRow))d++;e=d%2==0;c.removeClass(a.config.widgetZebra.css[e?0:1]).addClass(a.config.widgetZebra.css[e?1:0])});if(a.config.debug){$.tablesorter.benchmark("Applying Zebra widget",b)}}})})(jQuery);(function(a){a.fn.hoverIntent=function(b,c){var d={sensitivity:7,interval:100,timeout:0};d=a.extend(d,c?{over:b,out:c}:b);var e,f,g,h;var i=function(a){e=a.pageX;f=a.pageY};var j=function(b,c){c.hoverIntent_t=clearTimeout(c.hoverIntent_t);if(Math.abs(g-e)+Math.abs(h-f)<d.sensitivity){a(c).unbind("mousemove",i);c.hoverIntent_s=1;return d.over.apply(c,[b])}else{g=e;h=f;c.hoverIntent_t=setTimeout(function(){j(b,c)},d.interval)}};var k=function(a,b){b.hoverIntent_t=clearTimeout(b.hoverIntent_t);b.hoverIntent_s=0;return d.out.apply(b,[a])};var l=function(b){var c=(b.type=="mouseover"?b.fromElement:b.toElement)||b.relatedTarget;while(c&&c!=this){try{c=c.parentNode}catch(b){c=this}}if(c==this){return false}var e=jQuery.extend({},b);var f=this;if(f.hoverIntent_t){f.hoverIntent_t=clearTimeout(f.hoverIntent_t)}if(b.type=="mouseover"){g=e.pageX;h=e.pageY;a(f).bind("mousemove",i);if(f.hoverIntent_s!=1){f.hoverIntent_t=setTimeout(function(){j(e,f)},d.interval)}}else{a(f).unbind("mousemove",i);if(f.hoverIntent_s==1){f.hoverIntent_t=setTimeout(function(){k(e,f)},d.timeout)}}};return this.mouseover(l).mouseout(l)}})(jQuery);(function(a){function q(b){function e(b){for(;b&&b.nodeName.toLowerCase()!="html";b=b.parentNode){var c=a.css(b,"background-color");if(c.indexOf("rgb")>=0){var e=c.match(/\d+/g);return"#"+d(e[0])+d(e[1])+d(e[2])}if(c&&c!="transparent"){return c}}return"#ffffff"}function d(a){a=parseInt(a).toString(16);return a.length<2?"0"+a:a}c("applying clearType background-color hack");b.each(function(){a(this).css("background-color",e(this))})}function o(b,c){var d=a(c.pager);a.each(b,function(e,f){a.fn.cycle.createPagerAnchor(e,f,d,b,c)});c.updateActivePagerLink(c.pager,c.startingSlide,c.activePagerClass)}function n(b,c){var d=c?1:-1;var e=b.elements;var f=b.$cont[0],g=f.cycleTimeout;if(g){clearTimeout(g);f.cycleTimeout=0}if(b.random&&d<0){b.randomIndex--;if(--b.randomIndex==-2){b.randomIndex=e.length-2}else{if(b.randomIndex==-1){b.randomIndex=e.length-1}}b.nextSlide=b.randomMap[b.randomIndex]}else{if(b.random){b.nextSlide=b.randomMap[b.randomIndex]}else{b.nextSlide=b.currSlide+d;if(b.nextSlide<0){if(b.nowrap){return false}b.nextSlide=e.length-1}else{if(b.nextSlide>=e.length){if(b.nowrap){return false}b.nextSlide=0}}}}var h=b.onPrevNextEvent||b.prevNextClick;if(a.isFunction(h)){h(d>0,b.nextSlide,e[b.nextSlide])}l(e,b,1,c);return false}function m(a,b,d,e){if(d.timeoutFn){var f=d.timeoutFn.call(a,a,b,d,e);while(f-d.speed<250){f+=d.speed}c("calculated timeout: "+f+"; speed: "+d.speed);if(f!==false){return f}}return d.timeout}function l(b,d,e,f){if(e&&d.busy&&d.manualTrump){c("manualTrump in go(), stopping active transition");a(b).stop(true,true);d.busy=false}if(d.busy){c("transition active, ignoring new tx request");return}var g=d.$cont[0],h=b[d.currSlide],i=b[d.nextSlide];if(g.cycleStop!=d.stopCount||g.cycleTimeout===0&&!e){return}if(!e&&!g.cyclePause&&!d.bounce&&(d.autostop&&--d.countdown<=0||d.nowrap&&!d.random&&d.nextSlide<d.currSlide)){if(d.end){d.end(d)}return}var j=false;if((e||!g.cyclePause)&&d.nextSlide!=d.currSlide){j=true;var k=d.fx;h.cycleH=h.cycleH||a(h).height();h.cycleW=h.cycleW||a(h).width();i.cycleH=i.cycleH||a(i).height();i.cycleW=i.cycleW||a(i).width();if(d.multiFx){if(d.lastFx==undefined||++d.lastFx>=d.fxs.length){d.lastFx=0}k=d.fxs[d.lastFx];d.currFx=k}if(d.oneTimeFx){k=d.oneTimeFx;d.oneTimeFx=null}a.fn.cycle.resetState(d,k);if(d.before.length){a.each(d.before,function(a,b){if(g.cycleStop!=d.stopCount){return}b.apply(i,[h,i,d,f])})}var n=function(){a.each(d.after,function(a,b){if(g.cycleStop!=d.stopCount){return}b.apply(i,[h,i,d,f])})};c("tx firing; currSlide: "+d.currSlide+"; nextSlide: "+d.nextSlide);d.busy=1;if(d.fxFn){d.fxFn(h,i,d,n,f,e&&d.fastOnEvent)}else{if(a.isFunction(a.fn.cycle[d.fx])){a.fn.cycle[d.fx](h,i,d,n,f,e&&d.fastOnEvent)}else{a.fn.cycle.custom(h,i,d,n,f,e&&d.fastOnEvent)}}}if(j||d.nextSlide==d.currSlide){d.lastSlide=d.currSlide;if(d.random){d.currSlide=d.nextSlide;if(++d.randomIndex==b.length){d.randomIndex=0}d.nextSlide=d.randomMap[d.randomIndex];if(d.nextSlide==d.currSlide){d.nextSlide=d.currSlide==d.slideCount-1?0:d.currSlide+1}}else{if(d.backwards){var o=d.nextSlide-1<0;if(o&&d.bounce){d.backwards=!d.backwards;d.nextSlide=1;d.currSlide=0}else{d.nextSlide=o?b.length-1:d.nextSlide-1;d.currSlide=o?0:d.nextSlide+1}}else{var o=d.nextSlide+1==b.length;if(o&&d.bounce){d.backwards=!d.backwards;d.nextSlide=b.length-2;d.currSlide=b.length-1}else{d.nextSlide=o?0:d.nextSlide+1;d.currSlide=o?b.length-1:d.nextSlide-1}}}}if(j&&d.pager){d.updateActivePagerLink(d.pager,d.currSlide,d.activePagerClass)}var p=0;if(d.timeout&&!d.continuous){p=m(b[d.currSlide],b[d.nextSlide],d,f)}else{if(d.continuous&&g.cyclePause){p=10}}if(p>0){g.cycleTimeout=setTimeout(function(){l(b,d,0,!d.backwards)},p)}}function k(b,c){b.addSlide=function(d,e){var f=a(d),g=f[0];if(!b.autostopCount){b.countdown++}c[e?"unshift":"push"](g);if(b.els){b.els[e?"unshift":"push"](g)}b.slideCount=c.length;f.css("position","absolute");f[e?"prependTo":"appendTo"](b.$cont);if(e){b.currSlide++;b.nextSlide++}if(!a.support.opacity&&b.cleartype&&!b.cleartypeNoBg){q(f)}if(b.fit&&b.width){f.width(b.width)}if(b.fit&&b.height&&b.height!="auto"){f.height(b.height)}g.cycleH=b.fit&&b.height?b.height:f.height();g.cycleW=b.fit&&b.width?b.width:f.width();f.css(b.cssBefore);if(b.pager||b.pagerAnchorBuilder){a.fn.cycle.createPagerAnchor(c.length-1,g,a(b.pager),c,b)}if(a.isFunction(b.onAddSlide)){b.onAddSlide(f)}else{f.hide()}}}function j(b){var e,f,g=a.fn.cycle.transitions;if(b.fx.indexOf(",")>0){b.multiFx=true;b.fxs=b.fx.replace(/\s*/g,"").split(",");for(e=0;e<b.fxs.length;e++){var h=b.fxs[e];f=g[h];if(!f||!g.hasOwnProperty(h)||!a.isFunction(f)){d("discarding unknown transition: ",h);b.fxs.splice(e,1);e--}}if(!b.fxs.length){d("No valid transitions named; slideshow terminating.");return false}}else{if(b.fx=="all"){b.multiFx=true;b.fxs=[];for(p in g){f=g[p];if(g.hasOwnProperty(p)&&a.isFunction(f)){b.fxs.push(p)}}}}if(b.multiFx&&b.randomizeEffects){var i=Math.floor(Math.random()*20)+30;for(e=0;e<i;e++){var j=Math.floor(Math.random()*b.fxs.length);b.fxs.push(b.fxs.splice(j,1)[0])}c("randomized fx sequence: ",b.fxs)}return true}function i(b){b.original={before:[],after:[]};b.original.cssBefore=a.extend({},b.cssBefore);b.original.cssAfter=a.extend({},b.cssAfter);b.original.animIn=a.extend({},b.animIn);b.original.animOut=a.extend({},b.animOut);a.each(b.before,function(){b.original.before.push(this)});a.each(b.after,function(){b.original.after.push(this)})}function h(b,c,e,g,h){var m=a.extend({},a.fn.cycle.defaults,g||{},a.metadata?b.metadata():a.meta?b.data():{});if(m.autostop){m.countdown=m.autostopCount||e.length}var p=b[0];b.data("cycle.opts",m);m.$cont=b;m.stopCount=p.cycleStop;m.elements=e;m.before=m.before?[m.before]:[];m.after=m.after?[m.after]:[];m.after.unshift(function(){m.busy=0});if(!a.support.opacity&&m.cleartype){m.after.push(function(){f(this,m)})}if(m.continuous){m.after.push(function(){l(e,m,0,!m.backwards)})}i(m);if(!a.support.opacity&&m.cleartype&&!m.cleartypeNoBg){q(c)}if(b.css("position")=="static"){b.css("position","relative")}if(m.width){b.width(m.width)}if(m.height&&m.height!="auto"){b.height(m.height)}if(m.startingSlide){m.startingSlide=parseInt(m.startingSlide)}else{if(m.backwards){m.startingSlide=e.length-1}}if(m.random){m.randomMap=[];for(var r=0;r<e.length;r++){m.randomMap.push(r)}m.randomMap.sort(function(a,b){return Math.random()-.5});m.randomIndex=1;m.startingSlide=m.randomMap[1]}else{if(m.startingSlide>=e.length){m.startingSlide=0}}m.currSlide=m.startingSlide||0;var s=m.startingSlide;c.css({position:"absolute",top:0,left:0}).hide().each(function(b){var c;if(m.backwards){c=s?b<=s?e.length+(b-s):s-b:e.length-b}else{c=s?b>=s?e.length-(b-s):s-b:e.length-b}a(this).css("z-index",c)});a(e[s]).css("opacity",1).show();f(e[s],m);if(m.fit&&m.width){c.width(m.width)}if(m.fit&&m.height&&m.height!="auto"){c.height(m.height)}var t=m.containerResize&&!b.innerHeight();if(t){var u=0,v=0;for(var w=0;w<e.length;w++){var x=a(e[w]),y=x[0],z=x.outerWidth(),A=x.outerHeight();if(!z){z=y.offsetWidth||y.width||x.attr("width")}if(!A){A=y.offsetHeight||y.height||x.attr("height")}u=z>u?z:u;v=A>v?A:v}if(u>0&&v>0){b.css({width:u+"px",height:v+"px"})}}if(m.pause){b.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(j(m)===false){return false}var B=false;g.requeueAttempts=g.requeueAttempts||0;c.each(function(){var b=a(this);this.cycleH=m.fit&&m.height?m.height:b.height()||this.offsetHeight||this.height||b.attr("height")||0;this.cycleW=m.fit&&m.width?m.width:b.width()||this.offsetWidth||this.width||b.attr("width")||0;if(b.is("img")){var c=a.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete;var e=a.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete;var f=a.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete;var i=this.cycleH==0&&this.cycleW==0&&!this.complete;if(c||e||f||i){if(h.s&&m.requeueOnImageNotLoaded&&++g.requeueAttempts<100){d(g.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){a(h.s,h.c).cycle(g)},m.requeueTimeout);B=true;return false}else{d("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(B){return false}m.cssBefore=m.cssBefore||{};m.animIn=m.animIn||{};m.animOut=m.animOut||{};c.not(":eq("+s+")").css(m.cssBefore);if(m.cssFirst){a(c[s]).css(m.cssFirst)}if(m.timeout){m.timeout=parseInt(m.timeout);if(m.speed.constructor==String){m.speed=a.fx.speeds[m.speed]||parseInt(m.speed)}if(!m.sync){m.speed=m.speed/2}var C=m.fx=="shuffle"?500:250;while(m.timeout-m.speed<C){m.timeout+=m.speed}}if(m.easing){m.easeIn=m.easeOut=m.easing}if(!m.speedIn){m.speedIn=m.speed}if(!m.speedOut){m.speedOut=m.speed}m.slideCount=e.length;m.currSlide=m.lastSlide=s;if(m.random){if(++m.randomIndex==e.length){m.randomIndex=0}m.nextSlide=m.randomMap[m.randomIndex]}else{if(m.backwards){m.nextSlide=m.startingSlide==0?e.length-1:m.startingSlide-1}else{m.nextSlide=m.startingSlide>=e.length-1?0:m.startingSlide+1}}if(!m.multiFx){var D=a.fn.cycle.transitions[m.fx];if(a.isFunction(D)){D(b,c,m)}else{if(m.fx!="custom"&&!m.multiFx){d("unknown transition: "+m.fx,"; slideshow terminating");return false}}}var E=c[s];if(m.before.length){m.before[0].apply(E,[E,E,m,true])}if(m.after.length>1){m.after[1].apply(E,[E,E,m,true])}if(m.next){a(m.next).bind(m.prevNextEvent,function(){return n(m,1)})}if(m.prev){a(m.prev).bind(m.prevNextEvent,function(){return n(m,0)})}if(m.pager||m.pagerAnchorBuilder){o(e,m)}k(m,e);return m}function g(b){if(b.next){a(b.next).unbind(b.prevNextEvent)}if(b.prev){a(b.prev).unbind(b.prevNextEvent)}if(b.pager||b.pagerAnchorBuilder){a.each(b.pagerAnchors||[],function(){this.unbind().remove()})}b.pagerAnchors=null;if(b.destroy){b.destroy(b)}}function f(b,c){if(!a.support.opacity&&c.cleartype&&b.style.filter){try{b.style.removeAttribute("filter")}catch(d){}}}function e(b,c,e){function i(b,c,e){if(!b&&c===true){var f=a(e).data("cycle.opts");if(!f){d("options not found, can not resume");return false}if(e.cycleTimeout){clearTimeout(e.cycleTimeout);e.cycleTimeout=0}l(f.elements,f,1,!f.backwards)}}if(b.cycleStop==undefined){b.cycleStop=0}if(c===undefined||c===null){c={}}if(c.constructor==String){switch(c){case"destroy":case"stop":var f=a(b).data("cycle.opts");if(!f){return false}b.cycleStop++;if(b.cycleTimeout){clearTimeout(b.cycleTimeout)}b.cycleTimeout=0;a(b).removeData("cycle.opts");if(c=="destroy"){g(f)}return false;case"toggle":b.cyclePause=b.cyclePause===1?0:1;i(b.cyclePause,e,b);return false;case"pause":b.cyclePause=1;return false;case"resume":b.cyclePause=0;i(false,e,b);return false;case"prev":case"next":var f=a(b).data("cycle.opts");if(!f){d('options not found, "prev/next" ignored');return false}a.fn.cycle[c](f);return false;default:c={fx:c}}return c}else{if(c.constructor==Number){var h=c;c=a(b).data("cycle.opts");if(!c){d("options not found, can not advance slide");return false}if(h<0||h>=c.elements.length){d("invalid slide index: "+h);return false}c.nextSlide=h;if(b.cycleTimeout){clearTimeout(b.cycleTimeout);b.cycleTimeout=0}if(typeof e=="string"){c.oneTimeFx=e}l(c.elements,c,1,h>=c.currSlide);return false}}return c}function d(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}function c(b){if(a.fn.cycle.debug){d(b)}}var b="2.94";if(a.support==undefined){a.support={opacity:!a.browser.msie}}a.fn.cycle=function(b,f){var g={s:this.selector,c:this.context};if(this.length===0&&b!="stop"){if(!a.isReady&&g.s){d("DOM not ready, queuing slideshow");a(function(){a(g.s,g.c).cycle(b,f)});return this}d("terminating; zero elements found by selector"+(a.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var i=e(this,b,f);if(i===false){return}i.updateActivePagerLink=i.updateActivePagerLink||a.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var j=a(this);var k=i.slideExpr?a(i.slideExpr,this):j.children();var n=k.get();if(n.length<2){d("terminating; too few slides: "+n.length);return}var o=h(j,k,n,i,g);if(o===false){return}var p=o.continuous?10:m(n[o.currSlide],n[o.nextSlide],o,!o.backwards);if(p){p+=o.delay||0;if(p<10){p=10}c("first timeout: "+p);this.cycleTimeout=setTimeout(function(){l(n,o,0,!i.backwards)},p)}})};a.fn.cycle.resetState=function(b,c){c=c||b.fx;b.before=[];b.after=[];b.cssBefore=a.extend({},b.original.cssBefore);b.cssAfter=a.extend({},b.original.cssAfter);b.animIn=a.extend({},b.original.animIn);b.animOut=a.extend({},b.original.animOut);b.fxFn=null;a.each(b.original.before,function(){b.before.push(this)});a.each(b.original.after,function(){b.after.push(this)});var d=a.fn.cycle.transitions[c];if(a.isFunction(d)){d(b.$cont,a(b.elements),b)}};a.fn.cycle.updateActivePagerLink=function(b,c,d){a(b).each(function(){a(this).children().removeClass(d).eq(c).addClass(d)})};a.fn.cycle.next=function(a){n(a,1)};a.fn.cycle.prev=function(a){n(a,0)};a.fn.cycle.createPagerAnchor=function(b,d,e,f,g){var h;if(a.isFunction(g.pagerAnchorBuilder)){h=g.pagerAnchorBuilder(b,d);c("pagerAnchorBuilder("+b+", el) returned: "+h)}else{h='<a href="#">'+(b+1)+"</a>"}if(!h){return}var i=a(h);if(i.parents("body").length===0){var j=[];if(e.length>1){e.each(function(){var b=i.clone(true);a(this).append(b);j.push(b[0])});i=a(j)}else{i.appendTo(e)}}g.pagerAnchors=g.pagerAnchors||[];g.pagerAnchors.push(i);i.bind(g.pagerEvent,function(c){c.preventDefault();g.nextSlide=b;var d=g.$cont[0],e=d.cycleTimeout;if(e){clearTimeout(e);d.cycleTimeout=0}var h=g.onPagerEvent||g.pagerClick;if(a.isFunction(h)){h(g.nextSlide,f[g.nextSlide])}l(f,g,1,g.currSlide<b)});if(!/^click/.test(g.pagerEvent)&&!g.allowPagerClickBubble){i.bind("click.cycle",function(){return false})}if(g.pauseOnPagerHover){i.hover(function(){g.$cont[0].cyclePause++},function(){g.$cont[0].cyclePause--})}};a.fn.cycle.hopsFromLast=function(a,b){var c,d=a.lastSlide,e=a.currSlide;if(b){c=e>d?e-d:a.slideCount-d}else{c=e<d?d-e:d+a.slideCount-e}return c};a.fn.cycle.commonReset=function(b,c,d,e,f,g){a(d.elements).not(b).hide();d.cssBefore.opacity=1;d.cssBefore.display="block";if(d.slideResize&&e!==false&&c.cycleW>0){d.cssBefore.width=c.cycleW}if(d.slideResize&&f!==false&&c.cycleH>0){d.cssBefore.height=c.cycleH}d.cssAfter=d.cssAfter||{};d.cssAfter.display="none";a(b).css("zIndex",d.slideCount+(g===true?1:0));a(c).css("zIndex",d.slideCount+(g===true?0:1))};a.fn.cycle.custom=function(b,c,d,e,f,g){var h=a(b),i=a(c);var j=d.speedIn,k=d.speedOut,l=d.easeIn,m=d.easeOut;i.css(d.cssBefore);if(g){if(typeof g=="number"){j=k=g}else{j=k=1}l=m=null}var n=function(){i.animate(d.animIn,j,l,e)};h.animate(d.animOut,k,m,function(){if(d.cssAfter){h.css(d.cssAfter)}if(!d.sync){n()}});if(d.sync){n()}};a.fn.cycle.transitions={fade:function(b,c,d){c.not(":eq("+d.currSlide+")").css("opacity",0);d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.cssBefore.opacity=0});d.animIn={opacity:1};d.animOut={opacity:0};d.cssBefore={top:0,left:0}}};a.fn.cycle.ver=function(){return b};a.fn.cycle.defaults={fx:"fade",timeout:4e3,timeoutFn:null,continuous:0,speed:1e3,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,slideResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!a.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:false}})(jQuery);(function(a){a.fn.cycle.transitions.none=function(b,c,d){d.fxFn=function(b,c,d,e){a(c).show();a(b).hide();e()}};a.fn.cycle.transitions.fadeout=function(b,c,d){c.not(":eq("+d.currSlide+")").css({display:"block",opacity:1});d.before.push(function(b,c,d,e,f,g){a(b).css("zIndex",d.slideCount+(!g===true?1:0));a(c).css("zIndex",d.slideCount+(!g===true?0:1))});d.animIn={opacity:1};d.animOut={opacity:0};d.cssBefore={opacity:1,display:"block"};d.cssAfter={zIndex:0}};a.fn.cycle.transitions.scrollUp=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.height();d.cssBefore={top:e,left:0};d.cssFirst={top:0};d.animIn={top:0};d.animOut={top:-e}};a.fn.cycle.transitions.scrollDown=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.height();d.cssFirst={top:0};d.cssBefore={top:-e,left:0};d.animIn={top:0};d.animOut={top:e}};a.fn.cycle.transitions.scrollLeft=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst={left:0};d.cssBefore={left:e,top:0};d.animIn={left:0};d.animOut={left:0-e}};a.fn.cycle.transitions.scrollRight=function(b,c,d){b.css("overflow","hidden");d.before.push(a.fn.cycle.commonReset);var e=b.width();d.cssFirst={left:0};d.cssBefore={left:-e,top:0};d.animIn={left:0};d.animOut={left:e}};a.fn.cycle.transitions.scrollHorz=function(b,c,d){b.css("overflow","hidden").width();d.before.push(function(b,c,d,e){if(d.rev){e=!e}a.fn.cycle.commonReset(b,c,d);d.cssBefore.left=e?c.cycleW-1:1-c.cycleW;d.animOut.left=e?-b.cycleW:b.cycleW});d.cssFirst={left:0};d.cssBefore={top:0};d.animIn={left:0};d.animOut={top:0}};a.fn.cycle.transitions.scrollVert=function(b,c,d){b.css("overflow","hidden");d.before.push(function(b,c,d,e){if(d.rev){e=!e}a.fn.cycle.commonReset(b,c,d);d.cssBefore.top=e?1-c.cycleH:c.cycleH-1;d.animOut.top=e?b.cycleH:-b.cycleH});d.cssFirst={top:0};d.cssBefore={left:0};d.animIn={top:0};d.animOut={left:0}};a.fn.cycle.transitions.slideX=function(b,c,d){d.before.push(function(b,c,d){a(d.elements).not(b).hide();a.fn.cycle.commonReset(b,c,d,false,true);d.animIn.width=c.cycleW});d.cssBefore={left:0,top:0,width:0};d.animIn={width:"show"};d.animOut={width:0}};a.fn.cycle.transitions.slideY=function(b,c,d){d.before.push(function(b,c,d){a(d.elements).not(b).hide();a.fn.cycle.commonReset(b,c,d,true,false);d.animIn.height=c.cycleH});d.cssBefore={left:0,top:0,height:0};d.animIn={height:"show"};d.animOut={height:0}};a.fn.cycle.transitions.shuffle=function(b,c,d){var e,f=b.css("overflow","visible").width();c.css({left:0,top:0});d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,true,true)});if(!d.speedAdjusted){d.speed=d.speed/2;d.speedAdjusted=true}d.random=0;d.shuffle=d.shuffle||{left:-f,top:15};d.els=[];for(e=0;e<c.length;e++){d.els.push(c[e])}for(e=0;e<d.currSlide;e++){d.els.push(d.els.shift())}d.fxFn=function(b,c,d,e,f){if(d.rev){f=!f}var g=f?a(b):a(c);a(c).css(d.cssBefore);var h=d.slideCount;g.animate(d.shuffle,d.speedIn,d.easeIn,function(){var c=a.fn.cycle.hopsFromLast(d,f);for(var i=0;i<c;i++){f?d.els.push(d.els.shift()):d.els.unshift(d.els.pop())}if(f){for(var j=0,k=d.els.length;j<k;j++){a(d.els[j]).css("z-index",k-j+h)}}else{var l=a(b).css("z-index");g.css("z-index",parseInt(l)+1+h)}g.animate({left:0,top:0},d.speedOut,d.easeOut,function(){a(f?this:b).hide();if(e){e()}})})};d.cssBefore={display:"block",opacity:1,top:0,left:0}};a.fn.cycle.transitions.turnUp=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false);d.cssBefore.top=c.cycleH;d.animIn.height=c.cycleH;d.animOut.width=c.cycleW});d.cssFirst={top:0};d.cssBefore={left:0,height:0};d.animIn={top:0};d.animOut={height:0}};a.fn.cycle.transitions.turnDown=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false);d.animIn.height=c.cycleH;d.animOut.top=b.cycleH});d.cssFirst={top:0};d.cssBefore={left:0,top:0,height:0};d.animOut={height:0}};a.fn.cycle.transitions.turnLeft=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true);d.cssBefore.left=c.cycleW;d.animIn.width=c.cycleW});d.cssBefore={top:0,width:0};d.animIn={left:0};d.animOut={width:0}};a.fn.cycle.transitions.turnRight=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true);d.animIn.width=c.cycleW;d.animOut.left=b.cycleW});d.cssBefore={top:0,left:0,width:0};d.animIn={left:0};d.animOut={width:0}};a.fn.cycle.transitions.zoom=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,false,true);d.cssBefore.top=c.cycleH/2;d.cssBefore.left=c.cycleW/2;d.animIn={top:0,left:0,width:c.cycleW,height:c.cycleH};d.animOut={width:0,height:0,top:b.cycleH/2,left:b.cycleW/2}});d.cssFirst={top:0,left:0};d.cssBefore={width:0,height:0}};a.fn.cycle.transitions.fadeZoom=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,false);d.cssBefore.left=c.cycleW/2;d.cssBefore.top=c.cycleH/2;d.animIn={top:0,left:0,width:c.cycleW,height:c.cycleH}});d.cssBefore={width:0,height:0};d.animOut={opacity:0}};a.fn.cycle.transitions.blindX=function(b,c,d){var e=b.css("overflow","hidden").width();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.animIn.width=c.cycleW;d.animOut.left=b.cycleW});d.cssBefore={left:e,top:0};d.animIn={left:0};d.animOut={left:e}};a.fn.cycle.transitions.blindY=function(b,c,d){var e=b.css("overflow","hidden").height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.animIn.height=c.cycleH;d.animOut.top=b.cycleH});d.cssBefore={top:e,left:0};d.animIn={top:0};d.animOut={top:e}};a.fn.cycle.transitions.blindZ=function(b,c,d){var e=b.css("overflow","hidden").height();var f=b.width();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);d.animIn.height=c.cycleH;d.animOut.top=b.cycleH});d.cssBefore={top:e,left:f};d.animIn={top:0,left:0};d.animOut={top:e,left:f}};a.fn.cycle.transitions.growX=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true);d.cssBefore.left=this.cycleW/2;d.animIn={left:0,width:this.cycleW};d.animOut={left:0}});d.cssBefore={width:0,top:0}};a.fn.cycle.transitions.growY=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false);d.cssBefore.top=this.cycleH/2;d.animIn={top:0,height:this.cycleH};d.animOut={top:0}});d.cssBefore={height:0,left:0}};a.fn.cycle.transitions.curtainX=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,false,true,true);d.cssBefore.left=c.cycleW/2;d.animIn={left:0,width:this.cycleW};d.animOut={left:b.cycleW/2,width:0}});d.cssBefore={top:0,width:0}};a.fn.cycle.transitions.curtainY=function(b,c,d){d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,false,true);d.cssBefore.top=c.cycleH/2;d.animIn={top:0,height:c.cycleH};d.animOut={top:b.cycleH/2,height:0}});d.cssBefore={left:0,height:0}};a.fn.cycle.transitions.cover=function(b,c,d){var e=d.direction||"left";var f=b.css("overflow","hidden").width();var g=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d);if(e=="right"){d.cssBefore.left=-f}else{if(e=="up"){d.cssBefore.top=g}else{if(e=="down"){d.cssBefore.top=-g}else{d.cssBefore.left=f}}}});d.animIn={left:0,top:0};d.animOut={opacity:1};d.cssBefore={top:0,left:0}};a.fn.cycle.transitions.uncover=function(b,c,d){var e=d.direction||"left";var f=b.css("overflow","hidden").width();var g=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,true,true);if(e=="right"){d.animOut.left=f}else{if(e=="up"){d.animOut.top=-g}else{if(e=="down"){d.animOut.top=g}else{d.animOut.left=-f}}}});d.animIn={left:0,top:0};d.animOut={opacity:1};d.cssBefore={top:0,left:0}};a.fn.cycle.transitions.toss=function(b,c,d){var e=b.css("overflow","visible").width();var f=b.height();d.before.push(function(b,c,d){a.fn.cycle.commonReset(b,c,d,true,true,true);if(!d.animOut.left&&!d.animOut.top){d.animOut={left:e*2,top:-f/2,opacity:0}}else{d.animOut.opacity=0}});d.cssBefore={left:0,top:0};d.animIn={left:0}};a.fn.cycle.transitions.wipe=function(b,c,d){var e=b.css("overflow","hidden").width();var f=b.height();d.cssBefore=d.cssBefore||{};var g;if(d.clip){if(/l2r/.test(d.clip)){g="rect(0px 0px "+f+"px 0px)"}else{if(/r2l/.test(d.clip)){g="rect(0px "+e+"px "+f+"px "+e+"px)"}else{if(/t2b/.test(d.clip)){g="rect(0px "+e+"px 0px 0px)"}else{if(/b2t/.test(d.clip)){g="rect("+f+"px "+e+"px "+f+"px 0px)"}else{if(/zoom/.test(d.clip)){var h=parseInt(f/2);var i=parseInt(e/2);g="rect("+h+"px "+i+"px "+h+"px "+i+"px)"}}}}}}d.cssBefore.clip=d.cssBefore.clip||g||"rect(0px 0px 0px 0px)";var j=d.cssBefore.clip.match(/(\d+)/g);var k=parseInt(j[0]),l=parseInt(j[1]),m=parseInt(j[2]),n=parseInt(j[3]);d.before.push(function(b,c,d){if(b==c){return}var g=a(b),h=a(c);a.fn.cycle.commonReset(b,c,d,true,true,false);d.cssAfter.display="block";var i=1,j=parseInt(d.speedIn/13)-1;(function o(){var a=k?k-parseInt(i*(k/j)):0;var b=n?n-parseInt(i*(n/j)):0;var c=m<f?m+parseInt(i*((f-m)/j||1)):f;var d=l<e?l+parseInt(i*((e-l)/j||1)):e;h.css({clip:"rect("+a+"px "+d+"px "+c+"px "+b+"px)"});i++<=j?setTimeout(o,13):g.css("display","none")})()});d.cssBefore={display:"block",opacity:1,top:0,left:0};d.animIn={left:0};d.animOut={left:0}}})(jQuery);(function(a){var b=a.browser.msie&&parseInt(a.browser.version)===6&&typeof window.XMLHttpRequest!=="object",c=a.browser.msie&&parseInt(a.browser.version)===7,d=null,e=[];a.modal=function(b,c){return a.modal.impl.init(b,c)};a.modal.close=function(){a.modal.impl.close()};a.modal.focus=function(b){a.modal.impl.focus(b)};a.modal.setContainerDimensions=function(){a.modal.impl.setContainerDimensions()};a.modal.setPosition=function(){a.modal.impl.setPosition()};a.modal.update=function(b,c){a.modal.impl.update(b,c)};a.fn.modal=function(b){return a.modal.impl.init(this,b)};a.modal.defaults={appendTo:"body",focus:true,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:false,autoPosition:true,zIndex:1e3,close:true,closeHTML:'<a class="modalCloseImg" title="Luk"></a>',closeClass:"simplemodal-close",escClose:true,overlayClose:false,position:null,persist:false,modal:true,onOpen:null,onShow:null,onClose:null};a.modal.impl={d:{},init:function(b,c){var e=this;if(e.d.data)return false;d=a.browser.msie&&!a.boxModel;e.o=a.extend({},a.modal.defaults,c);e.zIndex=e.o.zIndex;e.occb=false;if(typeof b==="object"){b=b instanceof jQuery?b:a(b);e.d.placeholder=false;if(b.parent().parent().size()>0){b.before(a("<span></span>").attr("id","simplemodal-placeholder").css({display:"none"}));e.d.placeholder=true;e.display=b.css("display");if(!e.o.persist)e.d.orig=b.clone(true)}}else if(typeof b==="string"||typeof b==="number")b=a("<div></div>").html(b);else{alert("SimpleModal Error: Unsupported data type: "+typeof b);return e}e.create(b);e.open();a.isFunction(e.o.onShow)&&e.o.onShow.apply(e,[e.d]);return e},create:function(c){var g=this;e=g.getDimensions();if(g.o.modal&&b)g.d.iframe=a('<iframe src="javascript:false;"></iframe>').css(a.extend(g.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:e[0],width:e[1],zIndex:g.o.zIndex,top:0,left:0})).appendTo(g.o.appendTo);g.d.overlay=a("<div></div>").attr("id",g.o.overlayId).addClass("simplemodal-overlay").css(a.extend(g.o.overlayCss,{display:"none",opacity:g.o.opacity/100,height:g.o.modal?e[0]:0,width:g.o.modal?e[1]:0,position:"fixed",left:0,top:0,zIndex:g.o.zIndex+1})).appendTo(g.o.appendTo);g.d.container=a("<div></div>").attr("id",g.o.containerId).addClass("simplemodal-container").css(a.extend(g.o.containerCss,{display:"none",position:"fixed",zIndex:g.o.zIndex+2})).append(g.o.close&&g.o.closeHTML?a(g.o.closeHTML).addClass(g.o.closeClass):"").appendTo(g.o.appendTo);g.d.wrap=a("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(g.d.container);g.d.data=c.attr("id",c.attr("id")||g.o.dataId).addClass("simplemodal-data").css(a.extend(g.o.dataCss,{display:"none"})).appendTo("body");g.setContainerDimensions();g.d.data.appendTo(g.d.wrap);if(b||d)g.fixIE()},bindEvents:function(){var c=this;a("."+c.o.closeClass).bind("click.simplemodal",function(a){a.preventDefault();c.close()});c.o.modal&&c.o.close&&c.o.overlayClose&&c.d.overlay.bind("click.simplemodal",function(a){a.preventDefault();c.close()});a(document).bind("keydown.simplemodal",function(a){if(c.o.modal&&a.keyCode===9)c.watchTab(a);else if(c.o.close&&c.o.escClose&&a.keyCode===27){a.preventDefault();c.close()}});a(window).bind("resize.simplemodal",function(){e=c.getDimensions();c.o.autoResize?c.setContainerDimensions():c.o.autoPosition&&c.setPosition();if(b||d)c.fixIE();else if(c.o.modal){c.d.iframe&&c.d.iframe.css({height:e[0],width:e[1]});c.d.overlay.css({height:e[0],width:e[1]})}})},unbindEvents:function(){a("."+this.o.closeClass).unbind("click.simplemodal");a(document).unbind("keydown.simplemodal");a(window).unbind("resize.simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var b=this,c=b.o.position;a.each([b.d.iframe||null,!b.o.modal?null:b.d.overlay,b.d.container],function(a,b){if(b){var d=b[0].style;d.position="absolute";if(a<2){d.removeExpression("height");d.removeExpression("width");d.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"');d.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"')}else{var e;if(c&&c.constructor===Array){a=c[0]?typeof c[0]==="number"?c[0].toString():c[0].replace(/px/,""):b.css("top").replace(/px/,"");a=a.indexOf("%")===-1?a+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(a.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';if(c[1]){e=typeof c[1]==="number"?c[1].toString():c[1].replace(/px/,"");e=e.indexOf("%")===-1?e+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(e.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}}else{a='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';e='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}d.removeExpression("top");d.removeExpression("left");d.setExpression("top",a);d.setExpression("left",e)}}})},focus:function(b){var c=this;b=b&&a.inArray(b,["first","last"])!==-1?b:"first";var d=a(":input:enabled:visible:"+b,c.d.wrap);setTimeout(function(){d.length>0?d.focus():c.d.wrap.focus()},10)},getDimensions:function(){var b=a(window);return[a.browser.opera&&a.browser.version>"9.5"&&a.fn.jquery<"1.3"||a.browser.opera&&a.browser.version<"9.5"&&a.fn.jquery>"1.2.6"?b[0].innerHeight:b.height(),b.width()]},getVal:function(a,b){return a?typeof a==="number"?a:a==="auto"?0:a.indexOf("%")>0?parseInt(a.replace(/%/,""))/100*(b==="h"?e[0]:e[1]):parseInt(a.replace(/px/,"")):null},update:function(a,b){var c=this;if(!c.d.data)return false;c.d.origHeight=c.getVal(a,"h");c.d.origWidth=c.getVal(b,"w");c.d.data.hide();a&&c.d.container.css("height",a);b&&c.d.container.css("width",b);c.setContainerDimensions();c.d.data.show();c.o.focus&&c.focus();c.unbindEvents();c.bindEvents()},setContainerDimensions:function(){var d=this,g=b||c,h=d.d.origHeight?d.d.origHeight:a.browser.opera?d.d.container.height():d.getVal(g?d.d.container[0].currentStyle.height:d.d.container.css("height"),"h");g=d.d.origWidth?d.d.origWidth:a.browser.opera?d.d.container.width():d.getVal(g?d.d.container[0].currentStyle.width:d.d.container.css("width"),"w");var i=d.d.data.outerHeight(true),j=d.d.data.outerWidth(true);d.d.origHeight=d.d.origHeight||h;d.d.origWidth=d.d.origWidth||g;var l=d.o.maxHeight?d.getVal(d.o.maxHeight,"h"):null,n=d.o.maxWidth?d.getVal(d.o.maxWidth,"w"):null;l=l&&l<e[0]?l:e[0];n=n&&n<e[1]?n:e[1];var o=d.o.minHeight?d.getVal(d.o.minHeight,"h"):"auto";h=h?d.o.autoResize&&h>l?l:h<o?o:h:i?i>l?l:d.o.minHeight&&o!=="auto"&&i<o?o:i:o;l=d.o.minWidth?d.getVal(d.o.minWidth,"w"):"auto";g=g?d.o.autoResize&&g>n?n:g<l?l:g:j?j>n?n:d.o.minWidth&&l!=="auto"&&j<l?l:j:l;d.d.container.css({height:h,width:g});d.d.wrap.css({overflow:i>h||j>g?"auto":"visible"});d.o.autoPosition&&d.setPosition()},setPosition:function(){var a=this,b,c;b=e[0]/2-a.d.container.outerHeight(true)/2;c=e[1]/2-a.d.container.outerWidth(true)/2;if(a.o.position&&Object.prototype.toString.call(a.o.position)==="[object Array]"){b=a.o.position[0]||b;c=a.o.position[1]||c}else{b=b;c=c}a.d.container.css({left:c,top:b})},watchTab:function(b){var c=this;if(a(b.target).parents(".simplemodal-container").length>0){c.inputs=a(":input:enabled:visible:first, :input:enabled:visible:last",c.d.data[0]);if(!b.shiftKey&&b.target===c.inputs[c.inputs.length-1]||b.shiftKey&&b.target===c.inputs[0]||c.inputs.length===0){b.preventDefault();c.focus(b.shiftKey?"last":"first")}}else{b.preventDefault();c.focus()}},open:function(){var b=this;b.d.iframe&&b.d.iframe.show();if(a.isFunction(b.o.onOpen))b.o.onOpen.apply(b,[b.d]);else{b.d.overlay.show();b.d.container.show();b.d.data.show()}b.o.focus&&b.focus();b.bindEvents()},close:function(){var b=this;if(!b.d.data)return false;b.unbindEvents();if(a.isFunction(b.o.onClose)&&!b.occb){b.occb=true;b.o.onClose.apply(b,[b.d])}else{if(b.d.placeholder){var c=a("#simplemodal-placeholder");if(b.o.persist)c.replaceWith(b.d.data.removeClass("simplemodal-data").css("display",b.display));else{b.d.data.hide().remove();c.replaceWith(b.d.orig)}}else b.d.data.hide().remove();b.d.container.hide().remove();b.d.overlay.hide();b.d.iframe&&b.d.iframe.hide().remove();setTimeout(function(){b.d.overlay.remove();b.d={}},10)}}}})(jQuery);$(document).ready(function(){function b(){$(this).find(".sub").stop().fadeTo("fast",0,function(){$(this).hide()})}function a(){$(this).find(".sub").stop().fadeTo("fast",1).show()}var c={sensitivity:1,interval:0,over:a,timeout:100,out:b};$("ul#navigationTop li .sub").css({opacity:"50"});$("ul#navigationTop li").hoverIntent(c)});(function(a){a.fn.tipsy=function(b){b=a.extend({},a.fn.tipsy.defaults,b);return this.each(function(){var c=a.fn.tipsy.elementOptions(this,b);a(this).hover(function(){a.data(this,"cancel.tipsy",true);var b=a.data(this,"active.tipsy");if(!b){b=a('<div class="tipsy"><div class="tipsy-inner"/></div>');b.css({position:"absolute",zIndex:1e5});a.data(this,"active.tipsy",b)}if(a(this).attr("title")||typeof a(this).attr("original-title")!="string"){a(this).attr("original-title",a(this).attr("title")||"").removeAttr("title")}var d;if(typeof c.title=="string"){d=a(this).attr(c.title=="title"?"original-title":c.title)}else if(typeof c.title=="function"){d=c.title.call(this)}b.find(".tipsy-inner")[c.html?"html":"text"](d||c.fallback);var e=a.extend({},a(this).offset(),{width:this.offsetWidth,height:this.offsetHeight});b.get(0).className="tipsy";b.remove().css({top:0,left:0,visibility:"hidden",display:"block"}).appendTo(document.body);var f=b[0].offsetWidth,g=b[0].offsetHeight;var h=typeof c.gravity=="function"?c.gravity.call(this):c.gravity;switch(h.charAt(0)){case"n":b.css({top:e.top+e.height,left:e.left+e.width/2-f/2}).addClass("tipsy-north");break;case"s":b.css({top:e.top-g,left:e.left+e.width/2-f/2}).addClass("tipsy-south");break;case"e":b.css({top:e.top+e.height/2-g/2,left:e.left-f}).addClass("tipsy-east");break;case"w":b.css({top:e.top+e.height/2-g/2,left:e.left+e.width}).addClass("tipsy-west");break}if(c.fade){b.css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:.8})}else{b.css({visibility:"visible"})}},function(){a.data(this,"cancel.tipsy",false);var b=this;setTimeout(function(){if(a.data(this,"cancel.tipsy"))return;var d=a.data(b,"active.tipsy");if(c.fade){d.stop().fadeOut(function(){a(this).remove()})}else{d.remove()}},100)})})};a.fn.tipsy.elementOptions=function(b,c){return a.metadata?a.extend({},c,a(b).metadata()):c};a.fn.tipsy.defaults={fade:false,fallback:"",gravity:"n",html:false,title:"title"};a.fn.tipsy.autoNS=function(){return a(this).offset().top>a(document).scrollTop()+a(window).height()/2?"s":"n"};a.fn.tipsy.autoWE=function(){return a(this).offset().left>a(document).scrollLeft()+a(window).width()/2?"e":"w"}})(jQuery);$(document).ready(function(){$("#matchSelector").bind("change",function(){var a=window.location.href;if(a.indexOf("?")>0)a=a.substring(0,a.indexOf("?"));window.location=a+"?match="+$("#matchSelector option:selected").val()+"&matchname="+$("#matchSelector option:selected").data("name")})});$(document).ready(function(){$("table.sortable").tablesorter()});$(document).ready(function(){$("#playerPresentation ul.cycle li.item").bind("click",function(){var a=$(this).find(".name").html();var b=$(this).find(".number").html();var c=$(this).find(".position").html();var d=$(this).find(".image").html();var e=$(this).find(".id").html();var f=$(this).find(".nodeid").html();$("#playerPresentation .playerGallery h2").html(a);$("#playerPresentation .playerGallery .number").html(b);$("#playerPresentation .playerGallery").css("background","url("+d.replace("&","&")+") no-repeat 10px bottom");$("#playerPresentation .playerGallery a.arrow").attr("href",e);$("#playerPresentation .playerGallery a.arrow").attr("title","LÃ¦s mere om "+a);$("#playerPresentation .playerList").find("a").css("fontWeight","100");$("#playerPresentation .playerList").find("a.player"+f).css("fontWeight","800")})});$(document).ready(function(){$("#gallery").html('<img src="'+$(".thumb:first").find(".image").html()+'"/>');$(".thumbWrapper .thumb").bind("click",function(){$("#gallery").html('<img src="'+$(this).find(".image").html()+'"/>').fadeIn("slow");$("#galleryWrapper .imgPosition").html($(this).find(".position").html());$("#galleryWrapper .description h3").html($(this).attr("name"));$("#galleryWrapper .description .desc").html($(this).find(".data .description").html());$(".imagefooter .copyright").html($(this).find(".copyright").html())})});$(document).ready(function(){$("#filterSoccer").bind("click",function(){$(".matchListWrapper li.hockey").remove();sliderMakeCycle()})});$(document).ready(function(){});$(document).ready(function(){$(".main_image .desc").show();$(".main_image .h2Wrapper").animate({opacity:.95},.5);$(".image_thumb ul li:first").addClass("active");$(".image_thumb ul li").click(function(){var a=$(this).find("img").attr("alt");var b=$(this).find("a.media").attr("href");var c=$(this).find(".block").html();var d=$(".main_image").find(".block").height();var e=$(this).find(".bodyTeaser").html();var f=$(this).find("a.link").attr("href");if($(this).is(".active")){return false}else{$(".main_image img").attr({src:b,alt:a});$(".main_image .block").html(c).animate({opacity:.95,marginBottom:"0"},500);$(".main_image .block a.header").attr("href",f);$("#newsItemText .content").html(e)}$(".image_thumb ul li").removeClass("active");$(this).addClass("active");return false}).hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")})});$(document).ready(function(){$(".newsletterSignup").click(function(){lightboxNewsletter()})});var its={lightBox:{showDoc:function(a,b,c){if(!b)b=640;if(!c)c=380;$.modal('<div style="background:#fff; border:solid 1px #ccc;">'+'<a href="#" onclick="top.setCookie(\'aab'+pageId+'\',\'udlob\',730);top.$.modal.close();return false" style="display:block; text-align:right; background:#333; padding:6px 12px; color:#fff;" title="Vis aldrig igen">LUK</a>'+'<iframe style="width:'+b+"px; height:"+c+'px;" frameborder="0" src="'+a+'"></iframe>'+"</div>",{opacity:80,overlayCss:{backgroundColor:"#333"},overlayClose:false,closeHTML:""})}},lightBoxAuction:{showDoc:function(a,b,c){if(!b)b=640;if(!c)c=380;$.modal('<div style="background:#fff; border:solid 1px #ccc;">'+'<a href="#" onclick="top.$.modal.close();return false" style="display:block; text-align:right; background:#333; padding:6px 12px; color:#fff;">LUK</a>'+'<iframe style="width:'+b+"px; height:"+c+'px;" frameborder="0" src="'+a+'"></iframe>'+"</div>",{opacity:80,overlayCss:{backgroundColor:"#333"},overlayClose:false,closeHTML:""})}}}
