﻿// JScript File

function toggleNumericPrompt(txtBoxID,chkBox)
{
    var txtBox = document.getElementById(txtBoxID);
    if(chkBox.checked)
        {
        txtBox.value = '';
        txtBox.disabled = true;
        }
    else
        txtBox.disabled = false; 

}

function TextAreaMaxLength(text,maxLength) 
{ 
	if (text.value.length > maxLength){
		text.value = text.value.substring(0,maxLength);
	}

}

