// JavaScript Document

function jumper_site() {
      i = document.searchForm.search_SiteName.selectedIndex;
      x = document.searchForm.search_SiteName.options[i].value;
      if (x != "") {
         window.location.href = x;
       }
	}

function jumper_town() {
      i = document.searchForm.search_Town.selectedIndex;
      x = document.searchForm.search_Town.options[i].value;
      if (x != "") {
         window.location.href = x;
       }
	}

function jumper_county() {
      i = document.searchForm.search_County.selectedIndex;
      x = document.searchForm.search_County.options[i].value;
      if (x != "") {
         window.location.href = x;
       }
	}
	
	//alternating row color
function alternate(id){ 
 if(document.getElementsByTagName){  
   var table = document.getElementById(id);   
   var rows = table.getElementsByTagName("tr");   
   for(i = 0; i < rows.length; i++){           
 //manipulate rows 
     if(i % 2 == 0){ 
       rows[i].className = "shaded"; 
     }else{ 
       rows[i].className = "white"; 
     }       
   } 
 } 
}