/*sifr*/

var nilland = {
  src: 'flash/nilland.swf'
  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

sIFR.activate(nilland);

sIFR.replace(nilland, {
  selector: '#row2 h2'
  ,wmode: 'transparent'
  ,css: {
    '.sIFR-root': { 'font-style': 'normal','color': '#ffffff','font-size': '45px' }
  }
});

/*------------*/


$(document).ready( function () {

  $(document).pngFix(); 

  $('#viewport').cycle({              
      prev: '#slideleft',
      next: '#slideright',
      slideExpr: 'li',
      speed: '1500',
      timeout : 5000,
      fx: 'scrollHorz',
      easing: 'easeInOutQuad',
      pause: 1
    });
    
    
       // scrollTo
    $('a[href="#download-catalogue"]').click(function() {
      //$.scrollTo($('#download-catalogue'), 5000, {easing:'easeOutBounce'}); //easeInOutCirc
      $.scrollTo($('#download-catalogue'), 1000, {easing:'easeInSine'});
      $.scrollTo('-=50', 1000, {easing:'easeInOutQuad'}); 
      return false;
    });            
   
});
