browser_name = navigator.appName;
browser_version = parseFloat(navigator.appVersion); 

if (browser_name == "Netscape" && browser_version >= 3.0)
{
  roll = 'true';
}
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 4.0)
{
  roll = 'true';
}
else
{
  roll = 'false';
}

function MouseOverWithText(objectName,imageVar,textVar)
{
  MouseOver(objectName,imageVar);
  document.images['buttonText'].src = textVar.src;
}

function MouseOutWithText(objectName,imageVar,textVar)
{
  MouseOut(objectName,imageVar);
  document.images['buttonText'].src = textVar.src;
}  

function MouseOver(objectName,imageVar)
{
  if (roll == 'true' && document.images)
  {
	  document.images[objectName].src = imageVar.src;
  }
}

function MouseOut(objectName,imageVar)
{
  if (roll == 'true' && document.images)
  {
	  document.images[objectName].src = imageVar.src;
	}
}