
function IsNumeric(strString)
   //  check for valid numeric strings	
   {
   var strValidChars = "0123456789";
   var strChar;
   var blnResult = true;

   if (strString.length == 0) return false;

   //  test strString consists of valid characters listed above
   for (i = 0; i < strString.length && blnResult == true; i++)
      {
      strChar = strString.charAt(i);
      if (strValidChars.indexOf(strChar) == -1)
         {
         blnResult = false;
         }
      }
   return blnResult;
}
   
 function sb(varE)
	{
		varE.className = 'RelSmallButton';
	}
	
function sbh(varE)
	{
		varE.className = 'RelSmallButtonHighlight';
	}

function showDiv(sDiv, bDisp) {

	var div = document.getElementById(sDiv);

	if (bDisp) {
		div.style.visibility = "visible"
		div.style.display = "inline"
	} else {
		div.style.visibility = "hidden"
		div.style.display = "none"
	}
}

function ShowSmallTermsAndConditions()
{
	var varReturn;
	varReturn = window.showModalDialog('SmallTermsAndConditions.aspx','','dialogHeight:448px;dialogWidth:450px;center:yes;dialoghide:yes;edge:raised;help:no;resizable:no;scroll:yes;status:yes;unadorned:yes;');

}
