var offImg = new Array();
var arrDir = "../Pics/";
var arrW = 11;
var arrH = 8;

function contentArrowOn(direction,name) {

if (document.images) {
document.images[name].src = arrDir + direction + name.substring(0,name.length-2) + ".gif";
}
}

function contentArrowOff(direction,Arrcolor,name) {

arrFileName = arrDir + direction + name.substring(0,name.length-2) + Arrcolor+".gif";

if (document.images) {

var imageIndex = "ContentArrow"+Arrcolor;

if (typeof offImg[imageIndex] == "undefined")

{
offImg[imageIndex] = eval("new Image(" + arrW + "," + arrH + ")");
offImg[imageIndex].src = arrFileName;
}
document.images[name].src = offImg[imageIndex].src;
}
}
