Superfish and jscript runtime error

Superfish and jscript runtime error

I am getting a runtime error when using the superfish code. It specifically says:  Microsoft JScript runtime error: Object expected.   I didn't create the original code, but am maintaining it and am new to programming.  Here's the two code snipits of where the error occurs.
 


  1. $(document).ready( function() {
  2.   $( 'ul.sf-menu' ).superfish({
  3.       hoverClass: 'sfHover',
  4.       speed: 'fast',
  5.       dropShadows: false,
  6.       autoArrows: false
  7.   });
  8. });


 
And it also stops here:
 

  1. $(document).ready( function(){
  2.       $("#ctl00_MainContent_txtKeyword").live('keyup', function() {
  3.             $("#ctl00_MainContent_ddlResearcher").get(0).selectedIndex = -1;
  4.             $("#ctl00_MainContent_ddlResearchTopic").get(0).selectedIndex = -1;
  5.       });
  6.       $("#ctl00_MainContent_ddlResearchTopic").live('change', function() {
  7.             $("#ctl00_MainContent_txtKeyword").val("");
  8.             $("#ctl00_MainContent_ddlResearcher").get(0).selectedIndex = -1;
  9.       });
  10.       $("#ctl00_MainContent_ddlResearcher").live('change', function() {
  11.             $("#ctl00_MainContent_txtKeyword").val("");
  12.             $("#ctl00_MainContent_ddlResearchTopic").get(0).selectedIndex = -1;
  13.       });
  14. });