function checkNumeric(num) 
{
	var anum=/(^\d+$)/
        return ( ( num.length != 0 ) && ( anum.test( num ) ) );
}

