﻿var varTomorrow;
function fnwatermark(inputIdSrc, textSrc) {
    var inputBox = document.getElementById(inputIdSrc);
    if (inputBox.value.length > 0) {
        if (inputBox.value == textSrc)
            inputBox.value = '';
    }
    else
        inputBox.value = textSrc;
}
function fnwatermarkDestination(inputIdDes, textDes) {
    var inputBox = document.getElementById(inputIdDes);
    if (inputBox.value.length > 0) {
        if (inputBox.value == textDes)
            inputBox.value = '';
    }
    else
        inputBox.value = textDes;
}


//var varTomorrow;
//function fnwatermark(inputIdSrc, textSrc) {
//    var inputBox = document.getElementById(inputIdSrc);
//    if (inputBox.value.length > 0) {
//        if (inputBox.value == textSrc)
//            inputBox.value = '';
//    }
//    else
//        inputBox.value = textSrc;
//}
////fndateWatrmark();
//function fndateWatrmark(inputId) {
//    var mydate = new Date();
//    var theyear = mydate.getFullYear();
//    var themonth = mydate.getMonth() + 1;
//    var thetoday = mydate.getDate() + 1;
//    varTomorrow = thetoday + '/' + themonth + '/' + theyear;
//    alert(varTomorrow);
//    document.getElementById('dateFrom').value = varTomorrow;
//}

