- "login=" + encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+
- "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" +
- "email_subject=" + escape(document.getElementsByName(input_subject)[0].value) + "&" +
- "email_body=" + escape(document.getElementsByName(input_body)[0].value) + "&" +
- "email_attachment=" + escape(document.getElementsByName(input_attachment)[0].value) + "&" +
- "input_subject=" + escape(input_subject) + "&" +
- "input_body=" + escape(input_body) + "&" +
- "input_attachment=" + escape(input_attachment);
+ "email_subject=" + encodeURIComponent(document.getElementsByName(input_subject)[0].value) + "&" +
+ "email_body=" + encodeURIComponent(document.getElementsByName(input_body)[0].value) + "&" +
+ "email_attachment=" + encodeURIComponent(document.getElementsByName(input_attachment)[0].value) + "&" +
+ "input_subject=" + encodeURIComponent(input_subject) + "&" +
+ "input_body=" + encodeURIComponent(input_body) + "&" +
+ "input_attachment=" + encodeURIComponent(input_attachment);