      $(document).ready(function(){
           var menutr = $( "#ProductMenu_Table tr" );
           $(menutr).each(
                function( intIndex ){
                    if(this.id > 0) {
			$(this).css({'display':'block'});
                        $(menutr[intIndex-1]).css({'display':'block'});                   
                    };
	        }
            );
           
           var icons;
           var iconValues;
           
           $(".itemsVarer").each(
                function( intIndex ){
                    icons = $(this).find(".icons").find("div");
                    iconValues = $(this).find(".hiddenIconValues").find("span");
    
                   $(iconValues).each(
                        function( intIndex ){
                            if($(this).text() == '1')
                                $(icons[intIndex]).css({'display':'block'});                                                
	                }
                    );                        
	        }
            );
            
           if($("#bund").length > 0)
           {
               var bund = $("#bund");
               $("#bottomText").append(bund);
               $("#bottomText").css({'display':'block'});
           }
           
           var activeProduct = $(".Activ_Productmenu");
           if($(activeProduct[0]).parent().hasClass("SubCategory1_Productmenu"))
           {
           	$(activeProduct[0]).attr("href","#");
           }
           if($(activeProduct[0]).parent().hasClass("RootCategory_Productmenu"))
           {
           	$(activeProduct[0]).attr("href","#");
           }
           
           //indsætter billede på vareliste
           var productlistImg = $(".topImg").find("img:first");
           if(productlistImg.length > 0)
           {
               var cmsStyle = $(".CmsPageStyle");
               $(cmsStyle[1]).prepend(productlistImg[0]);
           }
      });