/*
 * File: 		standard.js
 * Author:		Justin Basilico
 * Project: 	CareGroup Community Services IS Website
 * Created: 	2000.06.06
 * Updated: 	2000.06.06
 *
 * Description: The normal JavaScript functions for doing a rollover and
 * image swaps. This code was generated by Macromedia Dreamweaver 2.
 */

 /* Image swapping function */
function di20(id, newSrc)
{
    var theImage = FWFindImage(document, id, 0);
    if ( theImage )
	{
        theImage.src = newSrc;
    }
}

/* Functions that track and set toggle group button states. */
function FWFindImage(doc, name, j)
{
    var theImage = false;
    if (doc.images)
	{
        theImage = doc.images[name];
    }
    if (theImage)
	{
        return theImage;
    }
    if (doc.layers)
	{
        for (j = 0; j < doc.layers.length; j++)
		{
            theImage = FWFindImage(doc.layers[j].document, name, 0);
            if (theImage)
			{
                return (theImage);
            }
        }
    }
    return (false);
}