var name = navigator.appName;
var vers = navigator.appVersion;
vers = vers.substring(0,1); 
// or 0,4  could return 4.5 instead of just 4

if (name == "Microsoft Internet Explorer")
{
	document.writeln('<STYLE TYPE="text/css">');
	document.writeln('@font-face {');
	document.writeln('font-family: Mallikai;');
	document.writeln('font-style:  normal;');
	document.writeln('font-weight: normal;');
    	document.writeln('src:  URL(MALLIKA0.eot);');
	document.writeln('}');
	document.writeln('</STYLE>');

}
else
{
	document.writeln('<LINK REL=FONTDEF SRC="tmldiam.pfr">');
	document.writeln('<LINK>');
}
