function inputDistrict(ob1,ob2,ob3) {
document.getElementById(ob1).value=ob3.options[document.getElementById(ob2).value].text.substr(1)
document.getElementById(ob1).focus();
}
function addOption(objSelectNow,txt,val)
{
var objOption = document.createElement("OPTION");
objOption.text= txt;
objOption.value=val;
objSelectNow.options.add(objOption);
}
function addOptionGroup(selectId,optGroupString)
{
var optGroup = optGroupString.split("||");
var objSelect = document.getElementsByTagName("SELECT");
var objSelectNow = objSelect[selectId];
objSelectNow.length = 1;
for (i=1; i<optGroup.length; i++)
{
addOption(objSelectNow, optGroup[i], i);
}
}