<!--
function checkrank(index, name){
	if (index==document.poll.Avon.selectedIndex && name!="Avon"){
		document.poll.Avon.selectedIndex = 0;
	}
	if (index==document.poll.Buckman.selectedIndex && name!="Buckman"){
		document.poll.Buckman.selectedIndex = 0;
	}
	if (index==document.poll.Brainerd.selectedIndex && name!="Brainerd"){
		document.poll.Brainerd.selectedIndex = 0;
	}
	if (index==document.poll.Cuyuna_Range.selectedIndex && name!="Cuyuna_Range"){
		document.poll.Cuyuna_Range.selectedIndex = 0;
	}
	if (index==document.poll.Foley.selectedIndex && name!="Foley"){
		document.poll.Foley.selectedIndex = 0;
	}
	if (index==document.poll.Flensburg.selectedIndex && name!="Flensburg"){
		document.poll.Flensburg.selectedIndex = 0;
	}
	if (index==document.poll.Harding.selectedIndex && name!="Harding"){
		document.poll.Harding.selectedIndex = 0;
	}
	if (index==document.poll.Holdingford.selectedIndex && name!="Holdingford"){
		document.poll.Holdingford.selectedIndex = 0;
	}
	if (index==document.poll.Fort_Ripley.selectedIndex && name!="Fort_Ripley"){
		document.poll.Fort_Ripley.selectedIndex = 0;
	}
	if (index==document.poll.Lastrup.selectedIndex && name!="Lastrup"){
		document.poll.Lastrup.selectedIndex = 0;
	}
	if (index==document.poll.Opole.selectedIndex && name!="Opole"){
		document.poll.Opole.selectedIndex = 0;
	}
	if (index==document.poll.Pierz_Brewers.selectedIndex && name!="Pierz_Brewers"){
		document.poll.Pierz_Brewers.selectedIndex = 0;
	}
	if (index==document.poll.Pierz_Bulldogs.selectedIndex && name!="Pierz_Bulldogs"){
		document.poll.Pierz_Bulldogs.selectedIndex = 0;
	}
	if (index==document.poll.Royalton.selectedIndex && name!="Royalton"){
		document.poll.Royalton.selectedIndex = 0;
	}
	if (index==document.poll.Randall.selectedIndex && name!="Randall"){
		document.poll.Randall.selectedIndex = 0;
	}
	if (index==document.poll.Sobieski.selectedIndex && name!="Sobieski"){
		document.poll.Sobieski.selectedIndex = 0;
	}
	if (index==document.poll.St_Mathias.selectedIndex && name!="St_Mathias"){
		document.poll.St_Mathias.selectedIndex = 0;
	}
	if (index==document.poll.St_Stephen.selectedIndex && name!="St_Stephen"){
		document.poll.St_Stephen.selectedIndex = 0;
	}
	if (index==document.poll.St_Wendel.selectedIndex && name!="St_Wendel"){
		document.poll.St_Wendel.selectedIndex = 0;
	}
	if (index==document.poll.Upsala.selectedIndex && name!="Upsala"){
		document.poll.Upsala.selectedIndex = 0;
	}
}

function validate(){
  	if (document.poll.Avon.selectedIndex==0){
    	alert("Please select a rank for Avon.");
    	return false;
  	}
  	if (document.poll.Brainerd.selectedIndex==0){
    	alert("Please select a rank for Brainerd.");
    	return false;
  	}
  	if (document.poll.Buckman.selectedIndex==0){
    	alert("Please select a rank for Buckman.");
    	return false;
  	}
  	if (document.poll.Cuyuna_Range.selectedIndex==0){
    	alert("Please select a rank for Cuyuna Range.");
    	return false;
  	}
  	if (document.poll.Flensburg.selectedIndex==0){
    	alert("Please select a rank for Flensburg.");
    	return false;
  	}
  	if (document.poll.Foley.selectedIndex==0){
    	alert("Please select a rank for Foley.");
    	return false;
  	}
  	if (document.poll.Fort_Ripley.selectedIndex==0){
    	alert("Please select a rank for Fort Ripley.");
    	return false;
  	}
  	if (document.poll.Harding.selectedIndex==0){
    	alert("Please select a rank for Harding.");
    	return false;
  	}
  	if (document.poll.Holdingford.selectedIndex==0){
    	alert("Please select a rank for Holdingford.");
    	return false;
  	}
  	if (document.poll.Lastrup.selectedIndex==0){
    	alert("Please select a rank for Lastrup.");
    	return false;
  	}
  	if (document.poll.Opole.selectedIndex==0){
    	alert("Please select a rank for Opole.");
    	return false;
  	}
  	if (document.poll.Pierz_Brewers.selectedIndex==0){
    	alert("Please select a rank for Pierz Brewers.");
    	return false;
  	}
  	if (document.poll.Pierz_Bulldogs.selectedIndex==0){
    	alert("Please select a rank for Pierz Bulldogs.");
    	return false;
  	}
  	if (document.poll.Randall.selectedIndex==0){
    	alert("Please select a rank for Randall.");
    	return false;
  	}
  	if (document.poll.Royalton.selectedIndex==0){
    	alert("Please select a rank for Royalton.");
    	return false;
  	}
  	if (document.poll.Sobieski.selectedIndex==0){
    	alert("Please select a rank for Sobieski.");
    	return false;
  	}
  	if (document.poll.St_Mathias.selectedIndex==0){
    	alert("Please select a rank for St. Mathias.");
    	return false;
  	}
  	if (document.poll.St_Stephen.selectedIndex==0){
    	alert("Please select a rank for St. Stephen.");
    	return false;
  	}
  	if (document.poll.St_Wendel.selectedIndex==0){
    	alert("Please select a rank for St. Wendel.");
    	return false;
  	}
  	if (document.poll.Upsala.selectedIndex==0){
    	alert("Please select a rank for Upsala.");
    	return false;
  	}
  	
  	document.poll.submit();
   	return true;
}
//-->
