  function changelist(){  
  var val=document.forms["QueryCondition"].f_diqu.options[document.forms["QueryCondition"].f_diqu.selectedIndex].value  
  var obj1=document.forms["QueryCondition"].f_city.options //LIST1(Lower List)  
  var obj2=document.forms["QueryCondition"].hotelname //LIST1(Lower List)  
  obj1.length=0 ;
  obj2.value='';
  	  document.forms["QueryCondition"].hotelname.focus();
  if(val=="nothing"){  
  obj1[obj1.length]=new Option("城市","",true,true)  
  }else  
  if(val=="motherland"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("安徽","anhui")  
  obj1[obj1.length]=new Option("北京","beijing")  
  obj1[obj1.length]=new Option("重慶","chongqing")  
  obj1[obj1.length]=new Option("福建","fujian")  
  obj1[obj1.length]=new Option("甘肅","gansu")  
  obj1[obj1.length]=new Option("廣東","guangdong")  
  obj1[obj1.length]=new Option("廣西","guangxi")  
  obj1[obj1.length]=new Option("貴州","guizhou")  
  obj1[obj1.length]=new Option("海南","hainan")  
  obj1[obj1.length]=new Option("河北","hebei")  
  obj1[obj1.length]=new Option("黑龍江","heilongjiang")  
  obj1[obj1.length]=new Option("河南","henan")  
  obj1[obj1.length]=new Option("湖北","hubei")  
  obj1[obj1.length]=new Option("湖南","hunan")  
  obj1[obj1.length]=new Option("內蒙古","neimenggu")  
  obj1[obj1.length]=new Option("江蘇","jiangsu")  
  obj1[obj1.length]=new Option("江西","jiangxi")  
  obj1[obj1.length]=new Option("吉林","jilin")  
  obj1[obj1.length]=new Option("遼寧","liaoning")  
  obj1[obj1.length]=new Option("寧夏","ningxia")  
  obj1[obj1.length]=new Option("青海","qinghai")  
  obj1[obj1.length]=new Option("陜西","westshanxi")  
  obj1[obj1.length]=new Option("山東","shandong")  
  obj1[obj1.length]=new Option("上海","shanghai")  
  obj1[obj1.length]=new Option("山西","eastshanxi")  
  obj1[obj1.length]=new Option("四川","sichuan")  
  obj1[obj1.length]=new Option("天津","tianjin")  
  obj1[obj1.length]=new Option("西藏","xizang")  
  obj1[obj1.length]=new Option("新疆","xinjiang")  
  obj1[obj1.length]=new Option("云南","yunnan")  
  obj1[obj1.length]=new Option("浙江","zhejiang")  
  }else  
  if(val=="xianggang"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("中西區","zhongxiqu")  
  obj1[obj1.length]=new Option("東區","dongqu")  
  obj1[obj1.length]=new Option("九龍城區","jiulongchengqu")  
  obj1[obj1.length]=new Option("灣仔區","wanzaiqu")  
  obj1[obj1.length]=new Option("油尖旺區","youjianwangqu")  
  obj1[obj1.length]=new Option("離島區","lidaoqu")  
  obj1[obj1.length]=new Option("沙田區","shatianqu")  
  obj1[obj1.length]=new Option("屯門區","tunmenqu")  
  obj1[obj1.length]=new Option("荃灣區","quanwanqu")    
  }else  
  if(val=="aomen"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("澳門","aomentebiexingzhengqu")  
  }else  
  if(val=="taiwan"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("嘉義市","chiayi")    
  obj1[obj1.length]=new Option("花蓮","hualien")    
  obj1[obj1.length]=new Option("高雄","gaoxiong")  
  obj1[obj1.length]=new Option("臺北","taibei")  
  obj1[obj1.length]=new Option("臺中","taizhong")  
  obj1[obj1.length]=new Option("臺南","tainan")    	  
  obj1[obj1.length]=new Option("新竹","hsinchu")  
  obj1[obj1.length]=new Option("宜蘭","i-lan")  
  obj1[obj1.length]=new Option("臺北縣","taibeixian")  
  obj1[obj1.length]=new Option("臺東縣","taitongxian")  
  obj1[obj1.length]=new Option("臺南縣","tainanxian")    	  
  obj1[obj1.length]=new Option("桃園","taoyuan")  
  obj1[obj1.length]=new Option("屏東縣","pingtungxian")  
} 
else  
  if(val=="japan"){  
  obj1[obj1.length]=new Option("全部","",true,true)    	  
  obj1[obj1.length]=new Option("北海道","hokkaido")  
  obj1[obj1.length]=new Option("青森縣","aomori")  
  obj1[obj1.length]=new Option("巖手縣","iwate")  
  obj1[obj1.length]=new Option("宮城縣","miyagi")  
  obj1[obj1.length]=new Option("秋田縣","akita")  
  obj1[obj1.length]=new Option("山形縣","yamagata")  
  obj1[obj1.length]=new Option("福島縣","hukushima")  
  obj1[obj1.length]=new Option("茨城縣","ibaragi")  
  obj1[obj1.length]=new Option("櫪木縣","tochigi")  
  obj1[obj1.length]=new Option("群馬縣","gunma")  
  obj1[obj1.length]=new Option("琦玉縣","saitama")  
  obj1[obj1.length]=new Option("千葉縣","tiba")  
  obj1[obj1.length]=new Option("東京都","tokyo")
  obj1[obj1.length]=new Option("神奈川縣","kanagawa")  
  obj1[obj1.length]=new Option("新瀉縣","niigata")  
  obj1[obj1.length]=new Option("富山縣","toyama")  
  obj1[obj1.length]=new Option("石川縣","ishikawa")  
  obj1[obj1.length]=new Option("福井縣","hukui")  
  obj1[obj1.length]=new Option("山梨縣","yamanasi")  
  obj1[obj1.length]=new Option("長野縣","nagano")  
  obj1[obj1.length]=new Option("岐阜縣","gihu") 
  obj1[obj1.length]=new Option("靜岡縣","shizuoka")  
  obj1[obj1.length]=new Option("愛知縣","aichi") 
  obj1[obj1.length]=new Option("三重縣","mie")  
  obj1[obj1.length]=new Option("滋賀縣","shiga")  
  obj1[obj1.length]=new Option("京都府","kyoto")  
  obj1[obj1.length]=new Option("大阪府","osaka") 
  obj1[obj1.length]=new Option("兵庫縣","hyogo")  
  obj1[obj1.length]=new Option("奈良縣","nara")  
  obj1[obj1.length]=new Option("和歌山縣","wakayama") 
  obj1[obj1.length]=new Option("鳥取縣","tottori")  
  obj1[obj1.length]=new Option("島根縣","simane")
  obj1[obj1.length]=new Option("岡山縣","okayama")  
  obj1[obj1.length]=new Option("廣島縣","hiroshima")
  obj1[obj1.length]=new Option("山口縣","yamaguchi")
  obj1[obj1.length]=new Option("德島縣","tokushima")  
  obj1[obj1.length]=new Option("香川縣","kagawa")  
  obj1[obj1.length]=new Option("愛媛縣","ehime")  
  obj1[obj1.length]=new Option("高知縣","kouchi")  
  obj1[obj1.length]=new Option("福岡縣","hukuoka")  
  obj1[obj1.length]=new Option("佐賀縣","saga")  
  obj1[obj1.length]=new Option("長崎縣","nagasaki")  
  obj1[obj1.length]=new Option("熊本縣","kumamoto")
  obj1[obj1.length]=new Option("大分縣","ooita")  
  obj1[obj1.length]=new Option("宮崎縣","miyazaki")  
  obj1[obj1.length]=new Option("鹿兒島縣","kagoshima")
  obj1[obj1.length]=new Option("沖繩縣","okinawa")  
   	  
} 
 } //  
  function changelist1(s_formname,s_curr){  
  var val=document.forms[s_formname].f_chu.options[document.forms[s_formname].f_chu.selectedIndex].value  
  var obj1=document.forms[s_formname].f_shou.options //LIST1(Lower List)  
  var obj2=document.forms[s_formname].f_Location  
  var obj3=document.forms[s_formname].f_cd  
  obj1.length=0  
  if(val==""){  
  obj1[obj1.length]=new Option("城市","",true,true)  
  }else  
  if(val=="beijing"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("東城區","dongchengqu")  
  obj1[obj1.length]=new Option("西城區","xichengqu")  
  obj1[obj1.length]=new Option("崇文區","chongwenqu")  
  obj1[obj1.length]=new Option("宣武區","xuanwuqu")  
  obj1[obj1.length]=new Option("朝陽區","chaoyangqu")  
  obj1[obj1.length]=new Option("豐臺區","fengtaiqu")  
  obj1[obj1.length]=new Option("海淀區","haidianqu")  
  obj1[obj1.length]=new Option("通州區","tongzhouqu")  
  obj1[obj1.length]=new Option("順義區","shunyiqu")  
  obj1[obj1.length]=new Option("昌平區","changpingqu")  
  obj1[obj1.length]=new Option("大興區","daxingqu")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="shanghai"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("黃浦區","huangpuqu")  
  obj1[obj1.length]=new Option("盧灣區","luwanqu")  
  obj1[obj1.length]=new Option("徐匯區","xuhuiqu")  
  obj1[obj1.length]=new Option("長寧區","changningqu")  
  obj1[obj1.length]=new Option("靜安區","jinganqu")  
  obj1[obj1.length]=new Option("普陀區","putuoqu")  
  obj1[obj1.length]=new Option("閘北區","zhabeiqu")  
  obj1[obj1.length]=new Option("虹口區","hongkouqu")  
  obj1[obj1.length]=new Option("楊浦區","yangpuqu")  
  obj1[obj1.length]=new Option("閔行區","minhangqu")  
 obj1[obj1.length]=new Option("寶山區","baoshanqu")  
  obj1[obj1.length]=new Option("浦東新區","pudongxinqu")  
  obj1[obj1.length]=new Option("金山區","jinshanqu")  
  obj1[obj1.length]=new Option("松江區","songjiangqu")  
  obj1[obj1.length]=new Option("青浦區","qingpuqu")  
  obj1[obj1.length]=new Option("南匯區","nanhuiqu")  
  obj1[obj1.length]=new Option("奉賢區","fengxianqu")  
  obj1[obj1.length]=new Option("嘉定區","jiadingqu")    
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="tianjin"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("和平區","hepingqu")  
  obj1[obj1.length]=new Option("河東區","hedongqu")  
  obj1[obj1.length]=new Option("河西區","hexiqu")  
  obj1[obj1.length]=new Option("河北區","hebeiqu")  
  obj1[obj1.length]=new Option("塘沽區","tangguqu")  
  obj1[obj1.length]=new Option("東麗區","dongliqu")  
  obj1[obj1.length]=new Option("大港區","dagangqu")    	  
  obj1[obj1.length]=new Option("南開區","nankaiqu")    
  obj1[obj1.length]=new Option("北辰區","beichenqu")      	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="hebei"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("石家莊","shijiazhuang")  
  obj1[obj1.length]=new Option("秦皇島","qinhuangdao")  
  obj1[obj1.length]=new Option("廊坊","langfang")  
  obj1[obj1.length]=new Option("保定","baoding")  
  obj1[obj1.length]=new Option("衡水","hengshui")  
  obj1[obj1.length]=new Option("北戴河","beidaihe")  
  obj1[obj1.length]=new Option("任丘","renqiu")  
  obj1[obj1.length]=new Option("唐山","tangshan")  
  obj1[obj1.length]=new Option("邯鄲","handan")    
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="eastshanxi"){  
  obj1[obj1.length]=new Option("全部","",true,true)
  obj1[obj1.length]=new Option("太原","taiyuan")
  obj1[obj1.length]=new Option("大同","datong")
  obj1[obj1.length]=new Option("長治","changzhi")
  obj1[obj1.length]=new Option("晉中","jinzhong")
  obj1[obj1.length]=new Option("晉城","jincheng")
  obj1[obj1.length]=new Option("平遙","pinyao")
  obj1[obj1.length]=new Option("運城","yuncheng")
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="neimenggu"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("呼和浩特","huhehaote")  
  obj1[obj1.length]=new Option("鄂爾多斯","eerduosi")  
  obj1[obj1.length]=new Option("包頭","baotou")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="liaoning"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("沈陽","shenyang")  
  obj1[obj1.length]=new Option("大連","dalian")  
  obj1[obj1.length]=new Option("錦州","jinzhou")  
  obj1[obj1.length]=new Option("興城","xingcheng")  
  obj1[obj1.length]=new Option("丹東","dandong")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="jilin"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("長春","changchun")  
  obj1[obj1.length]=new Option("吉林","jilin")  
  obj1[obj1.length]=new Option("敦化","dunhua")  
  obj1[obj1.length]=new Option("延吉","yanji")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="heilongjiang"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("哈爾濱","haerbin")  
  obj1[obj1.length]=new Option("大慶","daqing")  
  obj1[obj1.length]=new Option("佳木斯","jiamusi")    	  
  obj1[obj1.length]=new Option("牡丹江","mudanjiang")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="jiangsu"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("江都","jiangdu")  
  obj1[obj1.length]=new Option("淮安","huaian")     	  
  obj1[obj1.length]=new Option("周莊","zhouzhuang")  
  obj1[obj1.length]=new Option("昆山","kunshan")  
  obj1[obj1.length]=new Option("常熟","changshu")  
  obj1[obj1.length]=new Option("太倉","taicang")  
  obj1[obj1.length]=new Option("張家港","zhangjiagang")  
  obj1[obj1.length]=new Option("南京","nanjing")  
  obj1[obj1.length]=new Option("連云港","lianyungang")  
  obj1[obj1.length]=new Option("揚州","yangzhou")  
  obj1[obj1.length]=new Option("泰州","taizhou")  
  obj1[obj1.length]=new Option("南通","nantong")  
  obj1[obj1.length]=new Option("鎮江","zhenjiang")  
  obj1[obj1.length]=new Option("常州","changzhou")  
  obj1[obj1.length]=new Option("無錫","wuxi")  
  obj1[obj1.length]=new Option("蘇州","suzhou")  
  obj1[obj1.length]=new Option("江陰","jiangyin")  
  obj1[obj1.length]=new Option("金壇","jintan")  
  obj1[obj1.length]=new Option("溧陽","liyang")  
  obj1[obj1.length]=new Option("徐州","xuzhou")    
  obj1[obj1.length]=new Option("宿遷","suqian")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="zhejiang"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("杭州","hangzhou")  
  obj1[obj1.length]=new Option("舟山","zhoushan")  
  obj1[obj1.length]=new Option("寧波","ningbo")  
  obj1[obj1.length]=new Option("紹興","shaoxing")  
  obj1[obj1.length]=new Option("台州","taizhou")  
  obj1[obj1.length]=new Option("溫州","wenzhou")  
  obj1[obj1.length]=new Option("麗水","lishui")  
  obj1[obj1.length]=new Option("義烏","yiwu")  
  obj1[obj1.length]=new Option("上虞","shangyu")  
  obj1[obj1.length]=new Option("千島湖","qiandaohu")  
  obj1[obj1.length]=new Option("慈溪","cixi")  
  obj1[obj1.length]=new Option("桐廬","tonglu")  
  obj1[obj1.length]=new Option("樂清","yueqing")    
  obj1[obj1.length]=new Option("嘉興","jiaxing")    	  
  obj1[obj1.length]=new Option("奉化","fenghua")    
obj1[obj1.length]=new Option("諸暨","zhuji")      
obj1[obj1.length]=new Option("嘉善","jiashan")     	  	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="anhui"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("黃山","huangshan")  
  obj1[obj1.length]=new Option("合肥","hefei")  
  obj1[obj1.length]=new Option("安慶","anqing")  
  obj1[obj1.length]=new Option("馬鞍山","maanshan")      	  
  obj1[obj1.length]=new Option("蕪湖","wuhui")    
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="fujian"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("福州","fuzhou")  
  obj1[obj1.length]=new Option("泉州","quanzhou")  
  obj1[obj1.length]=new Option("廈門","xiamen")  
  obj1[obj1.length]=new Option("石獅","shishi")  
  obj1[obj1.length]=new Option("晉江","jinjiang")  
  obj1[obj1.length]=new Option("龍巖","longyan")  
  obj1[obj1.length]=new Option("武夷山","wuyishan")    
  obj1[obj1.length]=new Option("漳州","zhangzhou")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="jiangxi"){  
  obj1[obj1.length]=new Option("全部","",true,true)
  obj1[obj1.length]=new Option("南昌","nanchang")  
  obj1[obj1.length]=new Option("廬山","lushan")  
  obj1[obj1.length]=new Option("景德鎮","jingdezhen")  
  obj1[obj1.length]=new Option("九江","jiujiang")  
  obj1[obj1.length]=new Option("上饒","shangrao")    
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="shandong"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("濟南","jinan")  
  obj1[obj1.length]=new Option("淄博","zibo")  
  obj1[obj1.length]=new Option("濰坊","weifang")  
  obj1[obj1.length]=new Option("煙臺","yantai")  
  obj1[obj1.length]=new Option("威海","weihai")  
  obj1[obj1.length]=new Option("青島","qingdao")  
  obj1[obj1.length]=new Option("日照","rizhao")  
  obj1[obj1.length]=new Option("臨沂","linyi")  
  obj1[obj1.length]=new Option("蓬萊","penglai")  
  obj1[obj1.length]=new Option("曲阜","qufu")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="henan"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("鄭州","zhengzhou")  
  obj1[obj1.length]=new Option("洛陽","luoyang")  
  obj1[obj1.length]=new Option("新鄉","xinxiang")  
  obj1[obj1.length]=new Option("安陽","anyang")  
  obj1[obj1.length]=new Option("開封","kaifeng")  
  obj1[obj1.length]=new Option("南陽","nanyang")    
  obj1[obj1.length]=new Option("焦作","jiaozuo")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="hubei"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("武漢","wuhan")  
  obj1[obj1.length]=new Option("襄樊","xiangfan")  
  obj1[obj1.length]=new Option("荊州","jingzhou")    	  
  obj1[obj1.length]=new Option("荊門","jingmen")  
  obj1[obj1.length]=new Option("宜昌","yichang")  
  obj1[obj1.length]=new Option("丹江口","danjiangkou")  
  obj1[obj1.length]=new Option("十堰","shiyan")    
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="hunan"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("長沙","changsha")  
  obj1[obj1.length]=new Option("張家界","zhangjiajie")  
  obj1[obj1.length]=new Option("湘潭","xiangtan")  
  obj1[obj1.length]=new Option("韶山","shaoshan")  
  obj1[obj1.length]=new Option("衡陽","hengyang")    
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="guangdong"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("廣州","guangzhou")  
  obj1[obj1.length]=new Option("清遠","qingyuan")  
  obj1[obj1.length]=new Option("汕頭","shantou")  
  obj1[obj1.length]=new Option("惠州","huizhou")  
  obj1[obj1.length]=new Option("東莞","dongguan")  
  obj1[obj1.length]=new Option("深圳","shenzhen")  
  obj1[obj1.length]=new Option("珠海","zhuhai")  
  obj1[obj1.length]=new Option("中山","zhongshan")  
  obj1[obj1.length]=new Option("江門","jiangmen")  
  obj1[obj1.length]=new Option("佛山","foshan")  
  obj1[obj1.length]=new Option("肇慶","zhaoqing")  
  obj1[obj1.length]=new Option("鶴山","heshan")    
  obj1[obj1.length]=new Option("茂名","maoming")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="guangxi"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("南寧","nanning")  
  obj1[obj1.length]=new Option("桂林","guilin")  
  obj1[obj1.length]=new Option("柳州","liuzhou")  
  obj1[obj1.length]=new Option("北海","beihai")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="hainan"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("海口","haikou")  
  obj1[obj1.length]=new Option("三亞","sanya")  
  obj1[obj1.length]=new Option("文昌","wenchang")  
  obj1[obj1.length]=new Option("瓊海","qionghai")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="chongqing"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("渝中區","yuzhongqu")  
  obj1[obj1.length]=new Option("江北區","jiangbeiqu")  
  obj1[obj1.length]=new Option("沙坪壩區","shapingbaqu")  
  obj1[obj1.length]=new Option("九龍坡區","jiulongpoqu")  
  obj1[obj1.length]=new Option("南岸區","nananqu")  
  obj1[obj1.length]=new Option("渝北區","yubeiqu")  
  obj1[obj1.length]=new Option("北碚區","beibeiqu")    
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="sichuan"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("成都","chengdu")  
  obj1[obj1.length]=new Option("綿陽","mianyang")  
  obj1[obj1.length]=new Option("峨眉山","emeishan")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="guizhou"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("貴陽","guiyang")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="yunnan"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("大理","dali")  
  obj1[obj1.length]=new Option("西雙版納","xishuangbanna")  
  obj1[obj1.length]=new Option("香格里拉","xianggelila")  
  obj1[obj1.length]=new Option("昆明","kunming")  
  obj1[obj1.length]=new Option("麗江","lijiang")  
  obj1[obj1.length]=new Option("迪慶","diqing")    	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="xizang"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("拉薩","lasa")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="westshanxi"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("西安","xian")  
  obj1[obj1.length]=new Option("咸陽","xianyang")      	  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="gansu"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("蘭州","lanzhou")  
  obj1[obj1.length]=new Option("嘉峪關","jiayuguan")  
  obj1[obj1.length]=new Option("酒泉","jiuquan")  
  obj1[obj1.length]=new Option("張掖","zhangye")  
  obj1[obj1.length]=new Option("敦煌","dunhuan")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="qinghai"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("西寧","xining")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="ningxia"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("銀川","yinchuan")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="xinjiang"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("烏魯木齊","wulumuqi")  
  obj1[obj1.length]=new Option("阿克蘇","akesu")  
  obj1[obj1.length]=new Option("伊寧","yining")  
  obj1[obj1.length]=new Option("博樂","bole")
  obj1[obj1.length]=new Option("庫爾勒","kuerle")  
  obj1[obj1.length]=new Option("吐魯番","tulufan")  
 obj2.value="motherland"   
 obj3.value="02"   
  }else  
  if(val=="xianggang"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("中西區","zhongxiqu")  
  obj1[obj1.length]=new Option("東區","dongqu")  
  obj1[obj1.length]=new Option("九龍城區","jiulongchengqu")  
  obj1[obj1.length]=new Option("灣仔區","wanzaiqu")  
  obj1[obj1.length]=new Option("油尖旺區","youjianwangqu")  
  obj1[obj1.length]=new Option("元朗區","yuanlangqu") 
  obj1[obj1.length]=new Option("葵青區","kuiqingqu") 
  obj1[obj1.length]=new Option("離島區","lidaoqu")  
  obj1[obj1.length]=new Option("沙田區","shatianqu")  
  obj1[obj1.length]=new Option("屯門區","tunmenqu")  
  obj1[obj1.length]=new Option("荃灣區","quanwanqu")    
 obj2.value="xianggang"   
 obj3.value="02"   
  }else  
  if(val=="aomen"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("澳門","aomentebiexingzhengqu")  
 obj2.value="aomen"   
 obj3.value="02"   
  }else  
  if(val=="taiwan"){  
  obj1[obj1.length]=new Option("全部","everything",true,true)  
  obj1[obj1.length]=new Option("高雄","kaohsiung")  
  obj1[obj1.length]=new Option("台北","taibei")  
  obj1[obj1.length]=new Option("台中","taizhong")  
  obj1[obj1.length]=new Option("台南","tainan")    	  
  obj1[obj1.length]=new Option("新竹","hsinchu")  
  obj1[obj1.length]=new Option("宜蘭","i-lan")  
  obj1[obj1.length]=new Option("嘉義市","chiayi")    	  
  obj1[obj1.length]=new Option("台北縣","taibeixian")  
  obj1[obj1.length]=new Option("台南縣","tainanxian")  
  obj1[obj1.length]=new Option("台東縣","taitongxian")    	  
  obj1[obj1.length]=new Option("桃園","taoyuan")  
  obj1[obj1.length]=new Option("屏東縣","pingtungxian")  
  obj1[obj1.length]=new Option("花蓮","hualien")  
 obj2.value="taiwan"   
 obj3.value="02"   
}
 if (s_curr=='1'){ 
 //?種的改?
  currentyChangList(obj2.value)
  }
} 
  function changelist2(){  
  var obj1=document.forms["easysearch"].f_cd  	  
  var val=document.forms["easysearch"].f_shou.options[document.forms["easysearch"].f_shou.selectedIndex].value  
  if(val==""||val=="everything"){  
  obj1.value="02"   
  }else {obj1.value="03" } 
 }   
function PopupWindow()
{ 
	var a=window.open ('/info/cp/2005/bg_prize.html', 'newwindow', 'height=250, width=530, top=0, left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no, status=no')
}
function go(){
 var val=document.forms["QueryCondition"].f_diqu.options[document.forms["QueryCondition"].f_diqu.selectedIndex].value  
 var obj1=document.forms["QueryCondition"].f_city.options[document.forms["QueryCondition"].f_city.selectedIndex].value  
 var obj2= document.forms["QueryCondition"].hotelname.value
 var temp=document.forms["QueryCondition"].f_city
 if (obj2=="&" ){
 alert(obj2+"為非法字符,請重新輸入");
document.forms["QueryCondition"].hotelname.focus();
return false;}else{
 if (obj2.length==0 &&val=="nothing"  && obj1==""){//3項內容都沒有選擇,警告輸入!
alert("請輸入賓館名稱或者賓館所在地區!");
document.forms["QueryCondition"].hotelname.focus();
}
 if (obj2.length!=0 ){//輸入了賓館內容,直接按賓館名稱查找
location.href="/portal/bgmy/bg_reserveinfo_03.search_hotel?location="+val+"&city="+obj1+"&query="+obj2+"&maxlen=20";
}

 if (obj2.length==0&&val!="motherland"  &&val!="nothing"  && obj1=="")   {location.href="/group/tiku/#"+val;//選擇了香港,澳門或者臺灣,沒選擇城市
   }else if(obj2.length==0&&val=="motherland"  && obj1=="")   {location.href="/group/tiku";//選擇了大陸,沒選擇城市
  }else if (obj2.length==0&&val=="japan"  && obj1!="") {location.href="/group/tiku/02japan"+obj1+".html";
  } else if (obj2.length==0&&val!="nothing"  &&val!="motherland"  && obj1!="") {location.href="/group/tiku/03china"+val+obj1+".html";// 
    }else if (obj2.length==0&&val=="motherland"  && obj1!="") {location.href="/group/tiku/02china"+obj1+".html";
  }
  }
  }
  
function jp_go(s_formname){
 var obj1=document.forms[s_formname].f_chu.options[document.forms[s_formname].f_chu.selectedIndex].value  
 var obj2= document.forms[s_formname].f_hotelname.value
 if (obj2=="&" ){
 alert(obj2+"為非法字符,請重新輸入");
document.forms[s_formname].f_hotelname.focus();
return false;}else{
 if (obj2.length==0&&obj1==""){//2項內容都沒有選擇,警告輸入!
alert("請輸入酒店名稱或者酒店所在地區縣!");
document.forms[s_formname].f_hotelname.focus();
return false;
}
 if (obj2.length!=0 ){//輸入了賓館內容,直接按賓館名稱查找
location.href="/portal/bgmy/bg_reserveinfo_03.search_hotel?location="+'japan'+"&city="+obj1+"&query="+obj2+"&maxlen=20";
}
 if (obj2.length==0&&obj1!="") {location.href="/group/tiku/02japan"+obj1+".html";
  } 
}
}
  
  
  /*
function redirect(){
 var val=document.forms["haiwai"].f_haiwai.options[document.forms["haiwai"].f_haiwai.selectedIndex].value   
 var val1= val.indexOf("@")    
 if  (val!="" && val!="nothing"  )  {
 if (val1  ==-1) {location.href="http://www.tabimado.net.cn/portal/bgmy/bg_outbound_02.main?f_cd=02&f_dai=japan&f_shou=&f_sai=&f_lang=G&f_location=japan&f_chu="+val;}
 else{location.href="http://www.tabimado.net.cn/portal/bgmy/bg_outbound_02.main?f_cd=02&f_dai=japan&f_shou="+val.substr(val1+1)+"&f_sai=&f_lang=G&f_location=japan&f_chu="+val.substr(0,val1);}
 }
 else if (val==""){location.href="http://www.tabimado.net.cn/rsv-out/";
  }
  }
  */
  
  function searchsubmit1(easysearch)
{if (document.forms[easysearch].f_chu.value=="")
{alert("請選擇入住地區!");
return false;}


return true;} 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
	function choose_lan(){
 var val=document.forms["language"].f_language.options[document.forms["language"].f_language.selectedIndex].value 
 if  (val!="" && val!="nothing"  )  {
 if (val == "en") {window.open("http://en.tabimado.net");}
 else if (val == "gb") {window.open("http://www.tabimado.net.cn");}
 else if (val == "jp") {window.open("http://www.tabimado.net.cn/jp");}
 else if (val == "kr") {window.open("http://kr.mytrip.net/");}
 }
 else {
  }
  }
  function changelist3(s_formname){  
  var obj1=document.forms[s_formname].f_cd  
  var obj2=document.forms[s_formname].f_hotelname  	  
  var val1=document.forms[s_formname].f_Location.value  
  var val=document.forms[s_formname].f_chu.options[document.forms[s_formname].f_chu.selectedIndex].value  
  if(val==""||val=="everything"||val1=="japan"  ){  
  obj1.value="02" 
  }else {obj1.value="03" } 
    if(val!=""||val!="everything")
  { obj2.value=''}
 }  
  function changelist4(s_formname){  
 var val=document.forms[s_formname].f_area.options[document.forms[s_formname].f_area.selectedIndex].value      
  var obj1=document.forms[s_formname].f_chu.options //LIST1(Lower List)  
  var obj2=document.forms[s_formname].f_Location
  var obj3=document.forms[s_formname].f_cd
  var obj4=document.forms[s_formname].f_hotelname
  obj1.length=0  
  if(val==""){  
  obj1[obj1.length]=new Option("","",true,true)  
  }else  
  if(val=="beihaidao"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("北海道","hokkaido")  
 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="dongbei"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("青森縣","aomori")  
  obj1[obj1.length]=new Option("巖手縣","iwate")  
  obj1[obj1.length]=new Option("宮城縣","miyagi")  
  obj1[obj1.length]=new Option("秋田縣","akita")  
  obj1[obj1.length]=new Option("山形縣","yamagata")  
  obj1[obj1.length]=new Option("福島縣","hukushima")  
 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="guandong"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("茨城縣","ibaragi")  
  obj1[obj1.length]=new Option("櫪木縣","tochigi")  
  obj1[obj1.length]=new Option("群馬縣","gunma")  
  obj1[obj1.length]=new Option("琦玉縣","saitama")  
  obj1[obj1.length]=new Option("千葉縣","tiba")  
  obj1[obj1.length]=new Option("東京都","tokyo")
  obj1[obj1.length]=new Option("神奈川縣","kanagawa")  

 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="zhongbu"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("新瀉縣","niigata")  
  obj1[obj1.length]=new Option("富山縣","toyama")  
  obj1[obj1.length]=new Option("石川縣","ishikawa")  
  obj1[obj1.length]=new Option("福井縣","hukui")  
  obj1[obj1.length]=new Option("山梨縣","yamanasi")  
  obj1[obj1.length]=new Option("長野縣","nagano")  
  obj1[obj1.length]=new Option("岐阜縣","gihu") 
  obj1[obj1.length]=new Option("靜岡縣","shizuoka")  
  obj1[obj1.length]=new Option("愛知縣","aichi") 
 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="jinji"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("三重縣","mie")  
  obj1[obj1.length]=new Option("滋賀縣","shiga")  
  obj1[obj1.length]=new Option("京都府","kyoto")  
  obj1[obj1.length]=new Option("大阪府","osaka") 
  obj1[obj1.length]=new Option("兵庫縣","hyogo")  
  obj1[obj1.length]=new Option("奈良縣","nara")  
  obj1[obj1.length]=new Option("和歌山縣","wakayama") 
 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="zhongguo"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("鳥取縣","tottori")  
  obj1[obj1.length]=new Option("島根縣","simane")
  obj1[obj1.length]=new Option("岡山縣","okayama")  
  obj1[obj1.length]=new Option("廣島縣","hiroshima")
  obj1[obj1.length]=new Option("山口縣","yamaguchi")
 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="siguo"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("德島縣","tokushima")  
  obj1[obj1.length]=new Option("香川縣","kagawa")  
  obj1[obj1.length]=new Option("愛媛縣","ehime")  
  obj1[obj1.length]=new Option("高知縣","kouchi")  
 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="jiuzhou"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("福岡縣","hukuoka")  
  obj1[obj1.length]=new Option("佐賀縣","saga")  
  obj1[obj1.length]=new Option("長崎縣","nagasaki")  
  obj1[obj1.length]=new Option("熊本縣","kumamoto")
  obj1[obj1.length]=new Option("大分縣","ooita")  
  obj1[obj1.length]=new Option("宮崎縣","miyazaki")  
  obj1[obj1.length]=new Option("鹿兒島縣","kagoshima")
 obj2.value="japan"   
 obj3.value="02"   
  }else  
  if(val=="chongsheng"){  
  obj1[obj1.length]=new Option("全部","",true,true)  
  obj1[obj1.length]=new Option("沖繩縣","okinawa")  
 obj2.value="japan"   
 obj3.value="02"   
 }
  obj4.value=""   
 }
  function searchsubmit2()
{if (document.forms["easysearch1"].f_chu.value=="")
{alert("請選擇入住地區縣!");
return false;}
return true;} 
/*
changelist5 delete by tang miya 2007/04/18 
*/

//==================================
//滲杅佽隴ㄩ啟笱腔蜊曹
//統杅佽隴ㄩ
//   area:⑹郖﹛ㄛobj1ㄩ狟嶺遺1﹛ㄛobj2ㄩ狟嶺遺2
//==================================
  function currentyChangList(area){ 
  var obj1=document.forms["easysearch"].f_LowerLimit.options; //LIST1(Lower List)  
  var obj2=document.forms["easysearch"].f_UpperLimit.options; //LIST2(Upper List) 
   
  obj1.length=0; //LIST1(Lower List)
  obj2.length=0; //LIST2(Upper List)  
   
    if (area!=''){

       if(area=='motherland'){ 
          obj1[obj1.length]=new Option("無下限","0",true,true)  
          obj1[obj1.length]=new Option("200RMB","200")  
          obj1[obj1.length]=new Option("300RMB","300")  
          obj1[obj1.length]=new Option("400RMB","400")  
          obj1[obj1.length]=new Option("500RMB","500")  
          obj1[obj1.length]=new Option("600RMB","600")  
          obj1[obj1.length]=new Option("700RMB","700")  
          obj1[obj1.length]=new Option("800RMB","800")  
          obj1[obj1.length]=new Option("900RMB","900")  
          obj1[obj1.length]=new Option("1000RMB","1000")  
          obj1[obj1.length]=new Option("2000RMB","2000")  
          obj2[obj2.length]=new Option("200RMB","200")  
         obj2[obj2.length]=new Option("300RMB","300")  
          obj2[obj2.length]=new Option("400RMB","400")  
         obj2[obj2.length]=new Option("500RMB","500")  
         obj2[obj2.length]=new Option("600RMB","600")  
         obj2[obj2.length]=new Option("700RMB","700")  
          obj2[obj2.length]=new Option("800RMB","800")  
          obj2[obj2.length]=new Option("900RMB","900")  
          obj2[obj2.length]=new Option("1000RMB","1000")  
          obj2[obj2.length]=new Option("2000RMB","2000")  
          obj2[obj2.length]=new Option("無上限","99999",true,true)  
       }else if(area=='xianggang' || area=='aomen'){ 
          obj1[obj1.length]=new Option("無下限","0",true,true)  
          obj1[obj1.length]=new Option("300HKD","300")  
          obj1[obj1.length]=new Option("400HKD","400")  
          obj1[obj1.length]=new Option("500HKD","500")  
          obj1[obj1.length]=new Option("600HKD","600")  
          obj1[obj1.length]=new Option("700HKD","700")  
          obj1[obj1.length]=new Option("800HKD","800")  
          obj1[obj1.length]=new Option("900HKD","900")  
          obj1[obj1.length]=new Option("1000HKD","1000")  
          obj1[obj1.length]=new Option("2000HKD","2000")  
          obj2[obj2.length]=new Option("300HKD","300")  
          obj2[obj2.length]=new Option("400HKD","400")  
          obj2[obj2.length]=new Option("500HKD","500")  
          obj2[obj2.length]=new Option("600HKD","600")  
          obj2[obj2.length]=new Option("700HKD","700")  
          obj2[obj2.length]=new Option("800HKD","800")  
          obj2[obj2.length]=new Option("900HKD","900")  
          obj2[obj2.length]=new Option("1000HKD","1000")  
          obj2[obj2.length]=new Option("2000HKD","2000")  
          obj2[obj2.length]=new Option("無上限","99999",true,true)  
       }else if(area=='taiwan'){ 
          obj1[obj1.length]=new Option("無下限","0",true,true)  
          obj1[obj1.length]=new Option("600NTD","600")  
          obj1[obj1.length]=new Option("1200NTD","1200")  
          obj1[obj1.length]=new Option("1600NTD","1600")  
          obj1[obj1.length]=new Option("2000NTD","2000")  
          obj1[obj1.length]=new Option("2400NTD","2400")  
          obj1[obj1.length]=new Option("2800NTD","2800")  
          obj1[obj1.length]=new Option("3200NTD","3200")  
          obj1[obj1.length]=new Option("4000NTD","4000")  
          obj1[obj1.length]=new Option("8000NTD","8000")  
          obj2[obj2.length]=new Option("600NTD","600")  
          obj2[obj2.length]=new Option("1200NTD","1200")  
          obj2[obj2.length]=new Option("1600NTD","1600")  
          obj2[obj2.length]=new Option("2000NTD","2000")  
          obj2[obj2.length]=new Option("2400NTD","2400")  
          obj2[obj2.length]=new Option("2800NTD","2800")  
          obj2[obj2.length]=new Option("3200NTD","3200")  
          obj2[obj2.length]=new Option("4000NTD","4000")  
          obj2[obj2.length]=new Option("8000NTD","8000")  
          obj2[obj2.length]=new Option("無上限","99999",true,true)  
       }else  {  
         //abroad  
         obj1[obj1.length]=new Option("無下限","0")  
         obj2[obj2.length]=new Option("無上限","99999")  
      }  
    }
}
//==================================
//函數說明：價格上下限變動
//參數說明：
//   obj1：下拉框1　，obj2：下拉框2
//==================================
function funLowerLimitChang(objList1,objList2){
   var i; 
   var len=objList1.options.length;
   //清空下拉框
   objList2.length = 0;
    for(i=0;len>0&&i<len;i++){
       if (i>objList1.selectedIndex){   
         objList2.options[objList2.length] = new Option(objList1.options[i].text,objList1.options[i].value);
       } 
    }
    //添加最后項
	objList2.options[objList2.length] = new Option("無上限","99999");
	//定位到最后項
    objList2.selectedIndex=objList2.length-1;
}

//	直轄市;
function go_city(f_formname){
 var val=document.forms[f_formname].location.value
	  var val2=document.forms[f_formname].city.value
 var obj2= document.forms[f_formname].hotelname.value;	 
	 if (obj2=="&" ){
	 alert(obj2+"為非法字符,請重新輸入");
	document.forms[f_formname].hotelname.focus();
	return false;}else{
	//	alert(obj2.length);
		 if (obj2.length==0){//內容都沒有輸入,提示輸入!
		alert("請輸入賓館名稱!");
		document.forms[f_formname].hotelname.focus();
		return false;}
		else {
			location.href="/portal/bgmy/bg_reserveinfo_03.search_hotel?location="+val+"&city="+val2+"&query="+obj2+"&maxlen=20";	}		
	}

}
//	港澳臺地區;
function go_gat(f_formname){
 var val=document.forms[f_formname].location.value
 var obj2= document.forms[f_formname].hotelname.value;	 
	 if (obj2=="&" ){
	 alert(obj2+"為非法字符,請重新輸入");
	document.forms[f_formname].hotelname.focus();
	return false;}else{
	//	alert(obj2.length);
		 if (obj2.length==0){//內容都沒有輸入,提示輸入!
		alert("請輸入賓館名稱!");
		document.forms[f_formname].hotelname.focus();
		return false;}
		else {
			location.href="/portal/bgmy/bg_reserveinfo_03.search_hotel?location="+val+"&query="+obj2+"&maxlen=20";	}		
	}

}
//	省會城市;
function go_zxs(f_formname){
 var val=document.forms[f_formname].location.value
 var obj2= document.forms[f_formname].hotelname.value;	 
	 if (obj2=="&" ){
	 alert(obj2+"為非法字符,請重新輸入");
	document.forms[f_formname].hotelname.focus();
	return false;}else{
	//	alert(obj2.length);
		 if (obj2.length==0){//內容都沒有輸入,提示輸入!
		alert("請輸入賓館名稱!");
		document.forms[f_formname].hotelname.focus();
		return false;}
		else {
			location.href="/portal/nhmy/bg_reserveinfo_03.search_hotel?location="+val+"&query="+obj2+"&maxlen=20";	}		
	}

}
//	省會城市;
function go_zxs(f_formname){
 var val=document.forms[f_formname].location.value
 var obj2= document.forms[f_formname].hotelname.value;	 
	 if (obj2=="&" ){
	 alert(obj2+"為非法字符,請重新輸入");
	document.forms[f_formname].hotelname.focus();
	return false;}else{
	//	alert(obj2.length);
		 if (obj2.length==0){//內容都沒有輸入,提示輸入!
		alert("請輸入賓館名稱!");
		document.forms[f_formname].hotelname.focus();
		return false;}
		else {
			location.href="/portal/nhmy/bg_reserveinfo_03.search_hotel?location="+val+"&query="+obj2+"&maxlen=20";	}		
	}

}

function go_bg(f_formname){
 var val=document.forms[f_formname].location.value

 var obj2= document.forms[f_formname].hotelname.value;	 
	 if (obj2=="&" ){
	 alert(obj2+"為非法字符,請重新輸入");
	document.forms[f_formname].hotelname.focus();
	return false;}else{
	//	alert(obj2.length);
		 if (obj2.length==0){//內容都沒有輸入,提示輸入!
		alert("請輸入賓館名稱!");
		document.forms[f_formname].hotelname.focus();
		return false;}
		else {
			location.href="/portal/bgmy/bg_reserveinfo_031.search_hotel?location="+val+"&query="+obj2+"&maxlen=20";	}		
	}

}