Menssagem de Alerta

Boas pessoas?

Tenho uma tabela que tem uma CheckBox,

e tenho esta funcão para continuar

function doAction(form) {

  if (top.checkForm(form)) {
  	showWindow();
	return SubmitForm();
  } else {
	return false;  
  } 
}

Mas, eu quero que continue se a checkBox estiver checked,

Alguma ideia?? obrigado a todos :wink:

Você usa jQuery?
Se sim:

if ($("#idDoCheckBox").is(":checked")) {
// checkbox está marcado
} else {
// checkbox não está marcado
}

Se não usa jQuery:

if (document.getElementById(“idDoCheckBox”).checked) {
// checkbox está marcado
} else {
// checkbox não está marcado
}