
function testBox(form, button) {
	Ctrl = form.mail;
	if (Ctrl.value == "" || Ctrl.value.indexOf ('@', 0) == -1) {
		validatePrompt (Ctrl, "Niestety nie podałes adesu e-mail, lub podany adres jest nieprawidłowy!")
		return;
	} else
	document.form.submit();
		return;
		}
		
		
	//---------
function validatePrompt (Ctrl, PromptStr) {
	alert (PromptStr)
	Ctrl.focus();
	return (true);
}
function loadDoc() {
	// initial focus; use if needed
	//document.test.key.focus ();
	return;
} 
// -->

