/* IEMAC Clearfix */





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>"; 

				/* The above html tags get added to the end of the cleared container if the browser is IE/mac. */  

			}  

		}      

}

function init(){

/* Check if the browser is IE5 Mac */

   if( navigator.appVersion.indexOf('Mac')!=-1 && document.all){     

	/* Pass the class name on the container to fixmacie (must be the FIRST classname if multiple classnames are used on the div!) */    

	 fixmacie("clearfix");  

 }

}

