function SI_clearAbsolutes() {
	var d = document;
	if (!d.getElementsByTagName) return;
	divs = d.getElementsByTagName('div');
	if(divs.length >= 1){
		for (i=divs.length-1;div=divs[i];i--) {
			if (div.className.indexOf('si-clear-absolutes')!=-1) {
				// Make an array of the rendered heights of the contained elements
				oh = []; for (j=0;j<div.childNodes.length;j++) { c = div.childNodes[j]; if (c.nodeName=='DIV') { oh[oh.length] = parseInt(c.offsetHeight); }}
				// Determine the max height
				h = 0; for (k=0;k<oh.length;k++) { h = (oh[k]>h)?oh[k]:h;}
				// Extend shorter elements
				for (j=0;j<div.childNodes.length;j++) { c = div.childNodes[j]; if (c.nodeName=='DIV') { c.style.height = h+'px'; }}
				// Set the height of the containing element
				div.style.height = h+'px';
			}
		}
	}
}
$(document).ready(function(){
	SI_clearAbsolutes();
});