function resizeElement(div, height, width) {
elem = (typeof(div) == "string") ? document.getElementById(div) : div;
if (!div || typeof(div) != "object") {
return false;
}
div.style.height = height;
div.style.width = width;
return true;
}
elem = (typeof(div) == "string") ? document.getElementById(div) : div;
function resizeElement(div, height, width) {
div = (typeof(div) == "string") ? document.getElementById(div) : div;
if (!div || typeof(div) != "object") {
return false;
}
div.style.height = height;
div.style.width = width;
return true;
}