");
}
(function(i){
if(i>imgCount)return;
var t=arguments.callee;
var error=false;
var img=new Image();
img.src="images/"+i+".jpg";
img.onerror=function(){error=true};
(function(){
if(img.complete||error)
{
var ow=img.width,oh=img.height;
if(img.width>img.height){img.width=100;
img.height=img.width*oh/ow;}
else{img.height=100;
img.width=img.height*ow/oh;}
var o=document.getElementById("goShow").getElementsByTagName("div")[i-1].appendChild(img);
o.style.marginTop=(o.parentNode.offsetHeight-o.height)/2+'px';
i++;
return t(i);
}
setTimeout(arguments.callee,100);
})()
})(1)