﻿function setClassAndBG(obj, cssClassName, bgPath)
{
  obj.className = cssClassName;
  obj.style.backgroundImage = bgPath;
}
