var url = document.location.toString(); var arrUrl = url.split("?"); var para = arrUrl[1]; var cs = para.slice("8");