    function isNumeric(FldNm, VAL){
		 	if(0 < VAL.length){
  		 	if(isFinite(VAL)){
  				if(0 < VAL){
  					document.getElementById('term').innerHTML = '(' + YRS * 12 + ' Months)';
  				} // if(0 < VAL)
  				else if(0 == VAL){
            alert('Value Must Be Greater Than Zero');
            document.getElementById(FldNm).value = "";
            document.getElementById(FldNm).focus();
  				} // else if(0 == VAL)
  				else if(0 > VAL){
            alert('Value Cannot Be Negative');
            document.getElementById(FldNm).value = "";
            document.getElementById(FldNm).focus();
  				} // else if(0 > VAL)
  			} // if(isFinite(VAL))
  			else{
          alert('Please Enter Only Numbers');
          document.getElementById(FldNm).value = "";
          document.getElementById(FldNm).focus();
  			} // else [if(isFinite(VAL))]
			} // else [if(0 < VAL.length)]
    } // function checkforDigits(chars)
		
    function isCurrency(FldNm, VAL){
		 	if(-1 != VAL.indexOf('.')){
  		 	if(3 != VAL.length - VAL.indexOf('.')){
          alert('Invalid Currency Value Entered');
          document.getElementById(FldNm).value = "";
          document.getElementById(FldNm).focus();
  			} // (VAL.indexOf('.') != VAL[VAL.length -2])
			} // if(-1 != VAL.indexOf('.'))
    } // function isCurrency(FldNm, VAL)
		
    function isDomain(FldNm, VAL){
		 	if(-1 == VAL.indexOf('.')){
            alert('Invalid Domain Entered');
            document.getElementById(FldNm).value = "";
            document.getElementById(FldNm).focus();
			} // if(-1 == VAL.indexOf('.'))
    } // function isDomain(FldNm, VAL)
		
    function encodeString(FldNm, VAL){
      document.getElementById(FldNm).value = encodeURIComponent(VAL);
    } // function encodeString(FldNm, VAL)

		
    function decodeString(FldNm, VAL){
      document.getElementById(FldNm).value = decodeURIComponent(VAL);
    } // function decodeAlphaNum(FldNm, VAL)

    function isZip(FldNm, VAL){
		 	if(10 >= VAL.length){
  		 	if(10 == VAL.length){
  				if(5 != VAL.indexOf('-')){
            alert('Invalid Zip Code Entered');
            document.getElementById(FldNm).value = "";
            document.getElementById(FldNm).focus();
					} // if(5 != VAL.indexOf('-'))
  			} // if(10 == VAL.length))
  			else if(5 != VAL.length && -1 != VAL.indexOf('-')){
          alert('Invalid Zip Code Entered');
          document.getElementById(FldNm).value = "";
          document.getElementById(FldNm).focus();
  			} // else if(5 != VAL.length)
			} // else [if(10 >= VAL.length)]
    } // function isZip(FldNm, VAL)
		
		function filterEmail(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\/|\(|\)|\@| /g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterEmail(str)
		
		function filterCurrency(str){
    re = /\$|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\/|\(|\)|\@| |a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterCurrency(str)
		
		function filterInteger(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\.|\/|\(|\)|\@| |a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterInteger(str)
		
		function filterPhone(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\'|\{|\}|\`|\~|\_|\\|\||\?|\.|\/|\@|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|Y|Z/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterPhone(str)
		
		function filterZip(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\'|\{|\}|\`|\~|\_|\\|\||\?|\.|\/|\(|\)|\@| |a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterZip(str)
		
		function filterSurName(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\.|\{|\}|\`|\~|\_|\\|\||\?|\/|\(|\)|\@| |0|1|2|3|4|5|6|7|8|9/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterSurName(str)
		
		function filterFullName(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\.|\{|\}|\`|\~|\_|\\|\||\?|\/|\(|\)|\@|0|1|2|3|4|5|6|7|8|9/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterFullName(str)
		
		function filterCompanyName(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\.|\{|\}|\`|\~|\_|\\|\||\?|\/|\(|\)|\@|0|1|2|3|4|5|6|7|8|9/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterCompanyName(str)
		
		function filterAlpha(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\.|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\/|\(|\)|\@|0|1|2|3|4|5|6|7|8|9/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterAlpha(str)
		
		function filterLowerAlpha(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\.|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\/|\(|\)|\@|0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterAlpha(str)
		
		function filterUpperAlpha(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\.|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\/|\(|\)|\@|0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterAlpha(str)
		
		function filterAlphaNum(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\.|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\/|\(|\)|\@/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterAlphaNum(str)
		
		function filterAddress(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\'|\{|\}|\`|\~|\-|\_|\\|\||\?|\/|\(|\)|\@/g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterAlphaNum(str)
		
		function filterEmail(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\:|\'|\{|\}|\`|\~|\_|\\|\||\?|\/|\(|\)| /g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterEmail(str)

		function filterURL(str){
    re = /\$|\,|\*|\[|\]|\^|\%|\!|\#|\&|\+|\=|\<|\>|\"|\;|\'|\{|\}|\`|\~|\_|\\|\||\?|\(|\)|\@| /g;
      // remove unwanted characters
      return str.replace(re, "");
    } // function filterURL(str)

    function PrivacyPolicy(URL){
    var str = 'left=20,top=20,resizable=yes,scrollbars=yes,width="800",height="600"';
      	var win=window.open(URL, 'PopUp', str);
    }			// function PrivacyPolicy(URL, width, height)
	