Sorry, I think I should have copied the entire function:

Code:
var xhr = new objXHR;

function init() {
  var n=document.forms.length;
  for (var i=0; i<n; i++) {
    if (document.forms[i].name == theFormName) {
      theForm = document.forms[i];
      continue;
    }
  }

  var n=theForm.elements.length;
  for (var i=0; i<n; i++) {
    switch (theForm.elements[i].type) {
      case 'select':
      case 'select-one':
        theForm.elements[i].onchange = function () { xhr.getPrice(); }
		theForm.elements[i].onchange = function () { getattribimage(); }
        break;
      case 'text':
        theForm.elements[i].onkeyup = function () { xhr.getPrice(); }
        break;
      case 'checkbox':
      case 'radio':
        theForm.elements[i].onclick = function () { xhr.getPrice(); }
        break;
    }
  }

<?php
  $show_dynamic_price_updater_sidebox = true;

    if ($show_dynamic_price_updater_sidebox == true)
    {
?>
    createSB();
<?php
    }
?>
  xhr.getPrice();
}
Their select tab does not have an "onchange". Instead, this is what a select menu looks like (example product):

Code:
<select name="id[4]" id="attrib-4" class="form-control">
  <option value="1">4 mb</option>
  <option value="2">8 mb ( +$50.00 )</option>
  <option value="3">16 mb ( +$70.00 )</option>
</select>
Thanks for your help.