JavaScript coding available to crm validate email address

I like to create ASP.NET file customer page in CRM 4.0, I need the CRM validate email address in text box control function similar with what is in CRM 4.0. I want to know the technique an if the coding in JavaScript for email validation is available.
