function writeFlash(id,code) {
	document.getElementById(id).innerHTML = code;
}

