//視窗寬度=document.body.ooffsetWidth//圖片寬度=layer1.style.posWidth//視窗高度=document.body.ooffsetHeight//圖片高度=layer1.style.posHeight//左:left 右:right 上:top 下:bottom