﻿function swapImage(index) {
  var imgPath = new String();
  imgPath = document.getElementById("AccordionPane" + index + "_header").style.backgroundImage;
  if (imgPath == 'url("Layout/images/MenuDown.png")' || imgPath == "") {
    document.getElementById("AccordionPane" + index + "_header").style.backgroundImage = "url(Layout/images/MenuUp.png)";
  }
  else {
    document.getElementById("AccordionPane" + index + "_header").style.backgroundImage = "url(Layout/images/MenuDown.png)";
  }

}

