mebil
[kivitendo-erp.git] / js / show_vc_details.js
1 function show_vc_details(vc) {
2   var width = 750;
3   var height = 550;
4   var parm = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes";
5   var vc_id = document.getElementsByName(vc + "_id");
6   if (vc_id)
7     vc_id = vc_id[0].value;
8   url = "common.pl?" +
9     "INPUT_ENCODING=UTF-8&" +
10     "action=show_vc_details&" +
11     "vc=" + encodeURIComponent(vc) + "&" +
12     "vc_id=" + encodeURIComponent(vc_id)
13   //alert(url);
14   window.open(url, "_new_generic", parm);
15 }