// (C) Netlogic, 2003
window.onload = function() {
	GeckoALTfixer();
}

function GeckoALTfixer() {
	if (navigator.product && navigator.product == 'Gecko') {
		var i, j, images = Array(document.getElementsByTagName('IMG'), document.getElementsByTagName('INPUT'), document.getElementsByTagName('AREA'));
		for (i = 0; i < images.length; i++) {
			for (j = 0; j < images[i].length; j++) {
				with (images[i][j]) {
					if (getAttribute('alt') && !getAttribute('title')) setAttribute('title', getAttribute('alt'));
				}
			}
		}
	}
}

// Flash detection
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if (plugin) {
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4;
} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
	document.write('</SCRIPT\> \n');
}