// JavaScript function, part of HyperLeda
// automatically created during installation or update

// URL of current mirror: http://leda.iucaa.ernet.in/pleinpot/
document.mirror.s.options[0] = null;
document.mirror.s.options[0] = new Option("CRAL Observatoire de Lyon (France)", "0", false, false);
document.mirror.s.options[1] = new Option("OAB Osservatorio di brera, Milano (Italy)", "1", false, false);
document.mirror.s.options[2] = new Option("Astron.Obs - Sofia university (Bulgaria)", "2", false, false);
document.mirror.s.options[3] = new Option("OHP Observatoire de Haute-Provence (France)", "3", false, false);
document.mirror.s.options[4] = new Option("SAO Special Astrophysical Observatory (Russia)", "4", false, false);
document.mirror.s.options[5] = new Option("LAMOST Bejing (China)", "5", false, false);
document.mirror.s.options[6] = new Option("IUCAA Pune (India)", "6", false, false);
document.mirror.s.options[7] = new Option("unregistered mirror", "7", false, false);
document.mirror.s.selectedIndex=7;
function gomirror(){ 
addr = ["http://leda.univ-lyon1.fr/","http://www.brera.mi.astro.it/hypercat/","http://draco.skyarchive.org/~hyperleda/","http://atlas.obs-hp.fr/hyperleda/","http://alcor.sao.ru/hyperleda/","http://leda.lamost.org/","http://leda.iucaa.ernet.in/leda/","./"]

location.href = addr[document.mirror.s.selectedIndex];
}
