1.获取窗口高宽
document.write("innerHegiht:"+window.innerHeight +"宽度:"+window.innerWidth);
2、打开新的窗口
window.open("http://www.163.com","网易");