﻿var originalText;

var strings = new Array();
strings[0] = "What type of home service do you need?";
strings[1] = "What type of auto service do you need?";
strings[2] = "What type of business service do you need?";
strings[3] = "Email";
strings[4] = "Password";
strings[5] = "+ Telephone"


function textarea_focus(el, text) {
    for(var i=0; i<=strings.length; i++)
    {
        if (text == strings[i]){
            el.value = '';
            originalText = text;
        }
    }
}
function textarea_blur(el) {
    if (el.value == '') {
        el.value = originalText;
    }
}