This commit is contained in:
mgalli%geckonnection.com 2005-11-10 17:59:30 +00:00
parent 7d2ad250fa
commit 7553ea52cb

View File

@ -782,27 +782,4 @@ function BrowserSNAVToggle(state) {
}
/*
* Utils : function for the phone call calculation.
*/
function util_stripCharsFromString (s, charList) {
var resultS = "";
for (var i = 0; i < s.length; i++)
{
var c = s.charAt(i);
if (charList.indexOf(c) == -1) resultS += c;
}
return resultS;
}
function util_validateInteger(s)
{
for (var i = 0; i < s.length; i++)
{
var c = s.charAt(i);
if (((c < "0") || (c > "9"))) return false;
}
return true;
}