
// determine whether the browser is MSIE 5.0 and higher
function isMSIE5()
{
    // MSIE
    if (navigator.appVersion.indexOf("MSIE") != -1)
    {
	// at least 4.0.  If MSIE 5.x, it will have 4.0 version
   	if (parseInt(navigator.appVersion.charAt(0), 10) >= 4)
	{
            // MSIE 4.x
	    if (navigator.appVersion.indexOf("MSIE 4") != -1)
            {
                return false;
            }
            else
            {
                return true;
            }
        }
        else
        {
            return false;
        }
    }
    else
    {

	// netscape
        return false;
    }   
}

// MSIE 4.0 does not support the print() method.
function uf_print()
{

    if (isMSIE5() == true)
    {
    	window.print();
    }
    else
    {
        alert("For MSIE 4 User: To print a copy of this page, you must use your browser's Print option.  Right-click on the page and select the Print option from the popup menu.");
    }
    return true;
}


