jQuery not working with WordPress

jQuery not working with WordPress

I’m moving a site over to wordpress and cannot get the dot navigation on the right hand side to work (see:  http://s593006646.websitehome.co.uk ). The .js file is below. I believe there is an issue with lines 2-4 but beyond that I've no idea where to turn. Any help is much appreciated!

  1. jQuery(document).ready(function(){
  2.     jQuery('.awesome-tooltip').tooltip({
  3.         placement: 'left'
  4.     });

  5.     jQuery(window).bind('scroll',function(e){
  6.       dotnavigation();
  7.     });

  8.     function dotnavigation(){

  9.         var numSections = jQuery('section').length;

  10.         jQuery('#dot-nav li a').removeClass('active').parent('li').removeClass('active');
  11.         jQuery('section').each(function(i,item){
  12.           var ele = jQuery(item), nextTop;

  13.           console.log(ele.next().html());

  14.           if (typeof ele.next().offset() != "undefined") {
  15.             nextTop = ele.next().offset().top;
  16.           }
  17.           else {
  18.             nextTop = jQuery(document).height();
  19.           }

  20.           if (ele.offset() !== null) {
  21.             thisTop = ele.offset().top - ((nextTop - ele.offset().top) / numSections);
  22.           }
  23.           else {
  24.             thisTop = 0;
  25.           }

  26.           var docTop = jQuery(document).scrollTop();

  27.           if(docTop >= thisTop && (docTop < nextTop)){
  28.             jQuery('#dot-nav li').eq(i).addClass('active');
  29.           }
  30.         });
  31.     }

  32.     /* get clicks working */
  33.     jQuery('#dot-nav li').click(function(){

  34.         var id = jQuery(this).find('a').attr("href"),
  35.           posi,
  36.           ele,
  37.           padding = 0;

  38.         ele = jQuery(id);
  39.         posi = (jQuery(ele).offset()||0).top - padding;

  40.         jQuery('html, body').animate({scrollTop:posi}, 'slow');

  41.         return false;
  42.     });

  43. /* end dot nav */
  44. });