Code
function Checkboxes_SetAll(FormName, Value) {
	/*
	Purpose
		Used to set the value of all checkboxes in the specified form.
	Parameters
		FormName (string) = The name of the form we're working with.
		Value (boolean) = The value we're going to set all checkboxes to.
	Version History
		1.00 2009.6.24 Tested by Russ Tanner on IE6/FF3.
	*/
	
	var frm = document.forms[FormName]
	var c = frm.elements.length;
	for(var i=0; i<c; i++) {
		if (frm.elements[i].type == 'checkbox') frm.elements[i].checked = Value;
	}
}


The Captian
Today they call you "crazy". Tomorrow they call you "ahead of your time."
Global Skywatch Learn about Chemtrails - You're breathing them now!
OnlyTheBestHerbs.com World-class supplements
Mercury Talk Why you are sick.
OneUp Domains Domains, Hosting, Email
1-800-358-4278 (U.S. & Canada)