function spellCheckOpen(theURL, theField) {
	if(theField.value.length == 0) {
		alert('The spelling check is complete.');
	} else {
		var name = 'spellChecker';
		var width = 400;
		var height = 230;
	
		w = screen.availWidth;
		h = screen.availHeight;
		
		var popW = width, popH = height;
		var leftPos = (w - popW) / 2, topPos = (h - popH) / 2;
		
		window.open(theURL, name, 'width='+width+', height='+height+', toolbar=no, menubar=no, status=no, scrollbars=no, resize=no, top='+topPos+', left='+leftPos);
	}
}

function spellCheckDone(){
	alert('The spelling check is complete.');
}
