function change_img(id, sorce){
  document.getElementById(id).src = sorce;
}
function out(id){
  document.getElementById(id).style.position = 'relative';
  document.getElementById(id).style.left = '-8px';
}
function ind(id){
  document.getElementById(id).style.position = 'relative';
  document.getElementById(id).style.left = '0px';
}
 

  $(document).ready(function(){  
    
   
      
      $(".stor_menu").hover(function() {
        
             $(this).stop().animate({
                   boxShadow: '2px 3px 4px #D8D9D9' }, 200);  
              },function() {  
              $(this).stop().animate({ boxShadow: '1px 2px 2px #818181'}, 200);  
         });   
    
     $(".insp_container").hover(function() {
        
             $(this).stop().animate({
                   boxShadow: '5px 5px 8px #D8D9D9' }, 200);  
              },function() {  
              $(this).stop().animate({ boxShadow: '1px 2px 4px #818181'}, 200);  
         });   
    
        $(".produkt_item").hover(function() {
        
             $(this).stop().animate({
                   boxShadow: '5px 5px 8px #D8D9D9' }, 200);  
              },function() {  
              $(this).stop().animate({ boxShadow: '1px 2px 4px #818181'}, 200);  
         });   
        $(".Inspiration_fade").hover(function() {
        
             $(this).stop().animate({
                   backgroundColor: "#e4c100", color: "white",boxShadow: '1px 2px 4px #818181' }, 300);  
              },function() {  
              $(this).stop().animate({ backgroundColor: "#f0f0f0", color: "#c8c8c8",boxShadow: '5px 5px 8px #D8D9D9'}, 300);  
         });
  
    $(".Produkt_fade").hover(function() {
         
       
             $(this).stop().animate({ backgroundColor: "#869024",color: "white",boxShadow: '1px 2px 4px #818181'}, 300);  
              },function() {  
              $(this).stop().animate({ backgroundColor: "#f0f0f0", color: "#c8c8c8",boxShadow: '5px 5px 8px #D8D9D9' }, 300);
            
  
         });
    
    $(".TeknikTeaser_fade").hover(function() {
    
        
      $(this).stop().animate({ backgroundColor: "#718999",color: "white",boxShadow: '1px 2px 4px #818181'}, 300);  
              },function() {  
              $(this).stop().animate({ backgroundColor: "#f0f0f0", color: "#c8c8c8",boxShadow: '5px 5px 8px #D8D9D9' }, 300);
            
  
         });

        $(".LumimexTeaser_fade").hover(function() {
             $(this).stop().animate({ backgroundColor: "#A51414",color: "white",boxShadow: '1px 2px 4px #818181'}, 300);  
              },function() {  
              $(this).stop().animate({ backgroundColor: "#f0f0f0", color: "#c8c8c8",boxShadow: '5px 5px 8px #D8D9D9' }, 300);
       
         });

      
     });  
   



function tab_img(num){
/*    
    if(num == 1){
      document.getElementById("tab__1").src = "/image/skema/varelinier_aktiv.png";        
        document.getElementById("tab__1").style.position = "relative";
        document.getElementById("tab__1").style.top = "-6px";
        
    } else {
      document.getElementById("tab__1").src = "/image/skema/varelinier_inaktiv.png";
        document.getElementById("tab__1").style.top = "0px";
    }
    if(num == 2){
      document.getElementById("tab__2").src = "/image/skema/autocat_aktiv.png";
        document.getElementById("tab__2").style.position = "relative";
        document.getElementById("tab__2").style.top = "-6px";
    } else {
      document.getElementById("tab__2").src = "/image/skema/autocat_inaktiv.png";
        document.getElementById("tab__2").style.top = "0px";
    }
    if(num == 3){
      document.getElementById("tab__3").src = "/image/skema/ldt_aktiv.png";
        document.getElementById("tab__3").style.position = "relative";
        document.getElementById("tab__3").style.top = "-6px";
    } else {
      document.getElementById("tab__3").src = "/image/skema/ldt_inaktiv.png";
        document.getElementById("tab__3").style.top = "0px";
    }
    if(num == 4){
      document.getElementById("tab__4").src = "/image/skema/tilbehor_aktiv.png";
        document.getElementById("tab__4").style.position = "relative";
        document.getElementById("tab__4").style.top = "-6px";
    } else {
      document.getElementById("tab__4").src = "/image/skema/tilbehor_inaktiv.png";
        document.getElementById("tab__4").style.top = "0px";
    }
    if(num == 5){
      document.getElementById("tab__5").src = "/image/skema/relateredeprodukter_aktiv.png";
        document.getElementById("tab__5").style.position = "relative";
        document.getElementById("tab__5").style.top = "-6px";
    } else {
      document.getElementById("tab__5").src = "/image/skema/relateredeprodukter_inaktiv.png";
        document.getElementById("tab__5").style.top = "0px";
    }
*/    }

/*
   Cufon.replace('h1');
   Cufon.replace('h2');
   Cufon.replace('#subpage_overskrift');
   Cufon.replace('.insp_hvid_box h3');
   Cufon.replace('.hvid_box_skole h3');
   Cufon.replace('.drop_down_valg div h3');
*/

