function launchWindow(mypage,myname,w,h,t,attribs) {		// myname cannot contain whitespace
	popblocked = false;
	win = this.window;
	if (attribs == null) 	{ attribs = 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes'	}	
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	var wint = t;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+','+attribs
	win = eval(window.open(mypage, myname, winprops));
	if (win == null) {
		popblocked = true;
		alert('Please disable your popup blocking software');
	}
	else {		
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	}
}
