i am using two different functions for ie and netscape. It is working fine in IE5 but in ie4 it is giving the complient object doesnot support. can anyone of the tell where is the problem iam sending my code also...<BR><BR>the error it is showing is "tempWin.focus();"<BR><BR>functions i used is:<BR><BR>function focusActiveIE()<BR> {<BR> if ((tempWin == null) &#124&#124 (tempWin.closed))<BR> {<BR> window.onload();<BR> }<BR> else<BR> {<BR> tempWin.focus(); <BR> }<BR> }<BR> <BR> <BR><BR> function focusActiveNS()<BR> {<BR> if (tempWin.opener)<BR> {<BR> tempWin.focus();<BR> }<BR> else<BR> {<BR> window.onload();<BR> <BR> }<BR> }<BR><BR>thanks<BR>sree