function ShowHideContent(sec1,sec2)
{
if(sec1.length < 1 || sec2.length < 1) { return; }
document.getElementById(sec1).style.display = "";
document.getElementById(sec2).style.display = "none";
}


function quizselect(){

   if(document.getElementById("quizselect").checked==true){
        document.forms['mainForm'].action = "quiz.do";
   }
   else if(document.getElementById("quizselect").checked==false){
        document.forms['mainForm'].action = "payment.do";
   }
   document.forms['mainForm'].submit();
}

function EnableContentDDM()
{
   var argv=EnableContentDDM.arguments;
   var argc=argv.length;
   var i=0;   
   if(argv[0].length < 1 || argv[1].length < 1 || argv[2].length < 1 || argc < 3) { return; }
   var select = document.getElementById(argv[0]);
   if((select.options[select.selectedIndex].value) == argv[1])
   {               
         var  divId = document.getElementById(argv[i]);
         var selecttags = divId.getElementsByTagName("select");
         var radiotags = divId.getElementsByTagName("input");
         var texttags = divId.getElementsByTagName("textarea");
        
         for(var j=0;j<selecttags.length;j++){
               selecttags[j].removeAttribute("disabled");
               }
         for(var k=0;k<radiotags.length;k++){
                radiotags[k].removeAttribute("disabled");
                }
         for(var l=0;l<texttags.length;l++){
                 texttags[l].removeAttribute("disabled");
                }
    }
 }

function DisableContentDDM()
{
   var argv=DisableContentDDM.arguments;
   var argc=argv.length;
   var i=0;
   if(argv[0].length < 1 || argv[1].length < 1 || argv[2].length < 1 || argc < 3) { return; }
   var select = document.getElementById(argv[0]);
   if((select.options[select.selectedIndex].value) == argv[1])
   {
     for(i=2;i < argc;i++)
      {
        var  divId = document.getElementById(argv[i]);
        var selecttags = divId.getElementsByTagName("select");
        var radiotags = divId.getElementsByTagName("input");
        var texttags = divId.getElementsByTagName("textarea");       
        for(var j=0;j<selecttags.length;j++){
               selecttags[j].setAttribute("disabled","true");
                 }
        for(var k=0;k<radiotags.length;k++){
                radiotags[k].setAttribute("disabled","true");
                }
        for(var l=0;l<texttags.length;l++){
                 texttags[l].setAttribute("disabled","true");
                }       
      }
   }
}


function ShowContentDDM()
{
   var argv=ShowContentDDM.arguments;
   var argc=argv.length;
   var i=0;
   if(argv[0].length < 1 || argv[1].length < 1 || argv[2].length < 1 || argc < 3) { return; }
   var select = document.getElementById(argv[0]);
   if((select.options[select.selectedIndex].value) == argv[1])
   {
      for(i=2;i < argc;i++)
      {
         document.getElementById(argv[i]).style.display = "";
      }
   }
}


function HideContentDDM()
{
   var argv=HideContentDDM.arguments;
   var argc=argv.length;
   var i=0;
   if(argv[0].length < 1 || argv[1].length < 1 || argv[2].length < 1 || argc < 3) { return; }
   var select = document.getElementById(argv[0]);
   if((select.options[select.selectedIndex].value) == argv[1])
   {
      for(i=2;i < argc;i++)
      {
          document.getElementById(argv[i]).style.display = "none";
      }
   }
}


function ShowContentRBReq1()
{
   var argv=ShowContentRBReq1.arguments;
   var argc=argv.length;
   var status = false;
   if(argc < 2) {return;}
   for(var i=1; i < argc ; i++)
   {
      if(argv[i].length > 1)
      {
        
        if(document.getElementById(argv[i]).checked)
        {
                status = true;
        }

      }
      else
      {
        return;
      }
    }

    if(status)
    {
         document.getElementById(argv[0]).style.display = "";
    }
    else
    {
         document.getElementById(argv[0]).style.display = "none";
    }
}


function EnableContentRBReq1() 
{
   var argv=EnableContentRBReq1.arguments;
   var argc=argv.length;      
   var status = false; 
   if(argc < 1) { return; }   
   for(i=1;i< argc;i++)
   {         

      if(argv[i].length > 1){      
          if(document.getElementById(argv[i]).checked){
             status=true;    
          }
       }
      else{return;}   

      var divId = document.getElementById(argv[0]);
      var allTags = divId.getElementsByTagName("input");
      var stags =  divId.getElementsByTagName("select");
      var texttags = divId.getElementsByTagName("textarea");     

      if(status){           
        for(var j=0; j<allTags.length; j++)
        {
           allTags[j].removeAttribute("disabled");

        }

        for(var k=0;k<stags.length;k++)
        {
           stags[k].removeAttribute("disabled");
        }

        for(var l=0; l<texttags.length;l++)
        {

          texttags[l].removeAttribute("disabled");
        }
      }
     else
        {

        for(var j=0; j<allTags.length; j++)
        {
           allTags[j].setAttribute("disabled",true);
        }
        for(var k=0;k<stags.length;k++)
        {
           stags[k].setAttribute("disabled",true);
        }
        for(var l=0; l<texttags.length;l++)
        {
          texttags[l].setAttribute("disabled","true");
        }
      }

    }
  }

function ShowContentCB()
{
   var argv=ShowContentCB.arguments;
   var argc=argv.length;
   var i;
   if(argv[0].length < 1 || argv[1].length < 1) { return; }

   if(document.getElementById(argv[0]).checked)
   {
       for(i=1;i< argc;i++)
       {
            document.getElementById(argv[i]).style.display = "";
       }
   }
   else
   {
       for(i=1;i< argc;i++)
       {
            document.getElementById(argv[i]).style.display = "none";
       }
   }
}

function HideContentCB()
{
   var argv=HideContentCB.arguments;
   var argc=argv.length;
   var i;
   if(argv[0].length < 1 || argv[1].length < 1) { return; }

   if(document.getElementById(argv[0]).checked)
   {
       for(i=1;i< argc;i++)
       {
            document.getElementById(argv[i]).style.display = "none";
       }
   }
   else
   {
       for(i=1;i< argc;i++)
       {
            document.getElementById(argv[i]).style.display = "";
       }
   }
}

//to implement nested conditional section and the condition attribute is the id of the radio button

function ShowMultipleContent()
{

   var argv=ShowMultipleContent.arguments;
   var argc=argv.length;
   var i;
   if(argv[0].length < 1 || argv[1].length < 1) { return; }
   document.getElementById(argv[0]).style.display = "";
   if(document.getElementById(argv[1]).checked)
   {
       for(i=2;i< argc;i++)
       {
            document.getElementById(argv[i]).style.display = "";
       }
   }
   else
   {
       for(i=2;i< argc;i++)
       {
            document.getElementById(argv[i]).style.display = "none";
       }
   }
}

function EnableMultipleContent()
{
   //argv[0]-> section name
   //argv[1]-> dependent id
   //argv[2..n]-> dependent section names
   var argv=EnableMultipleContent.arguments;
   var argc=argv.length;
   var i;
   if(argv[0].length < 1 || argv[1].length < 1) { return; }
   document.getElementById(argv[0]).style.display = "";
   if(document.getElementById(argv[1]).checked)
   {
       for(i=2;i< argc;i++)
       {
            document.getElementById(argv[i]).removeAttribute("disabled");
       }
   }
   else
   {
       for(i=2;i< argc;i++)
       {
            document.getElementById(argv[i]).setAttribute("disabled","true");
       }
   }
}

function HideContent() {
   var argv=HideContent.arguments;
   var argc=argv.length;
   var i;
   if(argc < 1) { return; }
   for(i=0;i< argc;i++)
   {
 
      if(document.getElementById(argv[i]) !== null && document.getElementById(argv[i]) != undefined )
   {
      document.getElementById(argv[i]).style.display = "none";
    }
   }

}

//Function for Hide repeater divs

function HideRepeaterContent(secid) {
    var divs=document.getElementById(secid);
    var childDivs=divs.getElementsByTagName("DIV");
    document.getElementById(secid).style.display = "none";
    for( i=0 ;i<childDivs.length;i++)
     {
       if(childDivs[i].getAttribute("id") != null && childDivs[i].getAttribute("id") != undefined &&  childDivs[i].getAttribute("id").substring(0,7)=="section" )
        {
          document.getElementById(childDivs[i].getAttribute("id")).style.display = "none";
         }
    }
}

function ShowContent() {
   var argv=ShowContent.arguments;
   var argc=argv.length;
   if(argc < 1) { return; }
   for(i=0;i< argc;i++)
   {
     if(document.getElementById(argv[i]) !== null && document.getElementById(argv[i]) != undefined )
     {

       document.getElementById(argv[i]).style.display = "";
     }
   }
}


function EnableContent() {
   var argv=EnableContent.arguments;
   var argc=argv.length;  
   if(argc < 1) { return; }   
   for(i=0;i< argc;i++)
   {
        var divId = document.getElementById(argv[i]);
        var allTags = divId.getElementsByTagName("input");        
        var stags =  divId.getElementsByTagName("select");
        var texttags = divId.getElementsByTagName("textarea");

        for(var j=0; j<allTags.length; j++)
        {
           allTags[j].removeAttribute("disabled");                              
        }
        for(var k=0;k<stags.length;k++)
        {
           stags[k].removeAttribute("disabled");                                         
        }
        for(var l=0; l<texttags.length;l++)
        {
          texttags[l].removeAttribute("disabled","true");
        }      
   }

}


function DisableContent() {
   var argv=DisableContent.arguments;
   var argc=argv.length;
   if(argc < 1) { return; }
   for(i=0;i< argc;i++)
   {
	var divId = document.getElementById(argv[i]);              
        var allTags = divId.getElementsByTagName("input");       
        var stags = divId.getElementsByTagName("select");
        var texttags = divId.getElementsByTagName("textarea");          	              

        for(var j=0; j<allTags.length; j++)
        {
           allTags[j].setAttribute("disabled","true");           
        } 
        for(var k=0; k<stags.length;k++)
        {                 
          stags[k].setAttribute("disabled","true");                                
        }       
        for(var l=0; l<texttags.length;l++)
        {
          texttags[l].setAttribute("disabled","true");
        }
    }
}


function toggleSections(secMax)
{
   var i;
   var section;
   var sectionId=0;
   var elementNames = document.getElementsByTagName('div');
       for(i=0;i< elementNames.length ;i++)
       {
         if (elementNames[i].id.substring(0,7) == "section" && elementNames[i].style.display == "")
         {
          var test=elementNames[i].id.substring(elementNames[i].id.indexOf('-')+1,elementNames[i].id.length);
             sectionId=parseInt(test,10);
             if(sectionId < secMax)
             {
                 elementNames[i].style.display="none";
                 sectionId++;
                 section="section-" + sectionId;
                 document.getElementById(section).style.display = "";
                 if(sectionId == secMax)
                 {
                      document.getElementById('next').style.display = "none";
                 }

                 break;
             }
          }
        }
}

function exportAsPDF(url)
{
window.open(url,"");
}

function newWindow(url)
{
window.open(url,"");
}
function sectionRefresh(a,b) {
if(a.length < 1 || b.length < 1) { return;}
  //document.getElementById(a).innerHTML = document.getElementById(b).innerHTML;
  document.getElementById(b).style.display = "none";
  document.getElementById(b).style.display = "";
}

function skip() {

   var pageStatus = document.getElementById("pageStatus");

   if(pageStatus != undefined || pageStatus != null)
        pageStatus.value = "PAGE_STATUS_VISITED_INVALID";
 	
   var action = document.forms['mainForm'].action;

   if (action.indexOf("?") != -1) {
	action += "&skip";
   } else {
	action += "?skip";
   }

   document.forms['mainForm'].action = action;
   document.forms['mainForm'].submit();
}
	
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = ""; }
else { document.getElementById(d).style.display = "none"; }
}

//
// Function edit
// Handles links on pages that must to to another page and return,
// such as "Edit" links
//

function edit(pageID) {
   var action = document.forms['mainForm'].action;

   if (action.indexOf("?") != -1) {
	action += "&edit="+pageID;
   } else {
	action += "?edit="+pageID;
   }

   document.forms['mainForm'].action = action;
   document.forms['mainForm'].submit();
}


// Function goToPage
// Handles links on pages that must to to another page and consult the
// rule engine to determine the next page


//function goToPage(pageID) {
//  var action = document.forms['mainForm'].action;

//   if (action.indexOf("?") != -1) {
//	action += "&goto="+pageID;
//   } else {
//	action += "?goto="+pageID;
//      }

//    if(formCheck('mainForm') && action.indexOf("?") != -1)
//        action += "&vstatus=true";
//     else
//        action += "&vstatus=false";

//    document.forms['mainForm'].action = action;
//    document.forms['mainForm'].submit();

//}


// Function reDirect
//  Handles the action for the direct link (tool box links)


function reDirect(param) {

  var action = document.mainForm.action;
  if (action.indexOf("?") != -1) {
        action += "&" + param;
  } else {
        action += "?" + param;
  }

  document.mainForm.action = action;
  document.mainForm.submit();
}


//
// Function treeAction
//  Handles the action for the Left hand navigation of the tree 
//
//

//function treeAction(selectNode) {

//var expandNode;

//var selectedNode = selectNode.indexOf('.');

  //if(selectedNode=='-1') {
  // Add ".1" to the parent Node
  //selectNode = selectNode+".1";
  //}

  // Pass the following parameters - contid, userAction, next and expand
  //var action = document.mainForm.action;
  //if (action.indexOf("?") != -1) {
	//action += "&tree="+selectNode;
  //} else {
    //    action += "?tree="+selectNode;
  //}
  //if(formCheck('mainForm') && action.indexOf("?") != -1)
	//action += "&vstatus=true";
 // else 
	//action += "&vstatus=false";

  //document.mainForm.action = action;
  //document.mainForm.submit();
//}

function createCookie(name,value,days) {
    if (days) {
         var date = new Date();
         date.setTime(date.getTime()+(days*24*60*60*1000));
         var expires = "; expires="+date.toGMTString();
    }
    else var expires = "";
    document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
    var nameEQ = name + "=";
    var ca = document.cookie.split(';');
    for(var i=0;i < ca.length;i++) {
         var c = ca[i];
         while (c.charAt(0)==' ') c = c.substring(1,c.length);
         if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
    }
    return null;
}

function eraseCookie(name) {
    createCookie(name,"",-1);
}


//
// Function Explain this internal popup
//

var isIE=document.all;
var isNN=!document.all&&document.getElementById;
var isN4=document.layers;
var isHot=false;
var divElement;
var nowX=0;
var nowY=0;
var offsetx = 20;
var offsety = 5;
var posX;
var posY;
var id;

function ddN4(divElement){
  if (!isN4) return;
  var N4=eval(divElement);
  N4.captureEvents(Event.MOUSEOVER|Event.MOUSEOUT);
  N4.onmousedown=function(e){
    N4.captureEvents(Event.MOUSEMOVE);
    var N4x=e.x;
    var N4y=e.y;
  }
  N4.onmouseover=function(e){
    N4.captureEvents(Event.MOUSEMOVE);
    var N4x=e.x;
    var N4y=e.y;
  }
  N4.onmousemove=function(e){
    if (isHot){
      N4.moveBy(e.x-N4x,e.y-N4y);
      return false;
    }
  }
  N4.onmouseup=function(){
    N4.releaseEvents(Event.MOUSEMOVE);
  }
}

//
//  function to hide the explain this division
//

function hideInternalPopup(divId){
  divElement=document.getElementById(divId);

  if (isIE||isNN)
  {
     if(divElement != undefined && divElement != null && divElement !="")   
     divElement.style.visibility="hidden";
  }
  else
      divElement.style.display="none"; 
}


//
//  function to show the explain this division
//

function showInternalPopup(divId,e){
  divElement=document.getElementById(divId);

  // to find the X and Y position
  divElement.style.left=isIE ? nowX+event.clientX+offsetx : nowX+e.clientX+offsetx; 
  divElement.style.top=isIE ? nowY+event.clientY+offsety : nowY+e.clientY+offsety;
  posX=isIE ? nowX+event.clientX+offsetx : nowX+e.clientX+offsetx;
  posY=isIE ? nowY+event.clientY+offsety : nowY+e.clientY+offsety;

    if(posY > 400)
      posY = posY - 100;

    // to check whether, the page has scroll (in IE and FF)
    if(document.documentElement.scrollTop)
      {
	  posY = posY + document.documentElement.scrollTop;
      }

    // to check whether, the page has scroll (in safari etc..,)
    if(document.body.scrollTop)
      {
	  posY = posY + document.body.scrollTop;
      }

    // to convert the x and y value to pixels 
      posX=posX+"px";
      posY=posY+"px";

    // style attributes 
    if(divElement != undefined && divElement != null && divElement !="")
    {
    divElement.style.position = "absolute";
    divElement.style.background = "#FFCC66";
    divElement.style.width = "300px";
    divElement.style.left=posX;
    divElement.style.top=posY;
    divElement.style.visibility="visible";
    divElement.style.border = "1px solid #CCC";
    divElement.style.zIndex = "9";
    divElement.style.padding ="15px";
    divElement.style.display="";
    }

}


//
// Function to open any content in a popup window
//

function popupWin(file,width,height)
{
        if (navigator.appName == "Microsoft Internet Explorer") { width=width+20; height=height+20;}

        if (parseInt(navigator.appVersion) < 4)
        {
                width=width+20;
                height=height+20;
        }

        newWindow = window.open(file,"PopupWindow","dependent=yes,toolbar=no,location=no,status=no,scrollbars=yes,resizable=no,width="+width+",height="+height);


        if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 3)
window.open(windowLoc,"PopupWindow","status=no,scrollbars=yes,resizable=no,width="+width+",height="+height);


        if (parseInt(navigator.appVersion) >= 3 && navigator.appName == "Netscape")
        newWindow.focus();

}

//
// Function to open any content in a popup window
//

function popupWin2(file,width,height,left,top)
{
        if (navigator.appName == "Microsoft Internet Explorer") { width=width+20; height=height+20;}

        if (parseInt(navigator.appVersion) < 4)
        {
                width=width+20;
                height=height+20;
        }

        newWindow = window.open(file,"PopupWindow","dependent=yes,toolbar=no,location=no,status=no,scrollbars=yes,resizable=no,width="+width+",height="+height+",left="+left+",top="+top);


        if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 3)
	window.open(windowLoc,"PopupWindow","status=no,scrollbars=yes,resizable=no,width="+width+",height="+height+",left="+left+",top="+top);


        if (parseInt(navigator.appVersion) >= 3 && navigator.appName == "Netscape")
        newWindow.focus();

}

function prevSubmit(formName)
{

document.getElementById("hidden").innerHTML="<input type='hidden' name='prev' value='previous'/>";
document.forms['mainForm'].submit();
}

function nextSubmit(formName)
{
  document.getElementById("hidden").innerHTML="<input type='hidden' name='next' value='continue'/>";
}
function cancelSubmit(formName)
{
  document.getElementById("hidden").innerHTML="<input type='hidden' name='cancel' value='cancel'/>";
}

//
//  Status bar functions
//

function showStatus (str) {
window.status = str;
return true;
}

function switchStatus () {
return showStatus("");
}

function setCountryid(countryid){
    document.getElementById(countryid).value = "United States of America";
 }
function setCountry(countryid){
    document.getElementById(countryid).value = "US";
 }
function setCanada(countryid){
    document.getElementById(countryid).value = "Canada";
 }

function disableState(stateid){
    document.getElementById(stateid).value = "";
  document.getElementById(stateid).setAttribute("disabled","true");
 }

function enableState(stateid){
    document.getElementById(stateid).value = "";
  document.getElementById(stateid).removeAttribute("disabled");

 }

function clearCounty(countyid)
{
if(document.all)
 {
   if(!document.getElementById(countyid))
    {
      document.getElementById(countyid).value = "";
    }
 }
else 
 {
   if(document.getElementById(countyid)!= null && document.getElementById(countyid)!= undefined)
    {
      document.getElementById(countyid).value = "";
    }
  } 

}
function clearState(stateid)
{

   if(document.getElementById(stateid)!= null && document.getElementById(stateid)!= undefined)
    {

      document.getElementById(stateid).value = "";
    }


}

function disablecheckbox(test,checkkey)
{
 if(document.getElementById(checkkey).checked)
   {
     document.getElementById(test).value = "";
     document.getElementById(test).readOnly=true;
   }
 else
   {
     document.getElementById(test).readOnly=false;
    }
}


function SpouseExSpouseImmigrationStatusShowContent(sec,idContent,id)
{
   var elementId= idContent + "-" + id;
   if(document.getElementById(elementId).checked)
   {
       document.getElementById(sec).style.display = "";
   }
   else
   {
       document.getElementById(sec).style.display = "none";
   }
}

function SpouseExSpouseMarriageEndedShowContent(sec,idContent,id)
{

   var elementId= idContent + "-" + id;
   if(document.getElementById(elementId).checked)
   {
       document.getElementById(sec).style.display = "";
   }
   else
   {
       document.getElementById(sec).style.display = "none";
   }
}



function ExSpouseMarriageEndedShowContent(sec,idContent,id)
{

    var elementId= idContent + "-"+ id;

   if(document.getElementById(elementId).checked)
   {
       document.getElementById(sec).style.display = "";
   }
   else
   {
       document.getElementById(sec).style.display = "none";
   }
}

function ExSpouseImmigrationStatusShowContent(sec,idContent,id)
{

    var elementId= idContent + "-" + id;

   if(document.getElementById(elementId).checked)
   {
       document.getElementById(sec).style.display = "";
   }
   else
   {
       document.getElementById(sec).style.display = "none";
   }
}

function disablecheckbox(test,checkkey)
{
 if(document.getElementById(checkkey).checked)
   {
     document.getElementById(test).value = "";
     document.getElementById(test).readOnly=true;
   }
 else
   {
     document.getElementById(test).readOnly=false;
    }
}


// Populate County list dynamicaly

var countyList = new Array();
function getCountyList(stateValue,countyId,countyValue)
{
document.getElementById(countyId).innerHTML="";
var tempList  = new Array();
for(i=0; i< countyList.length; i++)
{
	
	if(countyList[i][1] == stateValue)
	{
	   tempList.push([countyList[i][2]]);
	}
}

var opt = "";
var opt_txt = "";
opt = document.createElement("option");
opt_txt = document.createTextNode("Select County");
opt.appendChild(opt_txt);
opt.setAttribute("value", "");
document.getElementById(countyId).appendChild(opt);
tempList.sort();
for(i=0; i< tempList.length; i++)
{
opt = document.createElement("option");
opt_txt = document.createTextNode(tempList[i][0]);
opt.appendChild(opt_txt);
opt.setAttribute("value", tempList[i][0]);
document.getElementById(countyId).appendChild(opt);
}
for(i=0; i< tempList.length; i++)
{
   if(tempList[i][0] == countyValue)
   {
	document.getElementById(countyId).value = countyValue;
   }
}
}

function countyInit(state)
{
    countyList.splice(0,countyList.length);
if(state == 'AK')
{
countyList.push(["1","AK", "Anchorage Borough" ] );
countyList.push(["2","AK", "North Slope Borough" ] );
countyList.push(["3","AK", "Fairbanks North Star Borough" ] );
countyList.push(["4","AK", "Haines Borough" ] );
countyList.push(["5","AK", "Denali Borough" ] );
countyList.push(["6","AK", "City & Borough of Juneau" ] );
countyList.push(["7","AK", "Ketchikan Gateway Borough" ] );
countyList.push(["8","AK", "Lake And Peninsula Borough" ] );
countyList.push(["9","AK", "Kodiak Island Borough" ] );
countyList.push(["10","AK", "Northwest Arctic Borough" ] );
countyList.push(["11","AK", "Bristol Bay Borough" ] );
countyList.push(["12","AK", "Matanuska-Susitna Borough" ] );
countyList.push(["13","AK", "Aleutians East Borough" ] );
countyList.push(["14","AK", "City & Borough of Sitka" ] );
countyList.push(["15","AK", "Kenai Peninsula Borough" ] );
countyList.push(["16","AK", "City & Borough of Yakutat" ] );
countyList.push(["17","AK", "Aleutians West" ] );
countyList.push(["18","AK", "Bethel" ] );
countyList.push(["19","AK", "Dillingham" ] );
countyList.push(["20","AK", "Nome" ] );
countyList.push(["21","AK", "Prince of Wales-Outer Ketchikan" ] );
countyList.push(["22","AK", "Skagway-Hoonah-Angoon" ] );
countyList.push(["23","AK", "Southeast Fairbanks" ] );
countyList.push(["24","AK", "Valdez-Cordova" ] );
countyList.push(["25","AK", "Wade Hampton" ] );
countyList.push(["26","AK", "Wrangell-Petersburg" ] );
countyList.push(["27","AK", "Yukon-Koyukuk" ] );
}
if(state == 'AL')
{
countyList.push(["28","AL", "Henry"]);
countyList.push(["29","AL", "Covington"]);
countyList.push(["30","AL", "Calhoun"]);
countyList.push(["31","AL", "Clay"]);
countyList.push(["32","AL", "St. Clair"]);
countyList.push(["33","AL", "Limestone"]);
countyList.push(["34","AL", "Baldwin"]);
countyList.push(["35","AL", "Jefferson"]);
countyList.push(["36","AL", "Escambia"]);
countyList.push(["37","AL", "Choctaw"]);
countyList.push(["38","AL", "Wilcox"]);
countyList.push(["39","AL", "Pickens"]);
countyList.push(["40","AL", "Cherokee"]);
countyList.push(["41","AL", "Bibb"]);
countyList.push(["42","AL", "Washington"]);
countyList.push(["43","AL", "Chilton"]);
countyList.push(["44","AL", "Barbour"]);
countyList.push(["45","AL", "Shelby"]);
countyList.push(["46","AL", "Cullman"]);
countyList.push(["47","AL", "Tallapoosa"]);
countyList.push(["48","AL", "Morgan"]);
countyList.push(["49","AL", "Houston"]);
countyList.push(["50","AL", "Winston"]);
countyList.push(["51","AL", "Coffee"]);
countyList.push(["52","AL", "Greene"]);
countyList.push(["53","AL", "Conecuh"]);
countyList.push(["54","AL", "Fayette"]);
countyList.push(["55","AL","Lauderdale"]);
countyList.push(["56","AL","DeKalb"]);
countyList.push(["57","AL","Etowah"]);
countyList.push(["58","AL","Geneva"]);
countyList.push(["59","AL","Hale"]);
countyList.push(["60","AL","Butler"]);
countyList.push(["61","AL","Clarke"]);
countyList.push(["62","AL","Marshall"]);
countyList.push(["63","AL","Marion"]);
countyList.push(["64","AL","Lowndes"]);
countyList.push(["65","AL","Cleburne"]);
countyList.push(["66","AL","Madison"]);
countyList.push(["67","AL","Walker"]);
countyList.push(["68","AL","Chambers"]);
countyList.push(["69","AL","Marengo"]);
countyList.push(["70","AL","Sumter"]);
countyList.push(["71","AL","Crenshaw"]);
countyList.push(["72","AL","Perry"]);
countyList.push(["73","AL","Mobile"]);
countyList.push(["74","AL","Monroe"]);
countyList.push(["75","AL","Montgomery"]);
countyList.push(["76","AL","Lawrence"]);
countyList.push(["77","AL","Blount"]);
countyList.push(["78","AL","Lee"]);
countyList.push(["79","AL","Dale"]);
countyList.push(["80","AL","Russell"]);
countyList.push(["81","AL","Autauga"]);
countyList.push(["82","AL","Coosa"]);
countyList.push(["83","AL","Franklin"]);
countyList.push(["84","AL","Jackson"]);
countyList.push(["85","AL","Dallas"]);
countyList.push(["86","AL","Talladega"]);
countyList.push(["87","AL","Pike"]);
countyList.push(["88","AL","Tuscaloosa"]);
countyList.push(["89","AL","Colbert"]);
countyList.push(["90","AL","Macon"]);
countyList.push(["91","AL","Bullock"]);
countyList.push(["92","AL","Lamar"]);
countyList.push(["93","AL","Randolph"]);
countyList.push(["94","AL","Elmore"]);
}
if(state == 'AR')
{
countyList.push(["95","AR","Clark"]);
countyList.push(["96","AR","Desha"]);
countyList.push(["97","AR","Sharp"]);
countyList.push(["98","AR","Little River"]);
countyList.push(["99","AR","Woodruff"]);
countyList.push(["100","AR","Independence"]);
countyList.push(["101","AR","Saline"]);
countyList.push(["102","AR","Benton"]);
countyList.push(["103","AR","Carroll"]);
countyList.push(["104","AR","Mississippi"]);
countyList.push(["105","AR","Ouachita"]);
countyList.push(["106","AR","Monroe"]);
countyList.push(["107","AR","Johnson"]);
countyList.push(["108","AR","Van Buren"]);
countyList.push(["109","AR","Faulkner"]);
countyList.push(["110","AR","Yell"]);
countyList.push(["111","AR","Sevier"]);
countyList.push(["112","AR","Prairie"]);
countyList.push(["113","AR","Arkansas"]);
countyList.push(["114","AR","Union"]);
countyList.push(["115","AR","Washington"]);
countyList.push(["116","AR","Dallas"]);
countyList.push(["117","AR","St. Francis"]);
countyList.push(["118","AR","Sebastian"]);
countyList.push(["119","AR","Ashley"]);
countyList.push(["120","AR","Calhoun"]);
countyList.push(["121","AR","Poinsett"]);
countyList.push(["122","AR","Boone"]);
countyList.push(["123","AR","Cleburne"]);
countyList.push(["124","AR","Phillips"]);
countyList.push(["125","AR","Hempstead"]);
countyList.push(["126","AR","Garland"]);
countyList.push(["127","AR","Madison"]);
countyList.push(["128","AR","Newton"]);
countyList.push(["129","AR","Craighead"]);
countyList.push(["130","AR","Chicot"]);
countyList.push(["131","AR","Lafayette"]);
countyList.push(["132","AR","Pulaski"]);
countyList.push(["133","AR","Lonoke"]);
countyList.push(["134","AR","Columbia"]);
countyList.push(["135","AR","Hot Spring"]);
countyList.push(["136","AR","Lee"]);
countyList.push(["137","AR","Crittenden"]);
countyList.push(["138","AR","Searcy"]);
countyList.push(["139","AR","Izard"]);
countyList.push(["140","AR","Polk"]);
countyList.push(["141","AR","Drew"]);
countyList.push(["142","AR","Conway"]);
countyList.push(["143","AR","Montgomery"]);
countyList.push(["144","AR","Baxter"]);
countyList.push(["145","AR","Stone"]);
countyList.push(["146","AR","Pike"]);
countyList.push(["147","AR","Howard"]);
countyList.push(["148","AR","Jackson"]);
countyList.push(["149","AR","Franklin"]);
countyList.push(["150","AR","Greene"]);
countyList.push(["151","AR","Logan"]);
countyList.push(["152","AR","Perry"]);
countyList.push(["153","AR","Clay"]);
countyList.push(["154","AR","Jefferson"]);
countyList.push(["155","AR","Randolph"]);
countyList.push(["156","AR","Nevada"]);
countyList.push(["157","AR","Cleveland"]);
countyList.push(["158","AR","Pope"]);
countyList.push(["159","AR","Fulton"]);
countyList.push(["160","AR","White"]);
countyList.push(["161","AR","Grant"]);
countyList.push(["162","AR","Lincoln"]);
countyList.push(["163","AR","Miller"]);
countyList.push(["164","AR","Crawford"]);
countyList.push(["165","AR","Scott"]);
countyList.push(["166","AR","Lawrence"]);
countyList.push(["167","AR","Bradley"]);
countyList.push(["168","AR","Cross"]);
countyList.push(["169","AR","Marion"]);
}
if(state == 'AZ')
{
countyList.push(["170","AZ","Cochise"]);
countyList.push(["171","AZ","Greenlee"]);
countyList.push(["172","AZ","Coconino"]);
countyList.push(["173","AZ","Pinal"]);
countyList.push(["174","AZ","Gila"]);
countyList.push(["175","AZ","Navajo"]);
countyList.push(["176","AZ","Mohave"]);
countyList.push(["177","AZ","Santa Cruz"]);
countyList.push(["178","AZ","La Paz"]);
countyList.push(["179","AZ","Maricopa"]);
countyList.push(["180","AZ","Yavapai"]);
countyList.push(["181","AZ","Graham"]);
countyList.push(["182","AZ","Apache"]);
countyList.push(["183","AZ","Pima"]);
countyList.push(["184","AZ","Yuma"]);
}
if(state == 'CO')
{
countyList.push(["185","CO","Washington"]); 
countyList.push(["186","CO","Alamosa"]);
countyList.push(["187","CO","Pitkin"]);
countyList.push(["188","CO","Boulder"]);
countyList.push(["189","CO","Summit"]);
countyList.push(["190","CO","Adams"]);
countyList.push(["191","CO","Broomfield City"]);
countyList.push(["192","CO","Kit Carson"]);
countyList.push(["193","CO","Fremont"]);
countyList.push(["194","CO","Douglas"]);
countyList.push(["195","CO","Gilpin"]);
countyList.push(["196","CO","Cheyenne"]);
countyList.push(["197","CO","El Paso"]);
countyList.push(["198","CO","Conejos"]);
countyList.push(["199","CO","Montezuma"]);
countyList.push(["200","CO","Moffat"]);
countyList.push(["201","CO","Mineral"]);
countyList.push(["202","CO","Teller"]);
countyList.push(["203","CO","Rio Grande"]);
countyList.push(["204","CO","Delta"]);
countyList.push(["205","CO","Denver City"]);
countyList.push(["206","CO","Dolores"]);
countyList.push(["207","CO","La Plata"]);
countyList.push(["208","CO","Kiowa"]);
countyList.push(["209","CO","Eagle"]);
countyList.push(["210","CO","Park"]);
countyList.push(["211","CO","Larimer"]);
countyList.push(["212","CO","Morgan"]);
countyList.push(["213","CO","Clear Creek"]);
countyList.push(["214","CO","Garfield"]);
countyList.push(["215","CO","Jefferson"]);
countyList.push(["216","CO","Mesa"]);
countyList.push(["217","CO","Weld"]);
countyList.push(["218","CO","Gunnison"]);
countyList.push(["219","CO","Phillips"]);
countyList.push(["220","CO","Grand"]);
countyList.push(["221","CO","Lincoln"]);
countyList.push(["222","CO","Sedgwick"]);
countyList.push(["223","CO","Elbert"]);
countyList.push(["224","CO","Otero"]);
countyList.push(["225","CO","Hinsdale"]);
countyList.push(["226","CO","Prowers"]);
countyList.push(["227","CO","Bent"]);
countyList.push(["228","CO","Lake"]);
countyList.push(["229","CO","Arapahoe"]);
countyList.push(["230","CO","Rio Blanco"]);
countyList.push(["231","CO","Montrose"]);
countyList.push(["232","CO","Crowley"]);
countyList.push(["233","CO","Ouray"]);
countyList.push(["234","CO","Archuleta"]);
countyList.push(["235","CO","Pueblo"]);
countyList.push(["236","CO","Saguache"]);
countyList.push(["237","CO","Chaffee"]);
countyList.push(["238","CO","Costilla"]);
countyList.push(["239","CO","San Juan"]);
countyList.push(["240","CO","Baca"]);
countyList.push(["241","CO","Routt"]);
countyList.push(["242","CO","Logan"]);
countyList.push(["243","CO","San Miguel"]);
countyList.push(["244","CO","Las Animas"]);
countyList.push(["245","CO","Jackson"]);
countyList.push(["246","CO","Huerfano"]);
countyList.push(["247","CO","Custer"]);
countyList.push(["248","CO","Yuma"]);       
}

if(state == 'CA')
{
countyList.push(["249","CA","Modoc"]);       
countyList.push(["250","CA","Placer"]);
countyList.push(["251","CA","Kern"]);
countyList.push(["252","CA","Mono"]);
countyList.push(["253","CA","Colusa"]);
countyList.push(["254","CA","Del Norte"]);
countyList.push(["255","CA","Sierra"]);
countyList.push(["256","CA","Imperial"]);
countyList.push(["257","CA","Humboldt"]);
countyList.push(["258","CA","Solano"]);
countyList.push(["259","CA","Fresno"]);
countyList.push(["260","CA","Kings"]);
countyList.push(["261","CA","San Benito"]);
countyList.push(["262","CA","Inyo"]);
countyList.push(["263","CA","Amador"]);
countyList.push(["264","CA","Lake"]);
countyList.push(["265","CA","Los Angeles"]);
countyList.push(["266","CA","Madera"]);
countyList.push(["267","CA","Mariposa"]);
countyList.push(["268","CA","Alpine"]);
countyList.push(["269","CA","Contra Costa"]);
countyList.push(["270","CA","Yuba"]);
countyList.push(["271","CA","Merced"]);
countyList.push(["272","CA","Stanislaus"]);
countyList.push(["273","CA","Napa"]);
countyList.push(["274","CA","Nevada"]);
countyList.push(["275","CA","Alameda"]);
countyList.push(["276","CA","Butte"]);
countyList.push(["277","CA","El Dorado"]);
countyList.push(["278","CA","Plumas"]);
countyList.push(["279","CA","Tehama"]);
countyList.push(["280","CA","Shasta"]);
countyList.push(["281","CA","San Mateo"]);
countyList.push(["282","CA","Riverside"]);
countyList.push(["283","CA","Sacramento"]);
countyList.push(["284","CA","Monterey"]);
countyList.push(["285","CA","Calaveras"]);
countyList.push(["286","CA","San Bernardino"]);
countyList.push(["287","CA","San Diego"]);
countyList.push(["288","CA","San Francisco City"]);
countyList.push(["289","CA","Santa Clara"]);
countyList.push(["290","CA","San Luis Obispo"]);
countyList.push(["291","CA","Marin"]);
countyList.push(["292","CA","Orange"]);
countyList.push(["293","CA","Santa Barbara"]);
countyList.push(["294","CA","Santa Cruz"]);
countyList.push(["295","CA","Sonoma"]);
countyList.push(["296","CA","Tuolumne"]);
countyList.push(["297","CA","San Joaquin"]);
countyList.push(["298","CA","Lassen"]);
countyList.push(["299","CA","Mendocino"]);
countyList.push(["300","CA","Ventura"]);
countyList.push(["301","CA","Tulare"]);
countyList.push(["302","CA","Trinity"]);
countyList.push(["303","CA","Glenn"]);
countyList.push(["304","CA","Yolo"]);
countyList.push(["305","CA","Siskiyou"]);
countyList.push(["306","CA","Sutter"]);
}
if(state == 'CT')  
{
countyList.push(["307","CT","Fairfield"]);
countyList.push(["308","CT","Hartford"]);
countyList.push(["309","CT","Litchfield"]);
countyList.push(["310","CT","Middlesex"]);
countyList.push(["311","CT","New Haven"]);
countyList.push(["312","CT","New London"]);
countyList.push(["313","CT","Tolland"]);
countyList.push(["314","CT","Windham"]);
}
if(state == 'DC')
{
countyList.push(["315","DC","District Of Columbia"] );
}
if(state == 'DE')
{
countyList.push(["316","DE","Kent"]);
countyList.push(["317","DE","Sussex"]);
countyList.push(["318","DE","New Castle"]);
}
if(state == 'FL')
{
countyList.push(["319","FL","Franklin"]);
countyList.push(["320","FL","DeSoto"]);
countyList.push(["321","FL","Polk"]);
countyList.push(["322","FL","Calhoun"]);
countyList.push(["323","FL","Holmes"]);
countyList.push(["324","FL","Manatee"]);
countyList.push(["325","FL","Liberty"]);
countyList.push(["326","FL","Levy"]);
countyList.push(["327","FL","Hernando"]);
countyList.push(["328","FL","Flagler"]);
countyList.push(["329","FL","Sumter"]);
countyList.push(["330","FL","Washington"]);
countyList.push(["331","FL","Pinellas"]);
countyList.push(["332","FL","Wakulla"]);
countyList.push(["333","FL","Okaloosa"]);
countyList.push(["334","FL","Dixie"]);
countyList.push(["335","FL","Pasco"]);
countyList.push(["336","FL","Volusia"]);
countyList.push(["337","FL","Walton"]);
countyList.push(["338","FL","Nassau"]);
countyList.push(["339","FL","Broward"]);
countyList.push(["340","FL","Lee"]);
countyList.push(["341","FL","St. Lucie"]);
countyList.push(["342","FL","Alachua"]);
countyList.push(["343","FL","Clay"]);
countyList.push(["344","FL","Citrus"]);
countyList.push(["345","FL","Duval County/City of Jacksonville"] );
countyList.push(["346","FL","Hamilton"]);
countyList.push(["347","FL","Monroe"]);
countyList.push(["348","FL","Osceola"]);
countyList.push(["349","FL","Hendry"]);
countyList.push(["350","FL","Union"]);
countyList.push(["351","FL","Columbia"]);
countyList.push(["352","FL","Suwannee"]);
countyList.push(["353","FL","Baker"]);
countyList.push(["354","FL","Madison"]);
countyList.push(["355","FL","Jackson"]);
countyList.push(["356","FL","Lafayette"]);
countyList.push(["357","FL","Miami-Dade"]);
countyList.push(["358","FL","Santa Rosa"]);
countyList.push(["359","FL","Jefferson"]);
countyList.push(["360","FL","Glades"]);
countyList.push(["361","FL","Collier"]);
countyList.push(["362","FL","Marion"]);
countyList.push(["363","FL","Okeechobee"]);
countyList.push(["364","FL","Orange"]);
countyList.push(["365","FL","Putnam"]);
countyList.push(["366","FL","Bay"]);
countyList.push(["367","FL","Escambia"]);
countyList.push(["368","FL","Taylor"]);
countyList.push(["369","FL","Gulf"]);
countyList.push(["370","FL","Charlotte"]);
countyList.push(["371","FL","Gadsden"]);
countyList.push(["372","FL","St. Johns"]);
countyList.push(["373","FL","Seminole"]);
countyList.push(["374","FL","Sarasota"]);
countyList.push(["375","FL","Highlands"]);
countyList.push(["376","FL","Bradford"]);
countyList.push(["377","FL","Martin"]);
countyList.push(["378","FL","Leon"]);
countyList.push(["379","FL","Hillsborough"]);
countyList.push(["380","FL","Lake"]);
countyList.push(["381","FL","Brevard"]);
countyList.push(["382","FL","Gilchrist"]);
countyList.push(["383","FL","Indian River"]);
countyList.push(["384","FL","Hardee"]); 
countyList.push(["385","FL","Palm Beach"]);
}
if(state == 'GA')
{
countyList.push(["386","GA","Wilcox"]);
countyList.push(["387","GA","Cook"]);
countyList.push(["388","GA","Wheeler"]);
countyList.push(["389","GA","Dougherty"]);
countyList.push(["390","GA","Bacon"]);
countyList.push(["391","GA","Sumter"]);
countyList.push(["392","GA","Columbia"]);
countyList.push(["393","GA","Turner"]);
countyList.push(["394","GA","Athens-Clarke"]);
countyList.push(["395","GA","Fulton"]);
countyList.push(["396","GA","Augusta-Richmond"]);
countyList.push(["397","GA","Decatur"]);
countyList.push(["398","GA","Lamar"]);
countyList.push(["399","GA","Appling"]);
countyList.push(["400","GA","Pierce"]);
countyList.push(["401","GA","Union"]);
countyList.push(["402","GA","Early"]);
countyList.push(["403","GA","Fannin"]);
countyList.push(["404","GA","Glynn"]);
countyList.push(["405","GA","Haralson"]);
countyList.push(["406","GA","Marion"]);
countyList.push(["407","GA","Taylor"]);
countyList.push(["408","GA","Grady"]);
countyList.push(["409","GA","Gordon"]);
countyList.push(["410","GA","Mitchell"]);
countyList.push(["411","GA","Cherokee"]);
countyList.push(["412","GA","Franklin"]);
countyList.push(["413","GA","Carroll"]);
countyList.push(["414","GA","Bartow"]);
countyList.push(["415","GA","Polk"]);
countyList.push(["416","GA","Murray"]);
countyList.push(["417","GA","Habersham"]);
countyList.push(["418","GA","Evans"]);
countyList.push(["419","GA","Rabun"]);
countyList.push(["420","GA","White"]);
countyList.push(["421","GA","Bleckley"]);
countyList.push(["422","GA","Miller"]);
countyList.push(["423","GA","Columbus-Muscogee"]);
countyList.push(["424","GA","Rockdale"]);
countyList.push(["425","GA","Crisp"]);
countyList.push(["426","GA","Newton"]);
countyList.push(["427","GA","Taliaferro"]);
countyList.push(["428","GA","Forsyth"]);
countyList.push(["429","GA","Cusseta-Chattahoochee"]);
countyList.push(["430","GA","Randolph"]);
countyList.push(["431","GA","Lumpkin"]);
countyList.push(["432","GA","Paulding"]);
countyList.push(["433","GA","Whitfield"]);
countyList.push(["434","GA","Madison"]);
countyList.push(["435","GA","McIntosh"]);
countyList.push(["436","GA","Terrell"]);
countyList.push(["437","GA","Dawson"]);
countyList.push(["438","GA","DeKalb"]);
countyList.push(["439","GA","Seminole"]);
countyList.push(["440","GA","Coffee"]);
countyList.push(["441","GA","Douglas"]);
countyList.push(["442","GA","Laurens"]);
countyList.push(["443","GA","Dodge"]);
countyList.push(["444","GA","Putnam"]);
countyList.push(["445","GA","Elbert"]);
countyList.push(["446","GA","Schley"]);
countyList.push(["447","GA","Gilmer"]);
countyList.push(["448","GA","Fayette"]);
countyList.push(["449","GA","Ben Hill"]);
countyList.push(["450","GA","Charlton"]);
countyList.push(["451","GA","Monroe"]);
countyList.push(["452","GA","Clay"]);
countyList.push(["453","GA","Peach"]);
countyList.push(["454","GA","Heard"]);
countyList.push(["455","GA","Hall"]);
countyList.push(["456","GA","Quitman"]);
countyList.push(["457","GA","Glascock"]);
countyList.push(["458","GA","Jones"]);
countyList.push(["459","GA","Greene"]);
countyList.push(["460","GA","Meriwether"]);
countyList.push(["461","GA","Spalding"]);
countyList.push(["462","GA","Harris"]);
countyList.push(["463","GA","Hart"]);
countyList.push(["464","GA","Pulaski"]);
countyList.push(["465","GA","Jeff Davis"]);
countyList.push(["466","GA","Towns"]);
countyList.push(["467","GA","Liberty"]);
countyList.push(["468","GA","Banks"]);
countyList.push(["469","GA","Clinch"]);
countyList.push(["470","GA","Wilkinson"]);
countyList.push(["471","GA","Butts"]);
countyList.push(["472","GA","Pickens"]);
countyList.push(["473","GA","Jackson"]);
countyList.push(["474","GA","Twiggs"]);
countyList.push(["475","GA","Wayne"]);
countyList.push(["476","GA","Clayton"]);
countyList.push(["477","GA","Crawford"]);
countyList.push(["478","GA","Walker"]);
countyList.push(["479","GA","Troup"]);
countyList.push(["480","GA","Lanier"]);
countyList.push(["481","GA","Gwinnett"]);
countyList.push(["482","GA","Lee"]);
countyList.push(["483","GA","Oglethorpe"]);
countyList.push(["484","GA","Lincoln"]);
countyList.push(["485","GA","Jefferson"]);
countyList.push(["486","GA","Long"]);
countyList.push(["487","GA","Stewart"]);
countyList.push(["488","GA","Toombs"]);
countyList.push(["489","GA","Bibb"]);
countyList.push(["490","GA","Morgan"]);
countyList.push(["491","GA","Cobb"]);
countyList.push(["492","GA","Henry"]);
countyList.push(["493","GA","Telfair"]);
countyList.push(["494","GA","Candler"]);
countyList.push(["495","GA","Baldwin"]);
countyList.push(["496","GA","Jenkins"]);
countyList.push(["497","GA","Walton"]);
countyList.push(["498","GA","Jasper"]);
countyList.push(["499","GA","Calhoun"]);
countyList.push(["500","GA","Colquitt"]);
countyList.push(["501","GA","Montgomery"]);
countyList.push(["502","GA","Brantley"]);
countyList.push(["503","GA","Berrien"]);
countyList.push(["504","GA","Coweta"]);
countyList.push(["505","GA","Baker"]);
countyList.push(["506","GA","Irwin"]);
countyList.push(["507","GA","Macon"]);
countyList.push(["508","GA","Atkinson"]);
countyList.push(["509","GA","Bryan"]);
countyList.push(["510","GA","Houston"]);
countyList.push(["511","GA","Webster"]);
countyList.push(["512","GA","Brooks"]);
countyList.push(["513","GA","Tattnall"]);
countyList.push(["514","GA","Catoosa"]);
countyList.push(["515","GA","Floyd"]);
countyList.push(["516","GA","Washington"]);
countyList.push(["517","GA","Chatham"]);
countyList.push(["518","GA","Emanuel"]);
countyList.push(["519","GA","Screven"]);
countyList.push(["520","GA","Worth"]);
countyList.push(["521","GA","Talbot"]);
countyList.push(["522","GA","Upson"]);
countyList.push(["523","GA","Thomas"]);
countyList.push(["524","GA","McDuffie"]);
countyList.push(["525","GA","Tift"]);
countyList.push(["526","GA","Stephens"]);
countyList.push(["527","GA","Lowndes"]);
countyList.push(["528","GA","Dooly"]);
countyList.push(["529","GA","Warren"]);
countyList.push(["530","GA","Wilkes"]);
countyList.push(["531","GA","Oconee"]);
countyList.push(["532","GA","Ware"]);
countyList.push(["533","GA","Burke"]);
countyList.push(["534","GA","Barrow"]);
countyList.push(["535","GA","Camden"]);
countyList.push(["536","GA","Johnson"]);
countyList.push(["537","GA","Pike"]);
countyList.push(["538","GA","Dade"]);                          
countyList.push(["539","GA","Treutlen"]);
countyList.push(["540","GA","Hancock"]);
countyList.push(["541","GA","Effingham"]);
countyList.push(["542","GA","Echols"]);
countyList.push(["543","GA","Bulloch"]);
countyList.push(["544","GA","Chattooga"]);
}
if(state == 'HI')
{
countyList.push(["545","HI","Hawaii"]);
countyList.push(["546","HI","Honolulu City"]);
countyList.push(["547","HI","Kauai"]);              
countyList.push(["548","HI","Maui"]);
}
if(state == 'IA')
{
countyList.push(["549","IA","Dallas"]);
countyList.push(["550","IA","Monroe"]);
countyList.push(["551","IA","Kossuth"]);
countyList.push(["552","IA","Butler"]);
countyList.push(["553","IA","Jones"]);
countyList.push(["554","IA","Cass"]);
countyList.push(["555","IA","Audubon"]);
countyList.push(["556","IA","Taylor"]);
countyList.push(["557","IA","Davis"]);
countyList.push(["558","IA","Boone"]);
countyList.push(["559","IA","Des Moines"]);
countyList.push(["560","IA","Carroll"]);
countyList.push(["561","IA","Linn"]);
countyList.push(["562","IA","Appanoose"]);
countyList.push(["563","IA","Lucas"]);
countyList.push(["564","IA","Floyd"]);
countyList.push(["565","IA","Cherokee"]);
countyList.push(["566","IA","Page"]);
countyList.push(["567","IA","Wright"]);
countyList.push(["568","IA","Clinton"]);
countyList.push(["569","IA","Adams"]);
countyList.push(["570","IA","Wayne"]);
countyList.push(["571","IA","Pottawattamie"]);
countyList.push(["571","IA","Howard"]);
countyList.push(["573","IA","Union"]);
countyList.push(["574","IA","Humboldt"]);
countyList.push(["575","IA","Scott"]);
countyList.push(["576","IA","Winneshiek"]);
countyList.push(["577","IA","Crawford"]);
countyList.push(["578","IA","Polk"]);
countyList.push(["579","IA","Dubuque"]);
countyList.push(["580","IA","Hardin"]);
countyList.push(["581","IA","Clayton"]);
countyList.push(["582","IA","Palo Alto"]);
countyList.push(["583","IA","Emmet"]);
countyList.push(["584","IA","Jefferson"]);
countyList.push(["585","IA","Winnebago"]);
countyList.push(["586","IA","Webster"]);
countyList.push(["587","IA","Lee"]);
countyList.push(["588","IA","Hancock"]);
countyList.push(["589","IA","Mills"]);
countyList.push(["590","IA","Adair"]);
countyList.push(["591","IA","Grundy"]);
countyList.push(["592","IA","Guthrie"]);
countyList.push(["593","IA","Franklin"]);
countyList.push(["594","IA","Shelby"]);
countyList.push(["595","IA","Ida"]);
countyList.push(["596","IA","Buchanan"]);
countyList.push(["597","IA","Warren"]);
countyList.push(["598","IA","Johnson"]);
countyList.push(["599","IA","Greene"]);
countyList.push(["600","IA","Van Buren"]);
countyList.push(["601","IA","Marion"]);
countyList.push(["602","IA","Plymouth"]);
countyList.push(["603","IA","Decatur"]);
countyList.push(["604","IA","Harrison"]);
countyList.push(["605","IA","Delaware"]);
countyList.push(["606","IA","Jackson"]);
countyList.push(["607","IA","Iowa"]);
countyList.push(["608","IA","Marshall"]);
countyList.push(["609","IA","Cerro Gordo"]);
countyList.push(["610","IA","Poweshiek"]);
countyList.push(["611","IA","Ringgold"]);
countyList.push(["612","IA","Henry"]);
countyList.push(["613","IA","Muscatine"]);
countyList.push(["614","IA","Story"]);
countyList.push(["615","IA","Chickasaw"]);
countyList.push(["616","IA","Jasper"]);
countyList.push(["617","IA","Worth"]);
countyList.push(["618","IA","Monona"]);
countyList.push(["619","IA","Sioux"]);
countyList.push(["620","IA","Mitchell"]);
countyList.push(["621","IA","Clarke"]);
countyList.push(["622","IA","Mahaska"]);
countyList.push(["623","IA","Wapello"]);
countyList.push(["624","IA","Pocahontas"]);
countyList.push(["625","IA","O'Brien"]);
countyList.push(["626","IA","Montgomery"]);
countyList.push(["627","IA","Lyon"]);
countyList.push(["628","IA","Calhoun"]);
countyList.push(["629","IA","Sac"]);
countyList.push(["630","IA","Osceola"]);
countyList.push(["631","IA","Fremont"]);
countyList.push(["632","IA","Keokuk"]);
countyList.push(["633","IA","Woodbury"]);
countyList.push(["634","IA","Clay"]);
countyList.push(["635","IA","Dickinson"]);
countyList.push(["636","IA","Buena Vista"]);
countyList.push(["637","IA","Cedar"]);
countyList.push(["638","IA","Tama"]);
countyList.push(["639","IA","Benton"]);
countyList.push(["640","IA","Louisa"]);
countyList.push(["641","IA","Washington"]);
countyList.push(["642","IA","Black Hawk"]);
countyList.push(["643","IA","Allamakee"]);
countyList.push(["644","IA","Bremer"]);
countyList.push(["645","IA","Hamilton"]);
countyList.push(["646","IA","Fayette"]);
countyList.push(["647","IA","Madison"]);
}
if(state == 'ID')
{
countyList.push(["648","ID","Power"]);
countyList.push(["649","ID","Butte"]);
countyList.push(["650","ID","Bingham"]);
countyList.push(["651","ID","Ada"]);
countyList.push(["652","ID","Boundary"]);
countyList.push(["653","ID","Cassia"]);
countyList.push(["654","ID","Canyon"]);
countyList.push(["655","ID","Valley"]);
countyList.push(["656","ID","Custer"]);
countyList.push(["657","ID","Kootenai"]);
countyList.push(["658","ID","Adams"]);
countyList.push(["659","ID","Teton"]);
countyList.push(["660","ID","Clark"]);
countyList.push(["661","ID","Gem"]);
countyList.push(["662","ID","Camas"]);
countyList.push(["663","ID","Gooding"]);
countyList.push(["664","ID","Idaho"]);
countyList.push(["665","ID","Blaine"]);
countyList.push(["666","ID","Boise"]);
countyList.push(["667","ID","Bonneville"]);
countyList.push(["668","ID","Jerome"]);
countyList.push(["669","ID","Nez Perce"]);
countyList.push(["670","ID","Oneida"]);
countyList.push(["671","ID","Latah"]);
countyList.push(["672","ID","Elmore"]);
countyList.push(["673","ID","Owyhee"]);
countyList.push(["674","ID","Lewis"]);
countyList.push(["675","ID","Clearwater"]);
countyList.push(["676","ID","Bear Lake"]);
countyList.push(["677","ID","Payette"]);
countyList.push(["678","ID","Bannock"]);
countyList.push(["679","ID","Franklin"]);
countyList.push(["680","ID","Madison"]);
countyList.push(["681","ID","Jefferson"]);
countyList.push(["682","ID","Minidoka"]);
countyList.push(["683","ID","Fremont"]);
countyList.push(["684","ID","Benewah"]);
countyList.push(["685","ID","Lemhi"]);
countyList.push(["686","ID","Bonner"]);
countyList.push(["687","ID","Lincoln"]);
countyList.push(["688","ID","Caribou"]);
countyList.push(["689","ID","Twin Falls"]);
countyList.push(["690","ID","Shoshone"]);
countyList.push(["691","ID","Washington"]);
}
if(state == 'IL')
{
countyList.push(["692","IL","Edwards"]);
countyList.push(["693","IL","Mercer"]);
countyList.push(["694","IL","St. Clair"]);
countyList.push(["695","IL","Boone"]);
countyList.push(["696","IL","Franklin"]);
countyList.push(["697","IL","McLean"]);
countyList.push(["698","IL","Alexander"]);
countyList.push(["699","IL","Henry"]);
countyList.push(["700","IL","Macoupin"]);
countyList.push(["701","IL","Clinton"]);
countyList.push(["702","IL","White"]);
countyList.push(["703","IL","Greene"]);
countyList.push(["704","IL","Hancock"]);
countyList.push(["705","IL","Coles"]);
countyList.push(["706","IL","Randolph"]);
countyList.push(["707","IL","Cook"]);
countyList.push(["708","IL","De Witt"]);
countyList.push(["709","IL","Vermilion"]);
countyList.push(["710","IL","Macon"]);
countyList.push(["711","IL","Lee"]);
countyList.push(["712","IL","Madison"]);
countyList.push(["713","IL","Effingham"]);
countyList.push(["714","IL","Hardin"]);
countyList.push(["715","IL","Woodford"]);
countyList.push(["716","IL","Wayne"]);
countyList.push(["717","IL","Stephenson"]);
countyList.push(["718","IL","Jo Daviess"]);
countyList.push(["719","IL","Knox"]);
countyList.push(["720","IL","Kane"]);
countyList.push(["721","IL","Pope"]);
countyList.push(["722","IL","Bond"]);
countyList.push(["723","IL","Calhoun"]);
countyList.push(["724","IL","Saline"]);
countyList.push(["725","IL","Mason"]);
countyList.push(["726","IL","Putnam"]);
countyList.push(["727","IL","Montgomery"]);
countyList.push(["728","IL","Morgan"]);
countyList.push(["729","IL","Jersey"]);
countyList.push(["730","IL","Will"]);
countyList.push(["731","IL","Union"]);
countyList.push(["732","IL","Kankakee"]);
countyList.push(["733","IL","Marshall"]);
countyList.push(["734","IL","Lawrence"]);
countyList.push(["735","IL","Fulton"]);
countyList.push(["736","IL","Logan"]);
countyList.push(["737","IL","Clay"]);
countyList.push(["738","IL","McDonough"]);
countyList.push(["739","IL","Williamson"]);
countyList.push(["740","IL","Clark"]);
countyList.push(["741","IL","Hamilton"]);
countyList.push(["742","IL","Massac"]);
countyList.push(["743","IL","Warren"]);
countyList.push(["744","IL","Piatt"]);
countyList.push(["745","IL","Grundy"]);
countyList.push(["746","IL","Whiteside"]);
countyList.push(["747","IL","Pulaski"]);
countyList.push(["748","IL","Wabash"]);
countyList.push(["749","IL","Carroll"]);
countyList.push(["750","IL","Brown"]);
countyList.push(["751","IL","Jefferson"]);
countyList.push(["752","IL","Jackson"]);
countyList.push(["753","IL","Washington"]);
countyList.push(["754","IL","Jasper"]);
countyList.push(["755","IL","Richland"]);
countyList.push(["756","IL","Henderson"]);
countyList.push(["757","IL","Ogle"]);
countyList.push(["758","IL","LaSalle"]);
countyList.push(["759","IL","Edgar"]);
countyList.push(["760","IL","Ford"]);
countyList.push(["761","IL","Tazewell"]);
countyList.push(["762","IL","Peoria"]);
countyList.push(["763","IL","Menard"]);
countyList.push(["764","IL","Perry"]);
countyList.push(["765","IL","Pike"]);
countyList.push(["766","IL","Livingston"]);
countyList.push(["767","IL","Bureau"]);
countyList.push(["768","IL","Adams"]);
countyList.push(["769","IL","Crawford"]);
countyList.push(["770","IL","Rock Island"]);
countyList.push(["771","IL","Winnebago"]);
countyList.push(["772","IL","Schuyler"]);
countyList.push(["773","IL","Marion"]);
countyList.push(["774","IL","Gallatin"]);
countyList.push(["775","IL","Shelby"]);
countyList.push(["776","IL","Sangamon"]);
countyList.push(["777","IL","Moultrie"]);
countyList.push(["778","IL","DeKalb"]);
countyList.push(["779","IL","Christian"]);
countyList.push(["780","IL","Cumberland"]);
countyList.push(["781","IL","Stark"]);
countyList.push(["782","IL","Douglas"]);
countyList.push(["783","IL","Champaign"]);
countyList.push(["784","IL","Fayette"]);
countyList.push(["785","IL","Johnson"]);
countyList.push(["786","IL","Cass"]);
countyList.push(["787","IL","Monroe"]);
countyList.push(["788","IL","Iroquois"]);
countyList.push(["789","IL","Lake"]);
countyList.push(["790","IL","DuPage"]);
countyList.push(["791","IL","Scott"]);
countyList.push(["792","IL","McHenry"]);
countyList.push(["793","IL","Kendall"]);
}
if(state == 'IN')
{
countyList.push(["794","IN","Noble"]);
countyList.push(["795","IN","Madison"]);
countyList.push(["796","IN","Steuben"]);
countyList.push(["797","IN","DeKalb"]);
countyList.push(["798","IN","Lawrence"]);
countyList.push(["799","IN","Greene"]);
countyList.push(["800","IN","Monroe"]);
countyList.push(["801","IN","Wells"]);
countyList.push(["802","IN","Warrick"]);
countyList.push(["803","IN","Clay"]);
countyList.push(["804","IN","Franklin"]);
countyList.push(["805","IN","Jackson"]);
countyList.push(["806","IN","Whitley"]);
countyList.push(["807","IN","Bartholomew"]);
countyList.push(["808","IN","Fayette"]);
countyList.push(["809","IN","Harrison"]);
countyList.push(["810","IN","Fountain"]);
countyList.push(["811","IN","Montgomery"]);
countyList.push(["812","IN","Lake"]);
countyList.push(["813","IN","Hendricks"]);
countyList.push(["814","IN","Adams"]);
countyList.push(["815","IN","Carroll"]);
countyList.push(["816","IN","Crawford"]);
countyList.push(["817","IN","Vanderburgh"]);
countyList.push(["818","IN","Allen"]);
countyList.push(["819","IN","Benton"]);
countyList.push(["820","IN","Clinton"]);
countyList.push(["821","IN","Johnson"]);
countyList.push(["822","IN","Elkhart"]);
countyList.push(["823","IN","Putnam"]);
countyList.push(["824","IN","Hancock"]);
countyList.push(["825","IN","Decatur"]);
countyList.push(["826","IN","Blackford"]);
countyList.push(["827","IN","Huntington"]);
countyList.push(["828","IN","Indianapolis & Marion"]);
countyList.push(["829","IN","Dubois"]);
countyList.push(["830","IN","Clark"]);
countyList.push(["831","IN","Newton"]);
countyList.push(["832","IN","Starke"]);
countyList.push(["833","IN","Howard"]);
countyList.push(["834","IN","La Porte"]);
countyList.push(["835","IN","Tippecanoe"]);
countyList.push(["836","IN","LaGrange"]);
countyList.push(["837","IN","Dearborn"]);
countyList.push(["838","IN","Boone"]);
countyList.push(["839","IN","Union"]);
countyList.push(["840","IN","Cass"]);
countyList.push(["841","IN","Jefferson"]);
countyList.push(["842","IN","Grant"]);
countyList.push(["843","IN","Morgan"]);
countyList.push(["844","IN","White"]);
countyList.push(["845","IN","Posey"]);
countyList.push(["846","IN","Delaware"]);
countyList.push(["847","IN","Brown"]);
countyList.push(["848","IN","Floyd"]);
countyList.push(["849","IN","Henry"]);
countyList.push(["850","IN","Vermillion"]);
countyList.push(["851","IN","Hamilton"]);
countyList.push(["852","IN","Orange"]);
countyList.push(["853","IN","Miami"]);
countyList.push(["854","IN","Pike"]);
countyList.push(["855","IN","Marshall"]);
countyList.push(["856","IN","Jay"]);
countyList.push(["857","IN","Gibson"]);
countyList.push(["858","IN","Jasper"]);
countyList.push(["859","IN","Wayne"]);
countyList.push(["860","IN","Ohio"]);
countyList.push(["861","IN","Fulton"]);
countyList.push(["862","IN","Spencer"]);
countyList.push(["863","IN","Parke"]);
countyList.push(["864","IN","Rush"]);
countyList.push(["865","IN","Washington"]);
countyList.push(["866","IN","Scott"]);
countyList.push(["867","IN","Shelby"]);
countyList.push(["868","IN","Martin"]);
countyList.push(["869","IN","St. Joseph"]);
countyList.push(["870","IN","Owen"]);
countyList.push(["871","IN","Sullivan"]);
countyList.push(["872","IN","Perry"]);
countyList.push(["873","IN","Vigo"]);
countyList.push(["874","IN","Tipton"]);
countyList.push(["875","IN","Porter"]);
countyList.push(["876","IN","Jennings"]);
countyList.push(["877","IN","Ripley"]);
countyList.push(["878","IN","Switzerland"]);
countyList.push(["879","IN","Knox"]);
countyList.push(["880","IN","Wabash"]);
countyList.push(["881","IN","Kosciusko"]);
countyList.push(["882","IN","Daviess"]);
countyList.push(["883","IN","Warren"]);
countyList.push(["884","IN","Pulaski"]);
countyList.push(["885","IN","Randolph"]);  
}
if(state == 'KS')
{
countyList.push(["886","KS","Dickinson"]);
countyList.push(["887","KS","Wabaunsee"]);
countyList.push(["888","KS","Harper"]);
countyList.push(["889","KS","Clark"]);
countyList.push(["890","KS","Atchison"]);
countyList.push(["891","KS","Rawlins"]);
countyList.push(["892","KS","Republic"]);
countyList.push(["893","KS","Mitchell"]);
countyList.push(["894","KS","Coffey"]);
countyList.push(["895","KS","Gray"]);
countyList.push(["896","KS","Clay"]);
countyList.push(["897","KS","Thomas"]);
countyList.push(["898","KS","Comanche"]);
countyList.push(["899","KS","Cherokee"]);
countyList.push(["900","KS","Cloud"]);
countyList.push(["901","KS","Chase"]);
countyList.push(["902","KS","Morris"]);
countyList.push(["903","KS","Lane"]);
countyList.push(["904","KS","Ford"]);
countyList.push(["905","KS","Butler"]);
countyList.push(["906","KS","Morton"]);
countyList.push(["907","KS","Ellsworth"]);
countyList.push(["908","KS","Lyon"]);
countyList.push(["909","KS","Neosho"]);
countyList.push(["910","KS","Greenwood"]);
countyList.push(["911","KS","Bourbon"]);
countyList.push(["912","KS","Wilson"]);
countyList.push(["913","KS","Finney"]);
countyList.push(["914","KS","Anderson"]);
countyList.push(["915","KS","Crawford"]);
countyList.push(["916","KS","Sherman"]);
countyList.push(["917","KS","Gove"]);
countyList.push(["918","KS","Barton"]);
countyList.push(["919","KS","Kiowa"]);
countyList.push(["920","KS","Ellis"]);
countyList.push(["921","KS","Brown"]);
countyList.push(["922","KS","Graham"]);
countyList.push(["923","KS","Jackson"]);
countyList.push(["924","KS","Elk"]);
countyList.push(["925","KS","Sheridan"]);
countyList.push(["926","KS","Stevens"]);
countyList.push(["927","KS","Reno"]);
countyList.push(["928","KS","Montgomery"]);
countyList.push(["929","KS","Allen"]);
countyList.push(["930","KS","Hodgeman"]);
countyList.push(["931","KS","Stanton"]);
countyList.push(["932","KS","Geary"]);
countyList.push(["933","KS","Unified Govt. of Wyandotte County/K.C"]);
countyList.push(["934","KS","Kingman"]);
countyList.push(["935","KS","Edwards"]);
countyList.push(["936","KS","Rush"]);
countyList.push(["937","KS","Kearny"]);
countyList.push(["938","KS","Pawnee"]);
countyList.push(["939","KS","Douglas"]);
countyList.push(["940","KS","Leavenworth"]);
countyList.push(["941","KS","Wichita"]);
countyList.push(["942","KS","Seward"]);
countyList.push(["943","KS","Lincoln"]);
countyList.push(["944","KS","Osage"]);
countyList.push(["945","KS","Rice"]);
countyList.push(["946","KS","Riley"]);
countyList.push(["947","KS","Jewell"]);
countyList.push(["948","KS","Marion"]);
countyList.push(["949","KS","Marshall"]);
countyList.push(["950","KS","McPherson"]);
countyList.push(["951","KS","Meade"]);
countyList.push(["952","KS","Barber"]);
countyList.push(["953","KS","Ottawa"]);
countyList.push(["954","KS","Linn"]);
countyList.push(["955","KS","Ness"]);
countyList.push(["956","KS","Harvey"]);
countyList.push(["957","KS","Norton"]);
countyList.push(["958","KS","Logan"]);
countyList.push(["959","KS","Decatur"]);
countyList.push(["960","KS","Johnson"]);
countyList.push(["961","KS","Osborne"]);
countyList.push(["962","KS","Jefferson"]);
countyList.push(["963","KS","Labette"]);
countyList.push(["964","KS","Franklin"]);
countyList.push(["965","KS","Miami"]);
countyList.push(["966","KS","Phillips"]);
countyList.push(["967","KS","Pratt"]);
countyList.push(["968","KS","Russell"]);
countyList.push(["969","KS","Cheyenne"]);
countyList.push(["970","KS","Stafford"]);
countyList.push(["971","KS","Saline"]);
countyList.push(["972","KS","Scott"]);
countyList.push(["973","KS","Chautauqua"]);
countyList.push(["974","KS","Nemaha"]);
countyList.push(["975","KS","Wallace"]);
countyList.push(["976","KS","Smith"]);
countyList.push(["977","KS","Rooks"]);
countyList.push(["978","KS","Haskell"]);
countyList.push(["979","KS","Hamilton"]);
countyList.push(["980","KS","Shawnee"]);
countyList.push(["981","KS","Greeley"]);
countyList.push(["982","KS","Doniphan"]);
countyList.push(["983","KS","Grant"]);
countyList.push(["984","KS","Trego"]);
countyList.push(["985","KS","Washington"]);
countyList.push(["986","KS","Sumner"]);
countyList.push(["987","KS","Pottawatomie"]);
countyList.push(["988","KS","Sedgwick"]);
countyList.push(["989","KS","Cowley"]);
countyList.push(["990","KS","Woodson"]);          
}
if(state == 'KY')
{
countyList.push(["991","KY","Clinton"]);          
countyList.push(["992","KY","Knox"]);
countyList.push(["993","KY","Nelson"]);
countyList.push(["994","KY","Carlisle"]);
countyList.push(["995","KY","Lee"]);
countyList.push(["996","KY","Trimble"]);
countyList.push(["997","KY","Marshall"]);
countyList.push(["998","KY","Owsley"]);
countyList.push(["999","KY","Warren"]);
countyList.push(["1000","KY","Meade"]);
countyList.push(["1001","KY","Bracken"]);
countyList.push(["1002","KY","Edmonson"]);
countyList.push(["1003","KY","Cumberland"]);
countyList.push(["1004","KY","Boone"]);
countyList.push(["1005","KY","Trigg"]);
countyList.push(["1006","KY","McLean"]);
countyList.push(["1007","KY","Taylor"]);
countyList.push(["1008","KY","Wolfe"]);
countyList.push(["1009","KY","Nicholas"]);
countyList.push(["1010","KY","Carroll"]);
countyList.push(["1011","KY","Boyd"]);
countyList.push(["1012","KY","Hickman"]);
countyList.push(["1013","KY","Adair"]);
countyList.push(["1014","KY","Harrison"]);
countyList.push(["1015","KY","Boyle"]);
countyList.push(["1016","KY","Webster"]);
countyList.push(["1017","KY","Lyon"]);
countyList.push(["1018","KY","Metcalfe"]);
countyList.push(["1019","KY","Hardin"]);
countyList.push(["1020","KY","Todd"]);
countyList.push(["1021","KY","Pendleton"]);
countyList.push(["1022","KY","Fleming"]);
countyList.push(["1023","KY","Franklin"]);
countyList.push(["1024","KY","Simpson"]);
countyList.push(["1025","KY","Menifee"]);
countyList.push(["1026","KY","Scott"]);
countyList.push(["1027","KY","Barren"]);
countyList.push(["1028","KY","Carter"]);
countyList.push(["1029","KY","Green"]);
countyList.push(["1030","KY","Greenup"]);
countyList.push(["1031","KY","Muhlenberg"]);
countyList.push(["1032","KY","Breckinridge"]);
countyList.push(["1033","KY","Harlan"]);
countyList.push(["1034","KY","Mercer"]);
countyList.push(["1035","KY","Ohio"]);
countyList.push(["1036","KY","Hancock"]);
countyList.push(["1037","KY","Perry"]);
countyList.push(["1038","KY","Henderson"]);
countyList.push(["1039","KY","Fulton"]);
countyList.push(["1040","KY","Knott"]);
countyList.push(["1041","KY","LaRue"]);
countyList.push(["1042","KY","Christian"]);
countyList.push(["1043","KY","Leslie"]);
countyList.push(["1044","KY","Kenton"]);
countyList.push(["1045","KY","Martin"]);
countyList.push(["1046","KY","Estill"]);
countyList.push(["1047","KY","Breathitt"]);
countyList.push(["1048","KY","Russell"]);
countyList.push(["1049","KY","Oldham"]);
countyList.push(["1050","KY","Garrard"]);
countyList.push(["1051","KY","Anderson"]);
countyList.push(["1052","KY","Marion"]);
countyList.push(["1053","KY","Grayson"]);
countyList.push(["1054","KY","Lexington-Fayette"]);
countyList.push(["1055","KY","Casey"]);
countyList.push(["1056","KY","Laurel"]);
countyList.push(["1057","KY","Lawrence"]);
countyList.push(["1058","KY","Louisville Jefferson"]);
countyList.push(["1059","KY","Hopkins"]);
countyList.push(["1060","KY","Clay"]);
countyList.push(["1061","KY","Crittenden"]);
countyList.push(["1062","KY","Graves"]);
countyList.push(["1063","KY","Mason"]);
countyList.push(["1064","KY","Jackson"]);
countyList.push(["1065","KY","Wayne"]);
countyList.push(["1066","KY","Rowan"]);
countyList.push(["1067","KY","Union"]);
countyList.push(["1068","KY","Butler"]);
countyList.push(["1069","KY","Robertson"]);
countyList.push(["1070","KY","Montgomery"]);
countyList.push(["1071","KY","Rockcastle"]);
countyList.push(["1072","KY","Hart"]);
countyList.push(["1073","KY","Calloway"]);
countyList.push(["1074","KY","Henry"]);
countyList.push(["1075","KY","Campbell"]);
countyList.push(["1076","KY","Jessamine"]);
countyList.push(["1077","KY","Daviess"]);
countyList.push(["1078","KY","Owen"]);
countyList.push(["1079","KY","Bath"]);
countyList.push(["1080","KY","McCracken"]);
countyList.push(["1081","KY","Johnson"]);
countyList.push(["1082","KY","Bourbon"]);
countyList.push(["1083","KY","Pike"]);
countyList.push(["1084","KY","Bell"]);
countyList.push(["1085","KY","Floyd"]);
countyList.push(["1086","KY","Caldwell"]);
countyList.push(["1087","KY","Madison"]);
countyList.push(["1088","KY","Logan"]);
countyList.push(["1089","KY","Magoffin"]);
countyList.push(["1090","KY","Elliott"]);
countyList.push(["1091","KY","Allen"]);
countyList.push(["1092","KY","Shelby"]);
countyList.push(["1093","KY","Bullitt"]);
countyList.push(["1094","KY","Livingston"]);
countyList.push(["1095","KY","Pulaski"]);
countyList.push(["1096","KY","Washington"]);
countyList.push(["1097","KY","Lincoln"]);
countyList.push(["1098","KY","Powell"]);
countyList.push(["1099","KY","Spencer"]);
countyList.push(["1100","KY","Monroe"]);
countyList.push(["1101","KY","Lewis"]);
countyList.push(["1102","KY","Woodford"]);
countyList.push(["1103","KY","Gallatin"]);
countyList.push(["1104","KY","Morgan"]);
countyList.push(["1105","KY","Letcher"]);
countyList.push(["1106","KY","McCreary"]);
countyList.push(["1107","KY","Ballard"]);
countyList.push(["1108","KY","Whitley"]);
countyList.push(["1109","KY","Grant"]);
countyList.push(["1110","KY","Clark"]);  
}
if(state == 'LA')
{
countyList.push(["1111","LA","Vermilion Parish"]);
countyList.push(["1112","LA","Rapides Parish"]);
countyList.push(["1113","LA","Tangipahoa Parish"]);
countyList.push(["1114","LA","Bienville Parish"]);
countyList.push(["1115","LA","Morehouse Parish"]);
countyList.push(["1116","LA","East Baton Rouge Parish"]);
countyList.push(["1117","LA","Bossier Parish"]);
countyList.push(["1118","LA","Cameron Parish"]);
countyList.push(["1119","LA","St. Bernard Parish"]);
countyList.push(["1120","LA","East Feliciana Parish"]);
countyList.push(["1121","LA","Grant Parish"]);
countyList.push(["1122","LA","Caldwell Parish"]);
countyList.push(["1123","LA","St. James Parish"]);
countyList.push(["1124","LA","Red River Parish"]);
countyList.push(["1125","LA","St. Tammany Parish"]);
countyList.push(["1126","LA","Acadia Parish"]);
countyList.push(["1127","LA","Beauregard Parish"]);
countyList.push(["1128","LA","Ascension Parish"]);
countyList.push(["1129","LA","Union Parish"]);
countyList.push(["1130","LA","St. Mary Parish"]);
countyList.push(["1131","LA","Washington Parish"]);
countyList.push(["1132","LA","St. Helena Parish"]);
countyList.push(["1133","LA","Jefferson Parish"]);
countyList.push(["1134","LA","St. Charles Parish"]);
countyList.push(["1135","LA","Catahoula Parish"]);
countyList.push(["1136","LA","Claiborne Parish"]);
countyList.push(["1137","LA","Terrebonne Parish"]);
countyList.push(["1138","LA","LaSalle Parish"]);
countyList.push(["1139","LA","Jefferson Davis Parish"]);
countyList.push(["1140","LA","Jackson Parish"]);
countyList.push(["1141","LA","Lafayette Consolidated Government"]);
countyList.push(["1142","LA","Calcasieu Parish"]);
countyList.push(["1143","LA","East Carroll Parish"]);
countyList.push(["1144","LA","St. John The Baptist Parish"]);
countyList.push(["1145","LA","Vernon Parish"]);
countyList.push(["1146","LA","Livingston Parish"]);
countyList.push(["1147","LA","DeSoto Parish"]);
countyList.push(["1148","LA","Sabine Parish"]);
countyList.push(["1149","LA","Avoyelles Parish"]);
countyList.push(["1150","LA","Webster Parish"]);
countyList.push(["1151","LA","Ouachita Parish"]);
countyList.push(["1152","LA","Assumption Parish"]);
countyList.push(["1153","LA","Natchitoches Parish"]);
countyList.push(["1154","LA","Iberia Parish"]);
countyList.push(["1155","LA","Orleans Parish"]);
countyList.push(["1156","LA","Pointe Coupee Parish"]);
countyList.push(["1157","LA","West Carroll Parish"]);
countyList.push(["1158","LA","Allen Parish"]);
countyList.push(["1159","LA","St. Landry Parish"]);
countyList.push(["1160","LA","Iberville Parish"]);
countyList.push(["1161","LA","Plaquemines Parish"]);
countyList.push(["1162","LA","West Baton Rouge Parish"]);
countyList.push(["1163","LA","Richland Parish"]);
countyList.push(["1164","LA","Lincoln Parish"]);
countyList.push(["1165","LA","West Feliciana Parish"]);
countyList.push(["1166","LA","Tensas Parish"]);
countyList.push(["1167","LA","St. Martin Parish"]);
countyList.push(["1168","LA","Caddo Parish"]);
countyList.push(["1169","LA","Madison Parish"]);
countyList.push(["1170","LA","Lafourche Parish"]);
countyList.push(["1171","LA","Concordia Parish"]);
countyList.push(["1172","LA","Evangeline Parish"]);
countyList.push(["1173","LA","Winn Parish"]);
countyList.push(["1174","LA","Franklin Parish"]);
}
if(state == 'MA')
{
countyList.push(["1175","MA","Barnstable"]);
countyList.push(["1176","MA","Suffolk"]);
countyList.push(["1177","MA","Norfolk"]);
countyList.push(["1178","MA","Dukes"]);
countyList.push(["1179","MA","Nantucket"]);
countyList.push(["1180","MA","Plymouth"]);
countyList.push(["1181","MA","Bristol"]);
countyList.push(["3091","MA","Essex"]);
countyList.push(["3092","MA","Berkshire"]);
countyList.push(["3093","MA","Franklin"]);
countyList.push(["3094","MA","Hampden"]);
countyList.push(["3095","MA","Hampshire"]);
countyList.push(["3096","MA","Middlesex"]);
countyList.push(["3097","MA","Worcester"]);
}
if(state == 'MD')
{
countyList.push(["1182","MD","Anne Arundel"]);
countyList.push(["1183","MD","Baltimore City"]);
countyList.push(["1184","MD","Harford"]);
countyList.push(["1185","MD","Dorchester"]);
countyList.push(["1186","MD","Queen Anne's"]);
countyList.push(["1187","MD","Kent"]);
countyList.push(["1188","MD","Allegany"]);
countyList.push(["1189","MD","Caroline"]);
countyList.push(["1190","MD","Talbot"]);
countyList.push(["1191","MD","Cecil"]);
countyList.push(["1192","MD","Howard"]);
countyList.push(["1193","MD","Frederick"]);
countyList.push(["1194","MD","Washington"]);
countyList.push(["1195","MD","Charles"]);
countyList.push(["1196","MD","St. Mary's"]);
countyList.push(["1197","MD","Garrett"]);
countyList.push(["1198","MD","Calvert"]);
countyList.push(["1199","MD","Somerset"]);
countyList.push(["1200","MD","Montgomery"]);
countyList.push(["1201","MD","Wicomico"]);
countyList.push(["1202","MD","Worcester"]);
countyList.push(["1203","MD","Baltimore"]);
countyList.push(["1204","MD","Prince George's"]);
countyList.push(["1205","MD","Carroll"]);
}
if(state == 'ME')
{
countyList.push(["1206","ME","York"]);
countyList.push(["1207","ME","Androscoggin"]);
countyList.push(["1208","ME","Kennebec"]);
countyList.push(["1209","ME","Penobscot"]);
countyList.push(["1210","ME","Sagadahoc"]);
countyList.push(["1211","ME","Waldo"]);
countyList.push(["1212","ME","Piscataquis"]);
countyList.push(["1213","ME","Hancock"]);
countyList.push(["1214","ME","Franklin"]);
countyList.push(["1215","ME","Aroostook"]);
countyList.push(["1216","ME","Washington"]);
countyList.push(["1217","ME","Cumberland"]);
countyList.push(["1218","ME","Knox"]);
countyList.push(["1219","ME","Somerset"]);
countyList.push(["1220","ME","Oxford"]);
countyList.push(["1221","ME","Lincoln"]);
}
if(state == 'MI')
{
countyList.push(["1222","MI","Lenawee"]);
countyList.push(["1223","MI","Allegan"]);
countyList.push(["1224","MI","Alpena"]);
countyList.push(["1225","MI","Washtenaw"]);
countyList.push(["1226","MI","Montmorency"]);
countyList.push(["1227","MI","Huron"]);
countyList.push(["1228","MI","Lake"]);
countyList.push(["1229","MI","Bay"]);
countyList.push(["1230","MI","Antrim"]);
countyList.push(["1231","MI","Gogebic"]);
countyList.push(["1232","MI","Benzie"]);
countyList.push(["1233","MI","Mecosta"]);
countyList.push(["1234","MI","Wexford"]);
countyList.push(["1235","MI","Tuscola"]);
countyList.push(["1236","MI","Cass"]);
countyList.push(["1237","MI","St. Joseph"]);
countyList.push(["1238","MI","Charlevoix"]);
countyList.push(["1239","MI","Eaton"]);
countyList.push(["1240","MI","Cheboygan"]);
countyList.push(["1241","MI","Branch"]);
countyList.push(["1242","MI","Shiawassee"]);
countyList.push(["1243","MI","Iron"]);
countyList.push(["1244","MI","Wayne"]);
countyList.push(["1245","MI","Keweenaw"]);
countyList.push(["1246","MI","Delta"]);
countyList.push(["1247","MI","Genesee"]);
countyList.push(["1248","MI","Otsego"]);
countyList.push(["1249","MI","Gladwin"]);
countyList.push(["1250","MI","Ottawa"]);
countyList.push(["1251","MI","Kent"]);
countyList.push(["1252","MI","Crawford"]);
countyList.push(["1253","MI","Clare"]);
countyList.push(["1254","MI","Alcona"]);
countyList.push(["1255","MI","Oceana"]);
countyList.push(["1256","MI","Barry"]);
countyList.push(["1257","MI","Hillsdale"]);
countyList.push(["1258","MI","Houghton"]);
countyList.push(["1259","MI","Livingston"]);
countyList.push(["1260","MI","Ionia"]);
countyList.push(["1261","MI","Dickinson"]);
countyList.push(["1262","MI","Gratiot"]);
countyList.push(["1263","MI","Jackson"]);
countyList.push(["1264","MI","Kalamazoo"]);
countyList.push(["1265","MI","Kalkaska"]);
countyList.push(["1266","MI","Missaukee"]);
countyList.push(["1267","MI","Baraga"]);
countyList.push(["1268","MI","Lapeer"]);
countyList.push(["1269","MI","Leelanau"]);
countyList.push(["1270","MI","Mason"]);
countyList.push(["1271","MI","Manistee"]);
countyList.push(["1272","MI","Schoolcraft"]);
countyList.push(["1273","MI","Marquette"]);
countyList.push(["1274","MI","Calhoun"]);
countyList.push(["1275","MI","Ingham"]);
countyList.push(["1276","MI","Menominee"]);
countyList.push(["1277","MI","Midland"]);
countyList.push(["1278","MI","Oscoda"]);
countyList.push(["1279","MI","Monroe"]);
countyList.push(["1280","MI","Macomb"]);
countyList.push(["1281","MI","Isabella"]);
countyList.push(["1282","MI","Alger"]);
countyList.push(["1283","MI","Muskegon"]);
countyList.push(["1284","MI","Luce"]);
countyList.push(["1285","MI","Ontonagon"]);
countyList.push(["1286","MI","Van Buren"]);
countyList.push(["1287","MI","Emmet"]);
countyList.push(["1288","MI","Oakland"]);
countyList.push(["1289","MI","St. Clair"]);
countyList.push(["1290","MI","Osceola"]);
countyList.push(["1291","MI","Presque Isle"]);
countyList.push(["1292","MI","Roscommon"]);
countyList.push(["1293","MI","Saginaw"]);
countyList.push(["1294","MI","Mackinac"]);
countyList.push(["1295","MI","Clinton"]);
countyList.push(["1296","MI","Berrien"]);
countyList.push(["1297","MI","Sanilac"]);
countyList.push(["1298","MI","Chippewa"]);
countyList.push(["1299","MI","Arenac"]);
countyList.push(["1300","MI","Montcalm"]);
countyList.push(["1301","MI","Iosco"]);
countyList.push(["1302","MI","Grand Traverse"]);
countyList.push(["1303","MI","Ogemaw"]);
countyList.push(["1304","MI","Newaygo"]);
}
if(state == 'MN')
{
countyList.push(["1305","MN","Norman"]);
countyList.push(["1306","MN","Aitkin"]);
countyList.push(["1307","MN","Freeborn"]);
countyList.push(["1308","MN","Douglas"]);
countyList.push(["1309","MN","Anoka"]);
countyList.push(["1310","MN","Mower"]);
countyList.push(["1311","MN","Clearwater"]);
countyList.push(["1312","MN","Lake Of The Woods"]);
countyList.push(["1313","MN","Beltrami"]);
countyList.push(["1314","MN","Swift"]);
countyList.push(["1315","MN","Faribault"]);
countyList.push(["1316","MN","Crow Wing"]);
countyList.push(["1317","MN","Wilkin"]);
countyList.push(["1318","MN","Wright"]);
countyList.push(["1319","MN","Houston"]);
countyList.push(["1320","MN","Isanti"]);
countyList.push(["1321","MN","Carlton"]);
countyList.push(["1322","MN","Chisago"]);
countyList.push(["1323","MN","Carver"]);
countyList.push(["1324","MN","Polk"]);
countyList.push(["1325","MN","Becker"]);
countyList.push(["1326","MN","St. Louis"]);
countyList.push(["1327","MN","Grant"]);
countyList.push(["1328","MN","Sherburne"]);
countyList.push(["1329","MN","Martin"]);
countyList.push(["1330","MN","Rice"]);
countyList.push(["1331","MN","Otter Tail"]);
countyList.push(["1332","MN","Benton"]);
countyList.push(["1333","MN","Sibley"]);
countyList.push(["1334","MN","McLeod"]);
countyList.push(["1335","MN","Pope"]);
countyList.push(["1336","MN","Cook"]);
countyList.push(["1337","MN","Itasca"]);
countyList.push(["1338","MN","Yellow Medicine"]);
countyList.push(["1339","MN","Kittson"]);
countyList.push(["1340","MN","Dakota"]);
countyList.push(["1341","MN","Koochiching"]);
countyList.push(["1342","MN","Lincoln"]);
countyList.push(["1343","MN","Jackson"]);
countyList.push(["1344","MN","Le Sueur"]);
countyList.push(["1345","MN","Meeker"]);
countyList.push(["1346","MN","Morrison"]);
countyList.push(["1347","MN","Todd"]);
countyList.push(["1348","MN","Rock"]);
countyList.push(["1349","MN","Lac Qui Parle"]);
countyList.push(["1350","MN","Mahnomen"]);
countyList.push(["1351","MN","Blue Earth"]);
countyList.push(["1352","MN","Dodge"]);
countyList.push(["1353","MN","Lyon"]);
countyList.push(["1354","MN","Mille Lacs"]);
countyList.push(["1355","MN","Hennepin"]);
countyList.push(["1356","MN","Chippewa"]);
countyList.push(["1357","MN","Clay"]);
countyList.push(["1358","MN","Kanabec"]);
countyList.push(["1359","MN","Stevens"]);
countyList.push(["1360","MN","Brown"]);
countyList.push(["1361","MN","Renville"]);
countyList.push(["1362","MN","Big Stone"]);
countyList.push(["1363","MN","Steele"]);
countyList.push(["1364","MN","Hubbard"]);
countyList.push(["1365","MN","Pine"]);
countyList.push(["1366","MN","Pipestone"]);
countyList.push(["1367","MN","Fillmore"]);
countyList.push(["1368","MN","Red Lake"]);
countyList.push(["1369","MN","Goodhue"]);
countyList.push(["1370","MN","Redwood"]);
countyList.push(["1371","MN","Olmsted"]);
countyList.push(["1372","MN","Roseau"]);
countyList.push(["1373","MN","Stearns"]);
countyList.push(["1374","MN","Watonwan"]);
countyList.push(["1375","MN","Ramsey"]);
countyList.push(["1376","MN","Nicollet"]);
countyList.push(["1377","MN","Scott"]);
countyList.push(["1378","MN","Murray"]);
countyList.push(["1379","MN","Washington"]);
countyList.push(["1380","MN","Pennington"]);
countyList.push(["1381","MN","Lake"]);
countyList.push(["1382","MN","Wabasha"]);
countyList.push(["1383","MN","Wadena"]);
countyList.push(["1384","MN","Cass"]);
countyList.push(["1385","MN","Marshall"]);
countyList.push(["1386","MN","Waseca"]);
countyList.push(["1387","MN","Traverse"]);
countyList.push(["1388","MN","Kandiyohi"]);
countyList.push(["1389","MN","Cottonwood"]);
countyList.push(["1390","MN","Winona"]);
countyList.push(["1391","MN","Nobles"]);
}
if(state == 'MO')
{
countyList.push(["1392","MO","Gentry"]);
countyList.push(["1393","MO","Oregon"]);
countyList.push(["1394","MO","Douglas"]);
countyList.push(["1395","MO","Scott"]);
countyList.push(["1396","MO","Harrison"]);
countyList.push(["1397","MO","Stoddard"]);
countyList.push(["1398","MO","Polk"]);
countyList.push(["1399","MO","Cooper"]);
countyList.push(["1400","MO","Pike"]);
countyList.push(["1401","MO","Dallas"]);
countyList.push(["1402","MO","Bates"]);
countyList.push(["1403","MO","Moniteau"]);
countyList.push(["1404","MO","Camden"]);
countyList.push(["1405","MO","Carroll"]);
countyList.push(["1406","MO","Jasper"]);
countyList.push(["1407","MO","Pemiscot"]);
countyList.push(["1408","MO","Barry"]);
countyList.push(["1409","MO","Reynolds"]);
countyList.push(["1410","MO","Mississippi"]);
countyList.push(["1411","MO","Livingston"]);
countyList.push(["1412","MO","St. Louis"]);
countyList.push(["1413","MO","Henry"]);
countyList.push(["1414","MO","Boone"]);
countyList.push(["1415","MO","Ripley"]);
countyList.push(["1416","MO","Knox"]);
countyList.push(["1417","MO","Shannon"]);
countyList.push(["1418","MO","St. Francois"]);
countyList.push(["1419","MO","Howard"]);
countyList.push(["1420","MO","Taney"]);
countyList.push(["1421","MO","Madison"]);
countyList.push(["1422","MO","Callaway"]);
countyList.push(["1423","MO","Ozark"]);
countyList.push(["1424","MO","Stone"]);
countyList.push(["1425","MO","Daviess"]);
countyList.push(["1426","MO","Worth"]);
countyList.push(["1427","MO","Dade"]);
countyList.push(["1428","MO","Wayne"]);
countyList.push(["1429","MO","Cass"]);
countyList.push(["1430","MO","Wright"]);
countyList.push(["1431","MO","Gasconade"]);
countyList.push(["1432","MO","Hickory"]);
countyList.push(["1433","MO","Jefferson"]);
countyList.push(["1434","MO","Texas"]);
countyList.push(["1435","MO","Randolph"]);
countyList.push(["1436","MO","Iron"]);
countyList.push(["1437","MO","Cape Girardeau"]);
countyList.push(["1438","MO","Cole"]);
countyList.push(["1439","MO","Clark"]);
countyList.push(["1440","MO","Jackson"]);
countyList.push(["1441","MO","Dunklin"]);
countyList.push(["1442","MO","Chariton"]);
countyList.push(["1443","MO","Caldwell"]);
countyList.push(["1444","MO","Adair"]);
countyList.push(["1445","MO","Barton"]);
countyList.push(["1446","MO","Schuyler"]);
countyList.push(["1447","MO","Laclede"]);
countyList.push(["1448","MO","Lafayette"]);
countyList.push(["1449","MO","Clay"]);
countyList.push(["1450","MO","Osage"]);
countyList.push(["1451","MO","Linn"]);
countyList.push(["1452","MO","Macon"]);
countyList.push(["1453","MO","Bollinger"]);
countyList.push(["1454","MO","Saline"]);
countyList.push(["1455","MO","Webster"]);
countyList.push(["1456","MO","Nodaway"]);
countyList.push(["1457","MO","DeKalb"]);
countyList.push(["1458","MO","Scotland"]);
countyList.push(["1459","MO","Audrain"]);
countyList.push(["1460","MO","Sullivan"]);
countyList.push(["1461","MO","Montgomery"]);
countyList.push(["1462","MO","Lewis"]);
countyList.push(["1463","MO","Lawrence"]);
countyList.push(["1464","MO","Newton"]);
countyList.push(["1465","MO","Vernon"]);
countyList.push(["1466","MO","Ralls"]);
countyList.push(["1467","MO","New Madrid"]);
countyList.push(["1468","MO","Holt"]);
countyList.push(["1469","MO","St. Clair"]);
countyList.push(["1470","MO","Christian"]);
countyList.push(["1471","MO","Marion"]);
countyList.push(["1472","MO","Monroe"]);
countyList.push(["1473","MO","Perry"]);
countyList.push(["1474","MO","McDonald"]);
countyList.push(["1475","MO","Platte"]);
countyList.push(["1476","MO","Clinton"]);
countyList.push(["1477","MO","Butler"]);
countyList.push(["1478","MO","Washington"]);
countyList.push(["1479","MO","Mercer"]);
countyList.push(["1480","MO","Ray"]);
countyList.push(["1481","MO","Atchison"]);
countyList.push(["1482","MO","Phelps"]);
countyList.push(["1483","MO","St. Charles"]);
countyList.push(["1484","MO","Buchanan"]);
countyList.push(["1485","MO","Ste. Genevieve"]);
countyList.push(["1486","MO","Dent"]);
countyList.push(["1487","MO","Andrew"]);
countyList.push(["1488","MO","Pettis"]);
countyList.push(["1489","MO","Shelby"]);
countyList.push(["1490","MO","Greene"]);
countyList.push(["1491","MO","St. Louis City"]);
countyList.push(["1492","MO","Crawford"]);
countyList.push(["1493","MO","Cedar"]);
countyList.push(["1494","MO","Grundy"]);
countyList.push(["1495","MO","Lincoln"]);
countyList.push(["1496","MO","Miller"]);
countyList.push(["1497","MO","Franklin"]);
countyList.push(["1498","MO","Putnam"]);
countyList.push(["1499","MO","Carter"]);
countyList.push(["1500","MO","Morgan"]);
countyList.push(["1501","MO","Maries"]);
countyList.push(["1502","MO","Johnson"]);
countyList.push(["1503","MO","Warren"]);
countyList.push(["1504","MO","Benton"]);
countyList.push(["1505","MO","Pulaski"]);
countyList.push(["1506","MO","Howell"]);
}
if(state == 'MS')
{
countyList.push(["1507","MS","Monroe"]);
countyList.push(["1508","MS","Choctaw"]);
countyList.push(["1509","MS","Benton"]);
countyList.push(["1510","MS","Panola"]);
countyList.push(["1511","MS","Hancock"]);
countyList.push(["1512","MS","Jasper"]);
countyList.push(["1513","MS","Humphreys"]);
countyList.push(["1514","MS","Prentiss"]);
countyList.push(["1515","MS","Rankin"]);
countyList.push(["1516","MS","Lincoln"]);
countyList.push(["1517","MS","Madison"]);
countyList.push(["1518","MS","Carroll"]);
countyList.push(["1519","MS","Leake"]);
countyList.push(["1520","MS","Tallahatchie"]);
countyList.push(["1521","MS","Coahoma"]);
countyList.push(["1522","MS","Bolivar"]);
countyList.push(["1523","MS","Covington"]);
countyList.push(["1524","MS","Marion"]);
countyList.push(["1525","MS","Lowndes"]);
countyList.push(["1526","MS","Alcorn"]);
countyList.push(["1527","MS","Kemper"]);
countyList.push(["1528","MS","Newton"]);
countyList.push(["1529","MS","Jefferson"]);
countyList.push(["1530","MS","Scott"]);
countyList.push(["1531","MS","Itawamba"]);
countyList.push(["1532","MS","Washington"]);
countyList.push(["1533","MS","Leflore"]);
countyList.push(["1534","MS","Grenada"]);
countyList.push(["1535","MS","Harrison"]);
countyList.push(["1536","MS","Forrest"]);
countyList.push(["1537","MS","Copiah"]);
countyList.push(["1538","MS","DeSoto"]);
countyList.push(["1539","MS","Marshall"]);
countyList.push(["1540","MS","Chickasaw"]);
countyList.push(["1541","MS","Sunflower"]);
countyList.push(["1542","MS","Tishomingo"]);
countyList.push(["1543","MS","Hinds"]);
countyList.push(["1544","MS","Attala"]);
countyList.push(["1545","MS","Jones"]);
countyList.push(["1546","MS","Greene"]);
countyList.push(["1547","MS","Holmes"]);
countyList.push(["1548","MS","Amite"]);
countyList.push(["1549","MS","Winston"]);
countyList.push(["1550","MS","George"]);
countyList.push(["1551","MS","Noxubee"]);
countyList.push(["1552","MS","Pike"]);
countyList.push(["1553","MS","Quitman"]);
countyList.push(["1554","MS","Issaquena"]);
countyList.push(["1555","MS","Franklin"]);
countyList.push(["1556","MS","Simpson"]);
countyList.push(["1557","MS","Lauderdale"]);
countyList.push(["1558","MS","Lawrence"]);
countyList.push(["1559","MS","Adams"]);
countyList.push(["1560","MS","Union"]);
countyList.push(["1561","MS","Perry"]);
countyList.push(["1562","MS","Lafayette"]);
countyList.push(["1563","MS","Jackson"]);
countyList.push(["1564","MS","Neshoba"]);
countyList.push(["1565","MS","Calhoun"]);
countyList.push(["1566","MS","Pontotoc"]);
countyList.push(["1567","MS","Pearl River"]);
countyList.push(["1568","MS","Claiborne"]);
countyList.push(["1569","MS","Jefferson Davis"]);
countyList.push(["1570","MS","Lamar"]);
countyList.push(["1571","MS","Clarke"]);
countyList.push(["1572","MS","Smith"]);
countyList.push(["1573","MS","Tippah"]);
countyList.push(["1574","MS","Sharkey"]);
countyList.push(["1575","MS","Tate"]);
countyList.push(["1576","MS","Oktibbeha"]);
countyList.push(["1577","MS","Tunica"]);
countyList.push(["1578","MS","Lee"]);
countyList.push(["1579","MS","Walthall"]);
countyList.push(["1580","MS","Warren"]);
countyList.push(["1581","MS","Webster"]);
countyList.push(["1582","MS","Yalobusha"]);
countyList.push(["1583","MS","Wayne"]);
countyList.push(["1584","MS","Clay"]);
countyList.push(["1585","MS","Stone"]);
countyList.push(["1586","MS","Montgomery"]);
countyList.push(["1587","MS","Wilkinson"]);
countyList.push(["1588","MS","Yazoo"]); 
}
if(state == 'MT')
{
countyList.push(["1589","MT","Anaconda-Deer Lodge"]); 
countyList.push(["1590","MT","Fallon"]);
countyList.push(["1591","MT","Sweet Grass"]);
countyList.push(["1592","MT","Yellowstone"]);
countyList.push(["1593","MT","Jefferson"]);
countyList.push(["1594","MT","Gallatin"]);
countyList.push(["1595","MT","Powder River"]);
countyList.push(["1596","MT","Butte-Silver Bow"]);
countyList.push(["1597","MT","Liberty"]);
countyList.push(["1598","MT","Blaine"]);
countyList.push(["1599","MT","Teton"]);
countyList.push(["1600","MT","McCone"]);
countyList.push(["1601","MT","Stillwater"]);
countyList.push(["1602","MT","Pondera"]);
countyList.push(["1603","MT","Glacier"]);
countyList.push(["1604","MT","Powell"]);
countyList.push(["1605","MT","Beaverhead"]);
countyList.push(["1606","MT","Carter"]);
countyList.push(["1607","MT","Rosebud"]);
countyList.push(["1608","MT","Chouteau"]);
countyList.push(["1609","MT","Valley"]);
countyList.push(["1610","MT","Dawson"]);
countyList.push(["1611","MT","Cascade"]);
countyList.push(["1612","MT","Ravalli"]);
countyList.push(["1613","MT","Big Horn"]);
countyList.push(["1614","MT","Wheatland"]);
countyList.push(["1615","MT","Hill"]);
countyList.push(["1616","MT","Lewis And Clark"]);
countyList.push(["1617","MT","Treasure"]);
countyList.push(["1618","MT","Garfield"]);
countyList.push(["1619","MT","Flathead"]);
countyList.push(["1620","MT","Fergus"]);
countyList.push(["1621","MT","Lincoln"]);
countyList.push(["1622","MT","Park"]);
countyList.push(["1623","MT","Phillips"]);
countyList.push(["1624","MT","Custer"]);
countyList.push(["1625","MT","Missoula"]);
countyList.push(["1626","MT","Granite"]);
countyList.push(["1627","MT","Sheridan"]);
countyList.push(["1628","MT","Lake"]);
countyList.push(["1629","MT","Carbon"]);
countyList.push(["1630","MT","Musselshell"]);
countyList.push(["1631","MT","Golden Valley"]);
countyList.push(["1632","MT","Daniels"]);
countyList.push(["1633","MT","Toole"]);
countyList.push(["1634","MT","Richland"]);
countyList.push(["1635","MT","Judith Basin"]);
countyList.push(["1636","MT","Mineral"]);
countyList.push(["1637","MT","Prairie"]);
countyList.push(["1638","MT","Sanders"]);
countyList.push(["1639","MT","Broadwater"]);
countyList.push(["1640","MT","Madison"]);
countyList.push(["1641","MT","Meagher"]);
countyList.push(["1642","MT","Wibaux"]);
countyList.push(["1643","MT","Petroleum"]);
countyList.push(["1644","MT","Roosevelt"]);
}
if(state == 'NC')
{
countyList.push(["1645","NC","Stanly"]);
countyList.push(["1646","NC","Randolph"]);
countyList.push(["1647","NC","Buncombe"]);
countyList.push(["1648","NC","Mitchell"]);
countyList.push(["1649","NC","Pamlico"]);
countyList.push(["1650","NC","Carteret"]);
countyList.push(["1651","NC","Brunswick"]);
countyList.push(["1652","NC","Watauga"]);
countyList.push(["1653","NC","Transylvania"]);
countyList.push(["1654","NC","Swain"]);
countyList.push(["1655","NC","Pender"]);
countyList.push(["1656","NC","Yancey"]);
countyList.push(["1657","NC","Camden"]);
countyList.push(["1658","NC","Moore"]);
countyList.push(["1659","NC","City of Charlotte & Mecklenburg"]);
countyList.push(["1660","NC","Sampson"]);
countyList.push(["1661","NC","Tyrrell"]);
countyList.push(["1662","NC","Polk"]);
countyList.push(["1663","NC","Cabarrus"]);
countyList.push(["1664","NC","Currituck"]);
countyList.push(["1665","NC","Stokes"]);
countyList.push(["1666","NC","Surry"]);
countyList.push(["1667","NC","Durham"]);
countyList.push(["1668","NC","Chowan"]);
countyList.push(["1669","NC","Pasquotank"]);
countyList.push(["1670","NC","Bladen"]);
countyList.push(["1671","NC","Cumberland"]);
countyList.push(["1672","NC","Macon"]);
countyList.push(["1673","NC","Gaston"]);
countyList.push(["1674","NC","Gates"]);
countyList.push(["1675","NC","Wayne"]);
countyList.push(["1676","NC","Alamance"]);
countyList.push(["1677","NC","Guilford"]);
countyList.push(["1678","NC","Pitt"]);
countyList.push(["1679","NC","Halifax"]);
countyList.push(["1680","NC","Clay"]);
countyList.push(["1681","NC","Vance"]);
countyList.push(["1682","NC","Henderson"]);
countyList.push(["1683","NC","Perquimans"]);
countyList.push(["1684","NC","Orange"]);
countyList.push(["1685","NC","Northampton"]);
countyList.push(["1686","NC","Onslow"]);
countyList.push(["1687","NC","Ashe"]);
countyList.push(["1688","NC","Duplin"]);
countyList.push(["1689","NC","Lenoir"]);
countyList.push(["1690","NC","Scotland"]);
countyList.push(["1691","NC","Caldwell"]);
countyList.push(["1692","NC","Davidson"]);
countyList.push(["1693","NC","Harnett"]);
countyList.push(["1694","NC","Lincoln"]);
countyList.push(["1695","NC","Franklin"]);
countyList.push(["1696","NC","Robeson"]);
countyList.push(["1697","NC","Dare"]);
countyList.push(["1698","NC","McDowell"]);
countyList.push(["1699","NC","Madison"]);
countyList.push(["1700","NC","Davie"]);
countyList.push(["1701","NC","Union"]);
countyList.push(["1702","NC","Burke"]);
countyList.push(["1703","NC","Cherokee"]);
countyList.push(["1704","NC","Nash"]);
countyList.push(["1705","NC","Craven"]);
countyList.push(["1706","NC","Avery"]);
countyList.push(["1707","NC","Catawba"]);
countyList.push(["1708","NC","Granville"]);
countyList.push(["1709","NC","Chatham"]);
countyList.push(["1710","NC","Washington"]);
countyList.push(["1711","NC","Hoke"]);
countyList.push(["1712","NC","Wake"]);
countyList.push(["1713","NC","Graham"]);
countyList.push(["1714","NC","Richmond"]);
countyList.push(["1715","NC","Person"]);
countyList.push(["1716","NC","Rutherford"]);
countyList.push(["1717","NC","Rowan"]);
countyList.push(["1718","NC","Lee"]);
countyList.push(["1719","NC","Cleveland"]);
countyList.push(["1720","NC","Johnston"]);
countyList.push(["1721","NC","Greene"]);
countyList.push(["1722","NC","Alleghany"]);
countyList.push(["1723","NC","Iredell"]);
countyList.push(["1724","NC","Hyde"]);
countyList.push(["1725","NC","Jackson"]);
countyList.push(["1726","NC","Edgecombe"]);
countyList.push(["1727","NC","Alexander"]);
countyList.push(["1728","NC","Jones"]);
countyList.push(["1729","NC","Montgomery"]);
countyList.push(["1730","NC","Anson"]);
countyList.push(["1731","NC","Warren"]);
countyList.push(["1732","NC","Beaufort"]);
countyList.push(["1733","NC","Haywood"]);
countyList.push(["1734","NC","Rockingham"]);
countyList.push(["1735","NC","Columbus"]);
countyList.push(["1736","NC","Wilkes"]);
countyList.push(["1737","NC","Martin"]);
countyList.push(["1738","NC","New Hanover"]);
countyList.push(["1739","NC","Wilson"]);
countyList.push(["1740","NC","Bertie"]);
countyList.push(["1741","NC","Forsyth"]);
countyList.push(["1742","NC","Hertford"]);
countyList.push(["1743","NC","Yadkin"]);
countyList.push(["1744","NC","Caswell"]);
}
if(state == 'ND')
{
countyList.push(["1745","ND","Slope"]);
countyList.push(["1746","ND","McIntosh"]);
countyList.push(["1747","ND","Golden Valley"]);
countyList.push(["1748","ND","Burleigh"]);
countyList.push(["1749","ND","Bottineau"]);
countyList.push(["1750","ND","Burke"]);
countyList.push(["1751","ND","Bowman"]);
countyList.push(["1752","ND","Towner"]);
countyList.push(["1753","ND","Foster"]);
countyList.push(["1754","ND","Grant"]);
countyList.push(["1755","ND","Pembina"]);
countyList.push(["1756","ND","Oliver"]);
countyList.push(["1757","ND","Griggs"]);
countyList.push(["1758","ND","Divide"]);
countyList.push(["1759","ND","Ramsey"]);
countyList.push(["1760","ND","Stark"]);
countyList.push(["1761","ND","Dickey"]);
countyList.push(["1762","ND","Cass"]);
countyList.push(["1763","ND","Wells"]);
countyList.push(["1764","ND","Steele"]);
countyList.push(["1765","ND","Sargent"]);
countyList.push(["1766","ND","Sioux"]);
countyList.push(["1767","ND","Walsh"]);
countyList.push(["1768","ND","Grand Forks"]);
countyList.push(["1769","ND","Adams"]);
countyList.push(["1770","ND","Traill"]);
countyList.push(["1771","ND","Stutsman"]);
countyList.push(["1772","ND","LaMoure"]);
countyList.push(["1773","ND","Nelson"]);
countyList.push(["1774","ND","Cavalier"]);
countyList.push(["1775","ND","Emmons"]);
countyList.push(["1776","ND","Ransom"]);
countyList.push(["1777","ND","Morton"]);
countyList.push(["1778","ND","Dunn"]);
countyList.push(["1779","ND","Sheridan"]);
countyList.push(["1780","ND","Billings"]);
countyList.push(["1781","ND","Benson"]);
countyList.push(["1782","ND","Ward"]);
countyList.push(["1783","ND","Renville"]);
countyList.push(["1784","ND","Hettinger"]);
countyList.push(["1785","ND","Logan"]);
countyList.push(["1786","ND","Eddy"]);
countyList.push(["1787","ND","Rolette"]);
countyList.push(["1788","ND","Pierce"]);
countyList.push(["1789","ND","Mountrail"]);
countyList.push(["1790","ND","Mercer"]);
countyList.push(["1791","ND","Kidder"]);
countyList.push(["1792","ND","McHenry"]);
countyList.push(["1793","ND","Barnes"]);
countyList.push(["1794","ND","Richland"]);
countyList.push(["1795","ND","McLean"]);
countyList.push(["1796","ND","McKenzie"]);
countyList.push(["1797","ND","Williams"]);
}
if(state == 'NE')
{
countyList.push(["1798","NE","Brown"]);
countyList.push(["1799","NE","Boone"]);
countyList.push(["1800","NE","Box Butte"]);
countyList.push(["1801","NE","Harlan"]);
countyList.push(["1802","NE","Arthur"]);
countyList.push(["1803","NE","Nemaha"]);
countyList.push(["1804","NE","Hamilton"]);
countyList.push(["1805","NE","Wheeler"]);
countyList.push(["1806","NE","Rock"]);
countyList.push(["1807","NE","Gage"]);
countyList.push(["1808","NE","Furnas"]);
countyList.push(["1809","NE","Dundy"]);
countyList.push(["1810","NE","Washington"]);
countyList.push(["1811","NE","Blaine"]);
countyList.push(["1812","NE","Morrill"]);
countyList.push(["1813","NE","Custer"]);
countyList.push(["1814","NE","Garfield"]);
countyList.push(["1815","NE","Boyd"]);
countyList.push(["1816","NE","Knox"]);
countyList.push(["1817","NE","Merrick"]);
countyList.push(["1818","NE","Dawes"]);
countyList.push(["1819","NE","Deuel"]);
countyList.push(["1820","NE","Clay"]);
countyList.push(["1821","NE","Platte"]);
countyList.push(["1822","NE","Dakota"]);
countyList.push(["1823","NE","Butler"]);
countyList.push(["1824","NE","Gosper"]);
countyList.push(["1825","NE","Jefferson"]);
countyList.push(["1826","NE","Richardson"]);
countyList.push(["1827","NE","Franklin"]);
countyList.push(["1828","NE","Dodge"]);
countyList.push(["1829","NE","Nance"]);
countyList.push(["1830","NE","Fillmore"]);
countyList.push(["1831","NE","Scotts Bluff"]);
countyList.push(["1832","NE","Hall"]);
countyList.push(["1833","NE","Perkins"]);
countyList.push(["1834","NE","Greeley"]);
countyList.push(["1835","NE","Banner"]);
countyList.push(["1836","NE","Sioux"]);
countyList.push(["1837","NE","Cedar"]);
countyList.push(["1838","NE","Adams"]);
countyList.push(["1839","NE","Hayes"]);
countyList.push(["1840","NE","Thayer"]);
countyList.push(["1841","NE","Phelps"]);
countyList.push(["1842","NE","Grant"]);
countyList.push(["1843","NE","Chase"]);
countyList.push(["1844","NE","Buffalo"]);
countyList.push(["1845","NE","Kimball"]);
countyList.push(["1846","NE","Dawson"]);
countyList.push(["1847","NE","Lancaster"]);
countyList.push(["1848","NE","Sherman"]);
countyList.push(["1849","NE","Madison"]);
countyList.push(["1850","NE","Red Willow"]);
countyList.push(["1851","NE","Kearney"]);
countyList.push(["1852","NE","Hooker"]);
countyList.push(["1853","NE","Otoe"]);
countyList.push(["1854","NE","Antelope"]);
countyList.push(["1855","NE","Nuckolls"]);
countyList.push(["1856","NE","Lincoln"]);
countyList.push(["1857","NE","Keith"]);
countyList.push(["1858","NE","Douglas"]);
countyList.push(["1859","NE","Holt"]);
countyList.push(["1860","NE","Valley"]);
countyList.push(["1861","NE","Polk"]);
countyList.push(["1862","NE","Garden"]);
countyList.push(["1863","NE","Sarpy"]);
countyList.push(["1864","NE","Pawnee"]);
countyList.push(["1865","NE","Thurston"]);
countyList.push(["1866","NE","Pierce"]);
countyList.push(["1867","NE","Cass"]);
countyList.push(["1868","NE","Dixon"]);
countyList.push(["1869","NE","Webster"]);
countyList.push(["1870","NE","Sheridan"]);
countyList.push(["1871","NE","Howard"]);
countyList.push(["1872","NE","Colfax"]);
countyList.push(["1873","NE","Seward"]);
countyList.push(["1874","NE","Cheyenne"]);
countyList.push(["1875","NE","Keya Paha"]);
countyList.push(["1876","NE","Stanton"]);
countyList.push(["1877","NE","Logan"]);
countyList.push(["1878","NE","Frontier"]);
countyList.push(["1879","NE","Loup"]);
countyList.push(["1880","NE","Johnson"]);
countyList.push(["1881","NE","Burt"]);
countyList.push(["1882","NE","Thomas"]);
countyList.push(["1883","NE","Hitchcock"]);
countyList.push(["1884","NE","McPherson"]);
countyList.push(["1885","NE","Cherry"]);
countyList.push(["1886","NE","Saunders"]);
countyList.push(["1887","NE","Wayne"]);
countyList.push(["1888","NE","Cuming"]);
countyList.push(["1889","NE","Saline"]);
countyList.push(["1890","NE","York"]);
}
if(state == 'NH')
{
countyList.push(["1891","NH","Rockingham"]);
countyList.push(["1892","NH","Merrimack"]);
countyList.push(["1893","NH","Strafford"]);
countyList.push(["1894","NH","Cheshire"]);
countyList.push(["1895","NH","Belknap"]);
countyList.push(["1896","NH","Coos"]);
countyList.push(["1897","NH","Hillsborough"]);
countyList.push(["1898","NH","Sullivan"]);
countyList.push(["1899","NH","Grafton"]);
countyList.push(["1900","NH","Carroll"]);
}
if(state == 'NJ')
{
countyList.push(["1901","NJ","Warren"]);
countyList.push(["1902","NJ","Cumberland"]);
countyList.push(["1903","NJ","Camden"]);
countyList.push(["1904","NJ","Cape May"]);
countyList.push(["1905","NJ","Union"]);
countyList.push(["1906","NJ","Hunterdon"]);
countyList.push(["1907","NJ","Monmouth"]);
countyList.push(["1908","NJ","Bergen"]);
countyList.push(["1909","NJ","Hudson"]);
countyList.push(["1910","NJ","Atlantic"]);
countyList.push(["1911","NJ","Morris"]);
countyList.push(["1912","NJ","Burlington"]);
countyList.push(["1913","NJ","Middlesex"]);
countyList.push(["1914","NJ","Essex"]);
countyList.push(["1915","NJ","Sussex"]);
countyList.push(["1916","NJ","Passaic"]);
countyList.push(["1917","NJ","Salem"]);
countyList.push(["1918","NJ","Somerset"]);
countyList.push(["1919","NJ","Ocean"]);
countyList.push(["1920","NJ","Mercer"]);
countyList.push(["1921","NJ","Gloucester"]);
}
if(state == 'NM')
{
countyList.push(["1922","NM","Otero"]);
countyList.push(["1923","NM","Bernalillo"]);
countyList.push(["1924","NM","San Juan"]);
countyList.push(["1925","NM","Sandoval"]);
countyList.push(["1926","NM","Eddy"]);
countyList.push(["1927","NM","Lincoln"]);
countyList.push(["1928","NM","Union"]);
countyList.push(["1929","NM","Curry"]);
countyList.push(["1930","NM","Luna"]);
countyList.push(["1931","NM","Torrance"]);
countyList.push(["1932","NM","De Baca"]);
countyList.push(["1933","NM","McKinley"]);
countyList.push(["1934","NM","Cibola"]);
countyList.push(["1935","NM","Dona Ana"]);
countyList.push(["1936","NM","San Miguel"]);
countyList.push(["1937","NM","Hidalgo"]);
countyList.push(["1938","NM","Los Alamos"]);
countyList.push(["1939","NM","Valencia"]);
countyList.push(["1940","NM","Lea"]);
countyList.push(["1941","NM","Mora"]);
countyList.push(["1942","NM","Harding"]);
countyList.push(["1943","NM","Roosevelt"]);
countyList.push(["1944","NM","Colfax"]);
countyList.push(["1945","NM","Catron"]);
countyList.push(["1946","NM","Chaves"]);
countyList.push(["1947","NM","Santa Fe"]);
countyList.push(["1948","NM","Guadalupe"]);
countyList.push(["1949","NM","Grant"]);
countyList.push(["1950","NM","Socorro"]);
countyList.push(["1951","NM","Taos"]);
countyList.push(["1952","NM","Rio Arriba"]);
countyList.push(["1953","NM","Sierra"]);
countyList.push(["1954","NM","Quay"]);
}
if(state == 'NV')
{
countyList.push(["1955","NV","Lander"]);
countyList.push(["1956","NV","Carson City"]);
countyList.push(["1957","NV","Elko"]);
countyList.push(["1958","NV","White Pine"]);
countyList.push(["1959","NV","Eureka"]);
countyList.push(["1960","NV","Churchill"]);
countyList.push(["1961","NV","Esmeralda"]);
countyList.push(["1962","NV","Mineral"]);
countyList.push(["1963","NV","Clark"]);
countyList.push(["1964","NV","Pershing"]);
countyList.push(["1965","NV","Douglas"]);
countyList.push(["1966","NV","Lincoln"]);
countyList.push(["1967","NV","Washoe"]);
countyList.push(["1968","NV","Nye"]);
countyList.push(["1969","NV","Storey"]);
countyList.push(["1970","NV","Humboldt"]);
countyList.push(["1971","NV","Lyon"]);
}
if(state == 'NY')
{
countyList.push(["1972","NY","Albany"]);
countyList.push(["1973","NY","Orleans"]);
countyList.push(["1974","NY","Cayuga"]);
countyList.push(["1975","NY","Saratoga"]);
countyList.push(["1976","NY","Genesee"]);
countyList.push(["1977","NY","Steuben"]);
countyList.push(["1978","NY","Allegany"]);
countyList.push(["1979","NY","Broome"]);
countyList.push(["1980","NY","Erie"]);
countyList.push(["1981","NY","Ontario"]);
countyList.push(["1982","NY","St. Lawrence"]);
countyList.push(["1983","NY","Putnam"]);
countyList.push(["1984","NY","Greene"]);
countyList.push(["1985","NY","Otsego"]);
countyList.push(["1986","NY","Cortland"]);
countyList.push(["1987","NY","Delaware"]);
countyList.push(["1988","NY","Essex"]);
countyList.push(["1989","NY","Chemung"]);
countyList.push(["1990","NY","Montgomery"]);
countyList.push(["1991","NY","Washington"]);
countyList.push(["1992","NY","Livingston"]);
countyList.push(["1993","NY","Orange"]);
countyList.push(["1994","NY","Herkimer"]);
countyList.push(["1995","NY","Columbia"]);
countyList.push(["1996","NY","Tompkins"]);
countyList.push(["1997","NY","Fulton"]);
countyList.push(["1998","NY","Ulster"]);
countyList.push(["1999","NY","Hamilton"]);
countyList.push(["2000","NY","Cattaraugus"]);
countyList.push(["2001","NY","Niagara"]);
countyList.push(["2002","NY","Lewis"]);
countyList.push(["2003","NY","Wayne"]);
countyList.push(["2004","NY","Franklin"]);
countyList.push(["2005","NY","Chautauqua"]);
countyList.push(["2006","NY","Nassau"]);
countyList.push(["2007","NY","Sullivan"]);
countyList.push(["2008","NY","Rockland"]);
countyList.push(["2009","NY","New York City"]);
countyList.push(["2010","NY","Chenango"]);
countyList.push(["2011","NY","Oswego"]);
countyList.push(["2012","NY","Tioga"]);
countyList.push(["2013","NY","Yates"]);
countyList.push(["2014","NY","Clinton"]);
countyList.push(["2015","NY","Dutchess"]);
countyList.push(["2016","NY","Warren"]);
countyList.push(["2017","NY","Suffolk"]);
countyList.push(["2018","NY","Monroe"]);
countyList.push(["2019","NY","Schenectady"]);
countyList.push(["2020","NY","Schoharie"]);
countyList.push(["2021","NY","Onondaga"]);
countyList.push(["2022","NY","Rensselaer"]);
countyList.push(["2023","NY","Oneida"]);
countyList.push(["2024","NY","Madison"]);
countyList.push(["2025","NY","Wyoming"]);
countyList.push(["2026","NY","Seneca"]);
countyList.push(["2027","NY","Jefferson"]);
countyList.push(["2028","NY","Schuyler"]);
countyList.push(["2029","NY","Westchester"]);
countyList.push(["3102","NY","Kings"]);
}
if(state == 'OH')
{
countyList.push(["2030","OH","Summit"]);
countyList.push(["2031","OH","Ashland"]);
countyList.push(["2032","OH","Athens"]);
countyList.push(["2033","OH","Clermont"]);
countyList.push(["2034","OH","Logan"]);
countyList.push(["2035","OH","Wood"]);
countyList.push(["2036","OH","Williams"]);
countyList.push(["2037","OH","Crawford"]);
countyList.push(["2038","OH","Harrison"]);
countyList.push(["2039","OH","Noble"]);
countyList.push(["2040","OH","Guernsey"]);
countyList.push(["2041","OH","Stark"]);
countyList.push(["2042","OH","Carroll"]);
countyList.push(["2043","OH","Mercer"]);
countyList.push(["2044","OH","Geauga"]);
countyList.push(["2045","OH","Ross"]);
countyList.push(["2046","OH","Hamilton"]);
countyList.push(["2047","OH","Pickaway"]);
countyList.push(["2048","OH","Cuyahoga"]);
countyList.push(["2049","OH","Franklin"]);
countyList.push(["2050","OH","Coshocton"]);
countyList.push(["2051","OH","Montgomery"]);
countyList.push(["2052","OH","Defiance"]);
countyList.push(["2053","OH","Delaware"]);
countyList.push(["2054","OH","Preble"]);
countyList.push(["2055","OH","Lorain"]);
countyList.push(["2056","OH","Hancock"]);
countyList.push(["2057","OH","Sandusky"]);
countyList.push(["2058","OH","Gallia"]);
countyList.push(["2059","OH","Brown"]);
countyList.push(["2060","OH","Darke"]);
countyList.push(["2061","OH","Butler"]);
countyList.push(["2062","OH","Highland"]);
countyList.push(["2063","OH","Lawrence"]);
countyList.push(["2064","OH","Jackson"]);
countyList.push(["2065","OH","Ashtabula"]);
countyList.push(["2066","OH","Hardin"]);
countyList.push(["2067","OH","Fairfield"]);
countyList.push(["2068","OH","Warren"]);
countyList.push(["2069","OH","Allen"]);
countyList.push(["2070","OH","Columbiana"]);
countyList.push(["2071","OH","Hocking"]);
countyList.push(["2072","OH","Madison"]);
countyList.push(["2073","OH","Richland"]);
countyList.push(["2074","OH","Washington"]);
countyList.push(["2075","OH","Marion"]);
countyList.push(["2076","OH","Union"]);
countyList.push(["2077","OH","Vinton"]);
countyList.push(["2078","OH","Morgan"]);
countyList.push(["2079","OH","Medina"]);
countyList.push(["2080","OH","Holmes"]);
countyList.push(["2081","OH","Morrow"]);
countyList.push(["2082","OH","Knox"]);
countyList.push(["2083","OH","Henry"]);
countyList.push(["2084","OH","Perry"]);
countyList.push(["2085","OH","Tuscarawas"]);
countyList.push(["2086","OH","Licking"]);
countyList.push(["2087","OH","Huron"]);
countyList.push(["2088","OH","Putnam"]);
countyList.push(["2089","OH","Lake"]);
countyList.push(["2090","OH","Paulding"]);
countyList.push(["2091","OH","Meigs"]);
countyList.push(["2092","OH","Ottawa"]);
countyList.push(["2093","OH","Scioto"]);
countyList.push(["2094","OH","Portage"]);
countyList.push(["2095","OH","Belmont"]);
countyList.push(["2096","OH","Erie"]);
countyList.push(["2097","OH","Shelby"]);
countyList.push(["2098","OH","Clark"]);
countyList.push(["2099","OH","Jefferson"]);
countyList.push(["2100","OH","Seneca"]);
countyList.push(["2101","OH","Lucas"]);
countyList.push(["2102","OH","Miami"]);
countyList.push(["2103","OH","Wyandot"]);
countyList.push(["2104","OH","Champaign"]);
countyList.push(["2105","OH","Van Wert"]);
countyList.push(["2106","OH","Auglaize"]);
countyList.push(["2107","OH","Trumbull"]);
countyList.push(["2108","OH","Fayette"]);
countyList.push(["2109","OH","Fulton"]);
countyList.push(["2110","OH","Pike"]);
countyList.push(["2111","OH","Adams"]);
countyList.push(["2112","OH","Clinton"]);
countyList.push(["2113","OH","Monroe"]);
countyList.push(["2114","OH","Wayne"]);
countyList.push(["2115","OH","Greene"]);
countyList.push(["2116","OH","Mahoning"]);
countyList.push(["2117","OH","Muskingum"]);
}
if(state == 'OK')
{
countyList.push(["2118","OK","Pontotoc"]);
countyList.push(["2119","OK","Jackson"]);
countyList.push(["2120","OK","Woods"]);
countyList.push(["2121","OK","Caddo"]);
countyList.push(["2122","OK","Pushmataha"]);
countyList.push(["2123","OK","Custer"]);
countyList.push(["2124","OK","Carter"]);
countyList.push(["2125","OK","Ellis"]);
countyList.push(["2126","OK","Atoka"]);
countyList.push(["2127","OK","Washington"]);
countyList.push(["2128","OK","Beaver"]);
countyList.push(["2129","OK","Cimarron"]);
countyList.push(["2130","OK","Harper"]);
countyList.push(["2131","OK","Lincoln"]);
countyList.push(["2132","OK","Alfalfa"]);
countyList.push(["2133","OK","Roger Mills"]);
countyList.push(["2134","OK","Grady"]);
countyList.push(["2135","OK","Rogers"]);
countyList.push(["2136","OK","Coal"]);
countyList.push(["2137","OK","Washita"]);
countyList.push(["2138","OK","Stephens"]);
countyList.push(["2139","OK","Bryan"]);
countyList.push(["2140","OK","Canadian"]);
countyList.push(["2141","OK","Garfield"]);
countyList.push(["2142","OK","McIntosh"]);
countyList.push(["2143","OK","Major"]);
countyList.push(["2144","OK","Tillman"]);
countyList.push(["2145","OK","Logan"]);
countyList.push(["2146","OK","Texas"]);
countyList.push(["2147","OK","Kiowa"]);
countyList.push(["2148","OK","Hughes"]);
countyList.push(["2149","OK","Harmon"]);
countyList.push(["2150","OK","Choctaw"]);
countyList.push(["2151","OK","McCurtain"]);
countyList.push(["2152","OK","Delaware"]);
countyList.push(["2153","OK","Kingfisher"]);
countyList.push(["2154","OK","Comanche"]);
countyList.push(["2155","OK","Marshall"]);
countyList.push(["2156","OK","Greer"]);
countyList.push(["2157","OK","Love"]);
countyList.push(["2158","OK","Pittsburg"]);
countyList.push(["2159","OK","Grant"]);
countyList.push(["2160","OK","Ottawa"]);
countyList.push(["2161","OK","Muskogee"]);
countyList.push(["2162","OK","Kay"]);
countyList.push(["2163","OK","Cleveland"]);
countyList.push(["2164","OK","Nowata"]);
countyList.push(["2165","OK","Okfuskee"]);
countyList.push(["2166","OK","Oklahoma"]);
countyList.push(["2167","OK","Okmulgee"]);
countyList.push(["2168","OK","Garvin"]);
countyList.push(["2169","OK","Osage"]);
countyList.push(["2170","OK","Pawnee"]);
countyList.push(["2171","OK","Noble"]);
countyList.push(["2172","OK","LeFlore"]);
countyList.push(["2173","OK","Mayes"]);
countyList.push(["2174","OK","McClain"]);
countyList.push(["2175","OK","Sequoyah"]);
countyList.push(["2176","OK","Creek"]);
countyList.push(["2177","OK","Beckham"]);
countyList.push(["2178","OK","Pottawatomie"]);
countyList.push(["2179","OK","Haskell"]);
countyList.push(["2180","OK","Payne"]);
countyList.push(["2181","OK","Adair"]);
countyList.push(["2182","OK","Murray"]);
countyList.push(["2183","OK","Cherokee"]);
countyList.push(["2184","OK","Dewey"]);
countyList.push(["2185","OK","Johnston"]);
countyList.push(["2186","OK","Tulsa"]);
countyList.push(["2187","OK","Craig"]);
countyList.push(["2188","OK","Wagoner"]);
countyList.push(["2189","OK","Cotton"]);
countyList.push(["2190","OK","Blaine"]);
countyList.push(["2191","OK","Jefferson"]);
countyList.push(["2192","OK","Seminole"]);
countyList.push(["2193","OK","Latimer"]);
countyList.push(["2194","OK","Woodward"]);
}
if(state == 'OR')
{
countyList.push(["2195","OR","Linn"]);
countyList.push(["2196","OR","Clatsop"]);
countyList.push(["2197","OR","Baker"]);
countyList.push(["2198","OR","Deschutes"]);
countyList.push(["2199","OR","Harney"]);
countyList.push(["2200","OR","Grant"]);
countyList.push(["2201","OR","Gilliam"]);
countyList.push(["2202","OR","Coos"]);
countyList.push(["2203","OR","Benton"]);
countyList.push(["2204","OR","Polk"]);
countyList.push(["2205","OR","Wallowa"]);
countyList.push(["2206","OR","Lane"]);
countyList.push(["2207","OR","Wheeler"]);
countyList.push(["2208","OR","Curry"]);
countyList.push(["2209","OR","Josephine"]);
countyList.push(["2210","OR","Morrow"]);
countyList.push(["2211","OR","Washington"]);
countyList.push(["2212","OR","Hood River"]);
countyList.push(["2213","OR","Klamath"]);
countyList.push(["2214","OR","Union"]);
countyList.push(["2215","OR","Lake"]);
countyList.push(["2216","OR","Jefferson"]);
countyList.push(["2217","OR","Yamhill"]);
countyList.push(["2218","OR","Jackson"]);
countyList.push(["2219","OR","Sherman"]);
countyList.push(["2220","OR","Lincoln"]);
countyList.push(["2221","OR","Clackamas"]);
countyList.push(["2222","OR","Umatilla"]);
countyList.push(["2223","OR","Multnomah"]);
countyList.push(["2224","OR","Crook"]);
countyList.push(["2225","OR","Douglas"]);
countyList.push(["2226","OR","Columbia"]);
countyList.push(["2227","OR","Marion"]);
countyList.push(["2228","OR","Wasco"]);
countyList.push(["2229","OR","Tillamook"]);
countyList.push(["2230","OR","Malheur"]);
}
if(state == 'PA')
{
countyList.push(["2231","PA","Lehigh"]);
countyList.push(["2232","PA","Beaver"]);
countyList.push(["2233","PA","Bedford"]);
countyList.push(["2234","PA","Centre"]);
countyList.push(["2235","PA","Columbia"]);
countyList.push(["2236","PA","Jefferson"]);
countyList.push(["2237","PA","Butler"]);
countyList.push(["2238","PA","Cumberland"]);
countyList.push(["2239","PA","Franklin"]);
countyList.push(["2240","PA","Clarion"]);
countyList.push(["2241","PA","Clearfield"]);
countyList.push(["2242","PA","Potter"]);
countyList.push(["2243","PA","Montour"]);
countyList.push(["2244","PA","Bucks"]);
countyList.push(["2245","PA","Northampton"]);
countyList.push(["2246","PA","Cambria"]);
countyList.push(["2247","PA","Cameron"]);
countyList.push(["2248","PA","Erie"]);
countyList.push(["2249","PA","Venango"]);
countyList.push(["2250","PA","Adams"]);
countyList.push(["2251","PA","Westmoreland"]);
countyList.push(["2252","PA","Dauphin"]);
countyList.push(["2253","PA","Blair"]);
countyList.push(["2254","PA","Wayne"]);
countyList.push(["2255","PA","Huntingdon"]);
countyList.push(["2256","PA","Indiana"]);
countyList.push(["2257","PA","Carbon"]);
countyList.push(["2258","PA","Armstrong"]);
countyList.push(["2259","PA","Lancaster"]);
countyList.push(["2260","PA","Sullivan"]);
countyList.push(["2261","PA","Lebanon"]);
countyList.push(["2262","PA","Union"]);
countyList.push(["2263","PA","Mifflin"]);
countyList.push(["2264","PA","Clinton"]);
countyList.push(["2265","PA","Fulton"]);
countyList.push(["2266","PA","Crawford"]);
countyList.push(["2267","PA","Delaware"]);
countyList.push(["2268","PA","Mercer"]);
countyList.push(["2269","PA","Snyder"]);
countyList.push(["2270","PA","Juniata"]);
countyList.push(["2271","PA","Pike"]);
countyList.push(["2272","PA","Susquehanna"]);
countyList.push(["2273","PA","Perry"]);
countyList.push(["2274","PA","Lawrence"]);
countyList.push(["2275","PA","Montgomery"]);
countyList.push(["2276","PA","Philadelphia"]);
countyList.push(["2277","PA","Allegheny"]);
countyList.push(["2278","PA","Schuylkill"]);
countyList.push(["2279","PA","Berks"]);
countyList.push(["2280","PA","Elk"]);
countyList.push(["2281","PA","Lackawanna"]);
countyList.push(["2282","PA","McKean"]);
countyList.push(["2283","PA","Somerset"]);
countyList.push(["2284","PA","Monroe"]);
countyList.push(["2285","PA","Northumberland"]);
countyList.push(["2286","PA","Forest"]);
countyList.push(["2287","PA","Bradford"]);
countyList.push(["2288","PA","Wyoming"]);
countyList.push(["2289","PA","Fayette"]);
countyList.push(["2290","PA","Warren"]);
countyList.push(["2291","PA","Washington"]);
countyList.push(["2292","PA","Greene"]);
countyList.push(["2293","PA","Tioga"]);
countyList.push(["2294","PA","Chester"]);
countyList.push(["2295","PA","Luzerne"]);
countyList.push(["2296","PA","Lycoming"]);
countyList.push(["2297","PA","York"]);
}
if(state == 'RI')
{
countyList.push(["2298","RI","Washington"]);
countyList.push(["2299","RI","Bristol"]);
countyList.push(["2300","RI","Kent"]);
countyList.push(["2301","RI","Newport"]);
countyList.push(["2302","RI","Providence"]);
}
if(state == 'SC')
{
countyList.push(["2303","SC","Abbeville"]);
countyList.push(["2304","SC","Aiken"]);
countyList.push(["2305","SC","Allendale"]);
countyList.push(["2306","SC","Anderson"]);
countyList.push(["2307","SC","Bamberg"]);
countyList.push(["2308","SC","Barnwell"]);
countyList.push(["2309","SC","Beaufort"]);
countyList.push(["2310","SC","Marlboro"]);
countyList.push(["2311","SC","Lee"]);
countyList.push(["2312","SC","Kershaw"]);
countyList.push(["2313","SC","Charleston"]);
countyList.push(["2314","SC","Chester"]);
countyList.push(["2315","SC","Chesterfield"]);
countyList.push(["2316","SC","Richland"]);
countyList.push(["2317","SC","Horry"]);
countyList.push(["2318","SC","Darlington"]);
countyList.push(["2319","SC","Dillon"]);
countyList.push(["2320","SC","Edgefield"]);
countyList.push(["2321","SC","Florence"]);
countyList.push(["2322","SC","Cherokee"]);
countyList.push(["2323","SC","Georgetown"]);
countyList.push(["2324","SC","Greenville"]);
countyList.push(["2325","SC","Greenwood"]);
countyList.push(["2326","SC","Hampton"]);
countyList.push(["2327","SC","Williamsburg"]);
countyList.push(["2328","SC","Lancaster"]);
countyList.push(["2329","SC","Laurens"]);
countyList.push(["2330","SC","Lexington"]);
countyList.push(["2331","SC","Clarendon"]);
countyList.push(["2332","SC","Marion"]);
countyList.push(["2333","SC","McCormick"]);
countyList.push(["2334","SC","Berkeley"]);
countyList.push(["2335","SC","Newberry"]);
countyList.push(["2336","SC","Orangeburg"]);
countyList.push(["2337","SC","Pickens"]);
countyList.push(["2338","SC","Jasper"]);
countyList.push(["2339","SC","Dorchester"]);
countyList.push(["2340","SC","Calhoun"]);
countyList.push(["2341","SC","Saluda"]);
countyList.push(["2342","SC","Spartanburg"]);
countyList.push(["2343","SC","Sumter"]);
countyList.push(["2344","SC","Union"]);
countyList.push(["2345","SC","Oconee"]);
countyList.push(["2346","SC","Colleton"]);
countyList.push(["2347","SC","Fairfield"]);
countyList.push(["2348","SC","York"]);
}
if(state == 'SD')
{
countyList.push(["2349","SD","Brown"]);
countyList.push(["2350","SD","Hanson"]);
countyList.push(["2351","SD","Douglas"]);
countyList.push(["2352","SD","Butte"]);
countyList.push(["2353","SD","Perkins"]);
countyList.push(["2354","SD","Marshall"]);
countyList.push(["2355","SD","Brookings"]);
countyList.push(["2356","SD","Harding"]);
countyList.push(["2357","SD","Gregory"]);
countyList.push(["2358","SD","Lincoln"]);
countyList.push(["2359","SD","Brule"]);
countyList.push(["2360","SD","Clark"]);
countyList.push(["2361","SD","Deuel"]);
countyList.push(["2362","SD","Custer"]);
countyList.push(["2363","SD","Kingsbury"]);
countyList.push(["2364","SD","Lawrence"]);
countyList.push(["2365","SD","Ziebach"]);
countyList.push(["2366","SD","Union"]);
countyList.push(["2367","SD","Faulk"]);
countyList.push(["2368","SD","Moody"]);
countyList.push(["2369","SD","Stanley"]);
countyList.push(["2370","SD","Buffalo"]);
countyList.push(["2371","SD","Potter"]);
countyList.push(["2372","SD","Hamlin"]);
countyList.push(["2373","SD","Hyde"]);
countyList.push(["2374","SD","Fall River"]);
countyList.push(["2375","SD","Shannon"]);
countyList.push(["2376","SD","Miner"]);
countyList.push(["2377","SD","Beadle"]);
countyList.push(["2378","SD","Edmunds"]);
countyList.push(["2379","SD","Jackson"]);
countyList.push(["2380","SD","Lyman"]);
countyList.push(["2381","SD","Charles Mix"]);
countyList.push(["2382","SD","McPherson"]);
countyList.push(["2383","SD","Lake"]);
countyList.push(["2384","SD","Bennett"]);
countyList.push(["2385","SD","Corson"]);
countyList.push(["2386","SD","Grant"]);
countyList.push(["2387","SD","Hand"]);
countyList.push(["2388","SD","Davison"]);
countyList.push(["2389","SD","Campbell"]);
countyList.push(["2390","SD","Jones"]);
countyList.push(["2391","SD","Hutchinson"]);
countyList.push(["2392","SD","Sully"]);
countyList.push(["2393","SD","Turner"]);
countyList.push(["2394","SD","Haakon"]);
countyList.push(["2395","SD","Hughes"]);
countyList.push(["2396","SD","Aurora"]);
countyList.push(["2397","SD","Pennington"]);
countyList.push(["2398","SD","Spink"]);
countyList.push(["2399","SD","McCook"]);
countyList.push(["2400","SD","Walworth"]);
countyList.push(["2401","SD","Minnehaha"]);
countyList.push(["2402","SD","Roberts"]);
countyList.push(["2403","SD","Meade"]);
countyList.push(["2404","SD","Dewey"]);
countyList.push(["2405","SD","Bon Homme"]);
countyList.push(["2406","SD","Clay"]);
countyList.push(["2407","SD","Codington"]);
countyList.push(["2408","SD","Day"]);
countyList.push(["2409","SD","Jerauld"]);
countyList.push(["2410","SD","Mellette"]);
countyList.push(["2411","SD","Todd"]);
countyList.push(["2412","SD","Tripp"]);
countyList.push(["2413","SD","Sanborn"]);
countyList.push(["2414","SD","Yankton"]);
}
if(state == 'TN')
{
countyList.push(["2415","TN","Crockett"]);
countyList.push(["2416","TN","Grundy"]);
countyList.push(["2417","TN","Cheatham"]);
countyList.push(["2418","TN","McMinn"]);
countyList.push(["2419","TN","Polk"]);
countyList.push(["2420","TN","Sullivan"]);
countyList.push(["2421","TN","Hardeman"]);
countyList.push(["2422","TN","Haywood"]);
countyList.push(["2423","TN","Pickett"]);
countyList.push(["2424","TN","Benton"]);
countyList.push(["2425","TN","Smith"]);
countyList.push(["2426","TN","Clay"]);
countyList.push(["2427","TN","Hickman"]);
countyList.push(["2428","TN","Dickson"]);
countyList.push(["2429","TN","Hamilton"]);
countyList.push(["2430","TN","Montgomery"]);
countyList.push(["2431","TN","Bradley"]);
countyList.push(["2432","TN","Anderson"]);
countyList.push(["2433","TN","Maury"]);
countyList.push(["2434","TN","Putnam"]);
countyList.push(["2435","TN","Tipton"]);
countyList.push(["2436","TN","Cumberland"]);
countyList.push(["2437","TN","Jefferson"]);
countyList.push(["2438","TN","Rhea"]);
countyList.push(["2439","TN","Meigs"]);
countyList.push(["2440","TN","Decatur"]);
countyList.push(["2441","TN","Stewart"]);
countyList.push(["2442","TN","Weakley"]);
countyList.push(["2443","TN","Sequatchie"]);
countyList.push(["2444","TN","Dyer"]);
countyList.push(["2445","TN","Carter"]);
countyList.push(["2446","TN","Houston"]);
countyList.push(["2447","TN","Unicoi"]);
countyList.push(["2448","TN","Lincoln"]);
countyList.push(["2449","TN","Williamson"]);
countyList.push(["2450","TN","Jackson"]);
countyList.push(["2451","TN","Sumner"]);
countyList.push(["2452","TN","Greene"]);
countyList.push(["2453","TN","Trousdale"]);
countyList.push(["2454","TN","Chester"]);
countyList.push(["2455","TN","Lewis"]);
countyList.push(["2456","TN","Carroll"]);
countyList.push(["2457","TN","Scott"]);
countyList.push(["2458","TN","Campbell"]);
countyList.push(["2459","TN","Madison"]);
countyList.push(["2460","TN","Fentress"]);
countyList.push(["2462","TN","Marion"]);
countyList.push(["2462","TN","Washington"]);
countyList.push(["2463","TN","Roane"]);
countyList.push(["2464","TN","Knox"]);
countyList.push(["2465","TN","Macon"]);
countyList.push(["2466","TN","Lawrence"]);
countyList.push(["2467","TN","Wilson"]);
countyList.push(["2468","TN","Marshall"]);
countyList.push(["2469","TN","Henderson"]);
countyList.push(["2470","TN","Perry"]);
countyList.push(["2471","TN","Overton"]);
countyList.push(["2472","TN","Loudon"]);
countyList.push(["2473","TN","Moore"]);
countyList.push(["2474","TN","Monroe"]);
countyList.push(["2475","TN","Coffee"]);
countyList.push(["2476","TN","Blount"]);
countyList.push(["2477","TN","Union"]);
countyList.push(["2478","TN","Warren"]);
countyList.push(["2479","TN","Shelby"]);
countyList.push(["2480","TN","Hamblen"]);
countyList.push(["2481","TN","Johnson"]);
countyList.push(["2482","TN","Rutherford"]);
countyList.push(["2483","TN","Davidson"]);
countyList.push(["2484","TN","Cocke"]);
countyList.push(["2485","TN","Henry"]);
countyList.push(["2486","TN","Bledsoe"]);
countyList.push(["2487","TN","Giles"]);
countyList.push(["2488","TN","Lauderdale"]);
countyList.push(["2489","TN","Hawkins"]);
countyList.push(["2490","TN","Grainger"]);
countyList.push(["2491","TN","Hardin"]);
countyList.push(["2492","TN","McNairy"]);
countyList.push(["2493","TN","Sevier"]);
countyList.push(["2494","TN","Bedford"]);
countyList.push(["2495","TN","De Kalb"]);
countyList.push(["2496","TN","Hancock"]);
countyList.push(["2497","TN","Fayette"]);
countyList.push(["2498","TN","White"]);
countyList.push(["2499","TN","Van Buren"]);
countyList.push(["2500","TN","Robertson"]);
countyList.push(["2501","TN","Claiborne"]);
countyList.push(["2502","TN","Lake"]);
countyList.push(["2503","TN","Gibson"]);
countyList.push(["2504","TN","Obion"]);
countyList.push(["2505","TN","Morgan"]);
countyList.push(["2506","TN","Humphreys"]);
countyList.push(["2507","TN","Wayne"]);
countyList.push(["2508","TN","Franklin"]);
countyList.push(["2509","TN","Cannon"]);
}
if(state == 'TX')
{
countyList.push(["2510","TX","Taylor"]);
countyList.push(["2511","TX","Shackelford"]);
countyList.push(["2512","TX","Jim Wells"]);
countyList.push(["2513","TX","Brewster"]);
countyList.push(["2514","TX","Potter"]);
countyList.push(["2515","TX","Chambers"]);
countyList.push(["2516","TX","Grimes"]);
countyList.push(["2517","TX","Andrews"]);
countyList.push(["2518","TX","Brazoria"]);
countyList.push(["2519","TX","Jones"]);
countyList.push(["2520","TX","Archer"]);
countyList.push(["2521","TX","Stonewall"]);
countyList.push(["2522","TX","Henderson"]);
countyList.push(["2523","TX","Travis"]);
countyList.push(["2524","TX","Callahan"]);
countyList.push(["2525","TX","Runnels"]);
countyList.push(["2526","TX","Bandera"]);
countyList.push(["2527","TX","Bastrop"]);
countyList.push(["2528","TX","Matagorda"]);
countyList.push(["2529","TX","Jefferson"]);
countyList.push(["2530","TX","Bee"]);
countyList.push(["2531","TX","Austin"]);
countyList.push(["2532","TX","Bell"]);
countyList.push(["2533","TX","Knox"]);
countyList.push(["2534","TX","Reagan"]);
countyList.push(["2535","TX","Howard"]);
countyList.push(["2536","TX","Kendall"]);
countyList.push(["2537","TX","Fannin"]);
countyList.push(["2538","TX","Kinney"]);
countyList.push(["2539","TX","McCulloch"]);
countyList.push(["2540","TX","Stephens"]);
countyList.push(["2541","TX","Washington"]);
countyList.push(["2542","TX","Terry"]);
countyList.push(["2543","TX","Cameron"]);
countyList.push(["2544","TX","Brown"]);
countyList.push(["2545","TX","Brazos"]);
countyList.push(["2546","TX","Burnet"]);
countyList.push(["2547","TX","Burleson"]);
countyList.push(["2548","TX","Milam"]);
countyList.push(["2549","TX","Hemphill"]);
countyList.push(["2550","TX","Van Zandt"]);
countyList.push(["2551","TX","Randall"]);
countyList.push(["2552","TX","Dimmit"]);
countyList.push(["2553","TX","Panola"]);
countyList.push(["2554","TX","Shelby"]);
countyList.push(["2555","TX","Leon"]);
countyList.push(["2556","TX","Hartley"]);
countyList.push(["2557","TX","Childress"]);
countyList.push(["2558","TX","Donley"]);
countyList.push(["2559","TX","Red River"]);
countyList.push(["2560","TX","Armstrong"]);
countyList.push(["2561","TX","Johnson"]);
countyList.push(["2562","TX","San Jacinto"]);
countyList.push(["2563","TX","Coleman"]);
countyList.push(["2564","TX","Mitchell"]);
countyList.push(["2565","TX","Colorado"]);
countyList.push(["2566","TX","Comanche"]);
countyList.push(["2567","TX","Montgomery"]);
countyList.push(["2568","TX","Delta"]);
countyList.push(["2569","TX","Nueces"]);
countyList.push(["2570","TX","Navarro"]);
countyList.push(["2571","TX","La Salle"]);
countyList.push(["2572","TX","Crane"]);
countyList.push(["2573","TX","Houston"]);
countyList.push(["2574","TX","Crosby"]);
countyList.push(["2575","TX","Foard"]);
countyList.push(["2576","TX","Zavala"]);
countyList.push(["2577","TX","DeWitt"]);
countyList.push(["2578","TX","Morris"]);
countyList.push(["2579","TX","Dallam"]);
countyList.push(["2580","TX","Dallas"]);
countyList.push(["2581","TX","Wise"]);
countyList.push(["2582","TX","Val Verde"]);
countyList.push(["2583","TX","Denton"]);
countyList.push(["2584","TX","Dickens"]);
countyList.push(["2585","TX","Castro"]);
countyList.push(["2586","TX","Moore"]);
countyList.push(["2587","TX","Maverick"]);
countyList.push(["2588","TX","Eastland"]);
countyList.push(["2589","TX","Hidalgo"]);
countyList.push(["2590","TX","Jackson"]);
countyList.push(["2591","TX","El Paso"]);
countyList.push(["2592","TX","Schleicher"]);
countyList.push(["2593","TX","Rains"]);
countyList.push(["2594","TX","Freestone"]);
countyList.push(["2595","TX","Brooks"]);
countyList.push(["2596","TX","Parmer"]);
countyList.push(["2597","TX","Wilson"]);
countyList.push(["2598","TX","Floyd"]);
countyList.push(["2599","TX","Jeff Davis"]);
countyList.push(["2600","TX","Pecos"]);
countyList.push(["2601","TX","Tarrant"]);
countyList.push(["2602","TX","Robertson"]);
countyList.push(["2603","TX","Gillespie"]);
countyList.push(["2604","TX","Borden"]);
countyList.push(["2605","TX","Cooke"]);
countyList.push(["2606","TX","Galveston"]);
countyList.push(["2607","TX","Glasscock"]);
countyList.push(["2608","TX","Coryell"]);
countyList.push(["2609","TX","Live Oak"]);
countyList.push(["2610","TX","Williamson"]);
countyList.push(["2611","TX","Lee"]);
countyList.push(["2612","TX","Upshur"]);
countyList.push(["2613","TX","Somervell"]);
countyList.push(["2614","TX","Mills"]);
countyList.push(["2615","TX","Goliad"]);
countyList.push(["2616","TX","Gonzales"]);
countyList.push(["2617","TX","Young"]);
countyList.push(["2618","TX","Hood"]);
countyList.push(["2619","TX","Hunt"]);
countyList.push(["2620","TX","Limestone"]);
countyList.push(["2621","TX","Trinity"]);
countyList.push(["2622","TX","King"]);
countyList.push(["2623","TX","Lavaca"]);
countyList.push(["2624","TX","Hamilton"]);
countyList.push(["2625","TX","Haskell"]);
countyList.push(["2626","TX","Jim Hogg"]);
countyList.push(["2627","TX","Sabine"]);
countyList.push(["2628","TX","Waller"]);
countyList.push(["2629","TX","Rusk"]);
countyList.push(["2630","TX","Clay"]);
countyList.push(["2631","TX","Deaf Smith"]);
countyList.push(["2632","TX","Hill"]);
countyList.push(["2633","TX","Medina"]);
countyList.push(["2634","TX","Harris"]);
countyList.push(["2635","TX","Walker"]);
countyList.push(["2636","TX","Jack"]);
countyList.push(["2637","TX","Jasper"]);
countyList.push(["2638","TX","Kent"]);
countyList.push(["2639","TX","Marion"]);
countyList.push(["2640","TX","Blanco"]);
countyList.push(["2641","TX","Atascosa"]);
countyList.push(["2642","TX","Kimble"]);
countyList.push(["2643","TX","Karnes"]);
countyList.push(["2644","TX","Kaufman"]);
countyList.push(["2645","TX","Winkler"]);
countyList.push(["2646","TX","Kerr"]);
countyList.push(["2647","TX","Kleberg"]);
countyList.push(["2648","TX","Hardin"]);
countyList.push(["2649","TX","Fayette"]);
countyList.push(["2650","TX","Dawson"]);
countyList.push(["2651","TX","Lampasas"]);
countyList.push(["2652","TX","Webb"]);
countyList.push(["2653","TX","Real"]);
countyList.push(["2654","TX","Hockley"]);
countyList.push(["2655","TX","Liberty"]);
countyList.push(["2656","TX","Cass"]);
countyList.push(["2657","TX","Lipscomb"]);
countyList.push(["2658","TX","Lamb"]);
countyList.push(["2659","TX","Polk"]);
countyList.push(["2660","TX","Llano"]);
countyList.push(["2661","TX","Caldwell"]);
countyList.push(["2662","TX","Gregg"]);
countyList.push(["2663","TX","Lubbock"]);
countyList.push(["2664","TX","Angelina"]);
countyList.push(["2665","TX","Madison"]);
countyList.push(["2666","TX","Presidio"]);
countyList.push(["2667","TX","Falls"]);
countyList.push(["2668","TX","Harrison"]);
countyList.push(["2669","TX","Mason"]);
countyList.push(["2670","TX","Motley"]);
countyList.push(["2671","TX","Collin"]);
countyList.push(["2672","TX","Hall"]);
countyList.push(["2673","TX","Menard"]);
countyList.push(["2674","TX","Loving"]);
countyList.push(["2675","TX","Bosque"]);
countyList.push(["2676","TX","Irion"]);
countyList.push(["2677","TX","Roberts"]);
countyList.push(["2678","TX","Midland"]);
countyList.push(["2679","TX","Ward"]);
countyList.push(["2680","TX","Montague"]);
countyList.push(["2681","TX","Cochran"]);
countyList.push(["2682","TX","Titus"]);
countyList.push(["2683","TX","Franklin"]);
countyList.push(["2684","TX","Bailey"]);
countyList.push(["2685","TX","Nacogdoches"]);
countyList.push(["2686","TX","Bowie"]);
countyList.push(["2687","TX","Comal"]);
countyList.push(["2688","TX","Newton"]);
countyList.push(["2689","TX","Ector"]);
countyList.push(["2690","TX","Orange"]);
countyList.push(["2691","TX","Crockett"]);
countyList.push(["2692","TX","Cottle"]);
countyList.push(["2693","TX","Concho"]);
countyList.push(["2694","TX","Anderson"]);
countyList.push(["2695","TX","Palo Pinto"]);
countyList.push(["2696","TX","Gray"]);
countyList.push(["2697","TX","Carson"]);
countyList.push(["2698","TX","Lamar"]);
countyList.push(["2699","TX","Frio"]);
countyList.push(["2700","TX","Reeves"]);
countyList.push(["2701","TX","Ochiltree"]);
countyList.push(["2702","TX","Camp"]);
countyList.push(["2703","TX","Yoakum"]);
countyList.push(["2704","TX","Hale"]);
countyList.push(["2705","TX","Calhoun"]);
countyList.push(["2706","TX","Garza"]);
countyList.push(["2707","TX","Hardeman"]);
countyList.push(["2708","TX","Wood"]);
countyList.push(["2709","TX","Upton"]);
countyList.push(["2710","TX","Willacy"]);
countyList.push(["2711","TX","Refugio"]);
countyList.push(["2712","TX","Fort Bend"]);
countyList.push(["2713","TX","Starr"]);
countyList.push(["2714","TX","Coke"]);
countyList.push(["2715","TX","Fisher"]);
countyList.push(["2716","TX","Aransas"]);
countyList.push(["2717","TX","Edwards"]);
countyList.push(["2718","TX","Rockwall"]);
countyList.push(["2719","TX","Cherokee"]);
countyList.push(["2720","TX","Tom Green"]);
countyList.push(["2721","TX","Bexar"]);
countyList.push(["2722","TX","San Augustine"]);
countyList.push(["2723","TX","Duval"]);
countyList.push(["2724","TX","Hays"]);
countyList.push(["2725","TX","San Saba"]);
countyList.push(["2726","TX","Terrell"]);
countyList.push(["2727","TX","Kenedy"]);
countyList.push(["2728","TX","Guadalupe"]);
countyList.push(["2729","TX","Gaines"]);
countyList.push(["2730","TX","Baylor"]);
countyList.push(["2731","TX","Grayson"]);
countyList.push(["2732","TX","Hudspeth"]);
countyList.push(["2733","TX","Briscoe"]);
countyList.push(["2734","TX","San Patricio"]);
countyList.push(["2735","TX","Scurry"]);
countyList.push(["2736","TX","Sutton"]);
countyList.push(["2737","TX","Hansford"]);
countyList.push(["2738","TX","Martin"]);
countyList.push(["2739","TX","Erath"]);
countyList.push(["2740","TX","Sterling"]);
countyList.push(["2741","TX","Hutchinson"]);
countyList.push(["2742","TX","Sherman"]);
countyList.push(["2743","TX","Hopkins"]);
countyList.push(["2744","TX","Nolan"]);
countyList.push(["2745","TX","Lynn"]);
countyList.push(["2746","TX","Throckmorton"]);
countyList.push(["2747","TX","McMullen"]);
countyList.push(["2748","TX","Swisher"]);
countyList.push(["2749","TX","Smith"]);
countyList.push(["2750","TX","Uvalde"]);
countyList.push(["2751","TX","Culberson"]);
countyList.push(["2752","TX","Oldham"]);
countyList.push(["2753","TX","Wilbarger"]);
countyList.push(["2754","TX","Victoria"]);
countyList.push(["2755","TX","McLennan"]);
countyList.push(["2756","TX","Ellis"]);
countyList.push(["2757","TX","Parker"]);
countyList.push(["2758","TX","Collingsworth"]);
countyList.push(["2759","TX","Wharton"]);
countyList.push(["2760","TX","Wheeler"]);
countyList.push(["2761","TX","Wichita"]);
countyList.push(["2762","TX","Tyler"]);
countyList.push(["2763","TX","Zapata"]);
}
if(state == 'UT')
{
countyList.push(["2764","UT","Beaver"]);
countyList.push(["2765","UT","Box Elder"]);
countyList.push(["2766","UT","Emery"]);
countyList.push(["2767","UT","Summit"]);
countyList.push(["2768","UT","Duchesne"]);
countyList.push(["2769","UT","Davis"]);
countyList.push(["2770","UT","Millard"]);
countyList.push(["2771","UT","Wasatch"]);
countyList.push(["2772","UT","Piute"]);
countyList.push(["2773","UT","Kane"]);
countyList.push(["2774","UT","Wayne"]);
countyList.push(["2775","UT","Cache"]);
countyList.push(["2776","UT","Daggett"]);
countyList.push(["2777","UT","Sanpete"]);
countyList.push(["2778","UT","Grand"]);
countyList.push(["2779","UT","San Juan"]);
countyList.push(["2780","UT","Morgan"]);
countyList.push(["2781","UT","Juab"]);
countyList.push(["2782","UT","Weber"]);
countyList.push(["2783","UT","Garfield"]);
countyList.push(["2784","UT","Iron"]);
countyList.push(["2785","UT","Carbon"]);
countyList.push(["2786","UT","Utah"]);
countyList.push(["2787","UT","Rich"]);
countyList.push(["2788","UT","Sevier"]);
countyList.push(["2789","UT","Salt Lake"]);
countyList.push(["2790","UT","Washington"]);
countyList.push(["2791","UT","Tooele"]);
countyList.push(["2792","UT","Uintah"]);
}
if(state == 'VA')
{
countyList.push(["2793","VA","Washington"]);
countyList.push(["2794","VA","Accomack"]);
countyList.push(["2795","VA","Amelia"]);
countyList.push(["2796","VA","Amherst"]);
countyList.push(["2797","VA","Appomattox"]);
countyList.push(["2798","VA","Arlington"]);
countyList.push(["2799","VA","Bedford"]);
countyList.push(["2800","VA","Clarke"]);
countyList.push(["2801","VA","Bland"]);
countyList.push(["2802","VA","Caroline"]);
countyList.push(["2803","VA","Mecklenburg"]);
countyList.push(["2804","VA","Buckingham"]);
countyList.push(["2805","VA","Charles City"]);
countyList.push(["2806","VA","Charlotte"]);
countyList.push(["2807","VA","Albemarle"]);
countyList.push(["2808","VA","Pittsylvania"]);
countyList.push(["2809","VA","Chesterfield"]);
countyList.push(["2810","VA","Montgomery"]);
countyList.push(["2811","VA","Dickenson"]);
countyList.push(["2812","VA","Southampton"]);
countyList.push(["2813","VA","Alleghany"]);
countyList.push(["2814","VA","Culpeper"]);
countyList.push(["2815","VA","Cumberland"]);
countyList.push(["2816","VA","Dinwiddie"]);
countyList.push(["2817","VA","Northampton"]);
countyList.push(["2818","VA","Greensville"]);
countyList.push(["2819","VA","Fairfax"]);
countyList.push(["2820","VA","Prince Edward"]);
countyList.push(["2821","VA","Botetourt"]);
countyList.push(["2822","VA","Floyd"]);
countyList.push(["2823","VA","Warren"]);
countyList.push(["2824","VA","Scott"]);
countyList.push(["2825","VA","Gloucester"]);
countyList.push(["2826","VA","Goochland"]);
countyList.push(["2827","VA","Buchanan"]);
countyList.push(["2828","VA","Halifax"]);
countyList.push(["2829","VA","Hanover"]);
countyList.push(["2830","VA","Rockingham"]);
countyList.push(["2831","VA","Northumberland"]);
countyList.push(["2832","VA","Carroll"]);
countyList.push(["2833","VA","Grayson"]);
countyList.push(["2834","VA","Isle Of Wight"]);
countyList.push(["2835","VA","Lee"]);
countyList.push(["2836","VA","King And Queen"]);
countyList.push(["2837","VA","King George"]);
countyList.push(["2838","VA","King William"]);
countyList.push(["2839","VA","Lancaster"]);
countyList.push(["2840","VA","Brunswick"]);
countyList.push(["2841","VA","Russell"]);
countyList.push(["2842","VA","Loudoun"]);
countyList.push(["2843","VA","Rockbridge"]);
countyList.push(["2844","VA","Louisa"]);
countyList.push(["2845","VA","Nelson"]);
countyList.push(["2846","VA","Lunenburg"]);
countyList.push(["2847","VA","Page"]);
countyList.push(["2848","VA","Madison"]);
countyList.push(["2849","VA","Prince William"]);
countyList.push(["2850","VA","Smyth"]);
countyList.push(["2851","VA","Henry"]);
countyList.push(["2852","VA","Mathews"]);
countyList.push(["2853","VA","Highland"]);
countyList.push(["2854","VA","Westmoreland"]);
countyList.push(["2855","VA","Craig"]);
countyList.push(["2856","VA","New Kent"]);
countyList.push(["2857","VA","Nottoway"]);
countyList.push(["2858","VA","Orange"]);
countyList.push(["2859","VA","Fluvanna"]);
countyList.push(["2860","VA","Giles"]);
countyList.push(["2861","VA","Powhatan"]);
countyList.push(["2862","VA","Prince George"]);
countyList.push(["2863","VA","Pulaski"]);
countyList.push(["2864","VA","Henrico"]);
countyList.push(["2865","VA","Roanoke"]);
countyList.push(["2866","VA","Franklin"]);
countyList.push(["2867","VA","Campbell"]);
countyList.push(["2868","VA","Middlesex"]);
countyList.push(["2869","VA","Spotsylvania"]);
countyList.push(["2870","VA","Stafford"]);
countyList.push(["2871","VA","Greene"]);
countyList.push(["2872","VA","Augusta"]);
countyList.push(["2873","VA","Patrick"]);
countyList.push(["2874","VA","Surry"]);
countyList.push(["2875","VA","Sussex"]);
countyList.push(["2876","VA","Essex"]);
countyList.push(["2877","VA","Tazewell"]);
countyList.push(["2878","VA","Bath"]);
countyList.push(["2879","VA","Fauquier"]);
countyList.push(["2880","VA","Richmond"]);
countyList.push(["2881","VA","Rappahannock"]);
countyList.push(["2882","VA","James City"]);
countyList.push(["2883","VA","Frederick"]);
countyList.push(["2884","VA","Wise"]);
countyList.push(["2885","VA","Shenandoah"]);
countyList.push(["2886","VA","Wythe"]);
countyList.push(["2887","VA","York"]);
}
if(state == 'VT')
{
countyList.push(["2888","VT","Bennington"]);
countyList.push(["2889","VT","Chittenden"]);
countyList.push(["2890","VT","Orange"]);
countyList.push(["2891","VT","Essex"]);
countyList.push(["2892","VT","Lamoille"]);
countyList.push(["2893","VT","Addison"]);
countyList.push(["2894","VT","Washington"]);
countyList.push(["2895","VT","Windham"]);
countyList.push(["2896","VT","Orleans"]);
countyList.push(["2897","VT","Grand Isle"]);
countyList.push(["2898","VT","Rutland"]);
countyList.push(["2899","VT","Franklin"]);
countyList.push(["2900","VT","Caledonia"]);
countyList.push(["2901","VT","Windsor"]);
}
if(state == 'WA')
{
countyList.push(["2902","WA","Asotin"]);
countyList.push(["2903","WA","Whatcom"]);
countyList.push(["2904","WA","Wahkiakum"]);
countyList.push(["2905","WA","Lewis"]);
countyList.push(["2906","WA","Whitman"]);
countyList.push(["2907","WA","Stevens"]);
countyList.push(["2908","WA","Island"]);
countyList.push(["2909","WA","Lincoln"]);
countyList.push(["2910","WA","Columbia"]);
countyList.push(["2911","WA","Kittitas"]);
countyList.push(["2912","WA","Grant"]);
countyList.push(["2913","WA","Snohomish"]);
countyList.push(["2914","WA","San Juan"]);
countyList.push(["2915","WA","Klickitat"]);
countyList.push(["2916","WA","Cowlitz"]);
countyList.push(["2917","WA","Grays Harbor"]);
countyList.push(["2918","WA","Skagit"]);
countyList.push(["2919","WA","Pend Oreille"]);
countyList.push(["2920","WA","Okanogan"]);
countyList.push(["2921","WA","Thurston"]);
countyList.push(["2922","WA","Franklin"]);
countyList.push(["2923","WA","Garfield"]);
countyList.push(["2924","WA","Clallam"]);
countyList.push(["2925","WA","Kitsap"]);
countyList.push(["2926","WA","Jefferson"]);
countyList.push(["2927","WA","Benton"]);
countyList.push(["2928","WA","Ferry"]);
countyList.push(["2929","WA","Adams"]);
countyList.push(["2930","WA","King"]);
countyList.push(["2931","WA","Mason"]);
countyList.push(["2932","WA","Pacific"]);
countyList.push(["2933","WA","Spokane"]);
countyList.push(["2934","WA","Skamania"]);
countyList.push(["2935","WA","Pierce"]);
countyList.push(["2936","WA","Clark"]);
countyList.push(["2937","WA","Walla Walla"]);
countyList.push(["2938","WA","Douglas"]);
countyList.push(["2939","WA","Chelan"]);
countyList.push(["2940","WA","Yakima"]);
}
if(state == 'WI')
{
countyList.push(["2941","WI","Buffalo"]);
countyList.push(["2942","WI","Langlade"]);
countyList.push(["2943","WI","Outagamie"]);
countyList.push(["2944","WI","Ashland"]);
countyList.push(["2945","WI","Polk"]);
countyList.push(["2946","WI","Sauk"]);
countyList.push(["2947","WI","Barron"]);
countyList.push(["2948","WI","Jackson"]);
countyList.push(["2949","WI","Calumet"]);
countyList.push(["2950","WI","Chippewa"]);
countyList.push(["2951","WI","Forest"]);
countyList.push(["2952","WI","Lafayette"]);
countyList.push(["2953","WI","Iowa"]);
countyList.push(["2954","WI","Pepin"]);
countyList.push(["2955","WI","Vilas"]);
countyList.push(["2956","WI","Eau Claire"]);
countyList.push(["2957","WI","Walworth"]);
countyList.push(["2958","WI","Pierce"]);
countyList.push(["2959","WI","Florence"]);
countyList.push(["2960","WI","Fond du Lac"]);
countyList.push(["2961","WI","Adams"]);
countyList.push(["2962","WI","Brown"]);
countyList.push(["2963","WI","Green Lake"]);
countyList.push(["2964","WI","Sawyer"]);
countyList.push(["2965","WI","St. Croix"]);
countyList.push(["2966","WI","Iron"]);
countyList.push(["2967","WI","Rock"]);
countyList.push(["2968","WI","Jefferson"]);
countyList.push(["2969","WI","Dodge"]);
countyList.push(["2970","WI","Kenosha"]);
countyList.push(["2971","WI","Menominee"]);
countyList.push(["2972","WI","Kewaunee"]);
countyList.push(["2973","WI","La Crosse"]);
countyList.push(["2974","WI","Rusk"]);
countyList.push(["2975","WI","Grant"]);
countyList.push(["2976","WI","Dane"]);
countyList.push(["2977","WI","Manitowoc"]);
countyList.push(["2978","WI","Marinette"]);
countyList.push(["2979","WI","Juneau"]);
countyList.push(["2980","WI","Taylor"]);
countyList.push(["2981","WI","Dunn"]);
countyList.push(["2982","WI","Lincoln"]);
countyList.push(["2983","WI","Milwaukee"]);
countyList.push(["2984","WI","Green"]);
countyList.push(["2985","WI","Marquette"]);
countyList.push(["2986","WI","Clark"]);
countyList.push(["2987","WI","Oconto"]);
countyList.push(["2988","WI","Winnebago"]);
countyList.push(["2989","WI","Price"]);
countyList.push(["2990","WI","Ozaukee"]);
countyList.push(["2991","WI","Columbia"]);
countyList.push(["2992","WI","Crawford"]);
countyList.push(["2993","WI","Racine"]);
countyList.push(["2994","WI","Oneida"]);
countyList.push(["2995","WI","Richland"]);
countyList.push(["2996","WI","Shawano"]);
countyList.push(["2997","WI","Sheboygan"]);
countyList.push(["2998","WI","Washburn"]);
countyList.push(["2999","WI","Burnett"]);
countyList.push(["3000","WI","Monroe"]);
countyList.push(["3001","WI","Portage"]);
countyList.push(["3002","WI","Door"]);
countyList.push(["3003","WI","Douglas"]);
countyList.push(["3004","WI","Vernon"]);
countyList.push(["3005","WI","Bayfield"]);
countyList.push(["3006","WI","Waukesha"]);
countyList.push(["3007","WI","Waupaca"]);
countyList.push(["3008","WI","Marathon"]);
countyList.push(["3009","WI","Waushara"]);
countyList.push(["3010","WI","Washington"]);
countyList.push(["3011","WI","Trempealeau"]);
countyList.push(["3012","WI","Wood"]);
}
if(state == 'WV')
{
countyList.push(["3013","WV","Raleigh"]);
countyList.push(["3014","WV","Morgan"]);
countyList.push(["3015","WV","Upshur"]);
countyList.push(["3016","WV","Jefferson"]);
countyList.push(["3017","WV","Kanawha"]);
countyList.push(["3018","WV","Harrison"]);
countyList.push(["3019","WV","Clay"]);
countyList.push(["3020","WV","Wirt"]);
countyList.push(["3021","WV","Randolph"]);
countyList.push(["3022","WV","Marion"]);
countyList.push(["3023","WV","Fayette"]);
countyList.push(["3024","WV","Pendleton"]);
countyList.push(["3025","WV","Gilmer"]);
countyList.push(["3026","WV","Taylor"]);
countyList.push(["3027","WV","Calhoun"]);
countyList.push(["3028","WV","Lincoln"]);
countyList.push(["3029","WV","Ritchie"]);
countyList.push(["3030","WV","Summers"]);
countyList.push(["3031","WV","Cabell"]);
countyList.push(["3032","WV","Mineral"]);
countyList.push(["3033","WV","Preston"]);
countyList.push(["3034","WV","Greenbrier"]);
countyList.push(["3035","WV","Logan"]);
countyList.push(["3036","WV","Boone"]);
countyList.push(["3037","WV","Pocahontas"]);
countyList.push(["3038","WV","Berkeley"]);
countyList.push(["3039","WV","Tyler"]);
countyList.push(["3040","WV","Hardy"]);
countyList.push(["3041","WV","Monongalia"]);
countyList.push(["3042","WV","Marshall"]);
countyList.push(["3043","WV","Hancock"]);
countyList.push(["3044","WV","Wetzel"]);
countyList.push(["3045","WV","Wood"]);
countyList.push(["3046","WV","Tucker"]);
countyList.push(["3047","WV","Grant"]);
countyList.push(["3048","WV","Barbour"]);
countyList.push(["3049","WV","Wyoming"]);
countyList.push(["3050","WV","Mason"]);
countyList.push(["3051","WV","Mercer"]);
countyList.push(["3052","WV","Jackson"]);
countyList.push(["3053","WV","Hampshire"]);
countyList.push(["3054","WV","Pleasants"]);
countyList.push(["3055","WV","Roane"]);
countyList.push(["3056","WV","Nicholas"]);
countyList.push(["3057","WV","Braxton"]);
countyList.push(["3058","WV","Monroe"]);
countyList.push(["3059","WV","Wayne"]);
countyList.push(["3060","WV","Webster"]);
countyList.push(["3061","WV","McDowell"]);
countyList.push(["3062","WV","Brooke"]);
countyList.push(["3063","WV","Doddridge"]);
countyList.push(["3064","WV","Lewis"]);
countyList.push(["3065","WV","Ohio"]);
countyList.push(["3066","WV","Mingo"]);
countyList.push(["3067","WV","Putnam"]);
}

if(state == 'WY')
{
countyList.push(["3068","WY","Big Horn"]);
countyList.push(["3069","WY","Johnson"]);
countyList.push(["3070","WY","Natrona"]);
countyList.push(["3071","WY","Laramie"]);
countyList.push(["3072","WY","Park"]);
countyList.push(["3073","WY","Converse"]);
countyList.push(["3074","WY","Uinta"]);
countyList.push(["3075","WY","Campbell"]);
countyList.push(["3076","WY","Sweetwater"]);
countyList.push(["3077","WY","Teton"]);
countyList.push(["3078","WY","Lincoln"]);
countyList.push(["3079","WY","Fremont"]);
countyList.push(["3080","WY","Albany"]);
countyList.push(["3081","WY","Niobrara"]);
countyList.push(["3082","WY","Weston"]);
countyList.push(["3083","WY","Sublette"]);
countyList.push(["3084","WY","Carbon"]);
countyList.push(["3085","WY","Sheridan"]);
countyList.push(["3086","WY","Crook"]);
countyList.push(["3087","WY","Hot Springs"]);
countyList.push(["3088","WY","Goshen"]);
countyList.push(["3089","WY","Platte"]);
countyList.push(["3090","WY","Washakie"]);            
}
if(state == 'VI')
{
countyList.push(["3098","VI","St.Thomas"]);
countyList.push(["3099","VI","St.John"]);
countyList.push(["3100","VI","Water Islands"]);
countyList.push(["3101","VI","St.Croix"]);
 }
}

//***************************************************************************************************//                    
// the following function is, to hide the div and disable the validation inside the div, when the    //
// given checkbox is checked  and to show the div and to enable the validation inside the div when   //
// it is unchecked                                                                                   //
//***************************************************************************************************//                   

function HideAllContentCB(cbid,divid)
{
    if(document.getElementById(cbid).checked)
	{
	    HideContent(divid);
	    disableValidation(divid);
	}
    else
	{
	    ShowContent(divid);
	    enableValidation(divid);
	}
}

// Function for Hide the section based on multiple selection in DDM

function HideContentMultipleDDM()
{
    var argv=HideContentMultipleDDM.arguments;
    var argc=argv.length;
    var i=0;
    if(argv[0].length < 1 || argv[1].length < 1 || argv[2].length < 1 || argc < 3) { return; }
    var select = document.getElementById(argv[0]);
    var selectedValue = '/'+select.options[select.selectedIndex].value+'/';
    var toCheck=argv[1];
    if(toCheck.indexOf(selectedValue)>=0)
        {
            for(i=2;i < argc;i++)
                {
                    document.getElementById(argv[i]).style.display = "none";
                }
        }
    else
        {
            document.getElementById(argv[2]).style.display = "";

        }
}


//Function for Enable and Disable the button in VQ Page

function DisableButton(secid,secid1,buttonid) {
    var divs=document.getElementById(secid);
    var childDivs=divs.getElementsByTagName("div");
    for( i=0 ;i<childDivs.length;i++)
     {
	 if(childDivs[i].getAttribute("id") != null && childDivs[i].getAttribute("id") != undefined &&  childDivs[i].getAttribute("id").substring(0,6)=="button" )
        {
	    if (childDivs[i].getAttribute("id") != buttonid && childDivs[i].getAttribute("id").indexOf("disabled")!=-1)
            {
	       
  
                document.getElementById(childDivs[i].getAttribute('id')).style.display = "";
	    }
	    else if (childDivs[i].getAttribute("id") != buttonid && childDivs[i].getAttribute("id").indexOf("disabled")==-1)
		{

		  document.getElementById(childDivs[i].getAttribute('id')).style.display = "none";
              }
           

	}


    }
}
function EnableButton(secid,secid1,buttonid) {
    var divs=document.getElementById(secid);
    var childDivs=divs.getElementsByTagName("div");
    for( i=0 ;i<childDivs.length;i++)
     {
        if(childDivs[i].getAttribute("id") != null && childDivs[i].getAttribute("id") != undefined &&  childDivs[i].getAttribute("id").substring(0,6)=="button" )
        {
	    if (childDivs[i].getAttribute("id") != buttonid && childDivs[i].getAttribute("id").indexOf("disabled")!=-1)
            {
	       
                document.getElementById(childDivs[i].getAttribute('id')).style.display = "none";
	    }
	    else if (childDivs[i].getAttribute("id") != buttonid && childDivs[i].getAttribute("id").indexOf("disabled")==-1)
		{

		  document.getElementById(childDivs[i].getAttribute('id')).style.display = "";
              }
           

	}


    }
}

//Function for VQ page                                                                                                                                       

function verification(buttonName)
{
    document.getElementById("verifyaction").value=buttonName;
}


//Function for button rollover

function roll(id, img_src)
{
document.getElementById(id).src = img_src;
}

function show( id )
{
    document.getElementById(id).style.display = "";
}
function hide( id )
{
    document.getElementById(id).style.display = "none";
}


//Function for pop up window

function openWin(img)
 {
  winId = window.open('','','width=500,height=300');
  
  winId.document.write('<img src="' + img + '">');
}


//Tab focus function for telephone and ssn field

function TabNext(currentField,nextField,length) {
    var currentFieldLength=document.getElementById(currentField).value.length;
    if(length==currentFieldLength){
	document.getElementById(nextField).focus();
    }

}


function efile(action) {
    document.forms['mainForm'].action = action;
    document.forms['mainForm'].submit();
}

//Function for populate embassy city's
 
var embassyList = new Array();
function getEmbassyList(countryValue,embassyId,embassyValue)
{
document.getElementById(embassyId).innerHTML="";
var tempList  = new Array();
for(i=0; i< embassyList.length; i++)
{
   if(embassyList[i][1] == countryValue)
   {
      tempList.push([embassyList[i][2]]);
   }
}

var opt = "";
var opt_txt = "";
opt = document.createElement("option");
opt_txt = document.createTextNode("Select a Embassy");
opt.appendChild(opt_txt);
opt.setAttribute("value", "");
document.getElementById(embassyId).appendChild(opt);
tempList.sort();
for(i=0; i< tempList.length; i++)
{
opt = document.createElement("option");
opt_txt = document.createTextNode(tempList[i][0]);
opt.appendChild(opt_txt);
opt.setAttribute("value", tempList[i][0]);
document.getElementById(embassyId).appendChild(opt);
}
for(i=0; i< tempList.length; i++)
{
   if(tempList[i][0] == embassyValue)
   {
	document.getElementById(embassyId).value = embassyValue;
   }
}
}

function embassyInit(country)
{
    embassyList.splice(0,embassyList.length);
if(country == 'Africa Regional Services')
{
    embassyList.push(["1","Africa Regional Services", "Paris" ] );
}
if(country == 'Afghanistan')
{
    embassyList.push(["2","Afghanistan", "Kabul" ] );
}
if(country == 'Albania')
{
    embassyList.push(["3","Albania", "Tirana" ] );
}

if(country == 'Algeria')
{
    embassyList.push(["4","Algeria", "Algiers" ] );
}
if(country == 'Angola')
{
    embassyList.push(["5","Angola", "Luanda" ] );
}
if(country == 'Argentina')
{
    embassyList.push(["6","Argentina", "Buenos Aires" ] );
    embassyList.push(["7","Argentina", "VPP Patagonia" ] );
}
if(country == 'Armenia')
{
    embassyList.push(["8","Armenia", "Yerevan" ] );
}
if(country == 'Australia')
{
    embassyList.push(["9","Australia", "Canberra" ] );
    embassyList.push(["10","Australia", "Melbourne" ] );
    embassyList.push(["11","Australia", "Perth" ] );
    embassyList.push(["12","Australia", "Sydney" ] );
    embassyList.push(["13","Australia", "VPP Adelaide" ] );
    embassyList.push(["14","Australia", "VPP Brisbane" ] );
}
if(country == 'Austria')
{
    embassyList.push(["15","Austria", "Vienna" ] );
}
if(country == 'Azerbaijan')
{
    embassyList.push(["16","Azerbaijan", "Baku" ] );
}

if(country == 'Bahamas')
{
    embassyList.push(["17","Bahamas", "Nassau" ] );
}
if(country == 'Bahrain')
{
    embassyList.push(["18","Bahrain", "Manama" ] );
}
if(country == 'Bangladesh')
{
    embassyList.push(["19","Bangladesh", "Dhaka" ] );
    embassyList.push(["20","Bangladesh", "VPP Chittagong" ] );
    embassyList.push(["21","Bangladesh", "VPP Jessore" ] );
    embassyList.push(["22","Bangladesh", "VPP Sylhet" ] );
}
if(country == 'Barbados')
{
    embassyList.push(["23","Barbados", "Bridgetown" ] );
}
if(country == 'Benin')
{
    embassyList.push(["24","Benin", "Cotonou" ] );
}
if(country == 'Belize')
{
    embassyList.push(["25","Belize", "Belmopan" ] );
}
if(country == 'Bermuda')
{
    embassyList.push(["26","Bermuda", "Hamilton" ] );
}
if(country == 'Belarus')
{
    embassyList.push(["27","Belarus", "Minsk" ] );
}
if(country == 'Belgium')
{
    embassyList.push(["28","Belgium", "Brussels" ] );
}
if(country == 'Bolivia')
{
    embassyList.push(["29","Bolivia", "La Paz" ] );
    embassyList.push(["30","Bolivia", "VPP Cochabamba" ] );
    embassyList.push(["31","Bolivia", "VPP Santa Cruz" ] );
    embassyList.push(["32","Bolivia", "VPP Sucre" ] );
}
if(country == 'Bosnia and Herzegovina')
{
    embassyList.push(["33","Bosnia and Herzegovina", "Sarajevo" ] );
}
if(country == 'Botswana')
{
    embassyList.push(["34","Botswana", "Gaborone" ] );
}
if(country == 'Brazil')
{
    embassyList.push(["35","Brazil", "Brasilia" ] );
    embassyList.push(["36","Brazil", "Rio de Janeiro" ] );
    embassyList.push(["37","Brazil", "Recife" ] );
    embassyList.push(["38","Brazil", "Sao Paulo" ] );
    embassyList.push(["39","Brazil", "VPP Belo Horizonte" ] );
    embassyList.push(["40","Brazil", "VPP Fortaleza" ] );
    embassyList.push(["41","Brazil", "VPP Manaus" ] );
    embassyList.push(["42","Brazil", "VPP Porto Allegre" ] );
    embassyList.push(["43","Brazil", "VPP Salvador de Bahia" ] );
}
if(country == 'Brunei')
{
    embassyList.push(["44","Brunei", "Bandar Seri Begawan" ] );
}
if(country == 'Burkina Faso')
{
    embassyList.push(["45","Burkina Faso", "Ouagadougou" ] );
}
if(country == 'Burundi')
{
    embassyList.push(["46","Burundi", "Bujumbura" ] );
}
if(country == 'Burma')
{
    embassyList.push(["47","Burma", "Rangoon" ] );
}
if(country == 'Bulgaria')
{
    embassyList.push(["48","Bulgaria", "Sofia" ] );
}
if(country == 'Cameroon')
{
    embassyList.push(["49","Cameroon", "Yaounde" ] );
    embassyList.push(["50","Cameroon", "VPP Septentrion" ] );
}
if(country == 'Canada')
{
    embassyList.push(["51","Canada", "Ottawa" ] );
    embassyList.push(["52","Canada", "Calgary" ] );
    embassyList.push(["53","Canada", "Halifax" ] );
    embassyList.push(["54","Canada", "Montreal" ] );
    embassyList.push(["55","Canada", "Quebec" ] );
    embassyList.push(["56","Canada", "Toronto" ] );
    embassyList.push(["57","Canada", "Vancouver" ] );
    embassyList.push(["58","Canada", "Winnipeg" ] );
    embassyList.push(["59","Canada", "VPP Northwest Territories" ] );
    embassyList.push(["60","Canada", "VPP Nunavut" ] );
    embassyList.push(["61","Canada", "VPP Southwest Ontario" ] );
    embassyList.push(["62","Canada", "VPP Yukon" ] );
}
if(country == 'Cape Verde')
{
    embassyList.push(["63","Cape Verde", "Praia" ] );
}
if(country == 'Cambodia')
{
    embassyList.push(["64","Cambodia", "Phnom Penh" ] );
}
if(country == 'Central African Republic')
{
    embassyList.push(["65","Central African Republic", "Bangui" ] );
}
if(country == 'Chad')
{
    embassyList.push(["66","Chad", "N'Djamena" ] );
}
if(country == 'Chile')
{
    embassyList.push(["67","Chile", "Santiago" ] );
}
if(country == 'China')
{
    embassyList.push(["68","China", "Beijing" ] );
    embassyList.push(["69","China", "Chengdu" ] );
    embassyList.push(["70","China", "Guangzhou" ] );
    embassyList.push(["71","China", "Shanghai " ] );
    embassyList.push(["72","China", "Shenyang" ] );
    embassyList.push(["73","China", "Wuhan" ] );
    embassyList.push(["74","China", "VPP Dalian" ] );
    embassyList.push(["75","China", "VPP Fuzhou" ] );
    embassyList.push(["76","China", "VPP Kunming" ] );
    embassyList.push(["77","China", "VPP Nanjing" ] );
    embassyList.push(["78","China", "VPP Nanning " ] );
    embassyList.push(["79","China", "VPP Qingdao" ] );
    embassyList.push(["80","China", "VPP Tianjin" ] );
    embassyList.push(["81","China", "VPP Xiamen" ] );
    embassyList.push(["82","China", "VPP Zhengzhou" ] );
}
if(country == 'Colombia')
{
    embassyList.push(["83","Colombia", "Bogota" ] );
}
if(country == "Cote d'Ivoire")
{
    embassyList.push(["84","Cote d'Ivoire", "Abidjan" ] );
}
if(country == 'Costa Rica')
{
    embassyList.push(["85","Costa Rica", "San Jose" ] );
}
if(country == 'Croatia')
{
    embassyList.push(["86","Croatia", "Zagreb" ] );
}
if(country == 'Cuba')
{
    embassyList.push(["87","Cuba", "U.S. Interests Section" ] );
}
if(country == 'Cyprus')
{
    embassyList.push(["88","Cyprus", "Nicosia" ] );
}
if(country == 'Czech Republic')
{
    embassyList.push(["89","Czech Republic", "Prague" ] );
}
if(country == 'Denmark')
{
    embassyList.push(["90","Denmark", "Copenhagen" ] );
}
if(country == 'Denmark-Greenland')
{
    embassyList.push(["91","Denmark-Greenland", "VPP Nuuk" ] );
}
if(country == 'Dominican Republic')
{
    embassyList.push(["92","Dominican Republic", "Santo Domingo" ] );
}
if(country == 'Democratic Republic of the Congo')
{
    embassyList.push(["93","Democratic Republic of the Congo", "Kinshasa" ] );
}
if(country == 'Ecuador')
{
    embassyList.push(["94","Ecuador", "Quito" ] );
    embassyList.push(["95","Ecuador", "Guayaquil" ] );
}
if(country == 'Egypt')
{
    embassyList.push(["96","Egypt", "Cairo" ] );
}
if(country == 'El Salvador')
{
    embassyList.push(["97","El Salvador", "San Salvador" ] );
}
if(country == 'Equatorial Guinea')
{
    embassyList.push(["98","Equatorial Guinea", "Malabo" ] );
}
if(country == 'Eritrea')
{
    embassyList.push(["99","Eritrea", "Asmara" ] );
}
if(country == 'Estonia')
{
    embassyList.push(["100","Estonia", "Tallinn" ] );
}
if(country == 'Ethiopia')
{
    embassyList.push(["101","Ethiopia", "Addis Ababa" ] );
}
if(country == 'Federated States of Micronesia')
{
    embassyList.push(["102","Federated States of Micronesia", "Kolonia" ] );
}
if(country == 'Fiji')
{
    embassyList.push(["103","Fiji", "Suva" ] );
    embassyList.push(["104","Fiji", "VPP Tonga" ] );
}
if(country == 'Finland')
{
    embassyList.push(["105","Finland", "Helsinki" ] );
}
if(country == 'France')
{
    embassyList.push(["106","France", "Paris" ] );
    embassyList.push(["107","France", "Bordeaux" ] );
    embassyList.push(["108","France", "Lille" ] );
    embassyList.push(["109","France", "Lyon" ] );
    embassyList.push(["110","France", "Rennes" ] );
    embassyList.push(["111","France", "Toulouse" ] );
    embassyList.push(["112","France", "Marseille" ] );
    embassyList.push(["113","France", "Strasbourg" ] );
}
if(country == 'Gabon')
{
    embassyList.push(["114","Gabon", "Libreville" ] );
}
if(country == 'Georgia')
{
    embassyList.push(["115","Georgia", "Tbilisi" ] );
}
if(country == 'Germany')
{
    embassyList.push(["116","Germany", "Berlin" ] );
    embassyList.push(["117","Germany", "Dusseldorf" ] );
    embassyList.push(["118","Germany", "Frankfurt" ] );
    embassyList.push(["118","Germany", "Hamburg" ] );
    embassyList.push(["120","Germany", "Leipzig" ] );
    embassyList.push(["121","Germany", "Munich" ] );
}
if(country == 'Ghana')
{
    embassyList.push(["122","Ghana", "Accra" ] );
}
if(country == 'Greece')
{
    embassyList.push(["123","Greece", "Athens" ] );
    embassyList.push(["124","Greece", "Thessaloniki" ] );
}
if(country == 'Guatemala')
{
    embassyList.push(["125","Guatemala", "Guatemala City" ] );
    embassyList.push(["126","Guatemala", "VPP Xela" ] );
}
if(country == 'Guinea')
{
    embassyList.push(["127","Guinea", "Conakry" ] );
}
if(country == 'Guyana')
{
    embassyList.push(["128","Guyana", "Georgetown" ] );
}
if(country == 'Haiti')
{
    embassyList.push(["128","Haiti", "Port-au-Prince" ] );
}
if(country == 'Honduras')
{
    embassyList.push(["129","Honduras", "Tegucigalpa" ] );
    embassyList.push(["130","Honduras", "VPP San Pedro Sula" ] );
}
if(country == 'Hungary')
{
    embassyList.push(["131","Hungary", "Budapest " ] );
}
if(country == 'Iceland')
{
    embassyList.push(["132","Iceland", "Reykjavik" ] );
}
if(country == 'India')
{
    embassyList.push(["133","India", "New Delhi" ] );
    embassyList.push(["134","India", "Hyderabad" ] );
    embassyList.push(["135","India", "Kolkata" ] );
    embassyList.push(["136","India", "Chennai" ] );
    embassyList.push(["137","India", "Mumbai" ] );
}
if(country == 'Indonesia')
{
    embassyList.push(["138","Indonesia", "Jakarta" ] );
    embassyList.push(["139","Indonesia", "Surabaya" ] );
}
if(country == 'Ireland')
{
    embassyList.push(["140","Ireland", "Dublin" ] );
}
if(country == 'Iraq')
{
    embassyList.push(["141","Iraq", "Baghdad " ] );
}
if(country == 'Israel')
{
    embassyList.push(["142","Israel", "Tel Aviv" ] );
}
if(country == 'Italy')
{
    embassyList.push(["143","Italy", "Rome" ] );
    embassyList.push(["144","Italy", "Florence" ] );
    embassyList.push(["145","Italy", "Milan" ] );
    embassyList.push(["146","Italy", "Naples" ] );
    embassyList.push(["147","Italy", "VPP San Marino" ] );
    embassyList.push(["148","Italy", "Vatican" ] );
}
if(country == 'Jamaica')
{
    embassyList.push(["149","Jamaica", "Kingston" ] );
}
if(country == 'Japan')
{
    embassyList.push(["150","Japan", "Tokyo" ] );
    embassyList.push(["151","Japan", "Fukuoka" ] );
    embassyList.push(["152","Japan", "Nagoya" ] );
    embassyList.push(["153","Japan", "Osaka/Kobe" ] );
    embassyList.push(["154","Japan", "Sapporo" ] );
    embassyList.push(["155","Japan", "Naha, Okinawa" ] );
}

if(country == 'Jordan')
{
    embassyList.push(["156","Jordan", "Amman" ] );
}

if(country == 'Kazakhstan')
{
    embassyList.push(["157","Kazakhstan", "Astana" ] );
}
if(country == 'Kenya')
{
    embassyList.push(["158","Kenya", "Nairobi" ] );
}
if(country == 'Korea')
{
    embassyList.push(["159","Korea", "Seoul" ] );
    embassyList.push(["160","Korea", "Busan" ] );
}
if(country == 'Kosovo')
{
    embassyList.push(["161","Kosovo", "Pristina" ] );
}
if(country == 'Kuwait')
{
    embassyList.push(["162","Kuwait", "Kuwait City" ] );
}
if(country == 'Kyrgyz Republic')
{
    embassyList.push(["163","Kyrgyz Republic", "Bishkek" ] );
}
if(country == 'Laos')
{
    embassyList.push(["164","Laos", "Vientiane" ] );
}
if(country == 'Latvia')
{
    embassyList.push(["165","Latvia", "Riga" ] );
}
if(country == 'Lebanon')
{
    embassyList.push(["166","Lebanon", "Beirut" ] );
}
if(country == 'Lesotho')
{
    embassyList.push(["166","Lesotho", "Maseru" ] );
}
if(country == 'Liberia')
{
    embassyList.push(["167","Liberia", "Monrovia" ] );
}
if(country == 'Libya')
{
    embassyList.push(["168","Libya", "Tripoli" ] );
}
if(country == 'Lithuania')
{
    embassyList.push(["169","Lithuania", "Vilnius" ] );
}
if(country == 'Luxembourg')
{
    embassyList.push(["170","Luxembourg", "Luxembourg" ] );
}

if(country == 'Macedonia')
{
embassyList.push(["170","Macedonia", "Skopje" ] );
}
if(country == 'Madagascar')
{
    embassyList.push(["171","Madagascar", "Antananarivo" ] );
}
if(country == 'Malawi')
{
    embassyList.push(["172","Malawi", "Lilongwe" ] );
}
if(country == 'Malaysia')
{
    embassyList.push(["173","Malaysia", "Kuala Lumpur" ] );
}
if(country == 'Mali')
{
    embassyList.push(["174","Mali", "Bamako" ] );
}
if(country == 'Malta')
{
    embassyList.push(["175","Malta", "Valletta" ] );
}
if(country == 'Mauritania')
{
    embassyList.push(["176","Mauritania", "Nouakchott" ] );
}
if(country == 'Mauritius')
{
    embassyList.push(["177","Mauritius", "Port Louis" ] );
    embassyList.push(["178","Mauritius", "VPP Seychelles" ] );
}
if(country == 'Mexico')
{

    embassyList.push(["179","Mexico", "Ciudad Juarez" ] );
    embassyList.push(["180","Mexico", "Guadalajara" ] );
    embassyList.push(["181","Mexico", "Hermosillo" ] );
    embassyList.push(["182","Mexico", "Matamoros" ] );
    embassyList.push(["183","Mexico", "Merida" ] );
    embassyList.push(["184","Mexico", "Mexico City" ] );
    embassyList.push(["185","Mexico", "Monterrey" ] );
    embassyList.push(["186","Mexico", "Nogales" ] );
    embassyList.push(["187","Mexico", "Nuevo Laredo" ] );
    embassyList.push(["188","Mexico", "Puerto Vallarta" ] );
    embassyList.push(["189","Mexico", "Tijuana " ] );
    embassyList.push(["190","Mexico", "VPP Chiapas-Tabasco " ] );
    embassyList.push(["191","Mexico", "VPP El Bajio " ] );

}
if(country == 'Moldova')
{
    embassyList.push(["192","Moldova", "Chisinau" ] );
}
if(country == 'Mongolia')
{
    embassyList.push(["193","Mongolia", "Ulaanbaatar" ] );
}
if(country == 'Montenegro')
{
    embassyList.push(["194","Montenegro", "Podgorica" ] );
}
if(country == 'Morocco')
{
    embassyList.push(["195","Morocco", "Rabat" ] );
    embassyList.push(["196","Morocco", "Casablanca" ] );
}
if(country == 'Mozambique')
{
    embassyList.push(["197","Mozambique", "Maputo" ] );
}
if(country == 'Namibia')
{
    embassyList.push(["198","Namibia", "Windhoek" ] );
}
if(country == 'Nepal')
{
    embassyList.push(["199","Nepal", "Kathmandu" ] );
}
if(country == 'Netherlands Antilles')
{
    embassyList.push(["200","Netherlands Antilles", "Curacao" ] );
}
if(country == 'New Zealand')
{
    embassyList.push(["201","New Zealand", "Wellington" ] );
}
if(country == 'Nicaragua')
{
    embassyList.push(["201","Nicaragua", "Managua" ] );
}
if(country == 'Niger')
{
    embassyList.push(["202","Niger", "Niamey" ] );
}
if(country == 'Nigeria')
{
    embassyList.push(["203","Nigeria", "Abuja" ] );
}
if(country == 'Norway')
{
    embassyList.push(["204","Norway", "Oslo" ] );
}
if(country == 'Oman')
{
    embassyList.push(["205","Oman", "Muscat" ] );
}
if(country == 'Pakistan')
{
    embassyList.push(["206","Pakistan", "Islamabad" ] );
    embassyList.push(["207","Pakistan", "Karachi" ] );
    embassyList.push(["208","Pakistan", "Lahore" ] );
    embassyList.push(["209","Pakistan", "Peshawar" ] );
}

if(country == 'Panama')
{
    embassyList.push(["210","Panama", "Panama City" ] );
    embassyList.push(["211","Panama", "VPP Colon" ] );
}
if(country == 'Papua New Guinea')
{
    embassyList.push(["212","Papua New Guinea", "Port Moresby" ] );
}
if(country == 'Paraguay')
{
    embassyList.push(["213","Paraguay", "Asuncion" ] );
}
if(country == 'Peru')
{
    embassyList.push(["214","Peru", "Lima" ] );
}
if(country == 'Philippines')
{
    embassyList.push(["215","Philippines", "Manila" ] );
    embassyList.push(["216","Philippines", "VPP Davao" ] );
}
if(country == 'Poland')
{
    embassyList.push(["217","Poland", "Warsaw" ] );
    embassyList.push(["218","Poland", "Krakow" ] );
}
if(country == 'Portugal')
{
    embassyList.push(["219","Portugal", "Lisbon" ] );
    embassyList.push(["220","Portugal", "Ponta Delgada, Azores" ] );
}
if(country == 'Qatar')
{
    embassyList.push(["221","Qatar", "Doha" ] );
}
if(country == 'Republic of Palau')
{
    embassyList.push(["222","Republic of Palau", "Koror" ] );
}
if(country == 'Republic of the Congo')
{
    embassyList.push(["223","Republic of the Congo", "Brazzaville" ] );
}
if(country == 'Republic of Djibouti')
{
    embassyList.push(["223","Republic of Djibouti", "Djibouti" ] );
}
if(country == 'Republic of the Marshall Islands')
{
    embassyList.push(["224","Republic of the Marshall Islands", "Majuro" ] );
}
if(country == 'Romania')
{
    embassyList.push(["225","Romania", "Bucharest" ] );
}

if(country == 'Russia')
{
    embassyList.push(["226","Russia", "Moscow" ] );
    embassyList.push(["227","Russia", "St. Petersburg" ] );
    embassyList.push(["228","Russia", "Vladivostok" ] );
    embassyList.push(["229","Russia", "Yekaterinburg " ] );
}
if(country == 'Rwanda')
{
    embassyList.push(["230","Rwanda", "Kigali" ] );
}
if(country == 'Samoa')
{
    embassyList.push(["231","Samoa", "Apia" ] );
}
if(country == 'Saudi Arabia')
{
    embassyList.push(["232","Saudi Arabia", "Riyadh" ] );
    embassyList.push(["233","Saudi Arabia", "Dhahran" ] );
    embassyList.push(["234","Saudi Arabia", "Jeddah" ] );
}
if(country == 'Senegal')
{
    embassyList.push(["235","Senegal", "Dakar" ] );
}
if(country == 'Serbia')
{
    embassyList.push(["236","Serbia", "Belgrade" ] );
}

if(country == 'Sierra Leone')
{
    embassyList.push(["237","Sierra Leone", "Freetown" ] );
}

if(country == 'Singapore')
{
    embassyList.push(["238","Singapore", "Singapore" ] );
}

if(country == 'Slovakia')
{
    embassyList.push(["239","Slovakia", "Bratislava" ] );
}
if(country == 'Slovenia')
{
    embassyList.push(["240","Slovenia", "Ljubljana" ] );
}
if(country == 'Somalia')
{
    embassyList.push(["241","Somalia", "VPP Somalia" ] );
}
if(country == 'South Africa')
{
    embassyList.push(["242","South Africa", "Pretoria" ] );
}
if(country == 'Spain')
{
    embassyList.push(["243","Spain", "Madrid" ] );
    embassyList.push(["244","Spain", "Barcelona" ] );
}
if(country == 'Sri Lanka')
{
    embassyList.push(["245","Sri Lanka", "Colombo" ] );
    embassyList.push(["246","Sri Lanka", "VPP Maldives" ] );
}
if(country == 'Sudan')
{
    embassyList.push(["247","Sudan", "Khartoum" ] );
}
if(country == 'Suriname')
{
    embassyList.push(["248","Suriname", "Paramaribo" ] );
}
if(country == 'Swaziland')
{
    embassyList.push(["249","Swaziland", "Mbabane" ] );
}
if(country == 'Sweden')
{
    embassyList.push(["250","Sweden", "Stockholm" ] );
    embassyList.push(["251","Sweden", "VPP Gothenborg" ] );
}
if(country == 'Switzerland')
{
    embassyList.push(["252","Switzerland", "Bern" ] );
}
if(country == 'Syria')
{
    embassyList.push(["253","Syria", "Damascus" ] );
}
if(country == 'Thailand')
{
    embassyList.push(["254","Thailand", "Bangkok" ] );
    embassyList.push(["255","Thailand", "Chiang Mai" ] );
}
if(country == 'The Vatican')
{
    embassyList.push(["256","The Vatican", "The Vatican" ] );
}

if(country == 'Tajikistan')
{
    embassyList.push(["257","Tajikistan", "Dushanbe" ] );
}
if(country == 'Tanzania')
{
    embassyList.push(["258","Tanzania", "Dar es Salaam" ] );
    embassyList.push(["259","Tanzania", "VPP Zanzibar" ] );
}
if(country == 'The Gambia')
{
    embassyList.push(["260","The Gambia", "Banjul" ] );
}
if(country == 'The Netherlands')
{
    embassyList.push(["261","The Netherlands", "The Hague" ] );
    embassyList.push(["262","The Netherlands", "Amsterdam" ] );
}
if(country == 'Tobago')
{
    embassyList.push(["263","Tobago", "VPP Tobago" ] );
}
if(country == 'Togo')
{
    embassyList.push(["264","Togo", "Lome " ] );
}
if(country == 'Timor-Leste')
{
    embassyList.push(["265","Timor-Leste", "Dili" ] );
}
if(country == 'Trinidad and Tobago')
{
    embassyList.push(["266","Trinidad and Tobago", "Port of Spain" ] );
}
if(country == 'Taiwan')
{
    embassyList.push(["267","Taiwan", "Taiwan" ] );
}

if(country == 'Tunisia')
{
    embassyList.push(["268","Tunisia", "Tunis" ] );
}
if(country == 'Turkey')
{
    embassyList.push(["269","Turkey", "Ankara" ] );
    embassyList.push(["270","Turkey", "Adana" ] );
    embassyList.push(["271","Turkey", "Istanbul" ] );
}
if(country == 'Turkmenistan')
{
    embassyList.push(["272","Turkmenistan", "Ashgabat" ] );
}
if(country == 'Uganda')
{
    embassyList.push(["273","Uganda", "Kampala" ] );
}
if(country == 'Ukraine')
{
    embassyList.push(["274","Ukraine", "Kyiv" ] );
}
if(country == 'United Arab Emirates')
{
    embassyList.push(["275","United Arab Emirates", "Abu Dhabi" ] );
    embassyList.push(["276","United Arab Emirates", "Dubai" ] );
}
if(country == 'United Kingdom')
{
    embassyList.push(["277","United Kingdom", "London" ] );
    embassyList.push(["278","United Kingdom", "VPP Cardiff" ] );
}
if(country == 'Uruguay')
{
    embassyList.push(["279","Uruguay", "Montevideo" ] );
}
if(country == 'Uzbekistan')
{
    embassyList.push(["280","Uzbekistan", "Tashkent" ] );
}
if(country == 'Venezuela')
{
    embassyList.push(["281","Venezuela", "Caracas" ] );
    embassyList.push(["282","Venezuela", "VPP Barquisemeto" ] );
}
if(country == 'Vietnam')
{
    embassyList.push(["283","Vietnam", "Hanoi" ] );
    embassyList.push(["284","Vietnam", "Ho Chi Minh City" ] );
}

if(country == 'VPP Northern Uganda')
{
    embassyList.push(["285","VPP Northern Uganda", "VPP Northern Uganda" ] );
}


if(country == 'Yemen')
{
    embassyList.push(["286","Yemen", "Sana'a" ] );
}
if(country == 'Zambia')
{
    embassyList.push(["287","Zambia", "Lusaka" ] );
}
if(country == 'Zimbabwe')
{
    embassyList.push(["288","Zimbabwe", "Harare" ] );
}
if(country == 'Hong Kong and Macau')
{
    embassyList.push(["289","Hong Kong and Macau", "Hong Kong and Macau" ] );
}
if(country == 'Jerusalem')
{
    embassyList.push(["290","Jerusalem", "Jerusalem" ] );
}
if(country == 'VPP Gaza')
{
    embassyList.push(["291","VPP Gaza", "VPP Gaza" ] );
}


}

//Left Navigation

var selectedNodes = new Array();
function initSelectedNodes(index, nextNode){
    selectedNodes[index] = nextNode;
}
function updateNode(nodeId){
    if(!containsNode(nodeId)){
        var nodeLink = document.getElementById(nodeId);
        nodeLink.href= "javascript:void(0)";
        nodeLink.style.cursor = "text";
        nodeLink.style.color = "#708090";
    }
}
function containsNode(node){
    var isPresent = false;
    for(var i = 0; i < selectedNodes.length; i++){
        if(selectedNodes[i] == node){
            isPresent = true;
            break;
        }
    }
    return isPresent;
}


//function used for specify TextArea MaxLength

function textLimit(field, maxlen) {
if (field.value.length > maxlen)
 field.value = field.value.substring(0, maxlen);
}

