function frm_onload(frmname, obj)
{
	var col1;
	var col2;
	var height_col1;
	var height_col2;

	if (obj.contentWindow) {
		col1 = obj.contentWindow.document.getElementById('col1_shop');
		if (col1 != null) {
			height_col1 = col1.offsetHeight + 40;
		}

		col2 = obj.contentWindow.document.getElementById('col2_shop');

		if (col2 != null) {
			height_col2 = col2.offsetHeight + 40;
		}
	} else {
		col1 = obj.contentDocument.getElementById('col1_shop');
		if (col1 != null) {
			height_col1 = col1.offsetHeight + 40;
		}

		col2 = obj.contentDocument.getElementById('col2_shop');
		if (col2 != null) {
			height_col2 = col2.offsetHeight + 40;
		}
	}

	if (height_col1 <= height_col2) {
		obj.style.height = height_col2 + "px";
	} else {
		obj.style.height = height_col1 + "px";
	}

}