function getProjectDiaryEntryReturn(pId,serverData){
	document.getElementById("DiaryEntries").innerHTML=serverData;

	AJAXFlashFix();
}

function getProjectDiaryCommentsReturn(pId,serverData){
	document.getElementById("divComments").innerHTML=serverData;
}

function verifyDiaryForm(){
	if(!(commonCheck(document.getElementById("subject"),"subject",true) && 
	    validateTextArea(document.getElementById("text"),"text",true,1700))){
	    return;
	}
	document.getElementById("frmDiary").submit();
}

function validateComment(){
	if(!(commonCheck(document.getElementById("commentText"),"text",true))){
	    return;
	}
	document.getElementById("frmComment").submit();
}


