function check()
{
image.document.close()
image.document.clear()
image.document.open("text/html")
image.document.write("<img src="+form1.p1.value+">");
image.document.write("<img src="+form1.p2.value+">");
}
{
image.document.close()
image.document.clear()
image.document.open("text/html")
image.document.write("<img src="+form1.p1.value+">");
image.document.write("<img src="+form1.p2.value+">");
}
<script language=javascript>
function check()
{
image.document.body.innerHTML="";
image.document.write("<img src="+form1.p1.value+">");
image.document.write("<img src="+form1.p2.value+">");
}
</script>