function validatew(){
  var msg = "If you want a custom name, you must select a  shape and/or color  and pay appropriate charges, if any.";
  var current_customname = eval("document.frmProductW.LineMessage.value");
  var nameshape_idx = eval("document.frmProductW.KitComp1.selectedIndex");
  var nameshape_sel = eval("document.frmProductW.KitComp1[" + nameshape_idx +"].text");

  if (current_customname != "" && nameshape_sel=="Select") {
    alert(msg);
    return false;
  }
 
  else {
    return true;
  }
}

function validateb(){
  var msg = "If you want a custom name, you must select a  shape and/or color  and pay appropriate charges, if any.";
  var current_customname = eval("document.frmProduct.LineMessage.value");
  var nameshape_idx = eval("document.frmProduct.KitComp1.selectedIndex");
  var nameshape_sel = eval("document.frmProduct.KitComp1[" + nameshape_idx +"].text");

  if (current_customname != "" && nameshape_sel=="Select") {
    alert(msg);
    return false;
  }
 
  else {
    return true;
  }
}
