Código:
function chkClick(idx)
{
t=0;
horas = document.getElementsByName('horas[]');
for (i=idx-1; i<idx+1; i++)
if (horas[i]){
t++;
if (!horas[i].checked) break;
}
if (i-idx+2==t) alert("ok");
}
Código HTML:
<input type="checkbox" name="horas[]" value="2006-03-17 11:00:00" onClick="chkClick(0);" />
<input type="checkbox" name="horas[]" value="2006-03-17 11:30:00" onClick="chkClick(1);" />
<input type="checkbox" name="horas[]" value="2006-03-17 12:00:00" onClick="chkClick(2);" />
<input type="checkbox" name="horas[]" value="2006-03-17 12:30:00" onClick="chkClick(3);" />
Pruebalo. Quizas haya errores porque no lo he probado.