<body  onload="funcation1();funcation2()">

中间加个分号就可以了。


<img onclick="xwindow();self.close()">