function ChagePC(id,id2){ $('#'+id).attr('linkobj',id2); $('#'+id).change(function (){ products_catalog_key(id2,$(this).val(),document.getElementById($(this).attr('linkobj'))); }); } function products_catalog_key(id2,num,st) { var ctr=0;st.selectedIndex=0;st.empty; if( id2 == 'pcid'){st.options[0]=new Option("選擇地區","");ctr=ctr+1;} else if( id2 == 'cid'){st.options[0]=new Option("選擇城市","");ctr=ctr+1;} if(num=="1"){st.options[ctr]=new Option("韓國","6");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("南亞","11");ctr=ctr+1;} if(num=="11"){st.options[ctr]=new Option("不丹幸福滿滿的國度","12");ctr=ctr+1;} if(num=="7"){st.options[ctr]=new Option("北海道","8");ctr=ctr+1;} if(num=="1"){st.options[ctr]=new Option("日本","7");ctr=ctr+1;} if(num=="7"){st.options[ctr]=new Option("東京","9");ctr=ctr+1;} if(num=="11"){st.options[ctr]=new Option("孟加拉","16");ctr=ctr+1;} if(num=="16"){st.options[ctr]=new Option("達卡","17");ctr=ctr+1;} if(num=="11"){st.options[ctr]=new Option("印度","18");ctr=ctr+1;} if(num=="18"){st.options[ctr]=new Option("加爾各答","19");ctr=ctr+1;} if(num=="20"){st.options[ctr]=new Option("西藏","21");ctr=ctr+1;} if(num=="20"){st.options[ctr]=new Option("九寨溝","23");ctr=ctr+1;} if(num=="26"){st.options[ctr]=new Option("北海道","27");ctr=ctr+1;} if(num=="26"){st.options[ctr]=new Option("東京","28");ctr=ctr+1;} if(num=="25"){st.options[ctr]=new Option("中國","29");ctr=ctr+1;} if(num=="29"){st.options[ctr]=new Option("成都","31");ctr=ctr+1;} if(num=="14"){st.options[ctr]=new Option("東非五國","36");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("東非五國(肯亞/坦尚尼亞/辛巴威/尚比亞/波茲瓦納)","37");ctr=ctr+1;} if(num=="26"){st.options[ctr]=new Option("四國(廣島/香川/高知/愛媛/松山/德島)","39");ctr=ctr+1;} if(num=="26"){st.options[ctr]=new Option("鐵道旅行","40");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("東北亞","41");ctr=ctr+1;} if(num=="41"){st.options[ctr]=new Option("日本絕景探訪特選","42");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("四國(香川/德島/愛媛/高知)","43");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("四國(道後溫泉/小豆島)","44");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("鐵道旅行","45");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("山陰山陽(廣島/鳥取/岡山/山口/島根)","46");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("山陰山陽(鬼太郎街道/鳥取沙丘)","47");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("港澳大陸","48");ctr=ctr+1;} if(num=="49"){st.options[ctr]=new Option("山西(平遙/喬家大院/懸空寺)","50");ctr=ctr+1;} if(num=="51"){st.options[ctr]=new Option("西藏","52");ctr=ctr+1;} if(num=="51"){st.options[ctr]=new Option("九寨溝","55");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("歐洲","57");ctr=ctr+1;} if(num=="58"){st.options[ctr]=new Option("俄羅斯","59");ctr=ctr+1;} if(num=="60"){st.options[ctr]=new Option("蒙古國","61");ctr=ctr+1;} if(num=="60"){st.options[ctr]=new Option("西伯利亞(西伯利亞大鐵路)","62");ctr=ctr+1;} if(num=="57"){st.options[ctr]=new Option("俄羅斯","67");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("西伯利亞大鐵路","68");ctr=ctr+1;} if(num=="48"){st.options[ctr]=new Option("新疆","73");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("東南亞","74");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("馬來西亞","75");ctr=ctr+1;} if(num=="18"){st.options[ctr]=new Option("新德里","77");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("特殊路線","89");ctr=ctr+1;} if(num=="89"){st.options[ctr]=new Option("北韓(朝鮮)一探真實的旅程","90");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("北海道(富良野薰衣草)","102");ctr=ctr+1;} if(num=="41"){st.options[ctr]=new Option("韓國偶像夢想之地","108");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("大洋洲","110");ctr=ctr+1;} if(num=="11"){st.options[ctr]=new Option("斯里蘭卡、馬爾地夫","116");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("北陸(點燈)","117");ctr=ctr+1;} if(num=="57"){st.options[ctr]=new Option("歐洲跨國旅程","118");ctr=ctr+1;} if(num=="110"){st.options[ctr]=new Option("紐西蘭小小羊兒要回家","120");ctr=ctr+1;} if(num=="73"){st.options[ctr]=new Option("北疆","122");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("立山黑部(雪牆之旅)","123");ctr=ctr+1;} if(num=="48"){st.options[ctr]=new Option("四川","124");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("沖繩","126");ctr=ctr+1;} if(num=="141"){st.options[ctr]=new Option("青島","142");ctr=ctr+1;} if(num=="41"){st.options[ctr]=new Option("日本賞花賞雪賞美景之旅","148");ctr=ctr+1;} if(num=="41"){st.options[ctr]=new Option("日本年度點燈限定","149");ctr=ctr+1;} if(num=="0"){st.options[ctr]=new Option("北美洲","158");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("菲律賓","160");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("泰國","161");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("馬新雙國","162");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("巴里島","163");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("東北(奧入瀨)","164");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("關東(東京.橫濱.箱根.伊豆.靜岡.日光.輕井澤) ","165");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("關西(大阪.京都.神戶.奈良.南紀.三重)","166");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("北關東(新瀉)","167");ctr=ctr+1;} if(num=="48"){st.options[ctr]=new Option("長江三峽","168");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("寮國","174");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("南越","175");ctr=ctr+1;} if(num=="41"){st.options[ctr]=new Option("韓國特色路線遊","178");ctr=ctr+1;} if(num=="178"){st.options[ctr]=new Option("首爾","179");ctr=ctr+1;} if(num=="178"){st.options[ctr]=new Option("釜山","180");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("北越","181");ctr=ctr+1;} if(num=="158"){st.options[ctr]=new Option("加拿大","182");ctr=ctr+1;} if(num=="48"){st.options[ctr]=new Option("雲南","183");ctr=ctr+1;} if(num=="183"){st.options[ctr]=new Option("昆明、大理、麗江","184");ctr=ctr+1;} if(num=="160"){st.options[ctr]=new Option("宿霧","186");ctr=ctr+1;} if(num=="118"){st.options[ctr]=new Option("奧捷","187");ctr=ctr+1;} if(num=="57"){st.options[ctr]=new Option("葡萄牙","188");ctr=ctr+1;} if(num=="74"){st.options[ctr]=new Option("北中南越","189");ctr=ctr+1;} if(num=="178"){st.options[ctr]=new Option("釜濟","190");ctr=ctr+1;} if(num=="75"){st.options[ctr]=new Option("吉隆坡","192");ctr=ctr+1;} if(num=="42"){st.options[ctr]=new Option("九州","193");ctr=ctr+1;} if(num=="124"){st.options[ctr]=new Option("九寨溝","195");ctr=ctr+1;} st.length=ctr;$('#'+st.id).change(); }