function openWindow(theURL,winName,features) {
	var q = window.open(theURL,winName,features);	
	q.focus();
}


function selectBoxes(checkAll) {
	var myCheck = document.getElementById("myForm").elements; //get all elements in the form
		for(var x=0; x<myCheck.length; x++){
		myCheck[x].checked = checkAll; //set each one of the status of the checkbox
	}
}


