/* ONLY FOR MAC/IE
  The below html tags get added to the end of 
  the cleared container if the browser is IE/mac. */  
          function fixmacie(classname){        
          var divs=document.getElementsByTagName("DIV");   
            for(var d=0; d < divs.length;d++){     
           if(divs[d].className.indexOf(classname)==0){    
           divs[d].innerHTML+= "<div class='mac-clearfix'><\/div>"; 
           } } }
          function init(){
           if( navigator.appVersion.indexOf('Mac')!=-1 && document.all){        
           fixmacie("clearfix");  
           } }
          window.onload=init;