hi ams16, well instead of having a timer and dicrease it to zero you can in javascript
setTimeout(myfunction,1000)
function myfunction()
{
var myButton = document.getElementById('<%= button1.ClientID %>');
if(myButton != null)
{
myButton.click();
}
}
this will call the function after 1000 millisecond
hope it helped