code: function isTimeSmallerOrEquals(time1, time2, doNotInvolveMinutePart) {
  			var regex = '^(-|\\+)?([0-9]+)(.([0-9]{1,2}))?$';
  			(new RegExp(regex, 'i')).test(time1);
  			var t1 = parseInt(RegExp.$2) * 60;
  			if (RegExp.$4 && !doNotInvolveMinutePart) t1 += parseInt(RegExp.$4);
  			if (RegExp.$1 == '-') t1 *= -1;
  			(new RegExp(regex, 'i')).test(time2);
  			var t2 = parseInt(RegExp.$2) * 60;
  			if (RegExp.$4 && !doNotInvolveMinutePart) t2 += parseInt(RegExp.$4);
  			if (RegExp.$1 == '-') t2 *= -1;
  			if (t1 <= t2) return true;
  			else return false;
  		}
docs: **********************************************************************************************
  FUNCTION TO COMPARE TWO TIMES
  **********************************************************************************************