var hsh = document.location.hash; hsh = hsh .substring(1, hsh .length); document.write(decode64(hsh ));