<?php 
if(!$f) {
	$f="newsform";
}
?>
function doSpellCheck() {
        window.open('','spell','width=500,height=500,scrollbars=yes,toolbar=no,resizable=no');
 	document.<?= $f ?>.target='spell';
 	//document.<?= $f ?>.action='/utils/m_new.php';
 	document.<?= $f ?>.action='/utils/m.php';
	document.<?= $f ?>.submit();
	document.<?= $f ?>.action='/cgi-bin/y/index.pl';
	document.<?= $f ?>.target='';
}
