function ResizeDivs() {
	var divheightTotal = 0;
	var div1 = document.getElementById('contentRight').offsetHeight;
	var div2 = document.getElementById('contentLeft').offsetHeight;

	if (div1 > div2) {
		var divheight = div1;
	} else {
		var divheight = div2;
	}
	
	var protocol = window.parent.document.location.protocol + '//';
	
	if (protocol == 'https://') {
		divheightTotal = divheight + 240;
	} else {
		divheightTotal = divheight + 350;
	} 
	
	document.getElementById('frameMid').style.height=divheightTotal+'px';
	document.getElementById('content').style.height=divheight+'px';
	document.getElementById('contentLeft').style.height=divheight+'px';
	document.getElementById('contentRight').style.height=divheight+'px';
}
