function popup(url,w,h,s,r) {
	s = s == void 0 ? ',scrollbars=1' : '';  // default is scrollbars
	r = r == void 0 ? ',resizable=1' : '';  // default is resizable
	l = (screen.width) ? (screen.width - w)/2 : 0;
	t = (screen.height) ? (screen.height - h)/2 : 0;
	winpops = window.open(url, '', 'top='+t+',left='+l+',width='+w+',height='+h+s+r);
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
	if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
		document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
