
var Message = new Array();
Message[1]  = "\r\n\"With D-CALC FACADE our quotes take less time to produce and our estimates ar more consistant and accurate\" \r\n\r\nPat Rome - President,\r\nBrin-Northwestern,\r\nMinneapolis, MN"
Message[2]  = "\r\n\"With D-CALC FACADE, I can submit a preliminary set of shop drawings with my proposal thus greatly increasing my chance of getting the order\" \r\n\r\nRick Knutson,\r\nAdvantage Glass,\r\nManassas, VA"
Message[3]  = "\r\n\"D-CALC FACADE allowed us to double our order entry and estimating capabilities without adding any additional staff\" \r\n\r\nJohn Campbell,\r\nPresident, Winco Windows,\r\nSt. Louis, MO"
Message[4]  = "\r\n\"D-CALC FACADE was a bigger productivity enhancement than our CNC fabrication equipment\" \r\n\r\nJohn Dwyer,\r\nSyracuse Glass,\r\nSyracuse, NY"
Message[5]  = "\r\n\"With D-CALC FACADE we now have the ability to generate professional detailed drawings for our customers and production shop as well as generating accurate cutting lists with minimal waste using the powerful stock length optimizer\" \r\n\r\nPat Rome - President,\r\nBrin-Northwestern,\r\nMinneapolis, MN"

var CurrentMsg =1;
var LastMsg = 5;
var typeSpeed = 50;
var MsgOnPage = 1; 

//__________________________________________________________________



var outMsg = "";
var nextChar = 0;
var timerDM=null;
var NextMsg = Message[1];
var delay=typeSpeed;

function DisplayMsg() {
  if (NextMsg.length <= nextChar || NextMsg.charAt(nextChar) == "\f") {
      ChangeMsg();
  }
  outMsg = outMsg + NextMsg.charAt(nextChar);
  nextChar++; 

  if (nextChar==NextMsg.length) {
    delay = 4000; 
    } // if end timeout 4000
  else {
  delay = typeSpeed;
  }
  MessageArea.innerText =outMsg;
  timerDM = setTimeout("DisplayMsg()",delay);
}

function ChangeMsg() 
{
 nextChar=0;
 if (CurrentMsg < LastMsg){
     CurrentMsg++;
 }
 else {
  CurrentMsg = 1;
 }
 NextMsg = Message[CurrentMsg];
 outMsg = NextMsg.charAt(nextChar); 
}

function quitDisplay() {
  MessageArea.innerText = "\r\n\"D-CALC FACADE blows the doors off anything else we tried for our custom door fabrication line for materal and cut lists\" \r\n\r\n  Joel Johnson, Brin-Northwestern, Minneapolis, MN";
}

