If you need to introduce external Js, you need to refresh to execute ]<script>
var newopen = function(i)
{
return function()
{
location.replace("http://www.jb51.net");
}
}
if (document.getElementById("btnan").attachEvent)
{
document.getElementById("btnan").attachEvent("onclick",newopen("popo"));
}
else
{
document.getElementById("btnan").addEventListener("click",newopen("tyty"),false);
}
</script>