function addArticle()
{
	//if(!validate_catpcha()){return false;}
//	var result = true;
	if($('article_date').value == ''){alert('Please, enter the article date');return false;}
	if($('article_date').value!='' && !_IsDate($('article_date').value, 'mmddyyyy', '-')){alert('Incorrect Article Date');return false;}
	if($('title').value == ''){alert('Please, enter the title');return false;}
	if($('content').value.length < 300){alert('The article must be longer than 300 characters');return false;}
	if($('turing').value == ''){alert('Incorrect Code');reloadCaptcha();return false;}
	return true;
}

function editArticle()
{
	//if(!validate_catpcha()){return false;}
//	var result = true;
	if($('article_date').value == ''){alert('Please, enter the article date');return false;}
	if($('article_date').value!='' && !_IsDate($('article_date').value, 'mmddyyyy', '-')){alert('Incorrect Article Date');return false;}
	if($('title').value == ''){alert('Please, enter the title');return false;}
//	if($('content').value.length < 300){alert('The article must be longer than 300 characters');return false;}
	if($('turing').value == ''){alert('Incorrect Code');reloadCaptcha();return false;}
	return true;
}
