</FORM>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
var illerx = new Array();
illerx[0] = new Array("Iller", "Ilceler");
illerx[1] = new Array("Antalya", "Merkez", "Muratpasa", "Kepez");
illerx[2] = new Array("Ankara", "Ulus", "Kizilay");
illerx[3] = new Array("Istanbul", "Sariyer", "Beyoglu", "Sisli", "Taksim");
for (var j = 0; j < illerx.length; j++)
{
document.forms.otocard.iller.options[j] = new Option(illerx[j][0], j);
}
function getIlceler(selectedIL)
{
var i = 1;
for (i = 1; i < 100; i++)
{
document.forms.otocard.ilceler.options[i] = null;
}
for (i = 1; i < illerx[selectedIL].length; i++)
{
document.forms.otocard.ilceler.options[i] = new Option(illerx[selectedIL][i], i);
}
if (String(selectedIL) == "0")
{
for (i = 0; i < 100; i++)
{
document.forms.otocard.ilceler.options[i] = null;
}
}
}
</SCRIPT>
</BODY>
</HTML>