//BLUR LINKS ==============================================================

function BlurLinks(){

// Text- u. Grafik-Links
lnks=document.getElementsByTagName('a');
for(i=0;i<lnks.length;i++){
lnks[i].onfocus=new Function("this.blur()");
}

// ImageMaps
lnks=document.getElementsByTagName('area');
for(i=0;i<lnks.length;i++){
lnks[i].onfocus=new Function("this.blur()");
}
}

onload=BlurLinks;


//JQUERY CALLS ==============================================================



$(document).ready(function(){
 
 
 // TEASDER CAROUSEL

        $(function() { 
        $(".teaserCarousel").jCarouselLite({
            btnNext: ".next",
            btnPrev: ".prev",
            visible: "3.0",
            circular: false,
            start: 0
            });

        });
        
 // MAIN AREA BLEND IN
 
      $(document.body).ready(function () {
              $("#mainContent").hide();
      $("#mainContent").fadeIn("slow");
    });
    
 // MAIN AREA BLEND OUT AND GO TO kraftstoff.html
 
      $("#bigboxClose1").click(function () {
      $("#mainContent").hide("50", 
        function(){
        location.href="kraftstoff.html";
        });
    });
    
     // MAIN AREA BLEND OUT AND GO TO kraftstoff.html
 
      $("#bigboxClose2").click(function () {
      $("#mainContent").hide("50", 
        function(){
        location.href="kraftstoff_drfuel.html";
        });
    });

 // MAIN AREA BLEND OUT AND GO TO ferrari.html
 
      $("#bigboxClose3").click(function () {
      $("#mainContent").hide("50", 
        function(){
        location.href="ferrari.html";
        });
    });
    
     // MAIN AREA BLEND OUT AND GO TO spot.html
 
      $("#bigboxClose4").click(function () {
      $("#mainContent").hide("50", 
        function(){
        location.href="spot.html";
        });
    });
    
     // MAIN AREA BLEND OUT AND GO TO index.html
 
      $("#bigboxClose5").click(function () {
      $("#mainContent").hide("50", 
        function(){
        location.href="index.html";
        });
    });
    
    // ACCORDION
    
      $("#accordion1").accordion({
      clearStyle: true,
      autoHeight: false
      });
      
      $("#accordion2").accordion({
      clearStyle: true,
      autoHeight: false
      });

            
        
});
