var act;
function over(s) {
var obj = document.getElementById(s);
var nMax = document.getElementById("content").style.height;
alert(nMax);
//obj.style.display = 'block';
var h = parseInt(obj.offsetHeight);
if (h < nMax) {
obj.style.height = (h + 10) + "px";
clearTimeout(act);
act = setTimeout("over('" + s + "'," + nMax + ")", 10);
}
}
function out(s) {
var nMin = 0;
var obj = document.getElementById(s);
var h = parseInt(obj.offsetHeight);
if (h > nMin) {
obj.style.height = (h - 10) + "px";
clearTimeout(act);
act = setTimeout("out('" + s + "'," + nMin + ")", 10);
}
}
function over(s) {
var obj = document.getElementById(s);
var nMax = document.getElementById("content").style.height;
alert(nMax);
//obj.style.display = 'block';
var h = parseInt(obj.offsetHeight);
if (h < nMax) {
obj.style.height = (h + 10) + "px";
clearTimeout(act);
act = setTimeout("over('" + s + "'," + nMax + ")", 10);
}
}
function out(s) {
var nMin = 0;
var obj = document.getElementById(s);
var h = parseInt(obj.offsetHeight);
if (h > nMin) {
obj.style.height = (h - 10) + "px";
clearTimeout(act);
act = setTimeout("out('" + s + "'," + nMin + ")", 10);
}
}