function stripeList(theList, oddClass, evenClass) { 
	//stripes a list’s items 
	//parameters: a reference to the list you want striped (theList), the class name for odd numbered items, and the class name for even numbered items
	var listItems = theList.getElementsByTagName("li"), i=0, currentItem, currentSpan;

	while (currentItem = listItems[i++]) { 
		currentSpan = currentItem.getElementsByTagName("span");
		if (i % 2 == 0) { 
			currentSpan[0].className += evenClass; 
		}
		else {
			currentSpan[0].className += oddClass;
		}
	}
}
