// Begin testimonial rotating script

var beforeMsg = "<div class=\"testimonial\"><em><strong>";
var afterMsg = "</strong></em></div>";
var beforeSrc = "<div class=\"x-small\" style=\"padding-left:10px;padding-top:5px;\">";
var betweenSrc = "<br>"
var afterSrc = "</div>";
var msgRotateSpeed = 15000; // Rotate delay in milliseconds

// Begin Testimonials text
// Add new quotes below (use textQuo[#] and increase by one per quote)
var textQuo = new Array();
textQuo[0] = "Over the past 20 years, LSI has delivered consistent expertise and execution for our training-related projects. From traditional classroom to e-learning, LSI is a core part of our solution set.";
textQuo[1] = "...Your staff not only understood the software we were delivering, but also had taken the time to understand the process we were impacting.  To cross that line is to truly add value to the delivery of systems here at USI.";
textQuo[2] = "The most important thing in working with a vendor is trust and integrity.  LSI doesn't misrepresent themselves or their capabilities - if they say they can help, they can.";
textQuo[3] = "I felt that the instructors and the manner in which they conducted the class was perhaps the best of any class I have attended.  I was AMAZED at how much of the 'Post Office' they knew.";
// Add the client credited (the number should match the quote above)
var textSrc = new Array();
textSrc[0] = "Marc D. Shapiro";
textSrc[1] = "Mark Scheffel";
textSrc[2] = "Jane Trice";
textSrc[3] = "B. Stephen Pinkerton";
//Add the title of the client (the number should match the quote above)
var textTtl = new Array();
textTtl[0] = "Manager, Human Capital Solutions";
textTtl[1] = "Group Vice President";
textTtl[2] = "Vice President and Director of Training";
textTtl[3] = "Post Master";
// Add the company name (the number should match the quote above)
var textCo = new Array();
textCo[0] = "Unisys Federal Systems";
textCo[1] = "Universal Systems, Inc.";
textCo[2] = "First USA";
textCo[3] = "Junction City, Kansas";

// End Testimonials text

if (document.layers) {
document.write('<ilayer id="NS4message" height=25 width=100%><layer id="NS4message2" height=25 width=100%></layer></ilayer>')
temp = 'document.NS4message.document.NS4message2.document.write(beforeMsg + textQuo[i++] + afterMsg + beforeSrc + textSrc[i-1] + betweenSrc + textTtl[i-1] + betweenSrc + textCo[i-1] + afterSrc);' + 'document.NS4message.document.NS4message2.document.close()';
}
else if (document.getElementById) {
document.write(beforeMsg + '<div id="message" style="position:relative;">IE division</div>' + afterMsg);
document.write(beforeSrc + '<div id="message2" style="position:relative;padding-left:15px;">IE division</div>' + '<div id="message3" style="position:relative;padding-left:15px;">IE division</div>' + '<div id="message4" style="position:relative;padding-left:15px;">IE division</div>' + afterSrc);
temp = 'document.getElementById("message").firstChild.nodeValue = textQuo[i++];';
temp2 = 'document.getElementById("message2").firstChild.nodeValue = textSrc[i-1];';
temp3 = 'document.getElementById("message3").firstChild.nodeValue = textTtl[i-1];';
temp4 = 'document.getElementById("message4").firstChild.nodeValue = textCo[i-1];';
}
else if (document.all) {
document.write(beforeMsg + '<div id="message" style="position:relative;">IE division</div>' + afterMsg);
document.write(beforeSrc + '<div id="message2" style="position:relative;padding-left:15px;">IE division</div>' + '<div id="message3" style="position:relative;padding-left:15px;">IE division</div>' + '<div id="message4" style="position:relative;padding-left:15px;">IE division</div>' + afterSrc);
temp = 'message.innerHTML = textQuo[i++];';
temp2 = 'message2.innerHTML = textSrc[i-1];';
temp3 = 'message3.innerHTML = textTtl[i-1];';
temp4 = 'message4.innerHTML = textCo[i-1];';
}

var totalQuo = textQuo.length - 1
var randomnumber = Math.random();
var rand1 = Math.round( (randomnumber * totalQuo) );

var i = rand1;

function msgRotate() {
eval(temp);
eval(temp2);
eval(temp3);
eval(temp4);
if (i == textQuo.length) i = 0;
setTimeout("msgRotate()", msgRotateSpeed);
}
window.onload = msgRotate;
//  End rotation script

// Begin Case Study pop-up

function newCaseStudy() 
{
  newWindow = window.open("","CaseStudy","scrollbars=yes,resizable=no,width=500,height=500") 
  newWindow.focus()
}

// End pop-up