I'm not sure I follow you when you say, "Javascript variable which holds an html page", but If you need to extract the HTML between such a div, you can use the element's innerHTML property.
var e = document.getElementById('LiveArea');
if(e) alert(e.innerHTML);