I don't know why it wasn't working when i attempted it last night but i just re-did the Javascript for the text and now it is working.... Thanks anyways and here is the code so anyone else knows.
Change this
var p1 = new Image();
var p2 = new Image();
var p3 = new Image();
var p4 = new Image();
var t1;
var t2;
var t3;
var t4;
p1.src="images/1232.png";
p2.src="images/12312.png";
p3.src="images/1241t.png";
p4.src="images/12455.png";
t1 = "Test 1";
t2 = "Test 2";
t3 = "Test 3";
t4 = "Test 4";
var imgArray = new Array (p1, p2, p3, p4);
var textArray = new Array (t1, t2, t3, t4);
var counter = 0;
var loop = 1;
setTimeout(scroll_forwards, 2000);
var end = imgArray.length - 1;
function scroll_forwards() {
if (counter == end){
counter = 0;
}
else {
counter++;
}
document.pic1.src = imgArray[counter].src;
document.getElementById("imgh2").innerHTML = textArray[counter];
setTimeout(scroll_forwards, 2000);
}