>> <SCRIPT language=JavaScript src="func.js">document.write document.all[id];</SCRIPT> Your code is illegal. You have included a javascript src=""... The document.write in between the tags will never render on standards compliant browsers.