function colHeight1(){ 
	var i,oh,hh,h=0,dA1=document.eqc1,an1=document.eqa1;
 	if(dA1&&dA1.length){
		for(i=0;i<dA1.length;i++){
			dA1[i].style.height='auto';
		}
	 	for(i=0;i<dA1.length;i++){
 			oh=dA1[i].offsetHeight;
			h=(oh>h)?oh:h;
		}
		for(i=0;i<dA1.length;i++){
			if(an1){
 			dA1[i].style.height=h+'px';
			} else{eqa1(dA1[i].id,dA1[i].offsetHeight,h);
			}
		}
		if(an1){
 			for(i=0;i<dA1.length;i++){hh=dA1[i].offsetHeight;
			if(hh>h){
		 		dA1[i].style.height=(h-(hh-h))+'px';
			}
		}
	}else{
		document.eqa1=1;
	}
	document.eqth1=document.body.offsetHeight;
	document.eqtw2=document.body.offsetWidth;
	}
}

function eqT1(){ 
	if(document.eqth1!=document.body.offsetHeight||document.eqtw2!=document.body.offsetWidth){
 		colHeight1();
	}
}

function eqa1(el,h,ht){ 
	var sp=1,inc=20,nh=h,g1=document.getElementById(el),oh=g1.offsetHeight,ch=parseInt(g1.style.height);
 		ch=(ch)?ch:h;var ad=oh-ch,adT=ht-ad;
		nh+=inc;nh=(nh>adT)?adT:nh;
		g1.style.height=nh+'px';
		oh=g1.offsetHeight;
	
	if(oh>ht){
		nh=(ht-(oh-ht));
		g1.style.height=nh+'px';
	}
 	if(nh<adT){
		setTimeout("eqa1('"+el+"',"+nh+","+ht+")",sp);
	}
}

function equalDiv1(){ 
	if(document.getElementById){
		document.eqc1=new Array;
		for(var i=0;i<arguments.length;i++){
			document.eqc1[i]=document.getElementById(arguments[i]);
			}
		setInterval("eqT1()",10);}
}

<!-- -->

function colHeight2(){ 
	var i,oh,hh,h=0,dA2=document.eqc2,an2=document.eqa2;
 	if(dA2&&dA2.length){
		for(i=0;i<dA2.length;i++){
			dA2[i].style.height='auto';
		}
	 	for(i=0;i<dA2.length;i++){
 			oh=dA2[i].offsetHeight;
			h=(oh>h)?oh:h;
		}
		for(i=0;i<dA2.length;i++){
			if(an2){
 			dA2[i].style.height=h+'px';
			} else{eqa2(dA2[i].id,dA2[i].offsetHeight,h);
			}
		}
		if(an2){
 			for(i=0;i<dA2.length;i++){hh=dA2[i].offsetHeight;
			if(hh>h){
		 		dA2[i].style.height=(h-(hh-h))+'px';
			}
		}
	}else{
		document.eqa2=1;
	}
	document.eqth2=document.body.offsetHeight;
	document.eqtw2=document.body.offsetWidth;
	}
}

function eqT2(){ 
	if(document.eqth2!=document.body.offsetHeight||document.eqtw2!=document.body.offsetWidth){
 		colHeight2();
	}
}

function eqa2(el,h,ht){ 
	var sp=1,inc=20,nh=h,g2=document.getElementById(el),oh=g2.offsetHeight,ch=parseInt(g2.style.height);
 		ch=(ch)?ch:h;var ad=oh-ch,adT=ht-ad;
		nh+=inc;nh=(nh>adT)?adT:nh;
		g2.style.height=nh+'px';
		oh=g2.offsetHeight;
	
	if(oh>ht){
		nh=(ht-(oh-ht));
		g2.style.height=nh+'px';
	}
 	if(nh<adT){
		setTimeout("eqa2('"+el+"',"+nh+","+ht+")",sp);
	}
}

function equalDiv2(){ 
	if(document.getElementById){
		document.eqc2=new Array;
		for(var i=0;i<arguments.length;i++){
			document.eqc2[i]=document.getElementById(arguments[i]);
			}
		setInterval("eqT2()",10);}
}