window.onbeforeunload = function(){
var formlist = document.getElementById("regist");
for(var i=0;i[formlist.length;i++)
{
if(formlist[i].type!="hidden" && formlist[i].value!=""){
return false;
}
}
var formlist = document.getElementById("regist");
for(var i=0;i[formlist.length;i++)
{
if(formlist[i].type!="hidden" && formlist[i].value!=""){
return false;
}
}