function log_out() ... { ht = document.getElementsByTagName("html"); ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"; if (confirm('你确定要退出?')) ...{ return true; } else ...{ ht[0].style.filter = ""; return false; }}