var gUseragent = navigator.userAgent;
var gAppname = navigator.appName;
var gMacintosh = (gUseragent.indexOf('Mac') != -1) ? true : false;
var gWindows = (gUseragent.indexOf('Windows') != -1) ? true : false;
var gIE3 = null;
var gIE4 = null;
var gIE5 = null;
var gIE6 = null;
var gNN2 = null;
var gNN3 = null;
var gNN4 = null;
var gNetscape = null;
var gMozilla = null;
var gOpera = (gUseragent.indexOf('Opera') != -1) ? true : false;
var gSafari = (gUseragent.indexOf('Safari') != -1) ? true : false;
var gIE =  (gUseragent.indexOf('MSIE') != -1) ? true : false;
var gGecko = (gUseragent.indexOf('Gecko/') != -1) ? true : false;
var gNetscape = (gAppname.indexOf('Netscape') != -1) ? true : false;
if(gUseragent.indexOf('compatible')) {
	gIE3 = (gUseragent.indexOf('MSIE 3') != -1) ? true : false;
	gIE4 = (gUseragent.indexOf('MSIE 4') != -1) ? true : false;
	gIE5 = (gUseragent.indexOf('MSIE 5') != -1) ? true : false;
	gIE6 = (gUseragent.indexOf('MSIE 6') != -1) ? true : false;
}
if((!gGecko) && gNetscape) {
	gNN2 = (gUseragent.indexOf('Mozilla/2') != -1) ? true : false;
	gNN3 = (gUseragent.indexOf('Mozilla/3') != -1) ? true : false;
	gNN4 = (gUseragent.indexOf('Mozilla/4') != -1) ? true : false;
}
if (gNN4) {
	with(document) {
		open();
		write('<style type=text/css>h1 img, h2 img, h3 img, h4 img, h5 img, h6 img, h1 a img, h2 a img, h3 a img, h4 a img, h5 a img, h6 a img { line-height: 0px; }</style>');
		close();
	}
}

