aR1 = new Array(24);

aR1[0] = "城市"
aR1[1] = "台北市"
aR1[2] = "基隆市"
aR1[3] = "台北縣"
aR1[4] = "宜蘭縣"
aR1[5] = "新竹市"
aR1[6] = "新竹縣"
aR1[7] = "桃園縣"
aR1[8] = "苗栗縣"
aR1[9] = "台中市"
aR1[10] = "台中縣"
aR1[11] = "彰化縣"
aR1[12] = "南投縣"
aR1[13] = "嘉義市"
aR1[14] = "嘉義縣"
aR1[15] = "雲林縣"
aR1[16] = "台南市"
aR1[17] = "台南縣"
aR1[18] = "高雄市"
aR1[19] = "高雄縣"
aR1[20] = "澎湖縣"
aR1[21] = "屏東縣"
aR1[22] = "台東縣"
aR1[23] = "花蓮縣"

function lrb(){
  for(i=0;i<aR1.length;i++){
    U.gi('selectedCity').options[i] = new Option(aR1[i]);
  }
  U.gi('selectedCity').selectedIndex=0;
}

function _addressCenter() {
	var cityValue = U.gi('selectedCity').value
  	if(cityValue=='台北市') return '302194.222222,2771202' 
	else if(cityValue=='基隆市') return '324557.144,2780637.935' 
	else if(cityValue=='台北縣') return '296868,2767120.333'
	else if(cityValue=='宜蘭縣') return '327162.166 ,2736149.162'
	else if(cityValue=='新竹市') return '247139.2346,2743840.1'
	else if(cityValue=='新竹縣') return '251314.0514,2746616.056'
	else if(cityValue=='桃園縣') return '280383.9442,2765031.679'
	else if(cityValue=='苗栗縣') return '231838.4755,2717582.529'
	else if(cityValue=='台中市') return '218045.7497,2670221.635'
	else if(cityValue=='台中縣') return '221643.6512,2682378.316'
	else if(cityValue=='彰化縣') return '203644.1943,2663446.829'
	else if(cityValue=='南投縣') return '218529.4311,2644256.306'
	else if(cityValue=='嘉義市') return '192960.4093,2597414.405'
	else if(cityValue=='嘉義縣') return '177729.1145,2595299.709'
	else if(cityValue=='雲林縣') return '201686.532 ,2621783.043'
	else if(cityValue=='台南市') return '169258.5924,2544189.943'
	else if(cityValue=='台南縣') return '179982.8352,2578883.626'
	else if(cityValue=='高雄市') return '178091.9473,2504589.021'
	else if(cityValue=='高雄縣') return '182561.8479,2503403.63'
	else if(cityValue=='澎湖縣') return '103651.2477,2608035.713'
	else if(cityValue=='屏東縣') return '197340.2564,2509266.032'
	else if(cityValue=='台東縣') return '265455.1911,2517192.864'
	else if(cityValue=='花蓮縣') return '313060.9097,2654209.611'
	else return ',';
}

