function check_form(f) {
	if(!f.uTitle.value)	{
		alert('Á¦¸ñÀ» ÀÔ·ÂÇÏ¼¼¿ä');
		f.uTitle.focus();
		return false;
	}
		
	if(!f.uContent.value) {
		alert('³»¿ëÀ» ÀÔ·ÂÇÏ¼¼¿ä');
		f.uContent.focus();
		return false;
	}
		
	if(!f.flag.value)
		f.flag.value = 'write_prc';
	else
		f.flag.value = 'update_prc';
	return true;
}

function check_search(f) {
	if(!f.keyword.value) {
		alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä');
		f.keyword.focus();
		return false;
	}
	return true;
}

function viewArticle(name,width,height) {
	window.open('/press/view.htm?name='+name+'&width='+width+'&height='+height, 'viewArticle',  'marginwidth=0,marginheight=0,toolbar=no,resizable=1,scrollbars=yes,width='+width+',height='+height+',top=0,left=100');
}