function showimage()
{
  if (!document.images)
  return;

  // Pull the currently selected value from the visible dropdown and split it on hyphen
  // var imagevalueunsplit = cart_quantity.colorselection.options[document.cart_quantity.colorselection.selectedIndex].value;
  var imagevalueunsplit = document.getElementById("colorselection").value;
  var imagevaluearray = imagevalueunsplit.split("-");

  // Set the array values to variables. First array value is the identifying value for the dropdown, second is the image name
  var imagevalue = imagevaluearray[0];
  var imagename = imagevaluearray[1];

  // Set the Zen Cart box (the hidden one) to the proper value so that the attribute is passed to the Shopping Cart
  document.getElementById("attrib-1").value = imagevalue;
  
  // Set the display image to the proper file
  document.images.colorimage.src="images/" + imagename;
}