function printDocument(sUrl){
	
	if (sUrl.indexOf("?") > -1) {
		sUrl += "&print=true";
	} else {
		sUrl += "?print=true";
	}
	
	var oDoc = window.open(sUrl,  "print", "toolbar=yes,scrollbars=yes,menubar=yes,titlebar=yes,width=565,height=475,resizable=yes,location=" + "no");
}
