/* ------------------------------------------------ PVII Equal CSS Columns Copyright (c) 2005 Project Seven Development www.projectseven.com Version: 1.6.0 ------------------------------------------------ */ function P7_colH(){ //v1.6 by PVII-www.projectseven.com var i,oh,hh,h=0,dA=document.p7eqc,an=document.p7eqa;if(dA&&dA.length){ for(i=0;ih)?oh:h;}for(i=0;ih){ dA[i].style.height=(h-(hh-h))+'px';}}}else{document.p7eqa=1;} document.p7eqth=document.body.offsetHeight; document.p7eqtw=document.body.offsetWidth;} } function P7_eqT(){ //v1.6 by PVII-www.projectseven.com if(document.p7eqth!=document.body.offsetHeight||document.p7eqtw!=document.body.offsetWidth){ P7_colH();} } function P7_equalCols(){ //v1.6 by PVII-www.projectseven.com if(document.getElementById){document.p7eqc=new Array;for(var i=0;iadT)?adT:nh;g.style.height=nh+'px'; oh=g.offsetHeight;if(oh>ht){nh=(ht-(oh-ht));g.style.height=nh+'px';} if(nh The onLoad call contains the target DIVs in parentheses, separated by commas: ('c1','c2'). These are called the arguments. They are the IDs of the DIVs you want to set to equal height. In this example, you want a DIV with an ID of c1 and another DIV with an ID of c2 to be set to equal height. Note: In order to get the height of target elements that are floated or otherwise positioned out of the page flow, there must be another element, such as a footer, below them. **************************************************************************************************/