/***************************************************************************/
/*                    JavaScript by: Clayton Gootgeld                      */
/*                         http://www.clayg.com                            */
/***************************************************************************/

function rollOver()
{
	id = rollOver.arguments[0];
	theSrc = document.getElementById(id).src;
	dPos = theSrc.lastIndexOf(".");	
	thePath = theSrc.substr(0 , dPos);
	theExt = theSrc.substr(dPos, theSrc.length);
	d2Pos = thePath.lastIndexOf(".");
	theStr =  thePath.substr(d2Pos+1, thePath.length);
	if (theStr != "o"){
	document.getElementById(id).src = thePath+".o"+theExt;
	}
}

function rollOut()
{	
	id = rollOut.arguments[0];
	theSrc = document.getElementById(id).src;
	dPos = theSrc.lastIndexOf(".");
	thePath = theSrc.substr(0 , dPos);
	theExt = theSrc.substr(dPos, theSrc.length);
	d2Pos = thePath.lastIndexOf(".");
	theStr =  thePath.substr(d2Pos+1, thePath.length);
	if (theStr == "o"){
	thePath = theSrc.substr(0 , dPos-2)+theExt;
	document.getElementById(id).src = thePath;	
	}
}