if (vc_id)
vc_id = vc_id[0].value;
url = "common.pl?" +
+ "INPUT_ENCODING=UTF-8&" +
"action=show_vc_details&" +
- "login=" + escape(document.getElementsByName("login")[0].value) + "&" +
- "password=" + escape(document.getElementsByName("password")[0].value) + "&" +
- "vc=" + escape(vc) + "&" +
- "vc_id=" + escape(vc_id)
+ "vc=" + encodeURIComponent(vc) + "&" +
+ "vc_id=" + encodeURIComponent(vc_id)
//alert(url);
window.open(url, "_new_generic", parm);
}