﻿// JScript 文件
function SetSameHeigthToJob() 
{ 

// get a reference to the three DIVS that make up the columns 

var leftCol = window.document.getElementById('CMleft'); 

var rightCol = window.document.getElementById('CMCute');

// calculate the max height 

var hLeftCol = leftCol.offsetHeight; 

var hRightCol = rightCol.offsetHeight;

var maxHeight = Math.max(hLeftCol, hRightCol); 

// set the height of all 3 DIVS to the max height 

leftCol.style.height = maxHeight + 'px'; 

rightCol.style.height = maxHeight - 43+ 'px'; 

// Show the footer 
}
function SetSameHeigth() 
{ 

// get a reference to the three DIVS that make up the columns 

var leftCol = window.document.getElementById('Left');
var rightCol = window.document.getElementById('Right');

var Col = window.document.getElementById('CMCute');

var RMCol = window.document.getElementById('Rmain');

// calculate the max height 

var hLeftCol = leftCol.offsetHeight; 

var hRightCol = rightCol.offsetHeight;

var maxHeight = Math.max(hLeftCol, hRightCol); 

// set the height of all 3 DIVS to the max height 

leftCol.style.height = maxHeight + 'px'; 

rightCol.style.height = maxHeight-13+ 'px';

Col.style.height = maxHeight - 43+ 'px'; 


RMCol.style.height = maxHeight-13 + 'px';

// Show the footer 
}
