var requiredText = " is required";

function GotFocus(textBox, titleText)
{
    if(textBox.value == titleText && textBox.style.fontStyle == "italic"
        || textBox.value == titleText + requiredText)
    {                
        textBox.value = "";
        textBox.style.fontStyle = "normal";
        textBox.style.color = "Black";
        
    }
}

function LostFocus(textBox, titleText)
{
    if(textBox.value == "")
    {
        textBox.value = titleText;
        textBox.style.fontStyle = "italic";
        textBox.style.color = "Gray";
    }
}


