//获取url参数function GetQueryString(sProp) { var re = new RegExp("[&,?]" + sProp + "=([^&]*)", "i"); var a = re.exec(document.location.search); if (a == null) return ""; return a[1];}