资 源 简 介
var yName = null;
function setYearByFg(yy){
var Year = yy;
if(yName.value =="4") {
//暯惉尦崋
Year = Year + 1 - 1989;
} else if(yName.value =="3") {
//徍榓尦崋
Year = Year + 1 - 1926;
} else if(yName.value =="2") {
//戝惓尦崋
Year = Year + 1 - 1912;
} else if(yName.value =="1") {
//柧帯尦崋
Year = Year + 1 - 1868;
}
return Year;
}
//惣楋
function getYear(yName,Year){
var Year1 = null;
if(yName =="4") {
//暯惉尦崋
Year1 = (1989 -1) + Number(Year);
} else if(yName=="3") {
//徍榓尦崋
Year1 = 1926 -1 + Number(Year);
} else if(yName =="2") {
//戝惓尦崋
Year1 = 1912 - 1 + Number(Year);
} else if(yName =="1") {
//柧帯尦崋
Year1 = 1868 - 1 + Number(Year);
}else if(yName =="9") {
//惣楋尦崋
Year1 = Number(Year);
}
return Year1;
}