

confirma = function(x){

	if(confirm(x))return true ; else return false;

 }

 

 logout = function(){ document.location.href= '?cnt=logout'}



function get_ed_text(editor_name)

{

    var oEditor = FCKeditorAPI.GetInstance(editor_name) ;

    if (oEditor.EditorDocument.body.innerHTML) {

        // Uncomment the following line for a proper XHTML return

        return oEditor.GetXHTML();

      //  return oEditor.EditorDocument.body.innerHTML;

    }

    else return '';

}

function abreDiv(div) {
	var div_mesmo= document.getElementById(div);
	div_mesmo.style.display="block";
}

function fechaDiv(div) {
	var div_mesmo= document.getElementById(div);
	div_mesmo.style.display="none";
}