QUOTE(macuser9214 @ Jul 8 2007, 01:47 PM)

...but i want it to start when someone goes to the site. Not have to push a button
It's
probable that the vast majority of people who find your site via a search-engine will
not come in through the 'front door' (e.g. index.html) and
presenting confronting your 'side-door' visitors with an
immediate popup robs you and them of the time needed develop a rapport/trust
An OK/CANCEL Confirm box that auto-loads not only
looks risky but is also rather difficult to (safely) get rid of - clicking on the top-right X to close it actually fires the 'CANCEL' event and who knows what lurks in there?
By the time I had got rid of such a pop-up, registering would be the LAST thing on my mind! I'd be more likely to see if the site should be or already has been
reported as BadwareBut... if you're prepared to risk scaring/losing/alienating vistors like me, then a body onload event is probaly the simplest way e.g.
<body onLoad="myScaryOnLoadRegistrationConfirmPopUp();"> with an IF
and ELSE for OK
and CANCEL