function ValidateArticleEditorLogin()
{
	if(document.getElementById('txtArticleEditorUsername').value == '')
	{
		alert('Please enter a username in the usaername field.');
		document.getElementById('txtArticleEditorUsername').focus();
		return false;
	}
	
	if(document.getElementById('txtArticleEditorPassword').value == '')
	{
		alert('Please enter a password in the password field.');
		document.getElementById('txtArticleEditorPassword').focus();
		return false;
	}
	//DEFAULT RETURN VALUE
	return true;
}
//*******************************************************************************************************************************
function ValidateCreateGallery()
{
	if(document.getElementById('txtSubmitterName').value == '')
	{
		alert('Please enter a Name in the Name field.');
		document.getElementById('txtSubmitterName').focus();
		return false;
	}
	
	if(document.getElementById('txtDate').value == '')
	{
		alert('Please select a Date for the Date field.');
		document.getElementById('txtDate').focus();
		return false;
	}
	
	if(document.getElementById('txtDescription').value == '')
	{
		alert('Please enter a Description in the Description field.');
		document.getElementById('txtDescription').focus();
		return false;
	}
	
	if(document.getElementById('txtOrder').value == '')
	{
		alert('Please enter a Order in the Order field.');
		document.getElementById('txtOrder').focus();
		return false;
	}
	
	if (isNaN(document.getElementById('txtOrder').value))
	{
		alert('Please enter a numeric value for Order in the Order field.');
		document.getElementById('txtOrder').focus();
		return false;
	}
	//DEFAULT RETURN VALUE
	return true;
}