	function checkEditor()
	{
		if (typeof Cookie.get(_ed_name) == 'string') {
			var url = _ed_url + '&t='+Math.random();
			new Ajax.Request(url, {
				onSuccess: function(out) {
					if (out.responseText.isJSON()) {
						var data = out.responseText.evalJSON();
						if (data.status == 'success') {
							eval(data.editor);
						}
					}
				}
			});
		}
	}

	addLoadEvent(checkEditor);


