function check_moq(qnt, spq, moq)
{
//    alert(qnt + ' ' + spq + ' ' + moq);
    if (parseInt(qnt) < parseInt(moq))
    {
		alert("Please note! Quantity should be > MOQ");
		return false;
    }
	else if (parseInt(qnt)/parseInt(spq) != Math.round(parseInt(qnt)/parseInt(spq)))
	{
		minR = Math.floor(parseInt(qnt)/parseInt(spq)) * parseInt(spq);
		maxR = Math.ceil(parseInt(qnt)/parseInt(spq)) * parseInt(spq);
		//alert("Please note! Quantity should be divisible by SPQ only. Please enter (min) " + minR + " or (max) " + maxR + " psc.");
		alert("Please note! Quantity should be divisible by SPQ (" + spq + ") only.");
		return false;
	}
	else
	{
		return true;
	}
}


