// encodeURI 编码
window.location.href(encodeURI("zhongji2.html"+"?"+"parm1="+parm1+"&parm2="+parm2+"&parm3="+parm3+"&parm4="+parm4));
"zhongji2.html"
+
"?"
"parm1="
+parm1+
"&parm2="
+parm2+
"&parm3="
+parm3+
"&parm4="
+parm4
var
url=decodeURI(location.href);