// ====================================
// This code can be reused as long as the following notice is maintained
// ====================================
// Copyright 1999 InsideDHTML.com, LLC
// For more information, see www.siteexperts.com
// ====================================
// Extracted and modified by RR 2002 
// ====================================
function doOver() {
  if (this.className!=null)
    this.dest.className = this.overValue
  return true
}
function doOut() {
  if (this.className!=null)
    this.dest.className = this.dest.oclass
}
function doDown() {
  if (this.className!=null)
    this.dest.className = this.downValue
}
function OverEffect(src,dest,overValue,downValue) {
  src.onmouseover = doOver // Assign onmouseover handler
  src.onmouseout = doOut // Assign onmouseout handler
  src.onmousedown = doDown // Assign onmousedowm handler
  src.dest = dest // Store the destination element on the src
  src.overValue= overValue // Store the overValue on the src
  src.downValue= downValue // Store the overValue on the src
  if (dest.className!=null)
    dest.oclass = dest.className
}
function InitOverEffect(src,dest,overValue,downValue) {
  OverEffect(src,dest,overValue,downValue) // Setup over effect
  return src.onmouseover() // Make sure first rollover is applied
}
