﻿function DGWatermark() { };

var WatermarkText = "";

DGWatermark.prototype.add = function(e, Text) {
    var ObjE = document.getElementById(e);
    ObjE.value = Text;
    ObjE.onfocus = function() {
        if (this.value == eval("\"" + Text + "\""))
            this.value = '';
    }

    ObjE.onblur = function() {
        if (this.value == '')
            this.value = eval("\"" + Text + "\"");
    }
}

var LLNWatermark = new DGWatermark();

