
		
function selectItem(selectBox,first) {
		 // have we been passed an ID
		 if (typeof selectBox == "string") {
		  	selectBox = document.getElementById(selectBox);
		 }
		 
		 for (var i = 0; i < selectBox.options.length; i++) {
		  	selectBox.options[i].selected = !first;
		 }
		 
		 if(first==true){
		  	selectBox.options[0].selected = true;
		 }
		
		 if (selectBox.type == "select-one") {
		  	selectBox.options[0].selected = selectAll;
		 }
}
		
		

