function writeApplet(divTag, html) {
	var reportdiv = document.getElementById(divTag);	
	reportdiv.innerHTML = html;
}