=860)
twidth = (860 / 4 * 0.96);
var theight = (twidth / parseInt(tsize.split("x")[0])) * parseInt(tsize.split("x")[1]);
for (i = 0; i < tplist.length; i++) {
if (tplist[i].className == "tp_list") {
var timgs = tplist[i].getElementsByTagName("img");
for (n = 0; n < timgs.length; n++) {
timgs[n].style.height = theight.toString() + "px";
}
}
}
}
// setthumbsize();
window.onresize = function () {
// setthumbsize();
}