function present_product_info()
  {
  if( !jQuery(".product_description") ) return;
  var product_html = "<table id=\"product_description\" cellspacing=\"0\">\n";
  var product_description = jQuery(".product_description").text();
  while( product_description.search(/[ \n][\w\-\(\)]*\[:\]/) != -1)
    {
    breakIndex = product_description.search(/[ \n][\w\-\(\)]*\[:\]/);
    product_description = product_description.substr(0, breakIndex) + "[--]" + product_description.substr(breakIndex + 1);
    }
  var lines = product_description.split("[--]");
  for( x = 0; x < (lines.length); x++ )
    {
    var parts = lines[x].split("[:]");
    if( parts.length == 2 )
      {
      product_html += "  <tr>\n";
      product_html += "    <td class=\"left_column\">" + parts[0].replace('-', ' ').replace('-', ' ') + "</td>\n";
      product_html += "    <td class=\"right_column\">" + parts[1] + "</td>\n";
      product_html += "  </tr>\n";
      }
    else
      {
      product_html += "  <tr>\n";
      product_html += "    <td colspan=\"2\">" + parts[0].replace('-', ' ').replace('-', ' ') + "</td>\n";
      product_html += "  </tr>\n";
      }
    }
  product_html += "  </table>\n";
  jQuery(".product_description").html( product_html );
  }
  
function present_product_list()
  {
  if( !jQuery(".product_list_item") ) return;
  products = jQuery(".product_list_item")
  jQuery.each(products, function(index, product) {
    var product_description = jQuery(product).find(".product_list_item_short_description").text()
    while( product_description.search(/[ \n][\w\-\(\)]*\[:\]/) != -1)
      {
      breakIndex = product_description.search(/[ \n][\w\-\(\)]*\[:\]/);
      product_description = product_description.substr(0, breakIndex) + "[--]" + product_description.substr(breakIndex + 1);
      }
    var lines = product_description.split("[--]");
    for( x = 0; x < (lines.length); x++ )
      {
      var parts = lines[x].split("[:]");
      if( parts.length == 2 )
        {
        if(parts[0] == "neck-finish")
          {
          var newDiv = document.createElement("div");
          newDiv.className = "product_list_item_neck_finish";
          newDiv.appendChild(document.createTextNode(parts[1]));
          product.appendChild(newDiv)
          }
        }
      }
  })
  }

jQuery(document).ready( present_product_info );
jQuery(document).ready( present_product_list );
