<html>
<head>
 <script language="javascript">
openWindow=function()
{
window.status="系统当前状态:你正在注册......";
if(window.screen.height==768&&window.screen.width==1024)
{
window.open("进入空间.htm");
}
else
{
window.alert("请调到800*600吧!");
}
}
closeWindow=function()
{
if(window.confirm("你确认要退出系统吗?"))
{
window.close();
}
}
bingding=function()
{
var btn1=window.document.getElementById("btn1");
btn1.onclick=closeWindow;
}
window.onload=bingding,openWindow;//这里是错的,我想知道怎样在window.onload中绑定2个方法以上

 </script>
</head>
<body>
<input type="button" id="btn1" value="OK">
</body>
</html>