function	makeEditorCom( DBmask ) {
	var DBmask_ = DBmask;
	return {
		openEditor:	function( digibookid ) {
			this.exec('openEdit', {digibookid:digibookid})
			DBmask_.cover_('editor');
		},

		send:	function( commandcode, arg ) {
		},
		exec:	function( actioncode, arg ) {

			var	editor_url = '/?actioncode='+actioncode;
			for( var i in arg ) {
				editor_url += '&'+i+'='+arg[i];
			}

			var iframe_editor = document.getElementById('iframe_editor');
			iframe_editor.src=editor_url;

		}
	}
}


