var xmlDoc;

function loadXML()
{
// code for IE
if (window.ActiveXObject)
  {
  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
  xmlDoc.async=false;
  xmlDoc.load("Testimonials.xml");
  getmessage();
  }
// code for Mozilla, Firefox, Opera, etc.
else if (document.implementation &&
document.implementation.createDocument)
  {
  xmlDoc=document.implementation.createDocument("","",null);
  xmlDoc.load("Testimonials.xml");
  xmlDoc.onload=getmessage;
  }
else
  {
  alert('Your browser cannot handle this script');
  }
}

function getmessage()
{
 var custsat;
 Testimonial=(xmlDoc.getElementsByTagName("Testimonials"));

var ran_unrounded=Math.random() * Testimonial.length;
var ran_number=Math.floor(ran_unrounded); 
var custstate=' -- A Valued Septimatech Customer'
 
 //document.write(ran_number);
 //document.write("test");
 //document.write("<font class='testimonials'>'"+Testimonial[ran_number].firstChild.nodeValue+"'</font>");
 //document.write('<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class="testimonialsName">'+custstate+'</font>');
 custsat="<font class='testimonials'>'"+Testimonial[ran_number].firstChild.nodeValue+"'</font>";
 custsat=custsat+"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font class='testimonialsName'>"+custstate+"</font>";
// alert(custsat);
 window.testimonial=custsat
}



