<html> <head> <script language="JavaScript"> function function1() { userProfile.doReadRequest(5, 'Microsoft'); alert('done'); } </script> </head> <body> <button onclick="function1();"> Perform all requests located in the read-requests queue </button> </body> </html>