jQuery.noConflict();
jQuery(document).ready(function() {
	jQuery('#sponsors').cycle({delay:  2000, speed: 500, width: 280, fit: 1});
	
    jQuery('.marquee').marquee().mouseover(function () {
    jQuery(this).trigger('stop');
  }).mouseout(function () {
    jQuery(this).trigger('start');
  }).mousemove(function (event) {
    if (jQuery(this).data('drag') == true) {
      this.scrollLeft = jQuery(this).data('scrollX') + (jQuery(this).data('x') - event.clientX);
    }
  }).mousedown(function (event) {
    jQuery(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
  }).mouseup(function () {
    jQuery(this).data('drag', false);
  });

  if (jQuery(".tweet").length > 0) {
    jQuery(".tweet").tweet({
      join_text: "<br />",
      username: "knockunion",
      avatar_size: null,
      count: 2,
      loading_text: "loading tweets..."
    });
  }

});  
