
if(top.location!=location){top.location.href=document.location.href;}
document.write('<style type="text/css">.jsshow { display: block; } .jshide { display: none; } .cufon { visibility: hidden; } .cufon span { visibility: visible; }</style>');addthis_brand="MM",addthis_header_color="#ffffff",addthis_header_background="#045e35",addthis_language="no",addthis_offset_top=-20,addthis_offset_left=15,addthis_options='email, facebook, favorites, more',addthis_exclude='print';jQuery.easing.def='easeOutQuad';$.extend($.fn.disableTextSelect=function(){return this.each(function(){if($.browser.mozilla){$(this).css('MozUserSelect','none');}else if($.browser.msie){$(this).bind('selectstart',function(){return false;});}else{$(this).mousedown(function(){return false;});}});});Cufon.replace('.fbook',{fontFamily:'book'});Cufon.replace('.fheavy',{fontFamily:'heavy'});var MM={utils:{ie:false,viewport:{width:function(){return $(window).width();},height:function(){return window.innerHeight?window.innerHeight:$(window).height();},both:function(){return[MM.utils.viewport.width,MM.utils.viewport.height];}},init:function(funcs){for(var i=funcs.length;i--;){if(typeof funcs[i]!=='undefined'){funcs[i].init();}}}},init:function(){if($.browser.msie){this.utils.ie=parseInt($.browser.version,10);}
if(this.utils.ie&&this.utils.ie<=6){$('div.mod').bind('mouseenter mouseleave',function(){$(this).toggleClass('modHover');});$('.target').bind('mouseenter mouseleave',function(){$(this).toggleClass('targetHover');});$('#contentContainer a.img').bind('mouseenter mouseleave',function(){$(this).toggleClass('imgHover');});}
this.utils.init([this.navigation,this.articles,this.tabs,this.graphs,this.targets,this.carousel,this.forms,this.misc,this.addthis]);$.localScroll({'easing':'easeInOutQuad'});},navigation:{init:function(){this.mainMenu();this.focusMenu();},mainMenu:function(){var $menuItems=$('#navigation > ul > li'),over=function($li){$li.addClass('active').siblings('li.active').removeClass('active');};$menuItems.find('> a').hoverIntent({sensitivity:7,interval:100,over:function(){over($(this).parent());},out:function(){}});},focusMenu:function(){var $menu=$('div.mFocusMenu'),height=$menu.height(),activeHeight=$menu.find('li.active div.content').height(),over=function($li){var $content=$li.find('div.content'),contentHeight=$content.height();$content.slideDown(300);$li.addClass('active').siblings('li.active').removeClass('active').find('div.content').slideUp(300);if(contentHeight!=activeHeight){var newHeight=height+contentHeight-activeHeight;activeHeight=contentHeight;height=newHeight;$menu.animate({height:newHeight+4},300);}};$menu.height(height);$('div.mFocusMenu h3 a').hoverIntent({sensitivity:7,interval:50,over:function(){over($(this).parents('li:first'));},out:function(){}});}},articles:{init:function(){this.executive();this.locked();this.PDF();if($('div.mArticlesRelated, div.mArticleThemes').length===0){$('ul.actions a.related').parent().hide();}},executive:function(){$('li.hasExec li.exec a').live('click',function(){$(this).toggleClass('active').blur().parents('li.hasExec').find('div.executive').slideToggle(200);return false;});},locked:function(){$('li:not(.hasExec) .exec a, li:not(.hasMore) .more a').hoverIntent({sensitivity:7,interval:50,over:function(){var $this=$(this);rev=$(this).hasClass('rev'),offset=rev?[-24,22]:[-250,22],$hoverInfo=$(this).find('div.hoverInfo');if($hoverInfo.length<1){offset[0]=Math.floor($this.width()/2)+offset[0];$hoverInfo=$('#locked').clone().appendTo($this);if(rev){$hoverInfo.addClass('hoverInfoReverse');}
$hoverInfo.css({'left':offset[0]});}
if($hoverInfo.queue("fx").length<2){$hoverInfo.css('top',offset[1]-10).show().animate({top:offset[1]},150);}},out:function(){$(this).find('div.hoverInfo').hide();}});},PDF:function(){$('div.aPDF').each(function(i){var $PDF=$(this).after('<div class="aPDFViewer" id="aPDF'+i+'"></div>'),link=$PDF.find('a:first').attr('href');if(link){var myPDF=new PDFObject({url:link,pdfOpenParams:{navpanes:0,toolbar:0,statusbar:0,view:"FitH"}}).embed('aPDF'+i);}
if($PDF.next(':empty').length>0){$PDF.next().remove();}else{$PDF.next().height(parseInt($(window).height()*0.8,10));}});}},tabs:{init:function(){$('div.tabs').each(function(){var $area=$(this),$ul=$area.find('ul.ultabs'),$tabs=$ul.find('a').disableTextSelect(),active=null,contentHeight=[],ulHeight=$ul.height()||35;$area.height($area.height());$tabs.each(function(i){contentHeight.push(0);});$tabs.mousedown(function(){var $tab=$(this)
tabIndex=$tabs.index(this);if(tabIndex===active){return;}
active=tabIndex;var $content=$area.find('div.tabContent:eq('+tabIndex+')').siblings('div.tabContent').hide().end().show();if(contentHeight[tabIndex]===0){contentHeight[tabIndex]=$content.height();}
$tab.parent().addClass('active').siblings('li.active').removeClass('active');$area.stop().animate({'height':ulHeight+contentHeight[tabIndex]},400);}).click(function(){$(this).blur();return false;});});}},graphs:{init:function(){$('div.aGraph div.graph').each(function(i){var $graph=$(this),swf=$.metadata.get(this).swf||false;if(swf){$graph.addClass('aGraph'+i).flash({src:'/flash/FigureHandler.swf',width:'100%',height:'100%',wmode:'transparent',scale:'noScale',flashvars:{graphSrc:swf,graphClass:'aGraph'+i}},{version:8});}}).find('p').mousedown(function(){return false;});},show:function($graph,width,height,align){var maxWidth=Math.floor((MM.utils.viewport.width()-82)*0.5)*2,maxWidthHeight=Math.floor(maxWidth*(height/width)*0.5)*2,maxHeight=height*1.8;if(maxWidthHeight<maxHeight){var newWidth=maxWidth,newHeight=maxWidthHeight;}else{var newWidth=Math.floor(maxHeight*(width/height)*0.5)*2,newHeight=maxHeight;}
if(newWidth>width){if(align==='left'){offset=Math.floor((898-newWidth)/2);offset=offset<0?offset:0;}else{offset=Math.floor((558-newWidth)/2);offset=offset<-90?offset:0;}
$graph.parents('div.aGraph').find('p.info a').addClass('big').text('Lukk');$graph.find('div.active').width(newWidth).height(newHeight).css(align,offset).fadeIn(150);}},hide:function($graph){$graph.parents('div.aGraph').find('p.info a').removeClass('big').text('Forstør');$graph.find('div.active').fadeOut(100);},resize:function(graphSrc,graphClass,graphHeight){var $graph=$('div.'+graphClass),width=$graph.width(),height=parseInt(graphHeight,10),align=$graph.parents('div.aGraphRight').length?'right':'left';$graph.height(height);if($graph.hasClass('flash-replaced')){$graph.append('<div class="content active" />').find('*:not(div)').clone().attr('scale','showAll').attr('src',graphSrc).prependTo($graph.find('div.active').mousedown(function(){MM.graphs.hide($graph);}));$graph.mousedown(function(){MM.graphs.show($graph,width,height,align);}).find('div.active').mousedown(function(){MM.graphs.hide($graph);return false;}).parents('div.aGraph').find('p.info a').mousedown(function(){if($(this).hasClass('big')){MM.graphs.hide($graph);}else{MM.graphs.show($graph,width,height,align);}}).click(function(){$(this).blur();return false;});}}},targets:{init:function(){$('.target').live('click',function(e){if(e.button===0){var $link=$(this).find('a:last');if($link.length>0){var href=$link.attr('href');if(href){if($link.attr('target')==='_blank'){window.open(href);}else{document.location=href;}
return false;}}}});}},carousel:{init:function(){$('div.carousel').each(function(){var $carousel=$(this),width=($carousel.hasClass('mFooter'))?$carousel.find('div.bd').width()+20:$carousel.width()+20,$ul=$carousel.find('ul:first'),$prev=$carousel.find('p.prev a'),$indicator=$carousel.find('p.indicator a').disableTextSelect(),$next=$carousel.find('p.next a'),items=$indicator.length-1,active=0,goto=function(){var ml=parseInt($ul.css('marginLeft'),10),mlNew=width*active*-1;$ul.stop().animate({marginLeft:mlNew},400+200*Math.abs((ml-mlNew)/width),'easeInOutQuad');$prev.css('display',active===0?'none':'block');$next.css('display',active===items?'none':'block');$indicator.removeClass('active').filter(':eq('+active+')').addClass('active');};if($carousel.hasClass('mThemeSelector')){width=919;}
$prev.add($next).add($indicator).mousedown(function(){var $parent=$(this).parent();if($parent.hasClass('prev')){active+=-1;}else if($parent.hasClass('next')){active+=1;}else{active=$indicator.index(this);}
goto();}).click(function(){$(this).blur();return false;});});}},forms:{init:function(){var $fieldsets=$('div.mForm fieldset');$fieldsets.filter('.conditional').each(function(){MM.forms.conditional($(this));});$fieldsets.filter('.delivery').each(function(){MM.forms.delivery($(this));});MM.forms.hoverInfo();},conditional:function($fieldset){var $select=$fieldset.find('select:first, input:radio'),$lis=$fieldset.find('li:not(.c0)'),select=($select.get(0).tagName==='SELECT'),changeSelect=function(focus){var val=select?$select.blur().val():$select.filter(':checked').val();$lis.hide().filter('.c'+val).show();if(select&&focus){$fieldset.find('input:visible:first').focus().select();}};if(select){$select.change(function(){changeSelect(true);});}else{$select.click(function(){changeSelect(true);});}
changeSelect(false);},delivery:function($fieldset){var $radios=$fieldset.find('input:radio'),changeRadio=function(val,click){if(parseInt(val,10)){if(click&&$fieldset.next().hasClass('jshide')){var vals=[];$fieldset.parents('form:first').find('fieldset.billing').find('input.copy, select.copy').each(function(){vals.push($(this).val());});$fieldset.next().find('input, select').each(function(i){$(this).val(vals[i]);}).end().removeClass('jshide').show().find('select:first').trigger('change');}else{$fieldset.next().show();}}else{$fieldset.next().hide();}};changeRadio($radios.filter(':checked').val(),false);$radios.parent().click(function(){changeRadio($(this).find('input').attr('checked','checked').val(),true);});},hoverInfo:function(){$('div.mSubscriptionPackages ul.checkmarklist span').each(function(){var $span=$(this),type=$span.attr('class'),width=$span.width(),position=$span.parent().attr('class'),$hover=$('#sp'+type),offset=[-32+Math.floor(width/2),14];switch(position){case'c':offset[0]-=226;break;case'r':offset[0]-=452;break;}
if($hover.length>0){$span.hoverIntent({sensitivity:7,interval:50,over:function(){var $hoverInfo=$span.find('div.hoverInfo');if($hoverInfo.length<1){$hoverInfo=$hover.clone().attr('id','').appendTo($span);$hoverInfo.css('left',offset[0]).addClass('pos'+position);}
if($hoverInfo.queue('fx').length<2){$hoverInfo.css('top',offset[1]-10).show().animate({top:offset[1]},150);}},out:function(){if(MM.utils.ie){$span.find('div.hoverInfo').hide();}else{$span.find('div.hoverInfo').fadeOut(50);}}});}});}},misc:{init:function(){var labelInput=function(){$('span.value').each(function(){var $this=$(this),$label=$this.find('label'),$inp=$this.find('input');if($inp.val()!==''){$label.hide();}
$label.mousedown(function(){$inp.parents('fieldset:first').find('input').blur().end().end().focus();});$inp.bind('focus change keydown',function(){$label.hide();});$inp.blur(function(){if($inp.val()===''){$label.show();}});});};if($.browser.safari){window.onload=function(){setTimeout(labelInput,150);};}else{labelInput();}
$('a.print').click(function(){$(this).blur();window.print();return false;});$('ul.admin li.delete a').click(function(){if(confirm('Sikker?')){var $link=$(this);$.get($link.attr('href').replace('#',''),function(data){$link.parent().parents('li:first').slideUp(300);});}
return false;});}},addthis:{init:function(){if((!MM.utils.ie||MM.utils.ie>6)&&$('a.addthis_button').length>0){var domscript=document.createElement('script');domscript.src='http://s7.addthis.com/js/250/addthis_widget.js#pub=mandagmorgendk';document.getElementsByTagName('head')[0].appendChild(domscript);}}}};$(function(){MM.init();});