function writeFlash(flashdata) 
{ 
//document.write(flashdata); 
document.getElementById("flash").innerHTML=flashdata
} 
