
/**
  *	should be called instead of the normal submit() so the HTML editor's contents are saved
  *
  */

function eWEP_new_form_submit()
	{
	eWebEditPro.save();
	}

/**
  *	translates editor's HTML into text and copies that into that into a text form
  *
  */
function eWEP_copyHTMLtoText( textFormObject , editorObject )
	{
	/*
	parameters. function frmSubmit(){ : your js code here : eWebEditPro.save(); window.[form name].submit(); }
	*/
	if ( confirm( "Are you sure you want to over-write the existing text?" ) )
		{
		textFormObject.value = editorObject.getBodyText();
		}
	}




