hai,<BR>I got a front page when it is loaded automatically another window will come. i just created a normal button in front page. Now what i want is even if the second window comes if i click the button i should get the second window(only once) i know i can use onfocus() event in javascript but i want to know how can i use it. Do i need to say anything before using that event in form??<BR><BR>please helpme.<BR>thanks<BR>sri