var alerttpestr="尊敬的旅客:\n\t您好,由于台湾航线具有一定特殊性,请您购票前确认自身条件符合《大陆居民赴台湾地区旅游管理办法》、《大陆居民赴台湾地区旅游注意事项》、《大陆居民赴台湾地区旅游领队人员管理办法》、《<大陆居民赴台湾地区旅游团名单表>管理办法》等相关规定。如因旅客违反此类规定造成的无法乘机等损失,将由旅客自行承担,国航对此不承担任何责任,谢谢您的配合。"; var alerttpestr2="尊敬的旅客:\n\t您好,根据民航总局指示,凡购买到达西藏拉萨、林芝、邦达、阿里的旅客或在西藏拉萨、林芝、邦达、阿里中转的旅客,网站只支持持有中国公民身份证的旅客在网站自助出票,持有其他证件购票的旅客,请到当地营业部验证购票。如因旅客违反此类规定造成的无法乘机等损失,将由旅客自行承担,国航对此不承担任何责任。谢谢您的配合。"; //台湾提示 var alerttpestr3="distinguished passengers:\n\tdue to the distinct nature of taiwan routes, please confirm your suitability to the requirements of measures for the administration of the travel of mainland residents to the taiwan region, cautions for travel of mainland residents to the taiwan region, measures for the administration of tour managers of mainland residents to the taiwan region, list of tour groups qualified for travel of mainland residents to the taiwan region, and other regulations. passengers bear responsibility for losses yielded through violation of such provisions, including denial of boarding. air china bears no liability in such cases. thank you for your cooperation."; //拉萨提示 var alerttpestr4="distinguished passengers:\n\taccording to the instructions of the caac (civil aviation administration of china), for passengers purchasing tickets to or transferring at lhasa, linzhi, banda and ali, tibet, the website only supports on-line self-help issuance for passengers holding a chinese citizen id; passengers using other documents to buy tickets, please go to your local air china office for verification. passengers bear responsibility for losses yielded through violation of such provisions, including denial of boarding. air china bears no liability in such cases. thank you for your cooperation."; function detectdstcity(){ var arrayobj = new array(); var boolean = false; var operation = document.getelementsbyname("queryword"); if (operation.length == 2) { var operationvalue1 = operation[1].value; if(operationvalue1 != null && operationvalue1!=""){ arrayobj.push(operationvalue1); } } else { var operationvalue1 = operation[1].value; if(operationvalue1 != null && operationvalue1!= "" && operationvalue1 != "中文/英文/拼音"){ arrayobj.push(operationvalue1); } var operationvalue2 = operation[3].value; if(operationvalue2 != null && operationvalue2!= "" && operationvalue2 != "中文/英文/拼音"){ if (arrayobj.length == 0){ arrayobj.push(operationvalue2); } else { for(var t= 0;t