var url = window.location.search.split('?')[1].split('&');var Id = url[0].split('=')[1];// var Id="${id}";var index = parent.layer.getFrameIndex(window.name);var Name = url[1].split('=')[1];Name = window.decodeURIComponent(Name);