﻿// file.js
$(document).ready(function () {
    /* Make boxes same height */
    $(function () { $('#wrapper').equalHeights(); });
        
    swapValues = [];
    $(".wm").each(function (i) {
        swapValues[i] = $(this).val();
        $(this).focus(function () {
            if ($(this).val() == swapValues[i]) {
                $(this).val("").removeClass("watermark")
            }
        }).blur(function () {
            if ($.trim($(this).val()) == "") { $(this).val(swapValues[i]).addClass("watermark") }
        })
    })

}); 
