// remap jQuery to $
(function($){})(window.jQuery);


/* trigger when page is ready */
$(document).ready(function (){
  $("#carousel").cycle();
});

$(window).load(function() {
  $("#listing-carousel").cycle({ 
    // delay: 750, 
    // timeout: 0, 
    pager:  '#listing-images', 
    pagerAnchorBuilder: function(idx, slide) { 
      // return selector string for existing anchor 
      return '#listing-images li:eq(' + idx + ') a'; 
    } 
  });
});

/* optional triggers
$(window).resize(function() {
	
});
*/
