//
// Roll-Over Image Switching Functions
//
// (C) 1996-1998 Scott Tadman, Martinet Development Corp.
//     http://www.martinet.com/  mailto:webmaster@martinet.com
//

// Compatible flag
bCompatible = -1;

CheckCompatibility();

function CheckCompatibility()
{
	// Internet Exploder 3.0 for Windows isn't compatible with JavaScript 1.1
	// Everything else works properly by either ignoring the JavaScript, or
	// by handling it properly.
	if (navigator.appName.indexOf("compatible") && navigator.appName.indexOf ("Win") && parseInt(navigator.appVersion) <= 3)
		bCompatible = 0;
	else
		bCompatible = 1;

	return bCompatible;
}

function DoMouseOver (img)
{
	if (bCompatible && img.src.indexOf ("0.gif") >= 0)
	{
		img.src = img.src.substring (0, img.src.indexOf("0.gif")) + "1.gif";
	}
}

function DoMouseOut (img)
{
	if (bCompatible && img.src.indexOf ("1.gif") >= 0)
	{
		img.src = img.src.substring (0, img.src.indexOf("1.gif")) + "0.gif";
	}
}
