  /*
  *
  * Etopia BV
  * Init JavaScript
  *
  */
  
  var start = {
          load: function(){
                               
                  // Create a fade effect on the header,
                  // but only if there are more images then one
                  var imageCollection = $( '.second' );
                  if( imageCollection.children().length >= 2 ) {
                          $( '.second' ).cycle({
                                  fx: 'none', 
                                  slideExpr: 'a', 
                                  timeout: 4000, 
                                  cleartypeNoBg: true,
                                  cleartype: 1
                                  //pager: '#header .image_pager'
                          });
                  }
          
          }
          
  };
  
  // Load
  $(function(){
          start.load();
  });
