Hi everyone, i'm not used to using Javascript and i want it to tell the page to do something that might be very simple.
I want to add different text under each image in the slide, for example

e.jpg

and heres the javascript that display the images, but not the text.
HTML Code:
<SCRIPT LANGUAGE="JavaScript">

NewImg = new Array (
"1.png",
"2.png",
"3.png"
);
var ImgNum = 0;
var ImgLength = NewImg.length - 1;

//Time delay between Slides in milliseconds
var delay = 3000;

var lock = false;
var run;
function chgImg(direction) {
if (document.images) {
ImgNum = ImgNum + direction;
if (ImgNum > ImgLength) {
ImgNum = 0;
}
if (ImgNum < 0) {
ImgNum = ImgLength;
}
document.slideshow.src = NewImg[ImgNum];
   }
}
function auto() {
if (lock == true) {
lock = false;
window.clearInterval(run);
}
else if (lock == false) {
lock = true;
run = setInterval("chgImg(1)", delay);
   }
}

 <a href="javascript:chgImg(-1)"><img src="http://icons.iconarchive.com/icons/deleket/button/48/Button-Previous-icon.png"alt="back"/></a>
    <a href="javascript:auto()"><img src="http://icons.iconarchive.com/icons/deleket/button/48/Button-Refresh-icon.png"alt="start"/></a>
    <a href="javascript:chgImg(1)"><img src="http://icons.iconarchive.com/icons/deleket/button/48/Button-Next-icon.png" alt="next" /></a>