<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2462.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>&nbsp;function replace() 
{<BR>&nbsp;opener.location.replace("page1.html", 
opener.name);<BR>&nbsp;&nbsp;opener.document.forms[0].field.value = 
document.forms[0].rep.value;<BR>&nbsp;}<BR><FONT size=2>just comment the first 
line and see, it will work. actually when u are replacing the window1, then it 
is not the opener window. so opener.docum...&nbsp; will not work. change your 
logic.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>sushil.</FONT></DIV></FONT></BODY></HTML>