<!--

function WinOpen(theURL, Name, popW, popH, scroll) 
	{ // V 1.0
	var winleft = (screen.width - popW) / 2;
	var winUp = (screen.height - popH) / 2;
	winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',noresize'
	Win = window.open(theURL, Name, winProp)
	if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}

function validEmail(email) {
	invalidChars = " /:"
	if (email == "") {
		return (false);
	}
	for (i=0; i < invalidChars.length; i++) {
		badChar = invalidChars.charAt(i)
		if (email.indexOf(badChar,0) != -1) {
			return (false);
		}
	}
	atPos = email.indexOf("@", 1)
	if (atPos == -1) {
		return (false);
	}
	periodPos = email.indexOf(".", atPos)
	if (periodPos == -1) {
		return (false);
	}
	if (periodPos + 3 > email.length) {
		return (false);
	}
	return (true);
}

function WinOpen(theURL, Name, popW, popH, scroll) 
	{ // V 1.0
	var winleft = (screen.width - popW) / 2;
	var winUp = (screen.height - popH) / 2;
	winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',noresize'
	Win = window.open(theURL, Name, winProp)
	if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}
-->	
