please try :
using this to get the client id:
var editor1=document.getElementById('<%=Editor1.ClientID%>');
and you could get/set the content as :
var editdoc=editor1.GetDocument();
saveHTML(editdoc.body.innerHTML);
editdoc.body.innerHTML=loadHTML();
------
Regards , Terry .