1 function calculate_qty_selection_window(input_name, input_id, formel_name, formel_id) {
2 var parm = centerParms(600,500) + ",width=600,height=500,status=yes,scrollbars=yes";
3 var action = "calculate_qty";
5 var formel = $('#' + formel_id).val();
7 var formel = $('[name="' + formel_name + '"]').val();
10 "INPUT_ENCODING=UTF-8&" +
11 "action=" + action + "&" +
12 "input_name=" + encodeURIComponent(input_name) + "&" +
13 "input_id=" + encodeURIComponent(input_id) + "&" +
14 "formel=" + encodeURIComponent(formel);
16 window.open(url, "_new_generic", parm);