//area methods
function Area(catid,id,title) {
this.catid=catid;
this.id=id;
this.title=title;
this.getOption=getOption;
}
function getOption() {
return new Option(this.title,this.id);
}
//选择省份的函数
function changeOther(list) {
//日文信息同步更新
document.all.jpChild2.options[list.selectedIndex].selected=true;
jpchangeOther(document.all.jpChild2);
if (list.options[list.selectedIndex].value == 999) {
document.getElementById("cOtherArea").style.display = "";
} else {
document.getElementById("cOtherArea").style.display = "none";
}
}
function changeChild(list) {
var len;
var tmpId;
var tmpNum=1;
//清空地级的列表值
len = child2Form.options.length;
for (var i=len-1;i>0;i--){
child2Form.options[i]=null;
}
//如果选择了省份,则取地级列表值
if (list.selectedIndex>0) {
//选择国家的函数
function changeCategory(list){
var len;
var tmpId;
var tmpNum=1;
var tmpList;
//清空省份的列表值
len = child1Form.options.length;
for (var i=len-1;i>0;i--){
child1Form.options[i]=null;
}
//清空地级的列表值
len=child2Form.options.length;
for (var i=len-1;i>0;i--){
child2Form.options[i]=null;
}
//如果选择了国家,则取省份列表
if (list.selectedIndex>0) {
//经营模式
function chkBusType() {
document.all.jBusType.value = document.all.cBusType.value;
}
//称呼
function chkSex(n) {
document.all.jSex[n].checked = true;
}
//OEM加工
function chkOem(n) {
document.all.jOem[n].checked = true;
}
//进出口经营权
function chkExportright(n) {
document.all.jExportright[n].checked = true;
}
//页面打开时载入分类
function setHangYe() {
var cList;
var jList;
var i;
var cText;
var jText;
var cValue;
var jValue;
var textArr;
var valueArr;
cList = document.all.cHYList;
jList = document.all.jHYList;
cText = document.all.cHYText.value;
jText = document.all.jHYText.value;
cValue = document.all.cHYValue.value;
jValue = document.all.jHYValue.value;