function validateArticle()
{
	if(document.articleForm.linkedit.value == "true" && document.articleForm.linkname.value.length == 0)
	{
		alert('Please enter the name of this link!');
		return false;
	}
	
	if(document.articleForm.title.value.length == 0)
	{
		alert('Please enter the title of the Miljonair Report!');
		return false;
	}
	
	if(document.articleForm.date.value.length == 0)
	{
		alert('Please enter the date of the Miljonair Report!');
		return false;
	}
		
	if(document.articleForm.publishing.value.length == 0)
	{
		alert('Please enter the publishing date of the Miljonair Report!');
		return false;
	}
}

function validateArticleSection()
{
	if(document.articleSectionForm.content.value.length == 0)
	{
		alert('Please enter the content of the section!');
		return false;
	}
}

function validatePicture()
{
	if(document.pictureForm.picture.value.length == 0)
	{
		alert('Please select a picture!');
		return false;
	}
	if(document.pictureForm.edit.value.length <= 0)
	{
		if(document.pictureForm.thumbnail.value.length == 0)
		{
			alert('Please select a thumnail!');
			return false;
		}
	}
}

function validateFaq()
{
	if(document.faqForm.question.value.length==0)
	{
		alert('Please enter a question!');
		return false;
	}
	if(document.faqForm.answer.value.length==0)
	{
		alert('Please enter an answer!');
		return false;
	}
}