/*

Name: doCopyright

In the header area add a javascript include for this javascript file
<script type="text/javascript" src="copyright.js"></script>	

To execute the copyright script add the following to your html

<script type="text/javascript">doCopyright(startYear, "companyName");</script>

Example:

<script type="text/javascript">doCopyright(2002, "TestCompanyName");</script>

*/

function doCopyright(startYear, companyName)
{
var copyright=new Date();
var update=copyright.getFullYear();
if (update == startYear)
{
	yearRange=startYear;
}
else
{
	yearRange=startYear+"-"+update;
}

document.write("Copyright &copy; " + yearRange + " " + companyName + ". All Rights Reserved.");
}


function doByJDP(doTdtag)
{
	if (doTdtag == "Y")
	{
		document.write('<td align="right" valign="middle" width="125">');
	}
document.write('<a href="http://www.jdpcomputers.com" target="_blank"><img src="http://www.jdpcomputers.com/common_images/designed_by_jdp.jpg" title="JDP Computers &ndash; a Michigan Web Design Company" border="0" /></a>');
	if (doTdtag == "Y")
	{
		document.write('</td>');
	}
}

var nReload = 5;

function NewVerifyImage()
{
    if (nReload <= 2)
        if (nReload <= 0)
        {
            alert("Sorry, too many reloads.");
            return;
        }
        else
            alert("Only " + nReload + " more reloads are allowed");
    nReload--;

        //
        // This code now works in both IE and FireFox
        //
    var         e_img;

    e_img = document.getElementById("vimg");
    if (e_img)
                //
                // FireFox attempts to "optimize" by not reloading
                // the image if the URL value doesn't actually change.
                // So, we make it change by adding a different
                // count parameter for each reload.
                //
        e_img.setAttribute("src",e_img.src+'?count='+nReload);
}
