/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Sandeep Gangadharan | http://www.sivamdesign.com/scripts/ */

function changer(link) {
  if (link=="") {
    return; }

//======================
// Edit this portion below. For each new state copy and paste
// the entire IF statement and change the name of the state and the cities.
// Make sure the spelling of the state is the same in the IF statement and in the link.

  if (link=="state") {
    document.form1.about.value="state";
    var theOptions=new Array (
      'Alabama','Alaska','Arizona','Arkansas','California','Colorado','Connecticut','Delaware','District of Columbia','Florida','Georgia','Hawaii','Idaho','Illinois','Indiana','Iowa','Kansas','Kentucky','Louisiana','Maine','Maryland','Massachusetts','Michigan','Minnesota','Mississippi','Missouri','Montana','Nebraska','Nevada','New Hampshire','New Jersey','New Mexico','New York','North Carolina','North Dakota','Ohio','Oklahoma','Oregon','Pennsylvania','Rhode Island','South Carolina','South Dakota','Tennessee','Texas','Utah','Vermont','Virginia','Washington','West Virginia','Wisconsin','Wyoming'); }
  else if (link=="fed") {
    document.form1.about.value="fed";
    var theOptions=new Array (
      'Agricultural Research Service','Army Corps of Engineers','Bureau of Indian Affairs','Bureau of Land Management','Bureau of Reclamation','Department of Defense','Department of Energy','Fish and Wildlife Service','USDA Forest Service','National Oceanic and Atmospheric Administration','National Park Service','USDA Natural Resources Conservation Service','Tennessee Valley Authority','Other Federal Agency'); }
  else if (link=="org") {
    document.form1.about.value="org";
    var theOptions=new Array (
      'Conservation Biology Institute','The Nature Conservancy', 'TNC Northeast','Ducks Unlimited','National Audubon Society'); }
  else if (link=="gen") {
    document.form1.about.value="gen";
    var theOptions=new Array (); }
	  
//======================

  i = document.form1.item.options.length;
    if (i > 0) {
      document.form1.item.options.length -= i; document.form1.item.options[i] = null;
    }

  var theCount=0;
  for (e=0; e<theOptions.length; e++) {
    document.form1.item.options[theCount] = new Option();
    document.form1.item.options[theCount].text = theOptions[e];
    document.form1.item.options[theCount].value = theOptions[e];
    theCount=theCount+1; }
}



