﻿function selectAll(theElement, myValue) {
myNumber = parseInt(myValue)
	var theForm = theElement.form, z = 0;
	for(z=0; z<theForm.length;z++){
		if(theForm[z].type == 'checkbox'){
			theForm[z].checked = myNumber;
		}
	}
	theElement.selectedIndex = 0;
}
