﻿/// <reference path="jquery-1.5-vsdoc.js" />

$(function () {
    var temp, textbox = $("#subscribe").parent().children("input[type=text]");

    textbox.focusin(function () {
        $(this).filter(function () {
            return $(this).val() == "" || $(this).val() == "your email address"
        }).removeClass("watermarkOn").val("");
    });

    textbox.focusout(function () {
        $(this).filter(function () {
            return $(this).val() == ""
        }).addClass("watermarkOn").val("your email address");
    });
});

