﻿
/* Watermark textbox */
$(document).ready(function() {
    swapValues = [];
    $(".watermark_textbox").each(
        function(i) {
            swapValues[i] = $(this).val();
            $(this).focus(function() {
                if ($(this).val() == swapValues[i]) {
                    $(this).removeClass("watermarkOn").val("");
                }
            }).blur(function() {
                if ($.trim($(this).val()) == "") {
                    $(this).addClass("watermarkOn").val(swapValues[i]);
                }
            })
        }
    )
});
