/* ----------------  Example code ---------------------------

    Dim emailText As String = " email"
    Dim id As String = txtUzoekt.ClientID
    txtUzoekt.Attributes.Add("onfocus", "clearText('" & id & "','" & emailText & "')")
    txtUzoekt.Attributes.Add("onblur", "resetText('" & id & "','" & emailText & "')")
    txtUzoekt.Style.Add("color", "#999999")
    txtUzoekt.Text = emailText
*/

function resetText(id,text){
	var txt = document.getElementById(id);
	if(txt.value == ""){
		txt.value = text
	}
}

function clearText(id,text){
	var txt = document.getElementById(id);
	if (txt.value == text){
	txt.value = "";
	}
}