jQuery.noConflict();

jQuery(document).ready(function($) {
  $('div.cycle').css('height','auto').cycle({timeout: 7400, speed: 500});

  $('#upload-resume').click(function() {
    $('.resume-options').hide();
    $('.upload-resume').show();
  });

  $('#manual-resume').click(function() {
    $('.resume-options').hide();
    $('.manual-resume').show();
  });
  
  // $('div.homegallery').cycle({
  //   fx: 'fade'
  // });

  // $('div.homegallery').each(function() {
  //   var $gallery = $(this),
  //       $mover = $gallery.children(),
  //       mover = $mover[0],
  //       $item = $mover.children(),
  //       totalWidth = $item.width() * $item.length;
  // 
  //   $mover.width(totalWidth * 2);
  //   $item.clone().appendTo($mover);
  // 
  //   var now = +new Date,
  //       later,
  //       counter = 0,
  //       left = 0;
  // 
  //   (function move() {
  // 
  //     later = +new Date;
  //     if (later - now >= 20 ) {
  //       now = later;
  //       if (left > -totalWidth ) {
  //         left -= 1;
  //       } else {
  //         left = 0;
  //       }
  //       mover.style.left = left + "px";
  //     }
  // 
  //     // rinse and repeat
  //     setTimeout(function() {
  //       move();
  //     }, 7);
  // 
  //   })();
  // });
});
