(function ($) {


  /* ------------------------------- */
  $(function(){
    load_event();

   $('#topmain').cycle({
    fx:'fade',
    speed:'1500'
    });

    $(window).bind("load", function() {
      $("div#slider1").codaSlider()
    });

      $("#slider").easySlider({
        auto: true,
        continuous: true

      });
    /* carousel */
    $('#mycarousel').jcarousel();



    /* panes */
    $('.ranktab .panes div').hide();
    $('.ranktab .panes div:first').show();
    $('.ranktab .tabs li:first').addClass('active');
    $('.ranktab .tabs li a').click(function(){
    $('.ranktab .tabs li').removeClass('active');
    $(this).parent().addClass('active');
    var currentTab = $(this).attr('href');
    $('.ranktab .panes div').hide();
    $(currentTab).show();
    return false;
    });




  });

})(jQuery);




