<head>
<script language="javascript" type="text/javascript">
function validat()
{
.
.
.
.
.
.
}
</script>
</head>
<body>
<asp:imagebutton id="ButtonMobileSubmit" imageurl="../images/submit.gif" runat="server" onclientclick="return validat();" xmlns:asp="#unknown" /> </body>