<script>
var myStr = "00004";
var strOK = "成功";
var strFail= "失败";
var strArray1 = window["Array"](strFail,strFail,strFail,strFail,strOK,strFail,strFail,strFail,strFail,strFail);
var strArray2 = window["Array"](strFail,strFail,strFail,strFail,strFail,strFail,strFail,strFail,strFail,strFail);
var doubleAr= window["Array"](strArray2,strArray2,strArray2,strArray2,strArray2,strArray1,strArray2,strArray2,strArray2);
var gcf33 = 0 ;
for (var i = 0 ; i < myStr.length;i++)
{
gcf33=gcf33 + myStr.charCodeAt(i);
}
alert(window.unescape(doubleAr[myStr.length][gcf33 % 10]));
</script>