1 function follow_up_window() {
4 var parm = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes";
10 var trans_rowcount = document.getElementsByName("follow_up_rowcount");
12 if (typeof trans_rowcount != "undefined") {
13 for (i = 1; i <= trans_rowcount[0].value; i++) {
14 var trans_id = document.getElementsByName("follow_up_trans_id_" + i);
15 var trans_type = document.getElementsByName("follow_up_trans_type_" + i);
16 var trans_info = document.getElementsByName("follow_up_trans_info_" + i);
19 "trans_id_" + i + "=" + encodeURIComponent(typeof trans_id != "undefined" ? trans_id[0].value : "") + "&" +
20 "trans_type_" + i + "=" + encodeURIComponent(typeof trans_type != "undefined" ? trans_type[0].value : "") + "&" +
21 "trans_info_" + i + "=" + encodeURIComponent(typeof trans_info != "undefined" ? trans_info[0].value : "");
24 url += "&trans_rowcount=" + encodeURIComponent(trans_rowcount[0].value);
28 window.open(url, "_new_generic", parm);