// stdFunctions.js

function fnPadNumber(in_value,in_pad,in_maxdigits) {
var strPad = in_pad.toString();
var strValue = in_value.toString();

	while (strValue.length < in_maxdigits) {
		strValue = strPad + strValue;
	}
	return strValue;
}

function browser_type() {
	if (document.all||document.getElementById) { return "IE"; } 
	else if (document.layers) { return "Firefox"; }
	else { return "Other"; }
}

function fnToggleVisibility(inTag)
{
   if (document.getElementById(inTag).style.visibility=='visible') {
      document.getElementById(inTag).style.visibility='hidden';
   } else {
      document.getElementById(inTag).style.visibility='visible';
   }
}
