// JavaScript Document

function KeycheckWithDecimal(e)

{

    var KeyID = (window.event) ? event.keyCode : e.which;

    //alert("hello");

    if(KeyID == 46)

    {

        return true;

    }

    if((KeyID >= 65 && KeyID <= 90) || (KeyID >= 97 && KeyID <= 122) || (KeyID >= 33 && KeyID <= 47) || (KeyID >= 58 && KeyID <= 64) || (KeyID >= 91 && KeyID <= 96) || (KeyID >= 123 && KeyID <= 126))	

    {

        return false;

    }

    return true;

}

function KeycheckOnlyNumeric(e)

{

    var KeyID = (window.event) ? event.keyCode : e.which;

    if((KeyID >= 65 && KeyID <= 90) || (KeyID >= 97 && KeyID <= 122) || (KeyID >= 33 && KeyID <= 47) || (KeyID >= 58 && KeyID <= 64) || (KeyID >= 91 && KeyID <= 96) || (KeyID >= 123 && KeyID <= 126))	

    {

        return false;

    }

    return true;

}



function ShowHideOtherTextBox(element) {

	if (element.value == 5)

	{

		//alert("yes");

		document.getElementById('trotherheard').style.display='';

		setText(txtid,'');

		//txtid.value = '';

	}

	else

	{

	//alert("no");

	//alert(txtid);

	document.getElementById('trotherheard').style.display= 'none';

	//document.getElementById(txtid).value = '';

	

	}



}









