<!--
// Class containerHeight1

function containerHeight1(one,two) {
	if (document.getElementById(one)) {
		var lh=document.getElementById(one).offsetHeight;
		var rh=document.getElementById(two).offsetHeight;
		var nh = Math.max(lh, rh); 
		document.getElementById(one).style.height=nh+"px";
		document.getElementById(two).style.height=nh+"px";
	}
}

//-->
<!--
// Class containerHeight2

function containerHeight2(){ 

     var divs2,contDivs2,maxHeight2,divHeight2,d2; 

     // get all <div> elements in the document 

     divs2=document.getElementsByTagName('div'); 

     contDivs2=[]; 

     // initialize maximum height value 

     maxHeight2=0; 

     // iterate over all <div> elements in the document 

		for (i=divs2.length-1; i>=0; i--) { 

          // make collection with <div> elements with class attribute 'containerHeight2' 

          if(/\bcontainerHeight2\b/.test(divs2[i].className)){ 

                d2=divs2[i]; 

                contDivs2[contDivs2.length]=d2; 

                // determine height for <div> element 

                if(d2.offsetHeight){ 

                     divHeight2=d2.offsetHeight; 

                } 

                else if(d2.style.pixelHeight){ 

                     divHeight2=d2.style.pixelHeight; 

                } 

                // calculate maximum height 

                maxHeight2=Math.max(maxHeight2,divHeight2); 

          } 

     } 

     // assign maximum height value to all of containerHeight2 <div> elements 

		for(i=contDivs2.length-1; i>=0; i--) { 
		contDivs2[i].style.height=maxHeight2; 

     } 

} 

//-->

// execute function when page loads 

window.onload=function(){ 

     if(document.getElementsByTagName){ 

          containerHeight2(); 

     } 
	 
	 containerHeight1('leftSide','rightSide');

}