//check for www.
//Write in the VB code: button.Attributes.Add("onclick", "javascript:wwwcheck('the textbox name');")
function wwwcheck(textbox){
	var myString = document.getElementById(textbox).value
	if(myString.indexOf('www.')>-1)
	{ 
		var answer = confirm("Your email contains 'www' press [ok] if you are sure or press [cancel] to change"); 
		if (answer) 
		{ 
		return true; 
		} 
		else 
		{
		document.getElementById('www').value = '1'
		return false; 
		}
	} 
}