var stat = http.status||0;
return(stat >= 200&& stat <300)||// Boolean
stat == 304||// allow any 2XX response code
stat == 1223||// get it out of the cache(!stat &&(location.protocol=="file:"|| location.protocol=="chrome:")); // Internet Explorer mangled the status code