点击回首页
我的浏览记录 | | 帮助?
当前位置:

源码截图

源码目录树

当前路径:LetSearch/js/JSWeather.js     // JScript 文件

function aCatalog ( sId ,sProvince, sCity)
{
	this.sId = sId;
	this.sProvince = sProvince;
	this.sCity = sCity;
}

var ArrayCatalog2 = new Array 
(
new aCatalog('37','','河内'),
new aCatalog('43','','亚的斯亚贝巴'),
new aCatalog('76','','文莱'),
new aCatalog('23','亚洲','大马士革'),
new aCatalog('24','亚洲','利雅得'),
new aCatalog('25','亚洲','德黑兰'),new aCatalog('26','亚洲','卡拉奇'),new aCatalog('27','亚洲','新德里'),new aCatalog('28','亚洲','科伦坡'),new aCatalog('29','亚洲','乌兰巴托'),new aCatalog('30','亚洲','首尔'),new aCatalog('31','亚洲','东京'),new aCatalog('32','亚洲','京都'),new aCatalog('33','亚洲','仰光'),new aCatalog('34','亚洲','曼谷'),new aCatalog('35','亚洲','吉隆坡'),new aCatalog('36','亚洲','新加坡'),new aCatalog('77','亚洲','雅加达'),new aCatalog('78','亚洲','马尼拉'),new aCatalog('46','北美洲','多伦多'),new aCatalog('47','北美洲','蒙特利尔'),new aCatalog('48','北美洲','渥太华'),new aCatalog('49','北美洲','温哥华'),new aCatalog('50','北美洲','迈阿密'),new aCatalog('51','北美洲','亚特兰大'),new aCatalog('52','北美洲','休斯顿'),new aCatalog('53','北美洲','洛杉矶'),new aCatalog('54','北美洲','拉斯维加斯'),new aCatalog('55','北美洲','华盛顿'),new aCatalog('56','北美洲','旧金山'),new aCatalog('57','北美洲','纽约'),new aCatalog('58','北美洲','波士顿'),new aCatalog('59','北美洲','芝加哥'),new aCatalog('60','北美洲','西雅图'),new aCatalog('61','北美洲','墨西哥城'),new aCatalog('62','北美洲','哈瓦那'),new aCatalog('69','北美洲','檀香山'),new aCatalog('63','南美洲','加拉加斯'),new aCatalog('64','南美洲','里约热内卢'),new aCatalog('65','南美洲','圣保罗'),new aCatalog('66','南美洲','利马'),new aCatalog('67','南美洲','圣地亚哥'),new aCatalog('68','南美洲','布宜诺斯艾利斯'),new aCatalog('70','大洋洲','奥克兰'),new aCatalog('71','大洋洲','惠灵顿'),new aCatalog('72','大洋洲','布里斯班'),new aCatalog('73','大洋洲','珀斯'),new aCatalog('74','大洋洲','悉尼'),new aCatalog('75','大洋洲','墨尔本'),new aCatalog('1','欧洲','斯德哥尔摩'),new aCatalog('2','欧洲','赫尔辛基'),new aCatalog('3','欧洲','曼彻斯特'),new aCatalog('4','欧洲','伦敦'),new aCatalog('5','欧洲','哥本哈根'),new aCatalog('6','欧洲','阿姆斯特丹'),new aCatalog('7','欧洲','布鲁塞尔'),new aCatalog('8','欧洲','苏黎世'),new aCatalog('9','欧洲','日内瓦'),new aCatalog('10','欧洲','巴黎'),new aCatalog('11','欧洲','马赛'),new aCatalog('12','欧洲','巴塞罗那'),new aCatalog('13','欧洲','马德里'),new aCatalog('14','欧洲','汉堡'),new aCatalog('15','欧洲','柏林'),new aCatalog('16','欧洲','波恩'),new aCatalog('17','欧洲','维也纳'),new aCatalog('18','欧洲','米兰'),new aCatalog('19','欧洲','罗马'),new aCatalog('20','欧洲','雅典'),new aCatalog('21','欧洲','伊斯坦布尔'),new aCatalog('22','欧洲','莫斯科'),new aCatalog('38','非洲','突尼斯'),new aCatalog('39','非洲','达喀尔'),new aCatalog('40','非洲','开罗'),new aCatalog('41','非洲','内罗毕'),new aCatalog('42','非洲','达累斯萨拉姆'),new aCatalog('44','非洲','约翰内斯堡'),new aCatalog('45','非洲','开普敦'),new aCatalog ('0', '0','0') 
);

    var ArrayCatalog1 = new Array (
    new aCatalog('125','北京','000'),
    new aCatalog('125','北京','北京'),

    new aCatalog('201','重庆','000'),
    new aCatalog('201','重庆','奉节'),
    new aCatalog('212','重庆','重庆'),
    new aCatalog('213','重庆','涪陵'),

    
    new aCatalog('252','上海','上海'),
    new aCatalog('252','上海','000'),
    
    new aCatalog('173','云南','000'),
     new aCatalog('173','云南','昭通'),
    
    new aCatalog('174','云南','丽江'),
    
    new aCatalog('175','云南','曲靖'),
    
    new aCatalog('176','云南','保山'),
    
    new aCatalog('177','云南','大理白族自治州'),
    
    new aCatalog('178','云南','楚雄彝族自治州'),
    
    new aCatalog('179','云南','昆明'),
    
    new aCatalog('180','云南','瑞丽'),
    
    new aCatalog('181','云南','玉溪'),
    
    new aCatalog('182','云南','临沧'),
    
    new aCatalog('184','云南','思茅'),
    
    new aCatalog('185','云南','红河哈尼族彝族自治州'),
    
    new aCatalog('369','云南','文山壮族苗族自治州'),
    
    new aCatalog('370','云南','西双版纳傣族自治州'),
    
    new aCatalog('371','云南','德宏傣族景颇族自治州'),
    
    new aCatalog('372','云南','怒江傈傈族自治州'),
    
    new aCatalog('373','云南','迪庆藏族自治州'),
    
    new aCatalog('4','内蒙古','000'),
    new aCatalog('4','内蒙古','呼伦贝尔'),
    
    new aCatalog('7','内蒙古','兴安盟'),
    
    new aCatalog('16','内蒙古','锡林郭勒盟'),
    
    new aCatalog('23','内蒙古','阿拉尔'),
    
    new aCatalog('63','内蒙古','巴彦淖尔盟'),
    
    new aCatalog('64','内蒙古','包头'),
    
    new aCatalog('69','内蒙古','呼和浩特'),
    
    new aCatalog('99','内蒙古','锡林浩特'),
    
    new aCatalog('101','内蒙古','通辽'),
    
    new aCatalog('106','内蒙古','赤峰'),
    
    new aCatalog('382','内蒙古','乌海'),
    
    new aCatalog('383','内蒙古','鄂尔多斯'),
    
    new aCatalog('384','内蒙古','乌兰察布盟'),
    
    
    new aCatalog('280','台湾','000'),
    new aCatalog('280','台湾','台北'),
    
    new aCatalog('30','吉林','000'),
    new aCatalog('30','吉林','铁岭'),
    
    new aCatalog('36','吉林','通化'),
    
    new aCatalog('37','吉林','白城'),
    
    new aCatalog('96','吉林','松原'),
    
    new aCatalog('103','吉林','长春'),
    
    new aCatalog('104','吉林','吉林市'),
    
    new aCatalog('109','吉林','桦甸'),
    
    new aCatalog('110','吉林','延边朝鲜族自治州'),
    
    new aCatalog('118','吉林','集安'),
    
    new aCatalog('119','吉林','白山'),
    
    new aCatalog('385','吉林','四平'),
    
    new aCatalog('162','四川','000'),
     new aCatalog('162','四川','甘孜藏族自治州'),
    
    new aCatalog('163','四川','阿坝藏族羌族自治州'),
    
    new aCatalog('166','四川','成都'),
    
    new aCatalog('167','四川','绵阳'),
    
    new aCatalog('168','四川','雅安'),
    
    new aCatalog('170','四川','峨眉山'),
    
    new aCatalog('171','四川','乐山'),
    
    new aCatalog('172','四川','宜宾'),
    
    new aCatalog('199','四川','巴中'),
    
    new aCatalog('200','四川','达州'),
    
    new aCatalog('204','四川','遂宁'),
    
    new aCatalog('205','四川','南充'),
    
    new aCatalog('216','四川','泸州'),
    
    new aCatalog('359','四川','自贡'),
    
    new aCatalog('360','四川','攀枝花'),
    
    new aCatalog('361','四川','德阳'),
    
    new aCatalog('362','四川','广元'),
    
    new aCatalog('363','四川','内江'),
    
    new aCatalog('364','四川','广安'),
    
    new aCatalog('365','四川','眉山'),
    
    new aCatalog('366','四川','资阳'),
    
    new aCatalog('367','四川','凉山彝族自治州'),
    
    new aCatalog('127','天津','天津'),
     new aCatalog('127','天津','000'),
    
    new aCatalog('132','天津','塘沽区'),
    
    new aCatalog('54','宁夏','000'),
    new aCatalog('54','宁夏','石嘴山'),
    
    new aCatalog('78','宁夏','银川'),
    
    new aCatalog('83','宁夏','吴忠'),
    
    new aCatalog('75','安徽','000'),
    new aCatalog('75','安徽','淮南'),
    
    new aCatalog('76','安徽','马鞍山'),
    
    new aCatalog('77','安徽','淮北'),
    
    new aCatalog('92','安徽','铜陵'),
    
    new aCatalog('95','安徽','滁州'),
    
    new aCatalog('100','安徽','巢湖'),
    
    new aCatalog('102','安徽','池州'),
    
    new aCatalog('105','安徽','宣城'),
    
    new aCatalog('238','安徽','亳州'),
    
    new aCatalog('239','安徽','宿州'),
    
    new aCatalog('241','安徽','阜阳'),
    
    new aCatalog('242','安徽','六安'),
    
    new aCatalog('243','安徽','蚌埠'),
    
    new aCatalog('248','安徽','合肥'),
    
    new aCatalog('249','安徽','芜湖'),
    
    new aCatalog('253','安徽','安庆'),
    
    new aCatalog('254','安徽','黄山'),
    
    new aCatalog('134','山东','000'),
    new aCatalog('134','山东','德州'),
    
    new aCatalog('135','山东','滨州'),
    
    new aCatalog('136','山东','烟台'),
    
    new aCatalog('139','山东','聊城'),
    
    new aCatalog('140','山东','济南'),
    
    new aCatalog('141','山东','泰安'),
    
    new aCatalog('142','山东','淄博'),
    
    new aCatalog('143','山东','潍坊'),
    
    new aCatalog('144','山东','青岛'),
    
    new aCatalog('146','山东','济宁'),
    
    new aCatalog('147','山东','日照'),
    
    new aCatalog('156','山东','泰山'),
    
    new aCatalog('159','山东','枣庄'),
    
    new aCatalog('160','山东','东营'),
    
    new aCatalog('164','山东','威海'),
    
    new aCatalog('165','山东','莱芜'),
    
    new aCatalog('183','山东','临沂'),
    
    new aCatalog('206','山东','菏泽'),
    
    new aCatalog('9','山西','000'),
     new aCatalog('9','山西','长治'),
    
    new aCatalog('22','山西','晋中'),
    
    new aCatalog('70','山西','朔州'),
    
    new aCatalog('72','山西','大同'),
    
    new aCatalog('80','山西','吕梁'),
    
    new aCatalog('81','山西','忻州'),
    
    new aCatalog('84','山西','太原'),
    
    new aCatalog('85','山西','阳泉'),
    
    new aCatalog('88','山西','临汾'),
    
    new aCatalog('93','山西','运城'),
    
    new aCatalog('94','山西','晋城'),
    
    new aCatalog('381','山西','五台山'),
    
    new aCatalog('235','广东','000'),
     new aCatalog('235','广东','南雄'),
    
    new aCatalog('283','广东','韶关'),
    
    new aCatalog('284','广东','清远'),
    
    new aCatalog('285','广东','梅州'),
    
    new aCatalog('291','广东','肇庆'),
    
    new aCatalog('292','广东','广州'),
    
    new aCatalog('293','广东','河源'),
    
    new aCatalog('294','广东','汕头'),
    
    new aCatalog('296','广东','深圳'),
    
    new aCatalog('297','广东','汕尾'),
    
    new aCatalog('300','广东','湛江'),
    
    new aCatalog('301','广东','阳江'),
    
    new aCatalog('302','广东','茂名'),
    
    new aCatalog('322','广东','佛冈'),
    
    new aCatalog('323','广东','梅县'),
    
    new aCatalog('324','广东','电白'),
    
    new aCatalog('325','广东','高要'),
    
    new aCatalog('330','广东','珠海'),
    
    new aCatalog('331','广东','佛山'),
    
    new aCatalog('332','广东','江门'),
    
    new aCatalog('334','广东','东莞'),
    
    new aCatalog('335','广东','中山'),
    
    new aCatalog('336','广东','潮州'),
    
    new aCatalog('337','广东','揭阳'),
    
    new aCatalog('338','广东','云浮'),
    
    new aCatalog('232','广西','000'),
    new aCatalog('232','广西','桂林'),
    
    new aCatalog('281','广西','河池'),
    
    new aCatalog('282','广西','柳州'),
    
    new aCatalog('288','广西','百色'),
    
    new aCatalog('289','广西','贵港'),
    
    new aCatalog('290','广西','梧州'),
    
    new aCatalog('295','广西','南宁'),
    
    new aCatalog('298','广西','钦州'),
    
    new aCatalog('299','广西','北海'),
    
    new aCatalog('339','广西','防城港'),
    
    new aCatalog('340','广西','玉林'),
    
    new aCatalog('341','广西','贺州'),
    
    new aCatalog('342','广西','来宾'),
    
    new aCatalog('343','广西','崇左'),
    
    new aCatalog('19','新疆','000'),
    new aCatalog('19','新疆','昌吉回族自治州'),
    
    new aCatalog('20','新疆','克孜勒苏柯尔克孜自治州'),
    
    new aCatalog('21','新疆','伊犁哈萨克自治州'),
    
    new aCatalog('24','新疆','克拉玛依'),
    
    new aCatalog('27','新疆','博尔塔拉蒙古自治州'),
    
    new aCatalog('28','新疆','乌鲁木齐'),
    
    new aCatalog('31','新疆','吐鲁番'),
    
    new aCatalog('32','新疆','阿克苏'),
    
    new aCatalog('33','新疆','石河子'),
    
    new aCatalog('34','新疆','辽源'),
    
    new aCatalog('35','新疆','喀什'),
    
    new aCatalog('39','新疆','和田'),
    
    new aCatalog('41','新疆','哈密'),
    
    new aCatalog('43','江苏','000'),
    new aCatalog('43','江苏','无锡'),
    
    new aCatalog('44','江苏','苏州'),
    
    new aCatalog('45','江苏','盱眙'),
    
    new aCatalog('46','江苏','赣榆'),
    
    new aCatalog('47','江苏','东台'),
    
    new aCatalog('53','江苏','高邮'),
    
    new aCatalog('59','江苏','镇江'),
    
    new aCatalog('61','江苏','泰州'),
    
    new aCatalog('62','江苏','宿迁'),
    
    new aCatalog('236','江苏','徐州'),
    
    new aCatalog('237','江苏','连云港'),
    
    new aCatalog('240','江苏','淮安'),
    
    new aCatalog('244','江苏','南京'),
    
    new aCatalog('245','江苏','扬州'),
    
    new aCatalog('246','江苏','盐城'),
    
    new aCatalog('247','江苏','南通'),
    
    new aCatalog('250','江苏','常州'),
    
    new aCatalog('137','江西','000'),
    new aCatalog('111','江西','庐山'),
    
    new aCatalog('137','江西','玉山'),
    
    
    new aCatalog('138','江西','贵溪'),
    
    new aCatalog('145','江西','广昌'),
    
    new aCatalog('153','江西','萍乡'),
    
    new aCatalog('154','江西','新余'),
    
    new aCatalog('224','江西','宜春'),
    
    new aCatalog('234','江西','赣州'),
    
    new aCatalog('258','江西','九江'),
    
    new aCatalog('259','江西','景德镇'),
    
    new aCatalog('264','江西','南昌'),
    
    new aCatalog('265','江西','鹰潭'),
    
    new aCatalog('267','江西','上饶'),
    
    new aCatalog('273','江西','抚州'),
    
    new aCatalog('3','河北','000'),
    new aCatalog('3','河北','邯郸'),
    
    new aCatalog('8','河北','衡水'),
    
    new aCatalog('82','河北','石家庄'),
    
    new aCatalog('86','河北','邢台'),
    
    new aCatalog('120','河北','张家口'),
    
    new aCatalog('121','河北','承德'),
    
    new aCatalog('122','河北','秦皇岛'),
    
    new aCatalog('126','河北','廊坊'),
    
    new aCatalog('128','河北','唐山'),
    
    new aCatalog('130','河北','保定'),
    
    new aCatalog('131','河北','沧州'),
    
    new aCatalog('89','河南','000'),
    new aCatalog('89','河南','安阳'),
    
    new aCatalog('188','河南','三门峡'),
    
    new aCatalog('189','河南','郑州'),
    
    new aCatalog('192','河南','南阳'),
    
    new aCatalog('193','河南','周口'),
    
    new aCatalog('197','河南','驻马店'),
    
    new aCatalog('198','河南','信阳'),
    
    new aCatalog('207','河南','开封'),
    
    new aCatalog('228','河南','洛阳'),
    
    new aCatalog('231','河南','平顶山'),
    
    new aCatalog('251','河南','焦作'),
    
    new aCatalog('260','河南','鹤壁'),
    
    new aCatalog('304','河南','新乡'),
    
    new aCatalog('305','河南','濮阳'),
    
    new aCatalog('306','河南','许昌'),
    
    new aCatalog('307','河南','漯河'),
    
    new aCatalog('308','河南','商丘'),
    
    new aCatalog('309','河南','济源'),
    
    new aCatalog('65','浙江','000'),
    new aCatalog('65','浙江','湖州'),
    
    new aCatalog('66','浙江','嵊州'),
    
    new aCatalog('67','浙江','平湖'),
    
    new aCatalog('68','浙江','石浦'),
    
    new aCatalog('71','浙江','宁海'),
    
    new aCatalog('73','浙江','洞头'),
    
    new aCatalog('74','浙江','舟山'),
    
    new aCatalog('255','浙江','杭州'),
    
    new aCatalog('256','浙江','嘉兴'),
    
    new aCatalog('257','浙江','定海'),
    
    new aCatalog('261','浙江','金华'),
    
    new aCatalog('262','浙江','绍兴'),
    
    new aCatalog('263','浙江','宁波'),
    
    new aCatalog('266','浙江','衢州'),
    
    new aCatalog('268','浙江','丽水'),
    
    new aCatalog('269','浙江','台州'),
    
    new aCatalog('272','浙江','温州'),
    
    new aCatalog('303','海南','000'),
    new aCatalog('303','海南','海口'),
    
    new aCatalog('344','海南','三亚'),
    
    new aCatalog('345','海南','屯昌'),
    
    new aCatalog('346','海南','琼海'),
    
    new aCatalog('347','海南','儋州'),
    
    new aCatalog('348','海南','文昌'),
    
    new aCatalog('349','海南','万宁'),
    
    new aCatalog('350','海南','东方'),
    
    new aCatalog('351','海南','澄迈'),
    
    new aCatalog('352','海南','定安'),
    
    new aCatalog('353','海南','临高'),
    
    new aCatalog('354','海南','白沙黎族自治县昌'),
    
    new aCatalog('355','海南','乐东黎族自治县'),
    
    new aCatalog('356','海南','陵水黎族自治县'),
    
    new aCatalog('357','海南','保亭黎族苗族自治县'),
    
    new aCatalog('358','海南','琼中黎族苗族自治县'),
    
    new aCatalog('196','湖北','000'),
    new aCatalog('196','湖北','襄樊'),
    
    new aCatalog('202','湖北','荆门'),
    
    new aCatalog('203','湖北','黄冈'),
    
    new aCatalog('208','湖北','恩施土家族苗族自治州'),
    
    new aCatalog('209','湖北','固原'),
    
    new aCatalog('211','湖北','武汉'),
    
    new aCatalog('310','湖北','黄石'),
    
    new aCatalog('313','湖北','南岳'),
    
    new aCatalog('314','湖北','鄂州'),
    
    new aCatalog('315','湖北','孝感'),
    
    new aCatalog('316','湖北','咸宁'),
    
    new aCatalog('317','湖北','随州'),
    
    new aCatalog('318','湖北','仙桃'),
    
    new aCatalog('319','湖北','天门'),
    
    new aCatalog('320','湖北','潜江'),
    
    new aCatalog('321','湖北','神农架'),
    
    new aCatalog('214','湖南','000'),
    new aCatalog('214','湖南','张家界'),
    
    
    new aCatalog('215','湖南','岳阳'),
    
    new aCatalog('217','湖南','怀化'),
    
    new aCatalog('218','湖南','长沙'),
    
    new aCatalog('222','湖南','邵阳'),
    
    new aCatalog('223','湖南','益阳'),
    
    new aCatalog('233','湖南','郴州'),
    
    new aCatalog('311','湖南','桑植'),
    
    new aCatalog('312','湖南','沅陵'),
    
    new aCatalog('326','湖南','株洲'),
    
    new aCatalog('327','湖南','湘潭'),
    
    new aCatalog('328','湖南','衡阳'),
    
    new aCatalog('329','湖南','娄底'),
    
    new aCatalog('387','湖南','常德'),
    
    new aCatalog('2','澳门','000'),
    new aCatalog('2','澳门','澳门'),
    
    new aCatalog('49','甘肃','000'),
    new aCatalog('49','甘肃','张掖'),
    
    new aCatalog('50','甘肃','金昌'),
    
    new aCatalog('51','甘肃','武威'),
    
    new aCatalog('57','甘肃','兰州'),
    
    new aCatalog('58','甘肃','白银'),
    
    new aCatalog('60','甘肃','定西'),
    
    new aCatalog('90','甘肃','平凉'),
    
    new aCatalog('91','甘肃','庆阳'),
    
    new aCatalog('225','甘肃','甘南'),
    
    new aCatalog('229','甘肃','临夏'),
    
    new aCatalog('377','甘肃','天水'),
    
    new aCatalog('378','甘肃','嘉峪关'),
    
    new aCatalog('379','甘肃','酒泉'),
    
    new aCatalog('380','甘肃','陇南'),
    
    new aCatalog('107','福建','000'),
    new aCatalog('107','福建','莆田'),
    
    new aCatalog('271','福建','浦城'),
    
    new aCatalog('274','福建','南平'),
    
    new aCatalog('275','福建','宁德'),
    
    new aCatalog('276','福建','福州'),
    
    new aCatalog('277','福建','龙岩'),
    
    new aCatalog('278','福建','三明'),
    
    new aCatalog('279','福建','泉州'),
    
    new aCatalog('286','福建','漳州'),
    
    new aCatalog('287','福建','厦门'),
    
    new aCatalog('148','西藏','000'),
    new aCatalog('148','西藏','那曲'),
    
    new aCatalog('149','西藏','日喀则'),
    
    new aCatalog('150','西藏','拉萨'),
    
    new aCatalog('151','西藏','山南'),
    
    new aCatalog('152','西藏','阿里'),
    
    new aCatalog('161','西藏','昌都'),
    
    new aCatalog('169','西藏','林芝'),
    
    new aCatalog('219','贵州','000'),
    new aCatalog('219','贵州','毕节'),
    
    new aCatalog('220','贵州','遵义'),
    
    new aCatalog('221','贵州','铜仁'),
    
    new aCatalog('226','贵州','安顺'),
    
    new aCatalog('227','贵州','贵阳'),
    
    new aCatalog('230','贵州','黔西南布依族苗族自治州'),
    
    new aCatalog('368','贵州','六盘水'),
    
    new aCatalog('25','辽宁','000'),
    new aCatalog('25','辽宁','葫芦岛'),
    
    new aCatalog('26','辽宁','盘锦'),
    
    new aCatalog('29','辽宁','辽阳'),
    
    new aCatalog('108','辽宁','阜新'),
    
    new aCatalog('112','辽宁','朝阳'),
    
    new aCatalog('113','辽宁','锦州'),
    
    new aCatalog('114','辽宁','鞍山'),
    
    new aCatalog('115','辽宁','沈阳'),
    
    new aCatalog('116','辽宁','本溪'),
    
    new aCatalog('117','辽宁','抚顺'),
    
    new aCatalog('123','辽宁','营口'),
    
    new aCatalog('124','辽宁','丹东'),
    
    new aCatalog('129','辽宁','瓦房店'),
    
    new aCatalog('133','辽宁','大连'),
    
    
    
    
    new aCatalog('79','陕西','000'),
    new aCatalog('79','陕西','榆林'),
    
    new aCatalog('87','陕西','延安'),
    
    new aCatalog('186','陕西','西安'),
    
    new aCatalog('187','陕西','渭南'),
    
    new aCatalog('190','陕西','汉中'),
    
    new aCatalog('191','陕西','商洛'),
    
    new aCatalog('194','陕西','安康'),
    
    new aCatalog('374','陕西','铜川'),
    
    new aCatalog('375','陕西','宝鸡'),
    
    new aCatalog('376','陕西','咸阳'),
    
    new aCatalog('48','青海','000'),
    new aCatalog('48','青海','海北藏族自治州'),
    
    new aCatalog('52','青海','奇台'),
    
    new aCatalog('55','青海','海南藏族自治州'),
    
    new aCatalog('56','青海','西宁'),
    
    new aCatalog('155','青海','玉树藏族自治州'),
    
    new aCatalog('157','青海','黄南藏族自治州'),
    
    new aCatalog('158','青海','果洛藏族自治州'),
    
    new aCatalog('195','青海','海西蒙古族藏族自治州'),
    
    new aCatalog('210','青海','海东'),
    
    new aCatalog('1','香港','000'),
    new aCatalog('1','香港','香港'),
    
    new aCatalog('5','黑龙江','000'),
    new aCatalog('5','黑龙江','大兴安岭'),
    
    new aCatalog('6','黑龙江','黑河'),
    
    new aCatalog('10','黑龙江','齐齐哈尔'),
    
    new aCatalog('11','黑龙江','绥化'),
    
    new aCatalog('12','黑龙江','鹤岗'),
    
    new aCatalog('13','黑龙江','佳木斯'),
    
    new aCatalog('14','黑龙江','伊春'),
    
    new aCatalog('15','黑龙江','双鸭山'),
    
    new aCatalog('17','黑龙江','哈尔滨'),
    
    new aCatalog('18','黑龙江','鸡西'),
    
    new aCatalog('38','黑龙江','漠河'),
    
    new aCatalog('40','黑龙江','大庆'),
    
    new aCatalog('42','黑龙江','七台河'),
    
    new aCatalog('97','黑龙江','牡丹江'),
    
    new aCatalog('98','黑龙江','绥芬河'),
    new aCatalog ('0', '0','0')
);

function AddOption (sText,sValue,obSelect2) 
{
	var newItem = document.createElement("OPTION") ;
		
	newItem.text =  sText ;
	newItem.value =  sValue ;
	document.getElementById(obSelect2).options.add(newItem);	
}
function DelOption (obSelect2) 
{
	var iLength = document.getElementById(obSelect2).options.length ;
	for ( var i = iLength - 1 ; i >= 0 ; i -- )
		document.getElementById(obSelect2).options[i]=null ;
}
function InitProvince(ProvinceSelect)
{
   var i;
   DelOption(ProvinceSelect);
   for(i=0;i<ArrayCatalog1.length-1;i++)
   {
      if(ArrayCatalog1[i].sCity=='000')
      {
         AddOption(ArrayCatalog1[i].sProvince,ArrayCatalog1[i].sProvince,ProvinceSelect);
      }
   }
}
function ShowCityFromProvince(ProvinceSelect,CitySelect)
{
  if($(ProvinceSelect).options.length<1)
       InitProvince(ProvinceSelect);     
   var i;
   var s=document.getElementById(ProvinceSelect).value;
   DelOption(CitySelect);
    AddOption("请选择","-1",CitySelect);
   for(i=0;i<ArrayCatalog1.length-1;i++)
   {
      if(ArrayCatalog1[i].sProvince==s&&ArrayCatalog1[i].sCity!='000')
      {
         AddOption(ArrayCatalog1[i].sCity,ArrayCatalog1[i].sId,CitySelect);
      }
   }
  
}
 function GetWeather(CityCode)
  {
    if(CityCode=="-1"||CityCode=='000')
       return false;
     setcookie("LYG_BoBoLog_Weather",CityCode,12);
     ComAjax.GetCurrentWeather(CityCode,Result_GetWeatherByCity);
     document.getElementById ("Weather.ascx_Weather").innerHTML  ="正在读取气象数据......";
     document.getElementById ("Weather.ascx_City").innerHTML   ="..."; 
    document.getElementById ("Weather.ascx_WenDu").innerHTML   ="...";
    document.getElementById ("Weather.ascx_FengLi").innerHTML  ="...";
    document.getElementById ("Weather.ascx_ZiWaiXian").innerHTML  ="...";
    document.getElementById ("Weather.ascx_KongQi").innerHTML  ="..."; 
  }
  function Result_GetWeatherByCity(result)
  {
    if(!result.error)
    {
    document.getElementById ("Weather.ascx_City").innerHTML   =(result.value)[0]; 
    document.getElementById ("Weather.ascx_Weather").innerHTML  =(result.value)[1];
    document.getElementById ("Weather.ascx_WenDu").innerHTML   =(result.value)[2];
    document.getElementById ("Weather.ascx_FengLi").innerHTML  =(result.value)[3];
    document.getElementById ("Weather.ascx_ZiWaiXian").innerHTML  =(result.value)[4];
    document.getElementById ("Weather.ascx_KongQi").innerHTML  =(result.value)[5]; 
    CloseSetCity();
    }
  }

  //显示定制
  function ShowSetCity()
  {
     var o=document.getElementById("Weather.ascx_SetCity");
     if(o.style.display=="none")
         o.style.display="block";
     else
         o.style.display="none";
  }   
  function CloseSetCity()
  {
   document.getElementById("Weather.ascx_SetCity").style.display="none";
  }  
   


 
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途) 企业QQ:4000410510
地址:北京市海淀区中关村鼎好大厦A座二层 邮编:100080
Room A-801,Dinghao Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2015. 京ICP备09089570号 | 京公网安备11010702000869号
在线客服
分享该页面
关闭侧边栏