// JavaScript Document
document.charset = "gb2312";
var selStr=new Array();
//selName:表单名;selVal:选择值;sType:0为默认,1为不限;
function userfaith(selName,selVal,sType){selStr=new Array("保密","一星级以上","二星级以上","三星级以上","四星级以上","五星级以上");creatSel(selName,selVal,sType,0);}
function character(selName,selVal,sType){selStr=new Array("保密","浪漫迷人","成熟稳重","风趣幽默","乐天达观","活泼可爱","忠厚老实","淳朴害羞","多愁善感","新潮时尚","热辣动感","豪放不羁");creatSel(selName,selVal,sType,0);}
function blood(selName,selVal,sType){selStr=new Array("保密","A型","B型","O型","AB型","其它");creatSel(selName,selVal,sType,0);}
function star(selName,selVal,sType){selStr=new Array("保密","牡羊座","金牛座","双子座","巨蟹座","狮子座","处女座","天秤座","天蝎座","射手座","魔羯座","水瓶座","双鱼座");creatSel(selName,selVal,sType,0);}
function born(selName,selVal,sType){selStr=new Array("保密","猴","鸡","狗","猪","鼠","牛","虎","兔","龙","蛇","马","羊");creatSel(selName,selVal,sType,0);}
function nation(selName,selVal,sType){selStr=new Array("保密","汉族","藏族","朝鲜族","蒙古族","回族","满族","维吾尔族","壮族","彝族","苗族","其它");creatSel(selName,selVal,sType,0);}
function marriage(selName,selVal,sType){selStr=new Array("保密","未婚","离异","丧隅");creatSel(selName,selVal,sType,0);}
function userstate(selName,selVal,sType){selStr=new Array("保密","征友进行中","正在约会中","找到意中人");creatSel(selName,selVal,sType,0);}
function education(selName,selVal,sex,sType){var deVal='0';var vStr='--请选择--';if(sType==1){vStr='--不限--';deVal='-1'};var j=2;var edustr=new Array('保密','中专或相当学历','大专','本科','双学士','硕士','博士','博士后');var frmobj=G(selName);frmobj.length=0;frmobj.options.add(new Option(vStr,deVal));if (sex=='1'){j=1}for (i=j;i<=7;i++){selCreate(frmobj,edustr[i],i,selVal);}}
function unienter(selName,selVal,sType){selStr=new Array("保密","2008","2007","2006","2005","2004","2003","2002","2001","2000","1999","1998","1997","1996","1995","1994","1993","1992");creatSel(selName,selVal,sType,1);}
function asset(selName,selVal,sType){selStr=new Array("保密","200万以下","200万","300万","400万","500万","600万","700万","800万","900万","1000万","1亿元以上");creatSel(selName,selVal,sType,0);}
function belief_1(selName,selVal,sType){selStr=new Array("保密","无宗教信仰","大乘佛教显宗","大乘佛教密宗","小乘佛教","道教","儒教","基督教天主教派","基督教东正教派","基督教新教派","犹太教","伊斯兰教什叶派","伊斯兰教逊尼派","印度教","神道教","萨满教","其它宗教信仰");creatSel(selName,selVal,sType,0);}
function speciality(selName,selVal,sType){selStr=new Array("保密","计算机类","电子信息类","中文类","外文类","经济学类","金融学类","管理类","市场营销类","法学类","教育类","社会学类","历史类","哲学类","艺术类","图书馆类","情报档案类","政治类","数学类","统计类","物理类","化学类","生物类","食品类","医学类","环境类","地理类","建筑类","测绘类","电气类","机械类");creatSel(selName,selVal,sType,1);}
function industry(selName,selVal,sType){selStr=new Array("保密","在校学生","计算机/互联网/IT","电子/半导体/仪表仪器","通信技术","销售","市场拓展","公关/商务","采购/贸易","客户服务/技术支持","人力资源/行政/后勤","高级管理","生产/加工/制造","质控/安检","工程机械","技工","财会/审计/统计","金融/证券/投资/保险","房地产/装修/物业","仓储/物流","普通劳动力/家政服务","普通服务行业","航空服务业","教育/培训","咨询/顾问","学术/科研","法律","设计/创意","文学/传媒/影视","餐饮/旅游","化工","能源/地质勘查","医疗/护理","保健/美容","生物/制药/医疗器械","体育工作者","翻译","公务员/国家干部","私营业主","农/林/牧/渔业","武警/警察/消防/军人","自由职业者","其它");creatSel(selName,selVal,sType,0);}
function children(selName,selVal,sType){selStr=new Array("保密","无小孩","有小孩归自己","有小孩归对方");creatSel(selName,selVal,sType,0);}
function income(selName,selVal,sType){selStr=new Array("保密","2000元以下","2000～5000元","5000～10000元","10000～20000元","20000元以上");creatSel(selName,selVal,sType,0);}
function icompany(selName,selVal,sType){selStr=new Array("保密","政府机关","事业单位 ","外企企业","世界500强","上市公司","国营企业","私营企业","自有公司");creatSel(selName,selVal,sType,0);}
function incomedesc(selName,selVal,sType){selStr=new Array("保密","福利优越","奖金丰厚 ","事业稳定上升","事业刚起步","投资高回报");creatSel(selName,selVal,sType,1);}
function houses(selName,selVal,sType){selStr=new Array("保密","暂未购房","已购住房","与人合租","独自租房","与父母同住","住亲朋家","住单位房");creatSel(selName,selVal,sType,0);}
function autocar(selName,selVal,sType){selStr=new Array("保密","暂未购车","已经购车");creatSel(selName,selVal,sType,0);}
function mostcost(selName,selVal,sType){selStr=new Array("保密","美食","服装","娱乐","出行","交友","文化","教育","其他");creatSel(selName,selVal,sType,1);}
function paihang(selName,selVal,sType){selStr=new Array("保密","独生子女","老大","老二","老三","老四","老五及更小","老幺");creatSel(selName,selVal,sType,1);}
function smoketype(selName,selVal,sType){selStr=new Array("保密","不吸，很反感吸烟","不吸，但不反感","社交时偶尔吸","每周吸几次","每天都吸","有烟瘾");creatSel(selName,selVal,sType,1);}
function drinktype(selName,selVal,sType){selStr=new Array("保密","不喝","社交需要时喝","有兴致时喝","每天都离不开酒");creatSel(selName,selVal,sType,1);}
function belief(selName,selVal,sType){selStr=new Array("保密","无宗教信仰","大乘佛教显宗","大乘佛教密宗","小乘佛教","道教","儒教","基督教天主教派","基督教东正教派","基督教新教派","犹太教","伊斯兰教什叶派","伊斯兰教逊尼派","印度教","神道教","萨满教","其它宗教信仰");creatSel(selName,selVal,sType,1);}
function sporttype(selName,selVal,sType){selStr=new Array("保密","每天锻炼","每周至少一次","每月几次","没时间锻炼","集中时间锻炼","不喜欢锻炼");creatSel(selName,selVal,sType,1);}
function livecust(selName,selVal,sType){selStr=new Array("保密","早睡早起很规律","经常夜猫子","总是早起鸟","偶尔懒散一下","没有规律");creatSel(selName,selVal,sType,1);}
function together(selName,selVal,sType){selStr=new Array("保密","愿意","不愿意","视情况而定");creatSel(selName,selVal,sType,1);}
function childwant(selName,selVal,sType){selStr=new Array("保密","愿意","不愿意","视情况而定");creatSel(selName,selVal,sType,1);}
function romance(selName,selVal,sType){selStr=new Array("保密","经常","偶尔","视情况而定","从不","不喜欢");creatSel(selName,selVal,sType,1);}
function beautiful(selName,selVal,sType){var fstr=new Array("保密","文质彬彬","西部牛仔","阳光帅气","风度翩翩","成熟魅力","健壮高大","朴实无华","内敛酷男");var mstr=new Array("保密","秀外慧中","眉清目秀","明眸善睐","娇小依人","青春活泼","成熟魅力","雍容华贵","淡雅如菊");selStr=new Array();if (sType=='0'){selStr=fstr;}else{selStr=mstr;}creatSel(selName,selVal,sType,1);}
function bestpart(selName,selVal,sType){selStr=new Array("保密","笑容","眉毛","眼睛","头发","鼻梁","嘴唇","牙齿","颈部","耳朵","手","胳膊","胸部","腰部","臀部","腿","脚","没有太特别的");creatSel(selName,selVal,sType,1);}
function hairtype(selName,selVal,sType){selStr=new Array("保密","顺直长发","卷曲长发","中等长度","短发","很短","光头","其它");creatSel(selName,selVal,sType,1);}
function haircolor(selName,selVal,sType){selStr=new Array("保密","黑色","金色","褐色","栗色","灰色","红色","白色","挑染","光头","其它");creatSel(selName,selVal,sType,1);}
function facetype(selName,selVal,sType){selStr=new Array("保密","圆脸型","方脸型","长脸型","瓜子脸型","鸭蛋脸型","国字脸型","三角脸型","菱形脸型");creatSel(selName,selVal,sType,1);}
function shapetype(selName,selVal,sType){selStr=new Array("保密","瘦","较瘦","匀称","苗条","高挑","丰满","健壮","魁梧","胖","较胖");creatSel(selName,selVal,sType,1);}
function creatSel(selName,selVal,sType,Txt){var selobj=G(selName);var val='-1';if(Txt=='1'){val='不限';}selobj.options.length=0;if (sType==1){var devalue='--不限--';selobj.options.add(new Option(devalue,val));}else{selobj.options.add(new Option("--请选择--",""));};if(sType==3){sType=1};for(var i=sType;i<=selStr.length-1;i++){if(Txt=='0'){selCreate(selobj,selStr[i],i,selVal);}else{selCreate(selobj,selStr[i],selStr[i],selVal);}}}
function userlang(){var tmpStr='';selStr=new Array("中文(普通话)","中文(广东话)","英语","法语","日语","韩语","德语","意大利语","俄语","芬兰语","荷兰语","葡萄牙语","西班牙语","越南语","阿拉伯语","泰国语","印度尼希亚语","印度语","丹麦语","希腊语","伊朗语","匈牙利语","土耳其语","挪威语","捷克语","波兰语","瑞典语","缅甸语","罗马尼亚语","其它");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="tc"><input type="checkbox" name="School4" id="School4" value="'+selStr[i]+'" onclick="check_count(\'School4\',this,5);"" /> '+selStr[i]+'</li>';}return tmpStr;}
function userspace(){var tmpStr='';selStr=new Array("饭店","商场","剧院","酒吧","电影院","音乐会","迪斯科","网吧","温泉","图书馆/书店","咖啡厅","游乐场","卡拉OK","体育馆","逛街","在自己或朋友家里","其它","不想说" );for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="tc"><input type="Checkbox" name="interest7" id="interest7" value="'+selStr[i]+'" onclick="check_count(\'interest7\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//休闲娱乐
function userskill(){var tmpStr='';selStr=new Array("实现个人目标","维护朋友圈关系","装修房屋","志愿者/义工","热衷电脑","保持生活条理","理财","在家款待朋友","抚养或照顾孩子","制造浪漫","社交活动","谈生意","保持健康","解决冲突","博闻强识","对自我长期规划","在简单中寻求快乐与满足","文化和艺术","结交新朋友","烹饪","赚钱养家","保养、修理汽车","做别人的好朋友和好同事","其他");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="ts"><input type="Checkbox" name="existence8" id="existence8" value="'+selStr[i]+'" onclick="check_count(\'existence8\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}
function interest(){var tmpStr='';selStr=new Array("网络","汽车","动物","摄影","影视","音乐","写作","购物","手工艺","园艺","舞蹈","展览","烹饪","读书","绘画","计算机","体育运动","旅游","电子游戏","其它");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="tc"><input type="Checkbox" name="interest0" id="interest0" value="'+selStr[i]+'" onclick="check_count(\'interest0\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//兴趣爱好
function attention(){var tmpStr='';selStr=new Array("政治事件","娱乐八卦","体育赛事","理财投资","相声曲艺","海选活动","畅销书","影视热片","休闲生活","行业发展","其他","暂无");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="tc"><input type="Checkbox" name="interest1" id="interest1" value="'+selStr[i]+'" onclick="check_count(\'interest1\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//关注
function food(){var tmpStr='';selStr=new Array("中国菜","印度菜","泰国菜","法国菜","意大利菜","俄罗斯菜","日本菜","烧烤","健康食品","素食","快餐","巧克力和甜点","其他","无特别爱好");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="ts"><input type="Checkbox" name="interest2" id="interest2" value="'+selStr[i]+'" onclick="check_count(\'interest2\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//食物
function sports(){var tmpStr='';selStr=new Array("足球","篮球","排球","网球","羽毛球","乒乓球","壁球","保龄球","手球","橄榄球","棒球","高尔夫","健身","跑步","自行车","摩托车","汽车","舞蹈","体操","跆拳道","柔道","空手道","游泳","潜水","水上运动","航海","滑雪/滑冰","拳击","钓鱼","瑜珈","武术","其它","不喜欢运动");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="tc"><input type="Checkbox" name="interest3" id="interest3" value="'+selStr[i]+'" onclick="check_count(\'interest3\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//运动
function travel(){var tmpStr='';selStr=new Array("惬意海岛","名山古刹","繁华都市","风情名城","广袤森林"," 高原雪域","秀美山水","历史遗迹","江河大川","峻秀峡谷","小桥流水人家","其他选择","还没想好");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="ts"><input type="Checkbox" name="interest5" id="interest5" value="'+selStr[i]+'" onclick="check_count(\'interest5\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//旅游
function petlike(selName,selVal,sType){selStr=new Array("无","有","正打算养","不喜欢养","过敏");creatSel(selName,selVal,sType,1);}
function pet(selName,selVal,sType){selStr=new Array("无","猫","狗","鸟","鱼","仓鼠/荷兰猪","马","爬行动物","另类宠物","其他");creatSel(selName,selVal,sType,1);}
function usertag(sex){var str="";var fstr=new Array("孝顺是我的美德","享受小资生活","是美女也是才女","从不以貌取人","相信一见钟情","爱一个人包括缺点","我忙碌且充实","有故事的人","精于琴棋书画","贤妻良母的气质","旅行是生活一部分","我的厨艺色香味俱全","可爱野蛮女友","等待王子的灰姑娘","喜欢主动约会朋友","喜欢小动物","怀有一颗平常心","迟到是女人的特权");var mstr=new Array("百善孝为先","衣食无忧乐无边","家庭事业兼顾的男人","欣赏同甘共苦的爱情","从不以貌取人","相信一见钟情","每天忙忙碌碌","有故事的人","通晓天文地理","老实却不乏风趣","有很多旅行计划","我的厨艺色香味俱全","总是遵守女士优先","路见不平一声吼","喜欢主动约会朋友","逗小朋友是我拿手好戏","会大声说我爱你","从不喜欢迟到");var tagstr=new Array();if (sex!=1){tagstr=mstr;}else{tagstr=fstr;}for (var i=0;i<tagstr.length;i++){str=str+'<li><input type="checkbox" name="usertag" onclick="check_count(\'usertag\',this,5);" value='+tagstr[i]+' id="usertag" /> '+tagstr[i]+'</li>';}document.write (str);}
function ismatch(Val,sType){if(sType==0){if(Val!='0'){document.write ('以上');}}if(sType!=0){if(Val!='0'){if(sType==1){document.write ('有照片');}else{document.write ('认证会员');}}else{document.write ('不限');}}}
function frd_type(selName,selVal,sType){selStr=new Array("萍水相逢","点头之交","一面之缘","情投意合","心心相印");creatSel(selName,selVal,sType,1);}
function frd_sche(selName,selVal,sType){selStr=new Array("无","短信通信","网络聊天","电话聊天","见面","官方活动");creatSel(selName,selVal,sType,1);}
function frd_stas(selName,selVal,sType){selStr=new Array("无","聊天","线下见面","约会中","恋爱了");creatSel(selName,selVal,sType,1);}
function frd_poli(selName,selVal,sType){selStr=new Array("无","我喜欢对方","暂无强烈感觉","双方中意","完全没有感觉","讨厌此人的某些言行");creatSel(selName,selVal,sType,1);}
function loverank(selName,selVal,sType){selStr=new Array("保密","心理学家型","作家型","社会活动家型","演讲家型","科学家型","企业家型","律师型","领袖型","奉献者型","公务员型","慈善家型","管理者型","艺术家型","巧匠型","演员型","冒险家型");creatSel(selName,selVal,sType,0);}
/*6.2增加*/
function eyecolor(selName,selVal,sType){selStr=new Array("保密","黑色","蓝色","浅褐色","棕色","灰色","绿色","其他");creatSel(selName,selVal,sType,1);}
function condition(selName,selVal,sType){selStr=new Array("保密","计算机（软件、硬件、服务）","通信、电信","互联网","电子（半导体、仪器、自动化）","金融服务（会计/审计，银行，保险）","金融/投资/证券","贸易（进出口,批发,零售）","快速消费品（食品,饮料,化妆品）","服装/纺织/皮革","家具/家电/工艺品/玩具","办公用品及设备","医疗，医药","广告/公关/市场推广/会展","影视/媒体/出版/印刷/包装","房地产相关","家居/室内设计/装潢","服务（咨询，人力资源）","法律相关","教育/培训","学术/科研","酒店/餐饮业","旅游","娱乐/休闲/体育","美容/保健","交通（运输、物流、航天、航空）","汽车及零配件","农业","政府/非盈利机构","其他行业");creatSel(selName,selVal,sType,1);}
function desire(selName,selVal,sType){selStr=new Array("保密","轻松稳定","朝九晚五","偶尔加班","经常加班","偶尔出差","经常出差","经常有应酬","工作时间自由");creatSel(selName,selVal,sType,1);}
function book(){var tmpStr='';selStr=new Array("校园青春","文学","艺术与摄影","励志与成功","动漫与幽默","政治与军事","哲学与宗教","历史传记","运动健身","健康与养生","烹饪与饮食","旅游","投资理财","婚恋与家庭","期刊杂志","娱乐时尚","人文社科","自然科学","收藏与鉴赏","其他","什么都看");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="tc"><input type="Checkbox" name="interest6" id="interest6" value="'+selStr[i]+'" onclick="check_count(\'interest6\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//书籍
function movie(){var tmpStr='';selStr=new Array("爱情","喜剧","动作冒险","古装武侠","科幻魔幻","悬疑推理","惊悚恐怖","动画","战争","音乐歌舞","纪录片","剧情","西部","历史传记","其他","什么都看");for (i=0;i<=selStr.length-1;i++){tmpStr+='<li id="tc"><input type="Checkbox" name="interest4" id="interest4" value="'+selStr[i]+'" onclick="check_count(\'interest4\',this,5);" /> '+selStr[i]+'</li>';}return tmpStr;}//电影