function toggleCheckAll(checkBool, prefix){
var thisForm = document.article;
var elementCount = thisForm.length;
for (i = 0; i < elementCount; i++){
var thisElement = thisForm.elements[i];
if (thisElement.type != 'checkbox') continue;
if (thisElement.name != prefix) continue;
thisElement.checked = checkBool;
}
}