/*function getfck(ed_name){
	if (document.all) return (document.all[ed_name].contentWindow.document.all['eEditorArea']).contentWindow.document.body.innerHTML;
	else if (document.getElementById) {return (document.getElementById(ed_name).contentWindow.document.getElementById('eEditorArea')).contentWindow.document.body.innerHTML;}
}
function fck_filled(testvalue){
	if (testvalue == "" || ((testvalue.length == 6 || testvalue.length == 4) && testvalue.substring(0,4) == '<br>')
		|| testvalue == '<P>&nbsp;</P>' || testvalue == '<p>&nbsp;</p>') return false;
	else return true;
}*/
function fck_filled(ed_name){
	var text = FCKeditorAPI.GetInstance(ed_name).GetXHTML();
	if (text == "" || ((text.length == 6 || text.length == 4) && text.substring(0,4) == '<br>')
		|| text == '<p>&nbsp;</p>' || text == '<P>&nbsp;</P>') return false;
	else return true;
}

