<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>

<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face=Verdana>Hi, </FONT></DIV>
<DIV>
<P>I need to focus on a media on a page displayed in a window when i click on a 
link present on another window.For this I have a code where I put '&lt;a 
name="somename"&gt; &lt;/a&gt;' before the text where I want to focus when that 
HTML is displayed on a browser and then I write a script 
<P>'&lt;script&gt;window.location.href="#somename"&lt;/script&gt;' which takes 
focus to that text. For ex - 
<P>shailja saxena &lt;br&gt;( repeat text so that it scrolls down on a page 
)<BR>shailja saxena &lt;br&gt;<BR>shailja saxena &lt;br&gt;<BR>shailja saxena 
&lt;br&gt;<BR>&lt;a name="somename"&gt; &lt;/a&gt;<BR>end 
here<BR>&lt;script&gt;window.location.href="#somename"&lt;/script&gt; 
<P>This works in IE but I have to refresh this page 3 times for it to work in 
Netscape6.2 
<P>How can I make it work in 1 go in Nescape ? 
<P>I need this urgently. <IMG src="http://www.javaranch.com/ubb/rolleyes.gif" 
border=0></P>
<P>&nbsp;</P>
<P>regards,</P>
<P>Shailja</P>
<P>&nbsp;</P></FONT></DIV></BODY></HTML>