function share(strTitle, strWindowTitle)
{
	var windowWidth = 500;
	var windowHeight = 650;
    var centerWidth = (window.screen.width - windowWidth) / 2;
    var centerHeight = (window.screen.height - windowHeight) / 2;
	var articleURL = self.location;
	var windowUri = "/app?service=external&page=main/ShareArticle&url="+encodeURIComponent(articleURL)+"&title="+encodeURIComponent(strTitle);
    newWindow = window.open(windowUri, strWindowTitle, 'resizable=0,width=' + windowWidth + 
            ',height=' + windowHeight + 
            ',left=' + centerWidth + 
            ',top=' + centerHeight + 
            ',scrollbars=0,location=0,status=0');
	if (window.focus) {newWindow.focus()}
}

function innerText(id) {
	if(typeof document.body.innerText != 'undefined'){
	    return document.getElementById(id).innerText;
	} else{
	   return document.getElementById(id).textContent;
	}
}