﻿// JScript 文件
var com;
if(!com)
{
   com=new Object();
}

if(!com.worldltr)
{
  com.worldltr=new Object();
}

com.worldltr.ProductSearch=function()
{
}

com.worldltr.ProductTypeArray=new Array();
com.worldltr.ProductTypeArray=
[
[86,85,' 箱包\手袋\皮具 (成品)'], [146,86,'皮带/腰带'],[548,86,'双肩背包 '],[549,86,'单肩背包'],[550,86,'斜挎包'],[551,86,'手挎包'],[552,86,'拎包'],[553,86,' 手拿包'],[554,86,'腰包'],[555,86,'钱包'],[556,86,'电脑包'],[557,86,'化妆包'], [558,86,'运动旅行包'],[561,86,'CD包、卡片包、笔记本套等小件包/套'],[562,86,'拉杆箱包'],[563,86,' 无拉杆箱'],[564,86,'购物/无纺布袋'],[565,86,'其他包/套'],[685,86,'礼盒套装'],[87,85,' 箱包\手袋\皮具 (面料)'],[605,87,'牛皮'],[606,87,'羊皮'],[607,87,'猪皮'],[608,87,'马皮 '],[609,87,'其他动物皮'],[610,87,'合成真皮革'],[611,87,'PU人造革'],[612,87,'PVC人造革'], [613,87,'其他人造革'],[614,87,'牛津布'],[615,87,'棉类'],[616,87,'麻类'],[617,87,'混纺类 '],[618,87,'毛绒'],[619,87,'丝绸'],[620,87,'针织'],[621,87,'无纺布'],[622,87,'化纤 '],[623,87,'纸质'],[624,87,'塑料'],[625,87,'其他'],[88,85,' 箱包\手袋\皮具 (辅料)'],[634,88,'里料'],[635,88,' 拉链'],[636,88,'线/带/绳/穗'],[637,88,'花边'],[638,88,'洗涤标/商标'],[639,88,'吊牌/吊粒 '],[640,88,'包装用品'],[641,88,'化工助剂'],[642,88,'劳保用品'],[643,88,'填充撑物'], [672,88,'货架'],[673,88,'其他'],[89,85,' 箱包\手袋\皮具 (加工机械)'],[649,89,'成品制作设备'],[650,89,'皮革加工设备'],[651,89,'纺织生产设备'],[652,89,'五金加工设备'],[653,89,'印刷包装设备'],[654,89,'化工合成设备'], [397,89,'其他'],[273,85,' 箱包\手袋\皮具(五金配件)'],[328,273,'鸡眼'],[655,273,'拉链头'],[656,273,'其它扣类'],[657,273,'钮类'], [659,273,'装饰类'],[660,273,'拉杆/提手'],[661,273,'锁类'],[662,273,'轮脚类'], [688,273,'压铸针扣'],[689,273,'压铸圆圈'],[690,273,'压铸方扣'],[691,273,'压铸日字扣'],[692,273,'压铸工字扣'],[693,273,'压铸弹簧扣(狗扣)'],[694,273,'压铸D扣'],[695,273,'撞钉'],[696,273,'蘑菇钉'],[386,273,'其他'],[403,85,' 其它综合类']
]

com.worldltr.ProductAttributeArray=
[
[535,534,'箱包/手袋/皮具（成品）'],[540,535,'男女款'],[567,540,'女款'], [568,540,'男款'],[566,540,'通用'],[541,535,'主要材质'],[569,541,'牛皮'],[570,541,'羊皮'],[571,541,' 猪皮'],[572,541,'马皮'],[573,541,'其他动物皮'],[574,541,'合成真皮革'],[575,541,'PU人造革 '],[576,541,'PVC人造革'],[577,541,'其他人造革'],[578,541,'牛津布'],[579,541,'棉类'], [580,541,'麻类'],[581,541,'混纺类'],[582,541,'毛绒'],[583,541,'丝绸'],[584,541,'针织'],[585,541,'无纺布'],[586,541,'化纤'],[587,541,'纸质'],[588,541,'塑料'], [589,541,'其他'],[542,535,'风格'],[590,542,'日韩一族'],[591,542,'甜美淑女'], [592,542,'运动休闲'],[593,542,'职业正式'],[594,542,'刺绣卡通'],[595,542,'隆重精致'], [596,542,'其他'],[543,535,'批发价范围'],[597,543,'0-50'],[598,543,'50-100'], [599,543,'100-150'],[600,543,'150-200'],[601,543,'200-300'], [602,543,'300-400'],[603,543,'400-500'],[604,543,'500以上'],[536,534,'箱包/手袋/皮具（面料）'],[544,536,'工序'],[626,544,'成品面料'],[627,544,'半成品革'],[545,536,'批发价范围'],[628,545,'0-100'],[629,545,'100-300'],[630,545,'300-500'], [631,545,'500-800'],[632,545,'800-1000'],[633,545,'1000以上'],[537,534,'箱包 /手袋/皮具（辅料）'],[546,537,'里料'],[644,546,'涤纶'],[645,546,'氨纶'],[646,546,'尼龙 '],[647,546,'棉布'],[648,546,'其他'],[538,534,'箱包/手袋/皮具（五金配件）'],[547,538,'材质 '],[664,547,'钢'],[665,547,'铁'],[666,547,'铜'],[667,547,'锌合金'],[668,547,'铝合金'],[669,547,'橡胶'],[670,547,'塑料'],[671,547,'尼龙'],[674,547,'宝石类'], [675,547,'其他'],[539,534,'箱包/手袋/皮具（加工机械）'],[676,534,'发布时间'],[678,676,'当天 '],[679,676,'三天'],[680,676,'一周'],[681,676,'半个月内'],[682,676,'一个月内'], [677,534,'会员类型'],[683,677,'世贸通会员'],[684,677,'世贸通试用会员']
];

com.worldltr.ProductAreaArray=
[
[2,1,'北京市 '],[3,2,'北京市 '],[4,2,'平谷县 '],[5,2,'怀柔县 '],[6,2,'延庆县 '],[7,2,'门头沟区 '],[8,2,'燕山区 '],[9,2,'通县 '],[10,2,'顺义县 '],[11,2,'密云县 '],[12,2,'昌平县 '],[13,2,'房山区 '],[14,2,'大兴县 '],[15,1,'上海市 '],[16,15,'上海市 '],[17,15,'上海县 '],[18,15,'南汇县 '],[19,15,'金山县 '],[20,15,'青浦县 '],[21,15,'宝山县 '],[22,15,'近郊区 '],[23,15,'川沙县 '],[24,15,'奉贤县 '],[25,15,'松江县 '],[26,15,'嘉定县 '],[27,15,'崇明县 '],[28,1,'天津市 '],[29,28,'天津市 '],[30,28,'塘沽 '],[31,28,'汉沽 '],[32,28,'宁河县 '],[33,28,'宝坻县 '],[34,28,'大港区 '],[35,28,'静海县 '],[36,28,'武清县 '],[37,1,'内蒙古 '],[38,37,'呼和浩特市 '],[39,37,'集宁市 '],[40,37,'二连浩特市 '],[41,37,'包头市 '],[42,37,'临河市 '],[43,37,'乌海市 '],[44,37,'东胜市 '],[45,37,'海拉尔市 '],[46,37,'满洲里市 '],[47,37,'牙克石市 '],[48,37,'赤峰市 '],[49,37,'锡林浩特市 '],[50,37,'乌兰浩特市 '],[51,37,' 通辽市 '],[52,37,'霍林郭勒市 '],[53,37,'扎兰屯市 '],[54,1,'山西省 '],[55,54,'太原市 '],[56,54,'榆次市 '],[57,54,'忻州市 '],[58,54,'大同市 '],[59,54,'临汾市 '],[60,54,'侯马市 '],[61,54,'运城市 '],[62,54,'阳泉市 '],[63,54,'长治市 '],[64,54,'晋城市 '],[65,1,'河北省 '],[66,65,'石家庄市 '],[67,65,'南宫市 '],[68,65,'辛集市 '],[69,65,'衡水市 '],[70,65,'邢台市 '],[71,65,'沙河市 '],[72,65,'邯郸市 '],[73,65,'沧州市 '],[74,65,'泊头市 '],[75,65,'任丘市 '],[76,65,'唐山市 '],[77,65,'秦皇岛市 '],[78,65,'北戴河 '],[79,65,'承德市 '],[80,65,'保定市 '],[81,65,'涿州市 '],[82,65,'定州市 '],[83,65,'张家口市 '],[84,65,'廊坊市 '],[85,1,'辽宁省 '],[86,85,'沈阳市 '],[87,85,'辽阳市 '],[88,85,'铁岭市 '],[89,85,'铁法市 '],[90,85,'抚顺市 '],[91,85,'鞍山市 '],[92,85,'海城市 '],[93,85,'营口市 '],[94,85,'大连市 '],[95,85,'瓦房店市 '],[96,85,'本溪市 '],[97,85,'丹东市 '],[98,85,'锦州市 '],[99,85,'锦西市 '],[100,85,'兴城市 '],[101,85,'朝阳市 '],[102,85,'北票市 '],[103,85,'阜新市 '],[104,85,'盘锦市 '],[105,1,'吉林省 '],[106,105,'长春市 '],[107,105,'扶余市 '],[108,105,'吉林市 '],[109,105,'桦甸市 '],[110,105,'延吉市 '],[111,105,'图门市 '],[112,105,'龙井市 '],[113,105,'敦化市 '],[114,105,'通化市 '],[115,105,'集安市 '],[116,105,'浑江市 '],[117,105,'梅河口市 '],[118,105,'四平市 '],[119,105,'公主岭市 '],[120,105,'辽源市 '],[121,105,'白城市 '],[122,105,'洮南市 '],[123,1,'黑龙江省 '],[124,123,'哈尔滨市 '],[125,123,'阿城市 '],[126,123,'肇东市 '],[127,123,'绥化市 '],[128,123,'伊春市 '],[129,123,'佳木斯市 '],[130,123,'鹤岗市 '],[131,123,'七台河市 '],[132,123,'双鸭市 '],[133,123,'同江市 '],[134,123,'牡丹江市 '],[135,123,'绥汾河市 '],[136,123,'鸡西市 '],[137,123,'大庆市 '],[138,123,'北安市 '],[139,123,'齐齐哈尔市 '],[140,123,'黑河市 '],[141,123,'五大连池市 '],[142,1,'江苏省 '],[143,142,'南京市 '],[144,142,'仪征市 '],[145,142,'镇江市 '],[146,142,'丹阳市 '],[147,142,'常州市 '],[148,142,'无锡市 '],[149,142,'宜兴市 '],[150,142,'江阴市 '],[151,142,'苏州市 '],[152,142,'常熟市 '],[153,142,'徐州市 '],[154,142,'连云港市 '],[155,142,'淮阴市 '],[156,142,'淮安市 '],[157,142,'宿迁市 '],[158,142,'盐城市 '],[159,142,'东台市 '],[160,142,'扬州市 '],[161,142,'泰州市 '],[162,142,'兴化市 '],[163,142,'南通市 '],[451,142,'吴江市 '],[164,1,'安徽省 '],[165,164,'合肥市 '],[166,164,'淮南市 '],[167,164,'蚌埠市 '],[168,164,'宿州市 '],[169,164,'淮北市 '],[170,164,'阜阳市 '],[171,164,'毫州市 '],[172,164,'六安市 '],[173,164,'巢湖市 '],[174,164,'滁州市 '],[175,164,'芜湖市 '],[176,164,'宣州市 '],[177,164,'黄山市 '],[178,164,'马鞍山市 '],[179,164,'铜陵市 '],[180,164,'黄山市 '],[181,164,'安庆市 '],[182,1,'山东省 '],[183,182,'济南市 '],[184,182,'聊城市 '],[185,182,'临清市 '],[186,182,'德州市 '],[187,182,'淄博市 '],[188,182,'滨州市 '],[189,182,'东营市 '],[190,182,'潍坊市 '],[191,182,'诸城市 '],[192,182,'青州市 '],[193,182,'烟台市 '],[194,182,'威海市 '],[195,182,'青岛市 '],[196,182,'泰安市 '],[197,182,'莱芜市 '],[198,182,'新泰市 '],[199,182,'济宁市 '],[200,182,'曲阜市 '],[201,182,'荷泽市 '],[202,182,'临沂市 '],[203,182,'日照市 '],[204,182,'枣庄市 '],[205,182,'藤州市 '],[449,182,'寿光市 '],[206,1,'浙江省 '],[207,206,'杭州市 '],[208,206,'萧山市 '],[209,206,'绍兴市 '],[210,206,'湖州市 '],[211,206,'嘉兴市 '],[212,206,'海宁市 '],[213,206,'宁波市 '],[214,206,'余姚市 '],[215,206,'舟山市 '],[216,206,'临海市 '],[217,206,'椒江市 '],[218,206,'金华市 '],[219,206,'兰溪市 '],[220,206,'丽水市 '],[221,206,'衙州市 '],[222,206,'江山市 '],[223,206,'温州市 '],[224,206,'义乌市 '],[225,206,'东阳市 '],[226,206,'瑞安市 '],[447,206,'上虞市 '],[448,206,'桐乡市 '],[452,206,'昆山市 '],[454,206,'乐清市 '],[458,206,'台州市 '],[227,1,'江西省 '],[228,227,'南昌市 '],[229,227,'九江市 '],[230,227,'景德镇市 '],[231,227,'上饶市 '],[232,227,'鹰潭市 '],[233,227,'伊春市 '],[234,227,'新余市 '],[235,227,'萍乡市 '],[236,227,'赣州市 '],[237,227,'吉安市 '],[238,227,'井冈山市 '],[239,227,'抚州市 '],[240,227,'临川市 '],[241,1,'福建省 '],[242,241,'福州市 '],[243,241,'莆田市 '],[244,241,'南平市 '],[245,241,'邵武市 '],[246,241,'厦门市 '],[247,241,'泉州市 '],[248,241,'石狮市 '],[249,241,'漳州市 '],[250,241,'龙岩市 '],[251,241,'三明市 '],[252,241,'永安市 '],[456,241,'晋江市 '],[253,1,'湖南省 '],[254,253,'长沙市 '],[255,253,'湘潭市 '],[256,253,'湘乡市 '],[257,253,'株洲市 '],[258,253,'益阳市 '],[259,253,'岳阳市 '],[260,253,'汨罗市 '],[261,253,'常德市 '],[262,253,'津市市 '],[263,253,'吉首市 '],[264,253,'大庸市 '],[265,253,'娄底市 '],[266,253,'连源市 '],[267,253,'冷水江市 '],[268,253,'怀化市 '],[269,253,'洪江市 '],[270,253,'衡阳市 '],[271,253,'来阳市 '],[272,253,'邵阳市 '],[273,253,'郴州市 '],[274,253,'永州市 '],[275,253,'冷水滩市 '],[276,1,'湖北省 '],[277,276,'武汉市 '],[278,276,'麻城市 '],[279,276,'天门市 '],[280,276,'孝感市 '],[281,276,'应城市 '],[282,276,'安陆市 '],[283,276,'仙桃市 '],[284,276,'洪湖市 '],[285,276,'沙市市 '],[286,276,'石首市 '],[287,276,'荆门市 '],[288,276,'黄石市 '],[289,276,'鄂州市 '],[290,276,'武穴市 '],[291,276,'咸宁市 '],[292,276,'襄樊市 '],[293,276,'蒲昕市 '],[294,276,'随州市 '],[295,276,'老河口市 '],[296,276,'丹江口市 '],[297,276,'十堰市 '],[298,276,'宜昌市 '],[299,276,'枝城市 '],[300,276,'恩施市 '],[301,276,'利川市 '],[302,1,'河南省 '],[303,302,'郑州市 '],[304,302,'新乡市 '],[305,302,'焦作市 '],[306,302,'安阳市 '],[307,302,'鹤壁市 '],[308,302,'濮阳市 '],[309,302,'许昌市 '],[310,302,'缧河市 '],[311,302,'驻马店市 '],[312,302,'信阳市 '],[313,302,'周口市 '],[314,302,'平顶山市 '],[315,302,'洛阳市 '],[316,302,'三门 峡市 '],[317,302,'义马市 '],[318,302,'南阳市 '],[319,302,'开封市 '],[320,302,'商丘市 '],[450,302,'卫辉市 '],[321,1,'广东省 '],[322,321,'广州市 '],[323,321,'清远市 '],[324,321,'东莞市 '],[325,321,'韶关市 '],[326,321,'梅州市 '],[327,321,'汕头市 '],[328,321,'潮州市 '],[329,321,'惠州市 '],[330,321,'汕尾市 '],[331,321,'河源市 '],[332,321,'深圳市 '],[333,321,'湛江市 '],[334,321,'茂名市 '],[335,321,'肇庆市 '],[336,321,'佛山市 '],[337,321,'中山市 '],[338,321,'江门市 '],[339,321,'阳江市 '],[453,321,'珠海市 '],[455,321,'揭阳市 '],[457,321,'云浮市 '],[340,1,'海南省 '],[341,340,'海口市 '],[342,340,'三亚市 '],[343,340,'通什市 '],[344,1,'广西省 '],[345,344,'南宁市 '],[346,344,'凭祥市 '],[347,344,'百色市 '],[348,344,'钦州市 '],[349,344,'北海市 '],[350,344,'玉林市 '],[351,344,'桂林市 '],[352,344,'梧州市 '],[353,344,'柳州市 '],[354,344,'台山市 '],[355,344,'河池市 '],[356,1,'贵州省 '],[357,356,'贵阳市 '],[358,356,'六盘水市 '],[359,356,'铜仁市 '],[360,356,'凯里市 '],[361,356,'都匀市 '],[362,356,'安顺市 '],[363,356,'兴义市 '],[364,356,'遵义市 '],[365,356,'赤水市 '],[366,1,'四川省 '],[367,366,'成都市 '],[368,366,'乐山市 '],[369,366,'西昌市 '],[370,366,'攀枝花市 '],[371,366,'得阳市 '],[372,366,'绵阳市 '],[373,366,'雅安市 '],[374,366,'广元市 '],[375,366,'遂宁市 '],[377,366,'万县市 '],[378,366,'达县市 '],[379,366,'南充市 '],[380,366,'华鉴市 '],[381,366,'内江市 '],[382,366,'自贡市 '],[383,366,'宜宾市 '],[384,366,'泸州市 '],[385,366,'涪陵市 '],[376,1,'重庆市 '],[459,376,'重庆市 '],[386,1,'云南省 '],[387,386,'昆明市 '],[388,386,'东川市 '],[389,386,'曲靖市 '],[390,386,'照通市 '],[391,386,'开远市 '],[392,386,'个旧市 '],[393,386,'大理市 '],[394,386,'楚雄市 '],[395,386,'宝山市 '],[396,1,'陕西省 '],[397,396,'西安市 '],[398,396,'咸阳市 '],[399,396,'渭南市 '],[400,396,'韩城市 '],[401,396,'延安市 '],[402,396,'宝鸡市 '],[403,396,'汉中市 '],[404,396,'铜川市 '],[405,1,'甘肃省 '],[406,405,'兰州市 '],[407,405,'白银市 '],[408,405,'临夏市 '],[409,405,'武威市 '],[410,405,'张掖市 '],[411,405,'酒泉市 '],[412,405,'嘉峪关市 '],[413,405,'玉门市 '],[414,405,'金昌市 '],[415,405,'天水市 '],[416,405,'平凉市 '],[417,405,'西峰市 '],[418,1,'宁夏 '],[419,418,'银川市 '],[420,418,'吴忠市 '],[421,418,'青铜峡市 '],[422,418,'石嘴山市 '],[423,1,'青海省 '],[424,423,'西宁市 '],[425,423,'格尔木市 '],[426,423,'德令哈市 '],[427,1,'新疆 '],[428,427,'乌鲁木齐市 '],[429,427,'昌吉市 '],[430,427,'石河子市 '],[431,427,'奎屯市 '],[432,427,'博乐市 '],[433,427,'克拉玛依市 '],[434,427,'塔城市 '],[435,427,'伊宁市 '],[436,427,'阿勒泰市 '],[437,427,'吐鲁番市 '],[438,427,'哈密市 '],[439,427,'库尔勒市 '],[440,427,'阿克苏市 '],[441,427,'喀什市 '],[442,427,'阿图什市 '],[443,427,'和田市 '],[444,1,'西藏 '],[445,444,'拉萨市 '],[446,444,'日喀则市 '],[460,1,'香港特别行政区 '],[462,460,'香港特别行政区 '],[461,1,'澳门特别行政区 '],[463,461,'澳门特别行政区 ']
];

com.worldltr.ProductSearch.$=function(element)
{
     return document.getElementById(element); 
}


com.worldltr.ProductSearch.Init=function()
{
  var SearchDiv=com.worldltr.ProductSearch.$("ddlProductType");
  var ddlProductType=document.createElement("select");
  SearchDiv.style.cssText="width:112px; height:22px;";
  var firstItem=new Option('--全部--',0);
  SearchDiv.options.add(firstItem);
  for(var i=0;i<com.worldltr.ProductTypeArray.length;i++)
  {
      if(com.worldltr.ProductTypeArray[i][1]==85)
      {
         var li=new Option(com.worldltr.ProductTypeArray[i][2],com.worldltr.ProductTypeArray[i][0]);
         SearchDiv.options.add(li);
      }
  }
 
    
//  SearchDiv.appendChild(ddlProductType);
}

com.worldltr.ProductSearch.SecondConn=function(fid)
{
  var SubType=com.worldltr.ProductSearch.$("ddlProductSubType");
  SubType.style.cssText="width:202px; height:22px;";
  SubType.options.length=0;
  var firstItem=new Option('--全部--',0);
  SubType.options.add(firstItem);
  for(var i=0;i<com.worldltr.ProductTypeArray.length;i++)
  {
      if(com.worldltr.ProductTypeArray[i][1]==fid)
      {
         var li=new Option(com.worldltr.ProductTypeArray[i][2],com.worldltr.ProductTypeArray[i][0]);
         SubType.options.add(li);
      }
  }
//   var ThirdType=com.worldltr.ProductSearch.$("ddlProductThirdType");
//  ThirdType.options.length=0;
//  var firstItem=new Option('--全部--',0);
//  ThirdType.options.add(firstItem);
}

com.worldltr.ProductSearch.ThirdConn=function(fid)
{
  var ThirdType=com.worldltr.ProductSearch.$("ddlProductThirdType");
  ThirdType.style.cssText="width:112px; height:22px;";
  ThirdType.options.length=0;
  var firstItem=new Option('--全部--',0);
  ThirdType.options.add(firstItem);
  for(var i=0;i<com.worldltr.ProductTypeArray.length;i++)
  {
      if(com.worldltr.ProductTypeArray[i][1]==fid)
      {
         var li=new Option(com.worldltr.ProductTypeArray[i][2],com.worldltr.ProductTypeArray[i][0]);
         ThirdType.options.add(li);
      }
  }
}


com.worldltr.ProductSearch.Display=function(element,fid)
{
   var ParentDiv=com.worldltr.ProductSearch.$("chuoyi");
   ParentDiv.innerHTML="";
   var TitleDiv=document.createElement("div");
   TitleDiv.style.cssText="font-size:14px; font-weight:bold;color:#ff8a00;";
   
   var Patternlabel=document.createElement("label");
   Patternlabel.style.cssText="width:112px;";
   var Materlabel=document.createElement("label");
   Materlabel.style.cssText="width:112px;";
   var Stylelabel=document.createElement("label");
   Stylelabel.style.cssText="width:90px;";
   var Pricelabel=document.createElement("label");
   Pricelabel.style.cssText="width:100px;";
   var Arealabel=document.createElement("label");
   Arealabel.style.cssText="width:112px;";
   var Timelabel=document.createElement("label");
   Timelabel.style.cssText="width:112px;";
   var Fellowlabel=document.createElement("label");
   Fellowlabel.style.cssText="width:112px;";
   
   var PatternSelect=document.createElement("select");
   PatternSelect.id="PatternSelect";
   PatternSelect.name="PatternSelect";
   PatternSelect.style.cssText="width:112px;";
   var MaterSelect=document.createElement("select");
   MaterSelect.id="MasterSelect";
   MaterSelect.name="MasterSelect";
   MaterSelect.style.cssText="width:112px;";
   var StyleSelect=document.createElement("select");
   StyleSelect.id="StyleSelect";
   StyleSelect.name="StyleSelect";
   StyleSelect.style.cssText="width:112px;";
   var PriceSelect=document.createElement("select");
   PriceSelect.id="PriceSelect";
   PriceSelect.name="PriceSelect";
   PriceSelect.style.cssText="width:112px;";
   var ProvinceSelect=document.createElement("select");
   ProvinceSelect.id="ProvinceSelect";
   ProvinceSelect.name="ProvinceSelect";
   ProvinceSelect.style.cssText="width:112px;";
   var CitySelect=document.createElement("select");
   CitySelect.id="CitySelect";
   CitySelect.name="CitySelect";
   CitySelect.style.cssText="width:112px;";
   var TimeSelect=document.createElement("select");
   TimeSelect.id="TimeSelect";
   TimeSelect.name="TimeSelect";
   TimeSelect.style.cssText="width:112px;"
   var FellowSelect=document.createElement("select");
   FellowSelect.id="FellowSelect";
   FellowSelect.name="FellowSelect";
   FellowSelect.style.cssText="width:112px;";
   var commonItem=new Option("--全部--",0);
   
   CitySelect.options.add(new Option("--全部--",0));
 
   ProvinceSelect.onchange=function()
   {
      var province=this[this.selectedIndex].value;
      CitySelect.options.length=0;
      CitySelect.options.add(new Option("--全部--",0));
      for(var i=0;i<com.worldltr.ProductAreaArray.length;i++)
      {
         if(com.worldltr.ProductAreaArray[i][1]==province)
         {
           var li=new Option(com.worldltr.ProductAreaArray[i][2],com.worldltr.ProductAreaArray[i][0]);
           CitySelect.options.add(li);
         }
      }
   }
   
   if(fid==86)
   {
      TitleDiv.innerHTML="[箱包/手袋/皮具(成品)扩展属性]";
      ParentDiv.className="search_bottom_a";
      Patternlabel.innerHTML="男女款：";
      Materlabel.innerHTML="主要材质：";
      Stylelabel.innerHTML="风格：";
      Pricelabel.innerHTML="价格范围：";
      Arealabel.innerHTML="地区：";
      Timelabel.innerHTML="发布时间：";
      Fellowlabel.innerHTML="会员类型：";
      PatternSelect.options.add(new Option("--全部--",0));
      MaterSelect.options.add(new Option("--全部--",0));
      StyleSelect.options.add(new Option("--全部--",0));
      PriceSelect.options.add(new Option("--全部--",0));
      TimeSelect.options.add(new Option("--全部--",0));
      FellowSelect.options.add(new Option("--全部--",0));
      
      for(var i=0;i<com.worldltr.ProductAttributeArray.length;i++)
      {
          if(com.worldltr.ProductAttributeArray[i][1]==540)//540)//男女款：本地为538
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             PatternSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==541)//541)//主要材质：本地为548
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             MaterSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==542)//542)//风格：本地为539
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             StyleSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==543)//543)//价格范围：本地为540
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             PriceSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==676)//676)//发布时间：本地为560
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             TimeSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==677)//677)//会员类型：本地为561
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             FellowSelect.options.add(li);
          }
      }
   }else if(fid==87)
   {
   TitleDiv.innerHTML="[箱包/手袋/皮具(面料)扩展属性]";
      ParentDiv.className="search_bottom_b";
      Patternlabel.style.cssText="";
      Patternlabel.innerHTML="工序：";
      Pricelabel.innerHTML="价格范围：";
      Arealabel.innerHTML="地区：";
      Timelabel.innerHTML="发布时间：";
      Fellowlabel.innerHTML="会员类型：";
      PatternSelect.options.add(new Option("--全部--",0));
      PriceSelect.options.add(new Option("--全部--",0));
      TimeSelect.options.add(new Option("--全部--",0));
      FellowSelect.options.add(new Option("--全部--",0));
      
      for(var i=0;i<com.worldltr.ProductAttributeArray.length;i++)
      {
          if(com.worldltr.ProductAttributeArray[i][1]==544)//工序：本地为541
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             PatternSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==545)//价格范围：本地为542
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             PriceSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==676)//发布时间：本地为560
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             TimeSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==677)//会员类型：本地为561
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             FellowSelect.options.add(li);
          }
      }
   }else if(fid==88)
   {
      TitleDiv.innerHTML="[箱包/手袋/皮具(辅料)扩展属性]";
      ParentDiv.className="search_bottom_c";
      Patternlabel.style.cssText="";
      Patternlabel.innerHTML="里料：";
      Arealabel.innerHTML="地区：";
      Timelabel.innerHTML="发布时间：";
      Fellowlabel.innerHTML="会员类型：";
      PatternSelect.options.add(new Option("--全部--",0));
      TimeSelect.options.add(new Option("--全部--",0));
      FellowSelect.options.add(new Option("--全部--",0));
      
      for(var i=0;i<com.worldltr.ProductAttributeArray.length;i++)
      {
          if(com.worldltr.ProductAttributeArray[i][1]==546)//里料：本地为543
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             PatternSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==676)//发布时间：本地为560
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             TimeSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==677)//会员类型：本地为561
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             FellowSelect.options.add(li);
          }
      }
   }else if(fid==89)
   {
      TitleDiv.innerHTML="[箱包/手袋/皮具(五金配件)扩展属性]";
      ParentDiv.className="search_bottom_d";
      Materlabel.style.cssText="";
      Materlabel.innerHTML="材质：";
      Arealabel.innerHTML="地区：";
      Timelabel.innerHTML="发布时间：";
      Fellowlabel.innerHTML="会员类型：";
      MaterSelect.options.add(new Option("--全部--",0));
      TimeSelect.options.add(new Option("--全部--",0));
      FellowSelect.options.add(new Option("--全部--",0));
      
      for(var i=0;i<com.worldltr.ProductAttributeArray.length;i++)
      {
          if(com.worldltr.ProductAttributeArray[i][1]==547)//材质：本地为544
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             MaterSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==676)//发布时间：本地为560
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             TimeSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==677)//会员类型：本地为561
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             FellowSelect.options.add(li);
          }
      }
   }else
   {
      TitleDiv.innerHTML="[箱包/手袋/皮具(加工机械)扩展属性]";
      ParentDiv.className="search_bottom_e";
      Arealabel.style.cssText="";
      Arealabel.innerHTML="地区：";
      Timelabel.innerHTML="发布时间：";
      Fellowlabel.innerHTML="会员类型：";
      TimeSelect.options.add(new Option("--全部--",0));
      FellowSelect.options.add(new Option("--全部--",0));
      
      for(var i=0;i<com.worldltr.ProductAttributeArray.length;i++)
      {
          if(com.worldltr.ProductAttributeArray[i][1]==676)//发布时间：本地为560
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             TimeSelect.options.add(li);
          }
          if(com.worldltr.ProductAttributeArray[i][1]==677)//会员类型：本地为561
          {
             var li=new Option(com.worldltr.ProductAttributeArray[i][2],com.worldltr.ProductAttributeArray[i][0]);
             FellowSelect.options.add(li);
          }
      }
   }
   ProvinceSelect.options.add(new Option("--全部--",0));
   for(var i=0;i<com.worldltr.ProductAreaArray.length;i++)
   {
      if(com.worldltr.ProductAreaArray[i][1]==1)
      {
         var li=new Option(com.worldltr.ProductAreaArray[i][2],com.worldltr.ProductAreaArray[i][0]);
         ProvinceSelect.options.add(li);
      }
   }
   var mytable=document.createElement("table");
   mytable.style.cssText="border:0px;padding:0px;cellspacing:0px;";
   var mytr=mytable.insertRow(-1);
   var mytd=mytr.insertCell(-1);
   mytd.style.cssText="text-align:right;";
   var mytd1=mytr.insertCell(-1);
   var mytd2=mytr.insertCell(-1);
   mytd2.style.cssText="text-align:right;";
   var mytd3=mytr.insertCell(-1);
   var mytd4=mytr.insertCell(-1);
   mytd4.style.cssText="text-align:right;";
   var mytd5=mytr.insertCell(-1);
   
   mytd.appendChild(Fellowlabel);
   mytd1.appendChild(FellowSelect);
   mytd2.appendChild(Timelabel);
   mytd3.appendChild(TimeSelect);
   mytd4.appendChild(Arealabel);
   mytd5.appendChild(ProvinceSelect);
   mytd5.appendChild(CitySelect);
  
   
   var str=mytable.insertRow(-1);
   var std=str.insertCell(-1);
   std.style.cssText="text-align:right;";
   var std1=str.insertCell(-1);
   var std2=str.insertCell(-1);
   std2.style.cssText="text-align:right;";
   var std3=str.insertCell(-1);
   var std4=str.insertCell(-1);
   std4.style.cssText="text-align:right;";
   var std5=str.insertCell(-1);
   if(fid==86)
   {
   std.appendChild(Patternlabel);
   std1.appendChild(PatternSelect);
   std2.appendChild(Materlabel);
   std3.appendChild(MaterSelect);
   std4.appendChild(Stylelabel);
   std5.appendChild(StyleSelect);
   }else if(fid==87)
   {
   std.appendChild(Patternlabel);
   std1.appendChild(PatternSelect);
   std2.appendChild(Pricelabel);
   std3.appendChild(PriceSelect);
   }else if(fid==88)
   {
   std.appendChild(Patternlabel);
   std1.appendChild(PatternSelect);
   }else if(fid==89)
   {
   std.appendChild(Materlabel);
   std1.appendChild(MaterSelect);
   }else
   {
   
   }
   var ttr=mytable.insertRow(-1);
   var ttd=ttr.insertCell(-1);
   ttd.style.cssText="text-align:right;";
   var ttd1=ttr.insertCell(-1);
   var ttd2=ttr.insertCell(-1);
   ttd2.style.cssText="text-align:right;";
   var ttd3=ttr.insertCell(-1);
   var ttd4=ttr.insertCell(-1);
   ttd4.style.cssText="text-align:right;";
   var ttd5=ttr.insertCell(-1);
   if(fid==86)
   {
   ttd.appendChild(Pricelabel);
   ttd1.appendChild(PriceSelect);
   }
   
   ParentDiv.appendChild(TitleDiv);
   ParentDiv.appendChild(mytable);
   ParentDiv.style.display="";
}