// this is a placeholder to replace the stuff that comes from the mola_jq command, which is deprecated!
// from here... standards/mola_0.9.7/mola_jquery_base.js?v=3 to this

var ie6=($.browser.msie && !window.XMLHttpRequest);	//a global hack test for IE...
var hConstraints=[];
minHeightFix=function(target,constraints,padding) {
	//alert("enacting minHeightFix"); // this prevents the existing fix from causing us problems...
	//alert("passed in "+constraints.length);
	if (ie6) {
		if(!$("#minheightfix").length){
			target.append("<div id='minheightfix'></div>");	
		}
		$("#minheightfix").height(0);
	} 	
	var targetH=target.height();
	var tallest=0;
	for(i=0;i<constraints.length;i++) {
		if (constraints[i]>tallest) {
			tallest=constraints[i];
		}
	}
	tallest+=padding;
	//alert("content ="+targetH+"; "+"tallest = "+tallest+ " differential="+(tallest-targetH>0?tallest-targetH:0));
	target.css("min-height",(tallest)).css("height","auto"); // go ahead and set it just in case
	//alert("after set min-height: "+target.css("min-height"));
	if (ie6) {  // need min-height detection!
		$("#minheightfix").height(tallest-targetH>0?tallest-targetH:0);
	} 	
}
