") //location of closing tag parent.frames[0].document.open() parent.frames[0].document.write(msg.substring(0,loc)) parent.frames[0].document.write("") msg = msg.substring(loc+9) // alert(msg.indexOf("")) parent.frames[0].document.write(msg) parent.frames[0].document.close() } function clearTopFrame(){ parent.frames[0].document.open() parent.frames[0].document.write("
") parent.frames[0].document.close() } //-->