	/**
	* @author     Verkoyen Tys <tys@crsolutions.be>
	* @copyright  2005 CR Solutions
	* @version    0.1
	*/
	
	/**
	* checks if value is shorter then length
	*
	* @param	string	value	the value to check
	* @param	int		length	the maximum length
	*
	* @returns	boolean	if value is shorter then length the boolean will be true, otherwise it will be false
	*/	
	function disable(day, when) {
		if (document.getElementById(day+when).checked) {
			document.getElementById(day + "_hour_o_" + when).disabled = true;
			document.getElementById(day + "_min_o_" + when).disabled = true;
			document.getElementById(day + "_hour_c_" + when).disabled = true;
			document.getElementById(day + "_min_c_" + when).disabled = true;
		} else {
			document.getElementById(day + "_hour_o_" + when).disabled = false;
			document.getElementById(day + "_min_o_" + when).disabled = false;
			document.getElementById(day + "_hour_c_" + when).disabled = false;
			document.getElementById(day + "_min_c_" + when).disabled = false;
		}
	}
	

