﻿// JScript File

var defaultText = "Enter e-mail Id";
function WaterMark(txt, evt) 
{ 
if(txt.value.length == 0 && evt.type == "blur") 
{ 
txt.style.color = "gray"; 
txt.value = defaultText; 
} 
if(txt.value == defaultText && evt.type == "focus") 
{ 
txt.style.color = "gray"; 
txt.value=""; 
} 
} 