function gotolocation()
{
  var list = document.frmdist.dist;
  location = list.options[list.selectedIndex].value;
}

function seldist()
{
  document.write("<table border=0 cellspacing=0 cellpadding=0>")
  document.write("<tr>")
  document.write("<form method=post action='' name='frmdist'>")
  document.write("<td align=center height=32 id='fhead'>")
  document.write("<b id=fhead>Other Districts : </b>")
  document.write("<select name='dist' size='1' onChange='javascript: gotolocation()'>")
  document.write("<option selected value=''>- Select a District -</option>")
  document.write("<option value='index.html'>Adilabad</option>")
  document.write("<option value='anant.html'>Anantapur</option>")
  document.write("<option value='cudd.html'>Cuddappah</option>")
  //document.write("<option value='gun.html'>Guntur</option>")
  document.write("<option value='karim.html'>Karimnagar</option>")  
  document.write("<option value='kham.html'>Khammam</option>")
  document.write("<option value='kur.html'>Kurnool</option>")
  document.write("<option value='mahab.html'>Mahaboobnagar</option>")
  document.write("<option value='medak.html'>Medak</option>")
  document.write("<option value='nalg.html'>Nalgonda</option>")
  document.write("<option value='nell.html'>Nellore</option>")
  document.write("<option value='niz.html'>Nizamabad</option>")
  document.write("<option value='prak.html'>Prakasam</option>")
  document.write("</select>")
  document.write("</td>")
  document.write("</form>")
  document.write("</tr>")
  document.write("</table>")
}