window.onbeforeunload = function()
{
if(event.clientX>document.body.clientWidth && event.clientY<0 || event.altKey)
{
window.event.returnValue="并退出系统吗?";
}
}
window.onbeforeunload = function()
{
if(event.clientX>document.body.clientWidth && event.clientY<0 || event.altKey)
{
window.event.returnValue="并退出系统吗?";
}
}