var dollar = "$";  // String.fromCharCode(36); 

function estimate_via_dropdown(product, price) {
  var error = false;
  var total = price; 

  var displayErrors = false; 
  total += getAttPrice("attrib-22");
  total += getAttPrice("attrib-23");
  total += getAttPrice("attrib-24");
  total += getAttPrice("attrib-25");
  total += getAttPrice("attrib-26");
  total += getAttPrice("attrib-27");
  total += getAttPrice("attrib-28");
  total += getAttPrice("attrib-29");
  
  var priceString = ""; 
  if (error) 
      priceString = "Price cannot be determined at this time";
  else {
     total += 0.0; 
      total = Math.round(total * 100)/100;
      priceString = "Price for this configuration is " + dollar + total.toFixed(2);
  }

 
  var child = document.getElementById("dropdownPrice").firstChild;
  var oldchild = child; 
  while ( (child != null) && (child.nodeType != 3) ) {
     oldchild = child; 
     child = child.nextSibling; 
  }
  if (child == null) { child = oldchild; }
  var newText=document.createTextNode(priceString);
  document.getElementById("dropdownPrice").replaceChild(newText, child); 
  document.getElementById("dropdownPrice").style.visibility = "visible"; 
  document.getElementById("dropdownPrice").style.fontWeight= "bold"; 
}
