var parm = centerParms(600,500) + ",width=600,height=500,status=yes,scrollbars=yes";
var name = document.getElementsByName(input_name)[0].value;
url = "common.pl?" +
+ "INPUT_ENCODING=UTF-8&" +
"action=vendor_selection&" +
"name=" + encodeURIComponent(name) + "&" +
"input_name=" + encodeURIComponent(input_name) + "&" +