var lita=function(){this.windowHeight=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;this.windowWidth=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth;this.get_address=function(){var b=document.location.hash;var a=b.substr(1);return a};this.removeElement=function(a){var b=document.getElementById(a);b.parentNode.removeChild(b)};this.loadJSON=function(c,b){var a=new XMLHttpRequest();a.open("GET",c,true);a.onreadystatechange=function(){if(a.readyState==4){b(a)}};a.send(null)};this.loadXML=function(a,c){var b;if(window.XMLHttpRequest){b=new XMLHttpRequest()}else{b=new ActiveXObject("Microsoft.XMLHTTP")}b.open("GET",a,false);b.send();c(b.responseXML)}};var Lita=new lita();
