1 function NewWindow(mypage, myname, w, h, scroll, timeout)
3 if (screen.width >= 800)
5 var winl = (screen.width - w) / 2;
6 var wint = (screen.height - h) / 2;
7 winprops = 'height='+h+', width='+w+', top='+wint+', left='+winl+', scrollbars='+scroll+', resizable'
8 win = window.open(mypage, myname, winprops)
9 if (parseInt(navigator.appVersion) >= 4)
12 win.window.setTimeout("close()", timeout);
15 document.location = mypage;
18 function maximizeWindow()
20 top.window.moveTo(0, 0);
23 top.window.resizeTo(screen.availWidth, screen.availHeight);
27 top.window.outerHeight = screen.availHeight;
28 top.window.outerWidth = screen.availWidth;