function focusNextInput(thisInput, Id) {
var inputs = document.getElementsByTagName("input");
IPS = [];
for (var i = 0, j = inputs.length; i < j; i++) {
if (inputs[i].type == 'text')
IPS[IPS.length] = inputs[i];
}
for (var z = 0; z < IPS.length; z++) {
// 如果是最後一個,失去焦點
if (z == (IPS.length - 1)) {
thisInput.blur();
break;
} else if (thisInput == IPS[z]) {
IPS[z + 1].focus();
break;
}
}
}