$(function() {
  $("#slider")
    //calling scrollable plugin
    .scrollable({
      size: 1,
      speed: 500, // The time (in milliseconds) of the scrolling animation.
      easing: "swing" // The type of "easing" applied to the scrolling animation. 'swing' means that there is an acceleration, followed by a constant speed, followed by a deceleration. 'linear' means that the whole animation happens at a constant speed.
    })
    //calling autoscroll plugin
    .autoscroll({
      steps: 1, // The number of items being scrolled within a single autoscroll.
      interval: 7000, // The time (in milliseconds) between autoscrolls.
      autoplay: true, // When enabled the scrolling starts automatically upon page load.
      autopause:true // If this property is set to true then, when any navigational buttons are mouseovered, the autoscrolling will pause.
    })
    //calling circular, and navigator
    .circular()
    .navigator(); // comment out this line if you don't want to support keyboard navigation in slider, just remember to add semicolon(;) to the previous line.
    //.mousewheel(500); // uncomment this line if you want to support mousewheel navigation in slider, just remember to remove the semicolon(;) from the previous line.


  //calling tooltip plugin
  $(".items img").tooltip({
    tip: ".items .info",
    position: "bottom center",
    offset: [-100,0],
    effect: "slide",
    relative: true
  })

  //calling superfish plugin
 // $('ul#main-menu').superfish({
//   autoArrows: false
//});




});


