bAgent = navigator.userAgent;
strMac = bAgent.indexOf("Mac",0);
strMsie = bAgent.indexOf("MSIE",0);
strVer = bAgent.indexOf("4",0);
if( strMac > 0 ) {
	if( strMsie > 0) {
		if( strVer > 0 ){
			ver="macie4";
		}
	}
}

if ( ver == "macie4" ) {
htmlstr = 
'  <STYLE type="text/css">'+
'  <!--'+
'  //-->'+
'  </STYLE>';
} else {
htmlstr = 
'  <STYLE type="text/css">'+
'  <!--'+
'UL'+
'{'+
'  list-style-type: none;'+
'}'+
'LI'+
'{'+
'  float: left;'+
'}'+
'P.clear'+
'{'+
'  clear: both;'+
'}'+
'  //-->'+
'  </STYLE>';
};
document.write( htmlstr );
