[javascript] function getParameter(param) { if (location.search.length > 1) { var paramArray = location.search.substr(1).split("&"); var len = paramArray.length; for(var i=0; i<