if(current <= 1) { location.href = url+"index_6700"+"."+"html"; }else { location.href = url + str; } } }); });