Sub btnLogin_onclick top.document.location.replace "http://www.integctr.com/" 'Call Login(document.all.item("txtCompanyID").value,document.all.item("txtUsername").value,document.all.item("txtPassword").value) End Sub Function CookieMode(VariableName) End Function