/*  Removes all charcaters except / , 0-9*/
function isNumeric( c )
{	
	return ( (c >= '0' && c <= '9') || c == '.');
}
function removeNonNumerics( s )
{

	if ( s == null ) return null;
	s = '' + s;
	var tmp = '';
	var isLeadingZero = true;
	var isDecimal = false;
	for ( var i = 0; i < s.length; i++ ){
		var c = s.charAt( i );
		if ( isNumeric( c ) ){
			if ( isDecimal == true && c == '.' ){
				continue;
			}
			else{
				if ( isLeadingZero == true && c == '0' ){
					continue;
				}else{
					isLeadingZero = false;
					if ( c == '.' ){
						isDecimal = true;
					}
				}
			}tmp = tmp + c;
		}
	}return tmp;
}