Hi all,<BR>I&#039m trying to write a little script which would automatically set the current page as the default page. This works perfectly fine if I put it into a button like this:<BR><BR>&#060;INPUT TYPE="button" VALUE="Set Home Page!" NAME="homepage" ONCLICK="this.style.behavior=&#039url(#default#hom epage)&#039;this.setHomePage(&#039http://www.yahoo.com&#039);"&#062;&#060;/INPUT&#062;<BR><BR>What I would like to do is put this into a script so that when the user clicks the button, it&#039ll call a function that would then set the default page and then redirect the user to another page.<BR><BR>Is this possible and if so, can anyone provide the sample code?<BR><BR>Thanks in advance!<BR><BR>-Rod<BR>biagtan@yahoo.com