function reSizeInter() {
var oInter=document.getElementById("inter");
var iHeight=parseInt(document.body.clientHeight) - 252
if (iHeight > oInter.offsetHeight) {
oInter.style.height=iHeight+"px";
}
}
if (window.attachEvent) {
window.attachEvent("onload",reSizeInter);
window.attachEvent("onresize",reSizeInter);
} else {
window.addEventListener("load",reSizeInter, false);
window.addEventListener("resize",reSizeInter, false);
}