<html> <head> <script language="JavaScript"> function function1() { window.external.AutoScan("java2s", "index.htm"); } </script> </head> <body> <button onclick="function1();">Open Java2s.com site</button> </body> </html>