function numbersonly(e)
{
//var unicode=e.charCode? e.charCode : e.keyCode;
	var unicode=document.all? e.keyCode : e.which;
	if (unicode!=8)
	{
		if (unicode<48||unicode>57) //if not a number
			return false; //disable key press
	}
}

function extractNumeric(str)
{
	return str.replace(/\D/g,"");
}
