/* 
Derived from a script by Alejandro Gervasio. 
Modified to work in FireFox by Stefan Mischook for Killersites.com

How it works: just apply the CSS class of 'column' to your pages' main columns.
*/

var windowHeight = 0;
function getWindowHeight() {
 
 
 if (typeof(window.innerHeight)=='number') {
 windowHeight=window.innerHeight;
 
 }
 else {
 if (document.documentElement&&
 document.documentElement.clientHeight) {
 windowHeight=
 document.documentElement.clientHeight;
 
 }
 else {
 if (document.body&&document.body.clientHeight) {
 windowHeight=document.body.clientHeight;
 
 }
 }
 }
 
 return windowHeight;
 }
 
 var maxHeight = 0;
 var divHeight = 0;
matchColumns=function(){ 

     var divs,contDivs,d; 
	
     // get all <div> elements in the document 

     divs=document.getElementsByTagName('div'); 

     contDivs=[]; 
	
     // initialize maximum height value 

     maxHeight = getWindowHeight();
     // iterate over all <div> elements in the document 
     
     for(var i=0;i<divs.length;i++){ 
      
          // make collection with <div> elements with class attribute 'container' 

          if(/\bcolumn\b/.test(divs[i].className)){ 

                d=divs[i]; 
				
                contDivs[contDivs.length]=d; 

                // determine height for <div> element 

                if(d.offsetHeight){ 
                 
                     divHeight=d.offsetHeight; 					
					 //alert(d.offsetHeight);
                } 

                else if(d.style.pixelHeight){ 
		
                     divHeight=d.style.pixelHeight;					 
					  //alert('pixel '+d.style.pixelHeight);
                } 

                // calculate maximum height 

                maxHeight=Math.max(maxHeight,divHeight); 
        
          } 

     } 
  	//alert(maxHeight);
     // assign maximum height value to all of container <div> elements 

     for(var i=0;i<contDivs.length;i++){ 
		  
          contDivs[i].style.height=maxHeight + "px"; 
		 
     } 

} 


// Runs the script when page loads 

window.onload=function(){ 
	
     if(document.getElementsByTagName){ 

          matchColumns();			 

     } 

} 

//<![CDATA[

function hiveware_enkoder(){var i,j,x,y,x=
"x=\"0x=\\\"t{CqC?~A-?pB-C!q@CA(#CBC'1r?DE0mlC=?wKz>CpipK@??uwzE?Bn6oCADvqz" +
"FC?|[EDDD3#Cr?A<AEDrC3r1BCq:;DCBDr0n@CsqC=CAC51q/J'gnI*E2sux2%(l4mC~&toxA|" +
"\\\\zYC\\\"=x1!ACpC:?CADF1p/CAD89B=??p.l?pBoA8DC?3/oDsC.zGr?>kjuC@DIxgBDon" +
"i4CBC~CppCB#/1CAC1oAFCEnzmC@Dtkr>CA4~BD=AoA6sCCCoxCrCEihFCnsGv@sCelgADp2|A" +
"CFCn!->CB//mCDC?lx?D>kriCADp2|=??@m??pB4Am>C@,vsDBDj?-=?p|,i?oCtegBCpwirCB" +
"CyA|AA=?++?FCA}?EC@&!5D>C2%/AB=p.k?ADjuI@C>xroCADf;)rCsx(eC@Apac??psenBq@u" +
"=xB4J;''88+=y;H/o\\\\\\\"}@=@#-no@F,ih???sGvr@>elGCs?qsvp@@j2kDBBrmv=?AxWA" +
"D@C/}?>CA8=ADrC/n-sC@67@Ar@n,j??pm?6BoC1-mrC>,hCCpCmor?Csf.gB??nirpBqtS=@A" +
"D+y;8+,49=H66+j)?9v23<5!#j(f22%i;4o$2-)i2%;(tA'84edo245Crar}nhc.p22x=j%r{{" +
")+$J8+i;88+htg::-nel6?J.x<8vHi;0u#t=i({ryy});'Ij(evH=doCJv5ra\\\"!|s;y=H40" +
"'';|ImforlwK(i=zip0;ik62<x.2%Elenr52gth%13;i+3qC=71p|o){fvmtor(622j=M%Dqat" +
"hC8E.miq0zn(xwnC.le122ngt%0mh,ixik+71{mv);-}E2-j>2%C=i;//E){y#C*+=x8.x.chu" +
"lAarA/~.t(jkvg);}iyk}y;\";j=eval(x.charAt(0));x=x.substr(1);y='';for(i=0;i" +
"<x.length;i+=6){y+=x.substr(i,3);}for(i=3;i<x.length;i+=6){y+=x.substr(i,3" +
");}y=y.substr(j);";
while(x=eval(x));}
//]]>