//縣市選單開始
    var area = new Array();          // 分區
    area[0] = '北區';
    area[1] = '中區';
	area[2] = '南區';
	area[3] = '東區';
	area[4] = '離島';
 
    var county = new Array();
    county[0] = new Array();    // 北區
    county[0][0] = '基隆';
    county[0][1] = '台北';
    county[0][2] = '桃園';
    county[0][3] = '新竹';
	county[0][4] = '宜蘭';
	
	
	
    county[1] = new Array();    // 中區
	county[1][0] = '苗栗';
    county[1][1] = '台中';
    county[1][2] = '彰化';
    county[1][3] = '南投';
    county[1][4] = '雲林';
	
	

    county[2] = new Array();    // 南區
	county[2][0] = '嘉義';
    county[2][1] = '台南';
    county[2][2] = '高雄';
    county[2][3] = '屏東';
	

    county[3] = new Array();    // 東區
    county[3][0] = '花蓮';
    county[3][1] = '台東';   
	

    county[4] = new Array();    // 離島
    county[4][0] = '澎湖';
    county[4][1] = '金門';
    county[4][2] = '連江';
   

    // 載入 master 選單，同時初始化 detail 選單內容
    function loadMaster( master, detail ) {
 
      master.options.length = area.length;
      for( i = 0; i < area.length; i++ ) {
        master.options[ i ] = new Option( area[i], area[i] );  // Option( text , value );
      }
 
      master.selectedIndex = 0;
      doNewMaster( master, detail );
    }
 
    // 當 master 選單異動時，變更 detail 選單內容
    function doNewMaster( master, detail ) {
    
      detail.options.length = county[ master.selectedIndex ].length;
      for( i = 0; i < county[ master.selectedIndex ].length; i++ ) {
        detail.options[ i ] = new Option( county[ master.selectedIndex ][ i ],
                                          county[ master.selectedIndex ][ i ] );
      }
    }
//縣市選單開始結束
//搜尋跳頁選單開始
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_jumpMenuGo(selName,targ,restore){ //v3.0
  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}
//搜尋跳頁選單結束
