function IsDigit(cCheck) {
    return (('0'<=cCheck) && (cCheck<='9')); 
}

function IsAlpha(cCheck) { 
    return ((('a'<=cCheck) && (cCheck<='z')) || (('A'<=cCheck) && (cCheck<='Z')));
}

function NotNumber(name){
	var str_name=name.toString();
	for(i=0;i<str_name.length;i++){
		var one_Char=str_name.charAt(i);
		if (one_Char<"0"||one_Char>"9"){
			return true;
		}
	}
	return false;
}

function LTrim(str)
{
    var whitespace = new String(" \t\n\r");
    var s = new String(str);
    
    if (whitespace.indexOf(s.charAt(0)) != -1)
    {
        var j=0, i = s.length;
        while (j < i && whitespace.indexOf(s.charAt(j)) != -1)
        {
            j++;
        }
        s = s.substring(j, i);
    }
    return s;
}

/*
==================================================================
RTrim(string):去除右边的空格
==================================================================
*/
function RTrim(str)
{
    var whitespace = new String(" \t\n\r");
    var s = new String(str);

    if (whitespace.indexOf(s.charAt(s.length-1)) != -1)
    {
        var i = s.length - 1;
        while (i >= 0 && whitespace.indexOf(s.charAt(i)) != -1)
        {
            i--;
        }
        s = s.substring(0, i+1);
    }
    return s;
}

/*
==================================================================
Trim(string):去除前后空格
==================================================================
*/
function Trim(str)
{
    return RTrim(LTrim(str));
}

function popup(filename) {
	var option;
	option = "width=900, height=520,left=20,top=20,scrollbars=yes, resizable=yes";
	window.open(filename, "popup", option)

}

function popup_pdt() {
	var option;
	option = "width=950, height=600,left=40,top=20,scrollbars=yes, resizable=yes";
	window.open("popup_pdtDetail.htm", "pdt", option)

}

function popup_email() {
	var option;
	option = "width=720, height=600,left=20,top=20,scrollbars=yes, resizable=no";
	window.open("popup_Emailtofriend.htm", "email", option)

}

function getobject(obj) {
  if (document.getElementById)
    return document.getElementById(obj)
  else if (document.all)
    return document.all[obj]
}


function searchbox_go(){
        if (document.searchform.searchselect.options[0].selected){
                window.location.href = "#";} 
        else if (document.searchform.searchselect.options[1].selected)                
        {       window.location.href = "../html/result_pdt.asp";}
        else if (document.searchform.searchselect.options[2].selected)                
        {       window.location.href = "../html/result_co.asp";}   
        else if (document.searchform.searchselect.options[3].selected)                
        {       window.location.href = "../html/result_tradelead.asp";}    
                
        return true;    
}


function definebubble() {
  showbubblebox(document.all[bubble_id], quickview_url)
}

function showbubblebox(obj, url) {
  bubble_id = obj.id
  quickview_url = url
  bubble_index = bubble_id.substr(10, (bubble_id.length-10))
  getobject("bubble_text").innerHTML = bubble_array[bubble_index]
  getobject("bubble_link").innerHTML = bubble_link_array[bubble_index]
  alignbubblebox(obj)
  document.all['bubblebox'].style.visibility="visible";
}

function hidebubblebox(obj) {
  document.all['bubblebox'].style.visibility="hidden";
}

function getposOffset(what, offsettype) {
  var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
  var parentEl=what.offsetParent;

  while (parentEl!=null) {
    totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
    parentEl=parentEl.offsetParent;
  }

  return totaloffset;
}

function alignbubblebox(obj) {
  var bubble
  bubble = document.getElmentById? document.getElmentById("bubblebox") : bubblebox
  bubble.x = getposOffset(obj, "left")
  bubble.y = getposOffset(obj, "top")
  bubble.style.left = bubble.x + 22 + "px"
  bubble.style.top = bubble.y - 22 + "px"
}
function createSiteCookie(name,value,days)
{
	if (days)
	{
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readSiteCookie(name)
{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++)
	{
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseSiteCookie(name)
{
	createSiteCookie(name,"",-1);
}
function doSearch(formObj, searchTypeObj, keywordObj, provinceObj, cityObj){
	if ( Trim(searchTypeObj.value)==""){
		alert("请选择搜索类型！");
		searchTypeObj.focus();
	}else{
		if ( Trim(provinceObj.value)=="" ){
			alert("请选择省！");
		}else{
			var keyword_value = Trim(keywordObj.value);
			if ( keyword_value=="" ){
				alert("请输入关键字！");
				keywordObj.focus();
			}else{
				var reg = new RegExp("[~!@#$%^&*()_+|:;'-=,.<>?\"\\\\/\{\}\\[\\]]");
				if ( keyword_value.match(reg) ){
					alert("请输入正确的关键字");
					keywordObj.focus();
				}else{
					//create cookies
					eraseCookie("c_last_province_id");
					eraseCookie("c_last_city_id");
					createCookie("c_last_province_id",provinceObj.value,30);
					createCookie("c_last_city_id",cityObj.value,30);
					
					keywordObj.value=keyword_value;
					formObj.submit();
				}
			}
		}
	}
}

function Changeprovince_search(selected,provinceObj){
var countryId =selected
if(countryId==10){
	provinceObj.length=1
	provinceObj[0].value=0
	provinceObj[0].text='请选择省'
	provinceObj.length =provinceObj.length+1
	provinceObj[1].value=10
	provinceObj[1].text='安徽省'
	provinceObj.length =provinceObj.length+1
	provinceObj[2].value=20
	provinceObj[2].text='北京市'
	provinceObj.length =provinceObj.length+1
	provinceObj[3].value=30
	provinceObj[3].text='重庆市'
	provinceObj.length =provinceObj.length+1
	provinceObj[4].value=40
	provinceObj[4].text='福建省'
	provinceObj.length =provinceObj.length+1
	provinceObj[5].value=50
	provinceObj[5].text='甘肃省'
	provinceObj.length =provinceObj.length+1
	provinceObj[6].value=60
	provinceObj[6].text='广东省'
	provinceObj.length =provinceObj.length+1
	provinceObj[7].value=70
	provinceObj[7].text='广西'
	provinceObj.length =provinceObj.length+1
	provinceObj[8].value=80
	provinceObj[8].text='贵州省'
	provinceObj.length =provinceObj.length+1
	provinceObj[9].value=90
	provinceObj[9].text='海南省'
	provinceObj.length =provinceObj.length+1
	provinceObj[10].value=100
	provinceObj[10].text='河北省'
	provinceObj.length =provinceObj.length+1
	provinceObj[11].value=110
	provinceObj[11].text='河南省'
	provinceObj.length =provinceObj.length+1
	provinceObj[12].value=120
	provinceObj[12].text='黑龙江'
	provinceObj.length =provinceObj.length+1
	provinceObj[13].value=140
	provinceObj[13].text='湖北省'
	provinceObj.length =provinceObj.length+1
	provinceObj[14].value=150
	provinceObj[14].text='湖南省'
	provinceObj.length =provinceObj.length+1
	provinceObj[15].value=160
	provinceObj[15].text='吉林省'
	provinceObj.length =provinceObj.length+1
	provinceObj[16].value=170
	provinceObj[16].text='江苏省'
	provinceObj.length =provinceObj.length+1
	provinceObj[17].value=180
	provinceObj[17].text='江西省'
	provinceObj.length =provinceObj.length+1
	provinceObj[18].value=190
	provinceObj[18].text='辽宁省'
	provinceObj.length =provinceObj.length+1
	provinceObj[19].value=200
	provinceObj[19].text='内蒙古'
	provinceObj.length =provinceObj.length+1
	provinceObj[20].value=220
	provinceObj[20].text='宁夏'
	provinceObj.length =provinceObj.length+1
	provinceObj[21].value=230
	provinceObj[21].text='青海省'
	provinceObj.length =provinceObj.length+1
	provinceObj[22].value=240
	provinceObj[22].text='山东省'
	provinceObj.length =provinceObj.length+1
	provinceObj[23].value=250
	provinceObj[23].text='山西省'
	provinceObj.length =provinceObj.length+1
	provinceObj[24].value=260
	provinceObj[24].text='陕西省'
	provinceObj.length =provinceObj.length+1
	provinceObj[25].value=270
	provinceObj[25].text='上海市'
	provinceObj.length =provinceObj.length+1
	provinceObj[26].value=280
	provinceObj[26].text='四川省'
	provinceObj.length =provinceObj.length+1
	provinceObj[27].value=300
	provinceObj[27].text='天津市'
	provinceObj.length =provinceObj.length+1
	provinceObj[28].value=310
	provinceObj[28].text='西藏'
	provinceObj.length =provinceObj.length+1
	provinceObj[29].value=320
	provinceObj[29].text='新疆'
	provinceObj.length =provinceObj.length+1
	provinceObj[30].value=330
	provinceObj[30].text='云南省'
	provinceObj.length =provinceObj.length+1
	provinceObj[31].value=340
	provinceObj[31].text='浙江省'
}
if(countryId==20){
	provinceObj.length=1
	provinceObj[0].value=0
	provinceObj[0].text='请选择省'
	provinceObj.length =provinceObj.length+1
	provinceObj[1].value=350
	provinceObj[1].text='香港'
}
if(countryId==30){
	provinceObj.length=1
	provinceObj[0].value=0
	provinceObj[0].text='请选择省'
	provinceObj.length =provinceObj.length+1
	provinceObj[1].value=360
	provinceObj[1].text='澳门'
}
if(countryId==40){
	provinceObj.length=1
	provinceObj[0].value=0
	provinceObj[0].text='请选择省'
	provinceObj.length =provinceObj.length+1
	provinceObj[1].value=370
	provinceObj[1].text='台湾'
}
if(countryId==160){
	provinceObj.length=1
	provinceObj[0].value=0
	provinceObj[0].text='请选择省'
	provinceObj.length =provinceObj.length+1
	provinceObj[1].value=999
	provinceObj[1].text='不详'
}
}

function Changecity_search(pronviceObj,cityObj){

var provinceId = pronviceObj.value;

if ( Trim(provinceId) == "" || Trim(provinceId) == "0" ){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择'
}else{
	if(provinceId==10){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3730'
	cityObj[1].text='亳州市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='10'
	cityObj[2].text='安庆市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='20'
	cityObj[3].text='蚌埠市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='30'
	cityObj[4].text='巢湖市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='40'
	cityObj[5].text='池州市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='50'
	cityObj[6].text='滁州市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='60'
	cityObj[7].text='阜阳市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='70'
	cityObj[8].text='合肥市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='80'
	cityObj[9].text='淮北市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='90'
	cityObj[10].text='淮南市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='100'
	cityObj[11].text='黄山市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='110'
	cityObj[12].text='六安市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='120'
	cityObj[13].text='马鞍山市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='130'
	cityObj[14].text='宿州市'
	cityObj.length =cityObj.length+1
	cityObj[15].value='140'
	cityObj[15].text='铜陵市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='150'
	cityObj[16].text='芜湖市'
	cityObj.length =cityObj.length+1
	cityObj[17].value='160'
	cityObj[17].text='宣州市'
	}
	if(provinceId==20){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3410'
	cityObj[1].text='北京市'
	}
	if(provinceId==30){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3420'
	cityObj[1].text='重庆市'
	}
	if(provinceId==40){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='170'
	cityObj[1].text='福州市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='180'
	cityObj[2].text='龙岩市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='190'
	cityObj[3].text='南平市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='200'
	cityObj[4].text='宁德市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='210'
	cityObj[5].text='莆田市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='220'
	cityObj[6].text='泉州市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='230'
	cityObj[7].text='三明市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='240'
	cityObj[8].text='厦门市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='250'
	cityObj[9].text='漳州市'
	}
	if(provinceId==50){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='260'
	cityObj[1].text='白银市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='270'
	cityObj[2].text='定西地区'
	cityObj.length =cityObj.length+1
	cityObj[3].value='280'
	cityObj[3].text='甘南自治州'
	cityObj.length =cityObj.length+1
	cityObj[4].value='290'
	cityObj[4].text='嘉峪关市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='300'
	cityObj[5].text='金昌市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='310'
	cityObj[6].text='酒泉地区'
	cityObj.length =cityObj.length+1
	cityObj[7].value='320'
	cityObj[7].text='兰州市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='330'
	cityObj[8].text='临夏自治州'
	cityObj.length =cityObj.length+1
	cityObj[9].value='340'
	cityObj[9].text='陇南地区'
	cityObj.length =cityObj.length+1
	cityObj[10].value='350'
	cityObj[10].text='平凉地区'
	cityObj.length =cityObj.length+1
	cityObj[11].value='360'
	cityObj[11].text='庆阳地区'
	cityObj.length =cityObj.length+1
	cityObj[12].value='370'
	cityObj[12].text='天水市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='380'
	cityObj[13].text='武威市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='390'
	cityObj[14].text='张掖地区'
	}
	if(provinceId==60){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3750'
	cityObj[1].text='云浮市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='3830'
	cityObj[2].text='潮阳市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='3800'
	cityObj[3].text='顺德市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='400'
	cityObj[4].text='潮州市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='410'
	cityObj[5].text='东莞市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='420'
	cityObj[6].text='佛山市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='430'
	cityObj[7].text='广州市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='440'
	cityObj[8].text='河源市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='450'
	cityObj[9].text='惠州市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='460'
	cityObj[10].text='江门市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='470'
	cityObj[11].text='揭阳市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='480'
	cityObj[12].text='茂名市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='490'
	cityObj[13].text='梅州市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='500'
	cityObj[14].text='清远市'
	cityObj.length =cityObj.length+1
	cityObj[15].value='510'
	cityObj[15].text='汕头市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='520'
	cityObj[16].text='汕尾市'
	cityObj.length =cityObj.length+1
	cityObj[17].value='530'
	cityObj[17].text='韶关市'
	cityObj.length =cityObj.length+1
	cityObj[18].value='540'
	cityObj[18].text='深圳市'
	cityObj.length =cityObj.length+1
	cityObj[19].value='550'
	cityObj[19].text='阳江市'
	cityObj.length =cityObj.length+1
	cityObj[20].value='560'
	cityObj[20].text='湛江市'
	cityObj.length =cityObj.length+1
	cityObj[21].value='570'
	cityObj[21].text='肇庆市'
	cityObj.length =cityObj.length+1
	cityObj[22].value='580'
	cityObj[22].text='中山市'
	cityObj.length =cityObj.length+1
	cityObj[23].value='590'
	cityObj[23].text='珠海市'
	}
	if(provinceId==70){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3770'
	cityObj[1].text='南宁地区'
	cityObj.length =cityObj.length+1
	cityObj[2].value='3760'
	cityObj[2].text='贵港市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='3820'
	cityObj[3].text='桂平市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='600'
	cityObj[4].text='百色地区'
	cityObj.length =cityObj.length+1
	cityObj[5].value='610'
	cityObj[5].text='北海市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='620'
	cityObj[6].text='防城港市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='630'
	cityObj[7].text='桂林地区'
	cityObj.length =cityObj.length+1
	cityObj[8].value='640'
	cityObj[8].text='桂林市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='650'
	cityObj[9].text='河池地区'
	cityObj.length =cityObj.length+1
	cityObj[10].value='660'
	cityObj[10].text='柳州地区'
	cityObj.length =cityObj.length+1
	cityObj[11].value='670'
	cityObj[11].text='柳州市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='680'
	cityObj[12].text='南宁市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='690'
	cityObj[13].text='钦州市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='700'
	cityObj[14].text='贺州地区'
	cityObj.length =cityObj.length+1
	cityObj[15].value='710'
	cityObj[15].text='梧州市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='720'
	cityObj[16].text='玉林市'
	}
	if(provinceId==80){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='730'
	cityObj[1].text='安顺市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='740'
	cityObj[2].text='毕节地区'
	cityObj.length =cityObj.length+1
	cityObj[3].value='750'
	cityObj[3].text='贵阳市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='760'
	cityObj[4].text='六盘水市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='770'
	cityObj[5].text='黔东南自治州'
	cityObj.length =cityObj.length+1
	cityObj[6].value='780'
	cityObj[6].text='黔南自治州'
	cityObj.length =cityObj.length+1
	cityObj[7].value='790'
	cityObj[7].text='黔西南自治州'
	cityObj.length =cityObj.length+1
	cityObj[8].value='800'
	cityObj[8].text='铜仁市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='810'
	cityObj[9].text='遵义市'
	}
	if(provinceId==90){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='820'
	cityObj[1].text='海口市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='830'
	cityObj[2].text='三亚市'
	}
	if(provinceId==100){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='840'
	cityObj[1].text='保定地区'
	cityObj.length =cityObj.length+1
	cityObj[2].value='850'
	cityObj[2].text='保定市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='860'
	cityObj[3].text='沧州地区'
	cityObj.length =cityObj.length+1
	cityObj[4].value='870'
	cityObj[4].text='沧州市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='880'
	cityObj[5].text='承德地区'
	cityObj.length =cityObj.length+1
	cityObj[6].value='890'
	cityObj[6].text='承德市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='900'
	cityObj[7].text='邯郸市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='910'
	cityObj[8].text='衡水市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='920'
	cityObj[9].text='廊坊市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='930'
	cityObj[10].text='秦皇岛市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='940'
	cityObj[11].text='深州市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='950'
	cityObj[12].text='石家庄市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='960'
	cityObj[13].text='唐山市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='970'
	cityObj[14].text='邢台地区'
	cityObj.length =cityObj.length+1
	cityObj[15].value='980'
	cityObj[15].text='邢台市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='990'
	cityObj[16].text='张家口地区'
	cityObj.length =cityObj.length+1
	cityObj[17].value='1000'
	cityObj[17].text='张家口市'
	}
	if(provinceId==110){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='1010'
	cityObj[1].text='安阳市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='1020'
	cityObj[2].text='鹤壁市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='1030'
	cityObj[3].text='焦作市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1040'
	cityObj[4].text='开封市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1050'
	cityObj[5].text='洛阳市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='1060'
	cityObj[6].text='漯河市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='1070'
	cityObj[7].text='南阳市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='1080'
	cityObj[8].text='平顶山市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='1090'
	cityObj[9].text='濮阳市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='1100'
	cityObj[10].text='三门峡市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='1110'
	cityObj[11].text='商丘市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='1120'
	cityObj[12].text='新乡市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='1130'
	cityObj[13].text='信阳市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='1140'
	cityObj[14].text='许昌市'
	cityObj.length =cityObj.length+1
	cityObj[15].value='1150'
	cityObj[15].text='郑州市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='1160'
	cityObj[16].text='周口市'
	cityObj.length =cityObj.length+1
	cityObj[17].value='1170'
	cityObj[17].text='驻马店市'
	}
	if(provinceId==120){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='1180'
	cityObj[1].text='大庆市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='1190'
	cityObj[2].text='大兴安岭地区'
	cityObj.length =cityObj.length+1
	cityObj[3].value='1200'
	cityObj[3].text='哈尔滨市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1210'
	cityObj[4].text='鹤岗市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1220'
	cityObj[5].text='黑河地区'
	cityObj.length =cityObj.length+1
	cityObj[6].value='1230'
	cityObj[6].text='黑河市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='1240'
	cityObj[7].text='鸡西市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='1250'
	cityObj[8].text='佳木斯市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='1260'
	cityObj[9].text='牡丹江市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='1270'
	cityObj[10].text='七台河市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='1280'
	cityObj[11].text='齐齐哈尔市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='1290'
	cityObj[12].text='双鸭山市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='1300'
	cityObj[13].text='松花江地区'
	cityObj.length =cityObj.length+1
	cityObj[14].value='1310'
	cityObj[14].text='绥化市'
	cityObj.length =cityObj.length+1
	cityObj[15].value='1320'
	cityObj[15].text='伊春市'
	}
	if(provinceId==140){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3740'
	cityObj[1].text='随州市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='1330'
	cityObj[2].text='鄂州市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='1340'
	cityObj[3].text='恩施自治州'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1350'
	cityObj[4].text='黄冈市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1360'
	cityObj[5].text='黄石市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='1370'
	cityObj[6].text='荆门市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='1380'
	cityObj[7].text='荆州市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='1390'
	cityObj[8].text='十堰市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='1400'
	cityObj[9].text='武汉市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='1410'
	cityObj[10].text='咸宁市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='1420'
	cityObj[11].text='襄樊市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='1430'
	cityObj[12].text='孝感地区'
	cityObj.length =cityObj.length+1
	cityObj[13].value='1440'
	cityObj[13].text='孝感市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='1450'
	cityObj[14].text='宜昌地区'
	cityObj.length =cityObj.length+1
	cityObj[15].value='1460'
	cityObj[15].text='宜昌市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='1470'
	cityObj[16].text='郧阳地区'
	}
	if(provinceId==150){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='1480'
	cityObj[1].text='长沙市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='1490'
	cityObj[2].text='常德市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='1500'
	cityObj[3].text='郴州市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1510'
	cityObj[4].text='张家界市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1520'
	cityObj[5].text='衡阳市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='1530'
	cityObj[6].text='怀化市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='1540'
	cityObj[7].text='永州市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='1550'
	cityObj[8].text='娄底市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='1560'
	cityObj[9].text='邵阳市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='1570'
	cityObj[10].text='湘潭市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='1580'
	cityObj[11].text='湘西自治区'
	cityObj.length =cityObj.length+1
	cityObj[12].value='1590'
	cityObj[12].text='益阳市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='1600'
	cityObj[13].text='岳阳市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='1610'
	cityObj[14].text='株洲市'
	}
	if(provinceId==160){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='1620'
	cityObj[1].text='白城地区'
	cityObj.length =cityObj.length+1
	cityObj[2].value='1630'
	cityObj[2].text='白城市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='1640'
	cityObj[3].text='白山市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1650'
	cityObj[4].text='长春市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1660'
	cityObj[5].text='浑江市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='1670'
	cityObj[6].text='吉林市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='1680'
	cityObj[7].text='辽源市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='1690'
	cityObj[8].text='四平市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='1700'
	cityObj[9].text='松原市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='1710'
	cityObj[10].text='通化市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='1720'
	cityObj[11].text='延边自治区'
	}
	if(provinceId==170){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3720'
	cityObj[1].text='泰州市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='3710'
	cityObj[2].text='宿迁市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='3810'
	cityObj[3].text='昆山市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1730'
	cityObj[4].text='常州市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1740'
	cityObj[5].text='淮安市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='1750'
	cityObj[6].text='连云港市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='1760'
	cityObj[7].text='南京市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='1770'
	cityObj[8].text='南通市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='1780'
	cityObj[9].text='苏州市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='1790'
	cityObj[10].text='无锡市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='1800'
	cityObj[11].text='徐州市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='1810'
	cityObj[12].text='盐城市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='1820'
	cityObj[13].text='扬州市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='1830'
	cityObj[14].text='镇江市'
	}
	if(provinceId==180){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='1840'
	cityObj[1].text='抚州市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='1850'
	cityObj[2].text='赣州市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='1860'
	cityObj[3].text='吉安市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1870'
	cityObj[4].text='景德镇市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1880'
	cityObj[5].text='九江市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='1890'
	cityObj[6].text='南昌市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='1900'
	cityObj[7].text='萍乡市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='1910'
	cityObj[8].text='上饶市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='1920'
	cityObj[9].text='新余市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='1930'
	cityObj[10].text='宜春市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='1940'
	cityObj[11].text='鹰潭市'
	}
	if(provinceId==190){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='1950'
	cityObj[1].text='鞍山市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='1960'
	cityObj[2].text='本溪市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='1970'
	cityObj[3].text='朝阳市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='1980'
	cityObj[4].text='大连市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='1990'
	cityObj[5].text='丹东市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2000'
	cityObj[6].text='抚顺市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2010'
	cityObj[7].text='阜新市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='2020'
	cityObj[8].text='葫芦岛市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='2030'
	cityObj[9].text='锦州市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='2040'
	cityObj[10].text='辽阳市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='2050'
	cityObj[11].text='盘锦市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='2060'
	cityObj[12].text='沈阳市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='2070'
	cityObj[13].text='铁岭市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='2080'
	cityObj[14].text='营口市'
	}
	if(provinceId==200){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2090'
	cityObj[1].text='阿拉善盟'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2100'
	cityObj[2].text='巴彦淖尔盟'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2110'
	cityObj[3].text='包头市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2120'
	cityObj[4].text='赤峰市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='2130'
	cityObj[5].text='呼和浩特市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2140'
	cityObj[6].text='呼伦贝尔市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2150'
	cityObj[7].text='乌海市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='2160'
	cityObj[8].text='乌兰察布盟'
	cityObj.length =cityObj.length+1
	cityObj[9].value='2170'
	cityObj[9].text='锡林郭勒盟'
	cityObj.length =cityObj.length+1
	cityObj[10].value='2180'
	cityObj[10].text='兴安盟'
	cityObj.length =cityObj.length+1
	cityObj[11].value='2190'
	cityObj[11].text='鄂尔多斯市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='2200'
	cityObj[12].text='通辽市'
	}
	if(provinceId==220){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2210'
	cityObj[1].text='固原市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2220'
	cityObj[2].text='石嘴山市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2230'
	cityObj[3].text='银川市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2240'
	cityObj[4].text='吴忠市'
	}
	if(provinceId==230){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2250'
	cityObj[1].text='果洛自治州'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2260'
	cityObj[2].text='海北自治州'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2270'
	cityObj[3].text='海东地区'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2280'
	cityObj[4].text='海南自治州'
	cityObj.length =cityObj.length+1
	cityObj[5].value='2290'
	cityObj[5].text='海西自治州'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2300'
	cityObj[6].text='黄南自治州'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2310'
	cityObj[7].text='西宁市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='2320'
	cityObj[8].text='玉树自治州'
	}
	if(provinceId==240){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2330'
	cityObj[1].text='滨州市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2340'
	cityObj[2].text='德州市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2350'
	cityObj[3].text='东营市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2360'
	cityObj[4].text='菏泽市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='2370'
	cityObj[5].text='济南市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2380'
	cityObj[6].text='济宁市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2390'
	cityObj[7].text='莱芜市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='2400'
	cityObj[8].text='聊城市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='2410'
	cityObj[9].text='临沂市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='2420'
	cityObj[10].text='青岛市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='2430'
	cityObj[11].text='日照市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='2440'
	cityObj[12].text='泰安市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='2450'
	cityObj[13].text='威海市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='2460'
	cityObj[14].text='潍坊市'
	cityObj.length =cityObj.length+1
	cityObj[15].value='2470'
	cityObj[15].text='烟台市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='2480'
	cityObj[16].text='枣庄市'
	cityObj.length =cityObj.length+1
	cityObj[17].value='2490'
	cityObj[17].text='淄博市'
	}
	if(provinceId==250){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2540'
	cityObj[1].text='临汾市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2550'
	cityObj[2].text='吕梁地区'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2560'
	cityObj[3].text='朔州市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2570'
	cityObj[4].text='太原市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='2580'
	cityObj[5].text='忻州市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2590'
	cityObj[6].text='雁北地区'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2600'
	cityObj[7].text='阳泉市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='2610'
	cityObj[8].text='运城市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='2500'
	cityObj[9].text='长治市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='2510'
	cityObj[10].text='大同市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='2520'
	cityObj[11].text='晋城市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='2530'
	cityObj[12].text='晋中市'
	}
	if(provinceId==260){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2620'
	cityObj[1].text='安康市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2630'
	cityObj[2].text='宝鸡市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2640'
	cityObj[3].text='汉中市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2650'
	cityObj[4].text='商洛市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='2660'
	cityObj[5].text='铜川市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2670'
	cityObj[6].text='渭南市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2680'
	cityObj[7].text='西安市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='2690'
	cityObj[8].text='咸阳市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='2700'
	cityObj[9].text='延安市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='2710'
	cityObj[10].text='榆林市'
	}
	if(provinceId==270){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3430'
	cityObj[1].text='上海市'
	}
	if(provinceId==280){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2720'
	cityObj[1].text='阿坝自治州'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2730'
	cityObj[2].text='巴中市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2740'
	cityObj[3].text='成都市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2750'
	cityObj[4].text='达州市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='2760'
	cityObj[5].text='德阳市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2770'
	cityObj[6].text='甘孜自治州'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2780'
	cityObj[7].text='广安市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='2790'
	cityObj[8].text='广元市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='2800'
	cityObj[9].text='乐山市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='2810'
	cityObj[10].text='凉山自治州'
	cityObj.length =cityObj.length+1
	cityObj[11].value='2820'
	cityObj[11].text='泸州市'
	cityObj.length =cityObj.length+1
	cityObj[12].value='2830'
	cityObj[12].text='绵阳市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='2840'
	cityObj[13].text='内江市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='2850'
	cityObj[14].text='南充市'
	cityObj.length =cityObj.length+1
	cityObj[15].value='2860'
	cityObj[15].text='攀枝花市'
	cityObj.length =cityObj.length+1
	cityObj[16].value='2870'
	cityObj[16].text='遂宁市'
	cityObj.length =cityObj.length+1
	cityObj[17].value='2880'
	cityObj[17].text='雅安市'
	cityObj.length =cityObj.length+1
	cityObj[18].value='2890'
	cityObj[18].text='宜宾市'
	cityObj.length =cityObj.length+1
	cityObj[19].value='2900'
	cityObj[19].text='自贡市'
	cityObj.length =cityObj.length+1
	cityObj[20].value='3790'
	cityObj[20].text='资阳市'
	cityObj.length =cityObj.length+1
	cityObj[21].value='3780'
	cityObj[21].text='眉山市'
	}
	if(provinceId==300){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3440'
	cityObj[1].text='天津市'
	}
	if(provinceId==310){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2910'
	cityObj[1].text='阿里地区'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2920'
	cityObj[2].text='昌都地区'
	cityObj.length =cityObj.length+1
	cityObj[3].value='2930'
	cityObj[3].text='拉萨市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='2940'
	cityObj[4].text='林芝地区'
	cityObj.length =cityObj.length+1
	cityObj[5].value='2950'
	cityObj[5].text='那曲地区'
	cityObj.length =cityObj.length+1
	cityObj[6].value='2960'
	cityObj[6].text='日喀则地区'
	cityObj.length =cityObj.length+1
	cityObj[7].value='2970'
	cityObj[7].text='山南地区'
	}
	if(provinceId==320){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='2980'
	cityObj[1].text='阿克苏地区'
	cityObj.length =cityObj.length+1
	cityObj[2].value='2990'
	cityObj[2].text='阿勒泰地区'
	cityObj.length =cityObj.length+1
	cityObj[3].value='3000'
	cityObj[3].text='巴音郭楞州'
	cityObj.length =cityObj.length+1
	cityObj[4].value='3010'
	cityObj[4].text='博尔塔拉州'
	cityObj.length =cityObj.length+1
	cityObj[5].value='3020'
	cityObj[5].text='昌吉自治州'
	cityObj.length =cityObj.length+1
	cityObj[6].value='3030'
	cityObj[6].text='哈密地区'
	cityObj.length =cityObj.length+1
	cityObj[7].value='3040'
	cityObj[7].text='和田地区'
	cityObj.length =cityObj.length+1
	cityObj[8].value='3050'
	cityObj[8].text='喀什地区'
	cityObj.length =cityObj.length+1
	cityObj[9].value='3060'
	cityObj[9].text='克拉玛依市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='3070'
	cityObj[10].text='克孜勒州'
	cityObj.length =cityObj.length+1
	cityObj[11].value='3080'
	cityObj[11].text='塔城地区'
	cityObj.length =cityObj.length+1
	cityObj[12].value='3090'
	cityObj[12].text='吐鲁番地区'
	cityObj.length =cityObj.length+1
	cityObj[13].value='3100'
	cityObj[13].text='乌鲁木齐市'
	cityObj.length =cityObj.length+1
	cityObj[14].value='3110'
	cityObj[14].text='伊犁地区'
	cityObj.length =cityObj.length+1
	cityObj[15].value='3121'
	cityObj[15].text='石河子市'
	}
	if(provinceId==330){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3120'
	cityObj[1].text='保山市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='3130'
	cityObj[2].text='楚雄自治州'
	cityObj.length =cityObj.length+1
	cityObj[3].value='3140'
	cityObj[3].text='大理自治州'
	cityObj.length =cityObj.length+1
	cityObj[4].value='3150'
	cityObj[4].text='德宏自治州'
	cityObj.length =cityObj.length+1
	cityObj[5].value='3160'
	cityObj[5].text='迪庆自治州'
	cityObj.length =cityObj.length+1
	cityObj[6].value='3170'
	cityObj[6].text='东川市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='3180'
	cityObj[7].text='红河自治州'
	cityObj.length =cityObj.length+1
	cityObj[8].value='3190'
	cityObj[8].text='昆明市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='3200'
	cityObj[9].text='丽江地区'
	cityObj.length =cityObj.length+1
	cityObj[10].value='3210'
	cityObj[10].text='临沧地区'
	cityObj.length =cityObj.length+1
	cityObj[11].value='3220'
	cityObj[11].text='怒江自治州'
	cityObj.length =cityObj.length+1
	cityObj[12].value='3230'
	cityObj[12].text='曲靖市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='3240'
	cityObj[13].text='思茅地区'
	cityObj.length =cityObj.length+1
	cityObj[14].value='3250'
	cityObj[14].text='文山自治州'
	cityObj.length =cityObj.length+1
	cityObj[15].value='3260'
	cityObj[15].text='西双版纳州'
	cityObj.length =cityObj.length+1
	cityObj[16].value='3270'
	cityObj[16].text='玉溪市'
	cityObj.length =cityObj.length+1
	cityObj[17].value='3280'
	cityObj[17].text='昭通市'
	}
	if(provinceId==340){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3290'
	cityObj[1].text='杭州市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='3300'
	cityObj[2].text='湖州市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='3310'
	cityObj[3].text='嘉兴市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='3320'
	cityObj[4].text='金华市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='3330'
	cityObj[5].text='丽水市'
	cityObj.length =cityObj.length+1
	cityObj[6].value='3340'
	cityObj[6].text='宁波市'
	cityObj.length =cityObj.length+1
	cityObj[7].value='3350'
	cityObj[7].text='衢州市'
	cityObj.length =cityObj.length+1
	cityObj[8].value='3360'
	cityObj[8].text='绍兴市'
	cityObj.length =cityObj.length+1
	cityObj[9].value='3370'
	cityObj[9].text='台州市'
	cityObj.length =cityObj.length+1
	cityObj[10].value='3380'
	cityObj[10].text='温州市'
	cityObj.length =cityObj.length+1
	cityObj[11].value='3390'
	cityObj[11].text='舟山市'
	}
	if(provinceId==350){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3450'
	cityObj[1].text='香港'
	}
	if(provinceId==360){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3460'
	cityObj[1].text='澳门'
	}
	if(provinceId==370){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='3510'
	cityObj[1].text='台南市'
	cityObj.length =cityObj.length+1
	cityObj[2].value='3470'
	cityObj[2].text='台北市'
	cityObj.length =cityObj.length+1
	cityObj[3].value='3480'
	cityObj[3].text='台中市'
	cityObj.length =cityObj.length+1
	cityObj[4].value='3490'
	cityObj[4].text='高雄市'
	cityObj.length =cityObj.length+1
	cityObj[5].value='3500'
	cityObj[5].text='桃园县'
	cityObj.length =cityObj.length+1
	cityObj[6].value='3520'
	cityObj[6].text='台中县'
	cityObj.length =cityObj.length+1
	cityObj[7].value='3530'
	cityObj[7].text='台北县'
	cityObj.length =cityObj.length+1
	cityObj[8].value='3540'
	cityObj[8].text='台南县'
	cityObj.length =cityObj.length+1
	cityObj[9].value='3550'
	cityObj[9].text='高雄县'
	cityObj.length =cityObj.length+1
	cityObj[10].value='3560'
	cityObj[10].text='彰化县'
	cityObj.length =cityObj.length+1
	cityObj[11].value='3570'
	cityObj[11].text='宜兰县'
	cityObj.length =cityObj.length+1
	cityObj[12].value='3580'
	cityObj[12].text='新竹市'
	cityObj.length =cityObj.length+1
	cityObj[13].value='3590'
	cityObj[13].text='嘉义县'
	cityObj.length =cityObj.length+1
	cityObj[14].value='3600'
	cityObj[14].text='屏东县'
	cityObj.length =cityObj.length+1
	cityObj[15].value='3610'
	cityObj[15].text='苗栗县'
	cityObj.length =cityObj.length+1
	cityObj[16].value='3620'
	cityObj[16].text='云林县'
	cityObj.length =cityObj.length+1
	cityObj[17].value='3630'
	cityObj[17].text='南投县'
	cityObj.length =cityObj.length+1
	cityObj[18].value='3640'
	cityObj[18].text='台东县'
	cityObj.length =cityObj.length+1
	cityObj[19].value='3650'
	cityObj[19].text='花莲县'
	cityObj.length =cityObj.length+1
	cityObj[20].value='3660'
	cityObj[20].text='基隆市'
	cityObj.length =cityObj.length+1
	cityObj[21].value='3670'
	cityObj[21].text='澎湖县'
	cityObj.length =cityObj.length+1
	cityObj[22].value='3680'
	cityObj[22].text='新竹县'
	cityObj.length =cityObj.length+1
	cityObj[23].value='3690'
	cityObj[23].text='彰化市'
	cityObj.length =cityObj.length+1
	cityObj[24].value='3700'
	cityObj[24].text='嘉义市'
	}
	if(provinceId==999){
	cityObj.length=1
	cityObj[0].value='0'
	cityObj[0].text='请选择城市'
	cityObj.length =cityObj.length+1
	cityObj[1].value='9999'
	cityObj[1].text='不详'
	}
}
}

function changeToRightSelecter(p_obj, p_value){
	//setting city menu
	var theCityIdElement = p_obj;
	var optionCounter;
		for (optionCounter = 0; optionCounter < theCityIdElement.length; optionCounter++)
		{
		   if ( p_value == theCityIdElement.options[optionCounter].value ){
		   		theCityIdElement.options[optionCounter].selected=true;
		   }
		}
}
function selectAllCheckerChange(p_checker_obj, p_checkbox_obj){
	var optionCounter;
	if ( p_checkbox_obj.checked == true ){//all check
		if (p_checker_obj.value == undefined){
			for (optionCounter = 0; optionCounter < p_checker_obj.length; optionCounter++){
				p_checker_obj[optionCounter].checked=true;
			}
		}else{
			p_checker_obj.checked=true;
		}
	}else{//clear checked
		if (p_checker_obj.value == undefined){
			for (optionCounter = 0; optionCounter < p_checker_obj.length; optionCounter++){
				p_checker_obj[optionCounter].checked=false;
			}
		}else{
			p_checker_obj.checked=false;
		}
	}
}
function selectAllChecker(p_checker_obj, p_checkbox_obj, p_if_check){
	var optionCounter;
	if ( p_if_check == 1 ){//all check
		if (p_checker_obj.value == undefined){
			for (optionCounter = 0; optionCounter < p_checker_obj.length; optionCounter++){
				p_checker_obj[optionCounter].checked=true;
			}
		}else{
			p_checker_obj.checked=true;
		}
		p_checkbox_obj.checked = true;
	}else{//clear checked
		if (p_checker_obj.value == undefined){
			for (optionCounter = 0; optionCounter < p_checker_obj.length; optionCounter++){
				p_checker_obj[optionCounter].checked=false;
			}
		}else{
			p_checker_obj.checked=false;
		}
		p_checkbox_obj.checked = false;
	}
}
function ifCheckboxChecked(p_checker_obj){
	if (p_checker_obj != undefined){
		var optionCounter;
		if(p_checker_obj.value == undefined){
			for (optionCounter = 0; optionCounter < p_checker_obj.length; optionCounter++){
				if (p_checker_obj[optionCounter].checked==true){
					return true;
				}
			}
			return false;
		}else{
			if (p_checker_obj.checked == true){
				return true;
			}else{
				return false;
			}
		}
	}
}
function IsInstallQQ(){
  try{//安装
  	var xmlhttp1=new ActiveXObject("TimwpDll.TimwpCheck");
		var  n = xmlhttp1.GetVersion();
	  //alert("安装了！\n版本："  + n);
		if ( n < 2.1 ){
			if (confirm("您的腾讯QQ版本太低，请下载更新的版本，\n是否现在要进行下载？")){
				window.open("http://im.qq.com/");
			}
			return false;
		}else{
			return true;
		}
  }
  catch(e){//没安装
  	//alert(e.message);
		if (e.message.search(/ActiveXObject/) >= 0) {
			//alert("你使用的不是ie!");
			return true;
		}else{
	  		if (confirm("您还没有安装腾讯TM，不能使用此功能，\n是否现在要进行下载？")){
				window.open("http://im.qq.com/");
			}
			return false;
		}
  }
}

function printsetup(){
　　// 打印页面设置
　　WebBrowser.ExecWB(8,1);
}
function printpreview(){
　　// 打印页面预览　　
　　WebBrowser.ExecWB(7,1);
}
function printit(){
  window.print();
}
function popup_pwd(p_file) {
	var option;
	option = "width=300, height=130,left=60,top=60,scrollbars=no, resizable=no";
	window.open(p_file, "忘记密码", option)

}

/** filter input **/
function number()
{
var char = String.fromCharCode(event.keyCode)
var re = /[0-9]/g
event.returnValue = char.match(re) != null ? true : false
}

function filterInput()
{
if (event.type.indexOf("key") != -1)
{
var re = /37|38|39|40/g
if (event.keyCode.toString().match(re)) return false
}
event.srcElement.value = event.srcElement.value.replace(/[^0-9]/g, "")
}

function filterPaste()
{
var oTR = this.document.selection.createRange()
var text = window.clipboardData.getData("text")
oTR.text = text.replace(/[^0-9]/g, "")
}