1 function vendor_selection_window(input_name, input_id) {
 
   2   var parm = centerParms(600,500) + ",width=600,height=500,status=yes,scrollbars=yes";
 
   3   var name = document.getElementsByName(input_name)[0].value;
 
   5     "INPUT_ENCODING=UTF-8&" +
 
   6     "action=vendor_selection&" +
 
   7     "name=" + encodeURIComponent(name) + "&" +
 
   8     "input_name=" + encodeURIComponent(input_name) + "&" +
 
   9     "input_id=" + encodeURIComponent(input_id)
 
  11   window.open(url, "_new_generic", parm);