//弹出提示框跳转到其他页面      
function logout()      
{      
  if (confirm("你确定要注销身份吗?\n是-选择确定,否-选择取消"))      
  {      
  window.location.href="logout.asp?act=logout"      
   }      
}      
=====javascript中弹出提示框跳转到其他页面=====      
function logout()      
{      
a lert("你确定要注销身份吗?");      
 window.location.href="logout.asp?act=logout"      
}      
=====Html中确认后弹出新页面===========      
function Del(id)      
{      
if (confirm("你确定要删除吗?"))      
  {      
   window.open("otherfile.asp?ID="+id+"&act=del","top","width=640,height=400")      
  }      
}      
=====Html中确认后跳转到其他页面=========      
function Del(URL)      
{      
if (confirm("你确定要删除吗?"))      
{      
  //URL="otherfile.htm"      
  window.location.href=URL      
 }      
}