// JavaScript Document
var currentIndx = 0;
Messages=new Array()

Messages[0]='<span class=\'arial-12-blues\'>" The training that I received from Cambridge was outstanding! Our instructor not only had a solid grasp on the inner workings of the software, but she also had a strong understanding of how the program is best utilized in real world situations. She, as well as all of the experts at Cambridge Computer, were more than willing to work with me on my company\'s unique backup needs both during training and in the weeks following the course. "</span><div class="hdr_prenxt_main"><a href="#" onClick="Backer()" id="previd"><img src="images/hdr_previous.gif" style="float:left;" alt="Previous" width="60" height="15" border="0" /></a><a href="#" onClick="Nexter()" id="nextid"><img style="float:right;" src="images/hdr_next.gif" width="37" height="15" border="0" /></a></div>';

Messages[1]='<span class=\'arial-12-blues\'>" The training center at Cambridge Computer was easy to access from the Cape. It\'s not very far from the highway. I was impressed with the level of knowledge the trainer had regarding product information. She was informative, and very helpful when answering questions. The course was fast paced, but well organized and no one had any difficulty keeping up. The labs were helpful in gaining intuitive knowledge and gave everyone in the class the opportunity to progress at a rate comfortable to each individual. I would take other courses as needed through Cambridge Computer when offered. I recommend Cambridge Computer Training to anyone who asks. "</span><div class="hdr_prenxt_main"><a href="#" onClick="Backer()" id="previd"><img src="images/hdr_previous.gif" style="float:left;" alt="Previous" width="60" height="15" border="0" /></a><a href="#" onClick="Nexter()" id="nextid"><img style="float:right;" src="images/hdr_next.gif" width="37" height="15" border="0" /></a></div>';

Messages[2]='<span class=\'arial-12-blues\'>" The Hands-On Legato NetWorker Training was tops. It covered all the real world pieces and parts of the product <br /> I needed to install, implement and maintain the product. "</span><div class="hdr_prenxt_main"><a href="#" onClick="Backer()" id="previd"><img src="images/hdr_previous.gif" alt="Previous" width="60" height="15" border="0" /></a><a href="#" onClick="Nexter()" id="nextid"><img style="float:right;" src="images/hdr_next.gif" width="37" height="15" border="0" /></a></div>'


function Nexter()
{
	
   if (currentIndx<Messages.length-1)
	{
	currentIndx=currentIndx+1;
	document.getElementById('slideImg').innerHTML= Messages[currentIndx];
	document.getElementById('previd').style.display = "inline";
	}
  else
   {
    currentIndx=0
    document.getElementById('slideImg').innerHTML = Messages[currentIndx];
   }
   
   if (currentIndx == Messages.length-1)
   {
   	document.getElementById('nextid').style.display = "none";
   }
}

function Backer()
{
		if (currentIndx>0)
		{
		currentIndx=currentIndx-1;
		//document.theImage.src=imagesPreloaded[currentIndx].src
			document.getElementById('slideImg').innerHTML = Messages[currentIndx];
			document.getElementById('nextid').style.display = "inline";
	 	}

else 
		{
			currentIndx=3
			document.getElementById('slideImg').innerHTML = Messages[currentIndx];
		}
		
		if(currentIndx == 0)
		{
			document.getElementById('previd').style.display = "none";
		}
		
}

function Pageonload()
{
	//alert(Messages.length);
	document.getElementById('slideImg').innerHTML = Messages[currentIndx];
	if(currentIndx == 0)
	{
		document.getElementById('previd').style.display = "none";
	}
	
}
