mac=(navigator.appVersion.indexOf ('Mac') !=-1)?true:false;
ie=(navigator.appName.charAt(0) == "M") ?true:false;
nn=(navigator.appName.charAt(0) == "N") ?true:false;
Gecko=(navigator.userAgent.indexOf("Gecko")!=-1)
Opera=(navigator.userAgent.indexOf("Opera")!=-1)

document.write ( "<STYLE TYPE='text/css'><!--" )
if(mac){
            //Mac IE
            document.write( ".fon10 {font-size:10px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:14px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:16px; line-height:21px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
            document.write("a:hover { text-decoration: underline; color:#CC0099}")
}
if(nn){
            //Mac NN
            document.write( ".fon10 {font-size:11px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:14px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:16px; line-height:21px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
}
else{
if(Gecko){
            //Mac NN6
            document.write( ".fon10 {font-size:10px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:14px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:16px; line-height:21px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
            document.write("a:hover { text-decoration: underline; color:#CC0099}")
            }
}
            if(ie){
            //Win IE
            document.write( ".fon10 {font-size:10px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:15px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:14px; line-height:16px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
            document.write("a:hover { text-decoration: underline; color:#CC0099}")
            }
            if(nn){
            //Win NN
            document.write( ".fon10 {font-size:11px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:15px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:14px; line-height:16px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
            }
else{
            if(Gecko){
            //Mac NN6
            document.write( ".fon10 {font-size:10px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:15px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:16px; line-height:21px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
            document.write("a:hover { text-decoration: underline; color:#CC0099}")
            }
      }
            if(Opera){
            //Win Opera
            document.write( ".fon10 {font-size:10px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:15px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:16px; line-height:21px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
            document.write("a:hover { text-decoration: underline; color:#CC0099}")
            }
else{
            //other
            document.write( ".fon10 {font-size:10px; line-height:13px}" )
            document.write( ".fon12 {font-size:12px; line-height:15px}" )
            document.write( ".fon14 {font-size:14px; line-height:16px}" )
            document.write( ".fon16 {font-size:16px; line-height:21px}" )
            document.write("a { text-decoration: none; color:#CC0099}")
            document.write("a:visited { text-decoration: none; color:#ff99cc}")
            document.write("a:hover { text-decoration: underline; color:#CC0099}")
}
            document.write ( "--></STYLE>" );
       
