jQuery(document).ready(

	/*
	This function gets loaded when all the HTML, not including the portlets, is
	loaded.
	*/

	function() {
	}
);

Liferay.Portlet.ready(

	/*
	This function gets loaded after each and every portlet on the page.

	portletId: the current portlet's id
	jQueryObj: the jQuery wrapped object of the current portlet
	*/

	function(portletId, jQueryObj) {
	}
);

jQuery(document).last(

	/*
	This function gets loaded when everything, including the portlets, is on
	the page.
	*/

	function() {
	}
);





var PRINTAPLE_DIV=null;
function printContent(oDiv){
    PRINTAPLE_DIV=document.getElementById(oDiv);

    var oWindow=document.open("/astmabarn-theme/templates/print.html",'print','width=600,height=700,addressbar=0, toolbar=0');

}

function getContent(oDiv){

    var htmlContent=PRINTAPLE_DIV.innerHTML;
    oDiv.innerHTML=htmlContent;

}