Help with Syntax

Help with Syntax

Hey all,
I am new to working with variables and am trying to get this function working. I was wondering if anyone can help me find the problem in it. Thanks!

  1.     <script type="text/javascript">
  2.         $(document).ready(function() {
  3.             $('.partners_internal_product_select input[type=radio]').live('change', function(){ //Setting up the chenge event for the radio button
  4.                    var AffectedRegistration = $(this).closest('.partners_internal_product_registration'); //Select the nearest div with this class
  5.                 var ID = $(this).attr('id'); //getting the ID of the radio button
  6.                 var IDArray = ID.split('_'); //seperating the ID into an array
  7.                 var regURL = 'accomodationpartners/'+IDArray[1]+'.php'; //building a url to load
  8.                 $(AffectedRegistration).load(regURL); //loading the url into the nearest div.partners_internal_product_registration
  9.             });
  10.         });
  11.         
  12.         </script>
  13.         <div class="partners_internal_item_hdr"><h1 class="white">Program Registration</h1></div>
  14.         <div class="partners_internal_item">
  15.             <div class="partners_internal_item_subhdrfull"><h2>Select a Product to Register For:</h2></div>
  16.             <div class="partners_internal_product_select">
  17.                 <fieldset><input type="radio" class="productselect" name="productselect" id="productselect_daytrip" /><label for="productselect_daytrip">Day Trip</label></fieldset>
  18.                 <fieldset><input type="radio" class="productselect" name="productselect" id="productselect_courseregistraion" /><label for="productselect_courseregistraion">Course Registration</label></fieldset>
  19.                 <fieldset><input type="radio" class="productselect" name="productselect" id="productselect_socialbusinessgroup" /><label for="productselect_socialbusinessgroup">Social/Business Group</label></fieldset>
  20.                 <fieldset><input type="radio" class="productselect" name="productselect" id="productselect_paddlefest" /><label for="productselect_paddlefest">Paddlefest</label></fieldset>
  21.                 <fieldset><input type="radio" class="productselect" name="productselect" id="productselect_paddleplay" /><label for="productselect_paddleplay">Paddle and Play</label></fieldset>
  22.             </div>
  23.             <div class="partners_internal_product_registration"></div>
  24.         </div>