// Author: TeK 
// Copyright(c) 2006-2009 IES, Inc. All rights reserved -->

var delay = 8500; //set delay between message change (in miliseconds)
var maxsteps=25; // number of steps to take to change from start color to endcolor
var stepdelay=40; // time in miliseconds of a single step
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
var startcolor= new Array(255,255,204); // start color (red, green, blue)
var endcolor=new Array(50,50,100); // end color (red, green, blue)

// Thumbnail Images to show
var maxImage = 80;

var fcontent=[];
begintag='<span class="quote">'; //set opening tag, such as font declarations

// Define messages here (note they can contain HTML code!)
fcontent[0]='Over the years I have found VisualAnalysis very easy to use and powerful.</span><p class="quoteauthor">Eric T. Moran</p>';
fcontent[1]='VisualAnalysis has grown with my needs and expectations.</span><p class="quoteauthor">Rick Koehler</p>';
fcontent[2]='This software is very good and keeps improving.</span><p class="quoteauthor">Jose Pacheco</p>';
fcontent[3]='I have recommended your software products to peers who have later told me they were glad they made the purchase.</span><p class="quoteauthor">Mike Thele, PE</p>';
fcontent[4]='Thank you for asking for our feedback.</span><p class="quoteauthor">Bruno M. Franck</p>';

fcontent[5]='Great product and the best support we have ever found.</span><p class="quoteauthor">S. Blake Haley, P.E.</p>';
fcontent[6]='VisualAnalysis has made me a better engineer.</span><p class="quoteauthor">Judi Felton</p>';
fcontent[7]='You have a great program that we enjoy using.</span><p class="quoteauthor">Jeff Pearl, PE</p>';
fcontent[8]='I wish all other structural software companies responded like IES.</span><p class="quoteauthor">C. Edward Grinsteiner</p>';
fcontent[9]='I am a great fan of the accuracy which VisualAnalysis achieves.</span><p class="quoteauthor">Graeme Jamieson</p>';

fcontent[10]='Thanks for the quick response. The people at IES do good work.</span><p class="quoteauthor">Russell Lay, SE</p>';
fcontent[11]='Our students love VisualAnalysis - especially those who have used other structural analysis software.</span><p class="quoteauthor">Harry Jones, Ph.D.</p>';
fcontent[12]='The program is very good for its price.</span><p class="quoteauthor">Reto Bonomo</p>';
fcontent[13]='I just wanted to thank you for your prompt attention to our order.</span><p class="quoteauthor">Sharon McCullough</p>';
fcontent[14]='This is just the right software for the wide range of work I do.</span><p class="quoteauthor">Chris Gorman</p>';

fcontent[15]='I personally recommend VisualAnalysis.</span><p class="quoteauthor">Bill Polhemus</p>';
fcontent[16]='VisualAnalysis is great for project that do not fit the RAM mold.</span><p class="quoteauthor">Frank Lether, PE</p>';
fcontent[17]='Overall it is a great piece of engineering software.</span><p class="quoteauthor">Ian Whittington P. Eng.</p>';
fcontent[18]='Saves lots of time.</span><p class="quoteauthor">Dick Horning<br />CH2M  Hill, Inc.</p>';
fcontent[19]='Always owned my license: never let the company dictate when I should upgrade!</p>';

fcontent[20]='You guys make me look good to my clients!</span><p class="quoteauthor">Joseph Hoffmayer</p>';
fcontent[21]='Thanks for your PROMPT response!</span><p class="quoteauthor">Cheryl Early, PE</p>';
fcontent[22]='IES software has been more valuable to us than it costs - many, many times over.</span><p class="quoteauthor">James Hoffman, PE</p>';
fcontent[23]='It does what we need it to do and it does it well.</span><p class="quoteauthor">David R. Chapman</p>';
fcontent[24]='The price is right!</span><p class="quoteauthor">Michael Levine, PE</p>';

fcontent[25]='I have nothing but thanks to offer IES tech support.</span><p class="quoteauthor">Robert L. Davis</p>';
fcontent[26]='Finally, a structral analysis and design program that has an interface I can love.</span><p class="quoteauthor">Bill Polhemus</p>';
fcontent[27]='I can recommend it as the best analysis tool I have ever used and the easiest to use by far</span><p class="quoteauthor">Craig A. Lawrence, PE</p>';
fcontent[28]='Great software...better support.</span><p class="quoteauthor">Jim Galuska</p>';
fcontent[29]='I am really enjoying the fruits of your well written software.</span><p class="quoteauthor">John Becker, PE</p>';

fcontent[30]='I think your software is great at even twice the price!!</span><p class="quoteauthor">Richard Hanson</p>';
fcontent[31]='Just thought I would let you guys know how much I appreciate your support on your software products.</p>';
fcontent[32]='I really like this latest version of VisualAnalysis</span><p class="quoteauthor">Michael P. Mullinix, P.E.</p>';
fcontent[33]='We designed 14 tanks using VisualAnalysis... measured deflections of 36 mm vs the calculated value of 35 mm!</span><p class="quoteauthor">Nurul Amin P.E.</p>';
fcontent[34]='VisualAnalysis is the most easy to use analysis program I have ever seen.</span><p class="quoteauthor">Paraskevas Patsioras</p>';

fcontent[35]='You guys have a fabulous product</span><p class="quoteauthor">Harry Jones, Ph.D.</p>';
fcontent[36]='I would not compare STADD PRO directly to VisualAnalysis. VisualAnalysis is much easier to work with.</span><p class="quoteauthor">Tom Jakaby, SE</p>';
fcontent[37]='It is REALLY fantastic, as are all IES products!</p>';
fcontent[38]='VisualAnalysis has made the analysis and strengthening of complicated trussed roofs a pleasure to engineer.</span><p class="quoteauthor">Arthur MacLeod</p>';
fcontent[39]='We used RISA-2D first and loved it. Next we got VisualAnalysis. We liked the graphical interface for setting up models better.</span><p class="quoteauthor">Dave Morris P.E.</p>';

fcontent[40]='This software does more than any other package we looked at.</span><p class="quoteauthor">William Mathers</p>';
fcontent[41]='Your software is excellent.</span><p class="quoteauthor">Ricky Pierce</p>';
fcontent[42]='I have enjoyed the software and look forward to more features.</span><p class="quoteauthor">Peter McCormack</p>';
fcontent[43]='Your response alone means a lot to me, at least you are sympathetic to the average user.<p class="quoteauthor">Ralph Tulis</p>';
fcontent[44]='I thought the tutorial "Circular Tanks on a Rectangular Mat Footing" was great.</span><p class="quoteauthor">Mike Emde</p>';

fcontent[45]='Your support staff has been the best of any company I have delt with.</span><p class="quoteauthor">Bruce Horrocks</p>'
fcontent[46]='Everything is so intuitively and logically laid out.</span><p class="quoteauthor">Alan L. Unemori</p>';
fcontent[47]='Thanks for the tip and quick reply.</span><p class="quoteauthor">Rich Christie</p>';
fcontent[48]='I still find the IES software the best in ease of use, speed in modeling, and output reporting.</span><p class="quoteauthor">Bruce Horrocks</p>';
fcontent[49]='I set out to find some software a working level engineer could pick up and use readily.</span><p class="quoteauthor">Ted Dumas</p>';

fcontent[50]='I have used VisualAnalysis for over a year and really like it.</span><p class="quoteauthor">James W. Kestner, PE</p>';
fcontent[51]='I have always been completely satisfied with IES products.</span><p class="quoteauthor">Ted Holz</p>';
fcontent[52]='I am constantly recommending it to colleagues elsewhere.</span><p class="quoteauthor">Graeme Jamieson</p>';
fcontent[53]='Great program, easy to learn, not expensive.</span><p class="quoteauthor">Barb Rozonsky</p>';
fcontent[54]='We are very pleased with VisualAnalysis.</span><p class="quoteauthor">Knapp Engineering</p>';

fcontent[55]='VisualAnalysis is very good structural software.</span><p class="quoteauthor">Jamal Elkhateebh</p>';
fcontent[56]='The software is a great tool. It is easy to learn and model.</span><p class="quoteauthor">Luis G. Daza-Duarte</p>';
fcontent[57]='Everytime I have had to call for help, I have received a friendly and patient response.</span><p class="quoteauthor">David G. Smith</p>';
fcontent[58]='Overall great software.  It is a useful tool.</span><p class="quoteauthor">Jerry Middaugh</p>';

fcontent[59]='I use VisualAnalysis several times a week on various types of projects that I would not normally be able to hand calc.</span><p class="quoteauthor">Joseph Hoffmayer</p>';
fcontent[60]='I often recommend IES products to my associates.</span><p class="quoteauthor">John W. Woollen, PE</p>';
fcontent[61]='I can set-up, analyze, and design systems very quickly and efficiently.</span><p class="quoteauthor">Phillip Green, PE, PLLC</p>';
fcontent[62]='In short VA is a great program.</span><p class="quoteauthor">David R. Chapman</p>';
fcontent[63]='Just the right amount of bang for the buck!</span><p class="quoteauthor">Michael Levine, PE</p>';

fcontent[64]='We can model most everything we need and design/check it!</span><p class="quoteauthor">S. Blake Haley, P.E.</p>';
fcontent[65]='Automating structural analysis with VisualAnalysis has made me a better engineer.</span><p class="quoteauthor">Judi Felton</p>';
fcontent[66]='You guys definitely have the fastest response time for tech support!</span><p class="quoteauthor">Rich Christie<</p>';
fcontent[67]='I did not have any problems, even with 433 load cases!</span><p class="quoteauthor">C. Edward Grinsteiner</p>';
fcontent[68]='Why this is so good when other packages at vastly greater cost can be absoultely diabolical!</span><p class="quoteauthor">Graeme Jamieson</p>';

fcontent[69]='Overall I am pleased with the product,<br />service, price, and performance.</span><p class="quoteauthor">Ashton B. Avegno, Jr.</p>';
fcontent[70]='It is INCREDIBLY easy to use and does 99% of anything I ever want to do with it.</span><p class="quoteauthor">Polhemus Engineering Company</p>';
fcontent[71]='The program is very good for its price.</span><p class="quoteauthor">Bonomo Engineering</p>';
fcontent[72]='I am once again impressed with your company.</span><p class="quoteauthor">Sharon McCullough</p>';
fcontent[73]='Thanks again for an excellent system</span><p class="quoteauthor">Randall Hebert, PE</p>';

fcontent[74]='I just believe this to be the finest, friendliest, structural software product around.</span><p class="quoteauthor">Daniel Nucci</p>';
fcontent[75]='The documentation is made very clear and complete.</span><p class="quoteauthor">Dick Horning</p>';
fcontent[76]='When features seemed to be available but hidden to me, support gave quick and accurate answers.</p>';

fcontent[79]='I design culverts, bridges, and underground vaults with VisualAnalysis.</span><p class="quoteauthor">Eric T. Moran</p>';
fcontent[80]='I have recommended VisualAnalysis highly to all my friends.</p>';
fcontent[81]='The support guys are quick and knowlegeable.<br />Thank you!</span><p class="quoteauthor">Jose Pacheco</p>';
fcontent[82]='Keep up the good work.</span><p class="quoteauthor">Mike Thele, PE</p>';
fcontent[83]='I have used IES tools for many years,<br />and the upgrade prices are reasonable.</span><p class="quoteauthor">Bruno M. Franck</p>';

fcontent[84]='Over the past year my questions have<br />been answered in a timely and thorough fashion.<br />Thank-you!</span><p class="quoteauthor">Robert L. Davis</p>';
fcontent[85]='A price that fits within my budget!</span><p class="quoteauthor">IES Customer</p>';
fcontent[86]='At my last firm they made us use SAP; it was much clumsier and harder to use.</span><p class="quoteauthor">Craig A. Lawrence</p>';
fcontent[87]='We have gone to using VisualAnalysis as our program of choice over RISA-2D.</span><p class="quoteauthor">Dave Morris P.E.</p>';
fcontent[88]='I tell everybody about your software.</span><p class="quoteauthor">Detmer Knapp</p>';

fcontent[89]='The reporting capabilities seem to be more flexible<br />and easier to control than in previous versions.</span><p class="quoteauthor">Michael P. Mullinix, P.E.</p>';
fcontent[90]='I wish to thank IES for their constant technical support.</span><p class="quoteauthor">Md.Nurul Amin P.E.</p>';
fcontent[91]='For small or middle class projects, its a very powerful tool.</span><p class="quoteauthor">Paraskevas Patsioras</p>';
fcontent[92]='2 thumbs up!!</span><p class="quoteauthor">Peter McCormack</p>';

fcontent[93]='RAM Steel, STAAD, Robot, Risa, RAM Advanse, and the SAP product lines could not compete in price or performance.</span><p class="quoteauthor">William Mathers</p>';
fcontent[94]='We now have a program where we can quickly set up models, load them and check allowable stresses.</span><p class="quoteauthor">Dave Morris P.E.</p>';
fcontent[95]='I design my structure from the roof to the pad footings in VisualAnalysis</span><p class="quoteauthor">William Mathers</p>';
fcontent[96]='I would recommend it to any structural engineers looking for easy to use structural software.</span><p class="quoteauthor">Ricky Pierce</p>';
fcontent[97]='Several of us cut our teeth on STAAD and find your graphical control scheme a vast improvement.</span><p class="quoteauthor">Chris Dubea</p>';

fcontent[98]='When I have had problems your response has been the same day if not the same hour.</span><p class="quoteauthor">Bruce Horrocks</p>';
fcontent[99]='The graphics in Model View make modeling of 3D structures much easier to build.</span><p class="quoteauthor">Alan L. Unemori</p>';
fcontent[100]='I am a loyal user and I am glad to be part of the evolution of this software.</span><p class="quoteauthor">Jose-Miguel Albaine</p>';
fcontent[101]='I especially like the ability to customize your reports.</span><p class="quoteauthor">James W. Kestner, PE</p>';
fcontent[102]='The combination of accuracy, ease of use, and credible and immediate technical support is irresistable!</span><p class="quoteauthor">Graeme Jamieson</p>';

fcontent[103]='Thank you so much for your unbeliebably quick reply!</span><p class="quoteauthor">Jason C. Bourne, PE</p>';
fcontent[104]='I just used the effective section property feature in ShapeBuilder…really cool</span><p class="quoteauthor">Kevin Harris, PE, SE</p>';
fcontent[105]='I have been able to model some very odd structures.</span><p class="quoteauthor">David G. Smith</p>';
fcontent[106]='Your intuitive modeling system is a great leap forward.</span><p class="quoteauthor">Jerry Middaugh, PE</p>';
fcontent[107]='It allows us to reasonbly model complicated structures quickly and in a straightforward manner.</span><p class="quoteauthor">David R. Chapman</p>';
fcontent[108]='It is the most user friendly structural software I have ever used.</span><p class="quoteauthor">Charles E. Weber</p>';

fcontent[109]='Great software - quick & easy to use!</span><p class="quoteauthor">Sheila Kimlinger</p>';
fcontent[110]='Overall, we really like the program. It is easy to learn and operate.</span><p class="quoteauthor">Stephen J. Christian</p>';
fcontent[111]='Yours is the first product that I could open and use without extensive conversations with the producing company...</span><p class="quoteauthor">Jerry Kitzman, PE</p>';
fcontent[112]='Exceptional, as always!  Thanks for the update.</span><p class="quoteauthor">Keith MacBain, Ph.D.</p>';
fcontent[113]='Thanks Again - your company, by far, has the best tech support out there!</span><p class="quoteauthor">Paul Serkosky</p>';

fcontent[114]='Thanks again for the quick response!</span><p class="quoteauthor">Cliff Plymesser</p>';
fcontent[115]='Thanks for your quick response.</span><p class="quoteauthor">Lee Wideman, PE, SE, PLS</p>';
fcontent[116]='Just a short note to thank you for your excellent software and easy update downloads.</span><p class="quoteauthor">Glenn Brackmann</p>';
fcontent[117]='I am thinking of dropping some of my other structural software because yours does everything the best.</span><p class="quoteauthor">Glenn Brackmann</p>';
fcontent[118]='I think you guys are on the right track and I like your programs.</span><p class="quoteauthor">Eric Schomaker, PE, SE</p>';

fcontent[119]='VisualAnalysis is still my favorite analysis/design program, and I’ve used them all.</span><p class="quoteauthor">Adam Christensen</p>';
fcontent[120]='After years & years of (happily & productively) using RISA, I could not be happier with VisualAnalysis.</span><p class="quoteauthor">Gordon Goodell</p>';
fcontent[121]='I would like others to know this greatest feature of VisualAnalysis: your quick and timely assistance.</span><p class="quoteauthor">Jayant Patel, PhD, PE</p>';
fcontent[122]='Thanks for the products:  they are great.</span><p class="quoteauthor">Rick Koehler</p>';
fcontent[123]='Thank you for your immediate and dead-on response.</span><p class="quoteauthor">William Phaup</p>';

fcontent[124]='Would you mind placing the following comment in the IES web page endorsement quote box? “OUTSTANDING customer service!”</span><p class="quoteauthor">Michael Levine, PE</p>';
fcontent[125]='The improvement in efficiency from 5.5 to 6.0 is absolutely astounding. Thought I should let you know.</span><p class="quoteauthor">William Phaup</p>';
fcontent[126]='I keep always recommending VisualAnalysis as my preferred engineering software.</span><p class="quoteauthor">Felipe Luevanos</p>';
fcontent[127]='Looks like you think ahead at IES!  This is just what I needed.</span><p class="quoteauthor">John Apolis</p>';
fcontent[128]='This is just another example of the kind of excellent service that your customers have come to expect from IES. Thanks again.</span><p class="quoteauthor">Peter Rebull, PhD, PE</p>';

fcontent[129]='As I have in the past, I will continue to spread the word about your company and your great software.</span><p class="quoteauthor">Paul Antonopoulos, PE</p>'

fcontent[130]='I have had access to a multitude of different software packages over the last 30 years as an engineer and yours shines as one of the easiest to use. Thanks.</span><p class="quoteauthor">Darryl S. Byle, PE</p>';
fcontent[131]='I have been using VA for 10 years...I KNOW that you are accessible, and that Terry is the man. Who could say something like that about RAM or RISA?</span><p class="quoteauthor">David D. Kampe, PE</p>';
fcontent[132]='...you know I love the software, I have had it since mid 90s...</span><p class="quoteauthor">Mirza Shirvani</p>';
fcontent[133]='I switched from RISA’s masonry design and section properties software because...I found IES to be easier to use.</span><p class="quoteauthor">Ronald M. Roberts, PE, SE</p>';
fcontent[134]='I have used IES technical support and find it is the best of any structural software company I have dealt with, bar none.</span><p class="quoteauthor">Joel Berg, PE</p>';
fcontent[135]='Thanks for a great product, which I have used for over 10 years.</span><p class="quoteauthor">Darryl S. Byle, PE</p>';
fcontent[136]='I will say VisualAnalysis is awesome and has assisted us in too many ways to count!</span><p class="quoteauthor">Cheryl Early, PE</p>';
fcontent[137]='I Cannot speak highly enough of the tech. support!</span><p class="quoteauthor">Cheryl Early, PE</p>';

//fcontent[136]='quote</span><p class="quoteauthor">name</p>';


// Add more!
//fcontent[???]='Quote</span><p class="quoteauthor">Name</p>';

closetag=''; //'<br /></span>';

var fwidth='150px</p>'; //set scroller width
var fheight='100px</p>'; //set scroller height

var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////


var faderdelay=0;

/*Rafael Raposo edited function*/
//function to change content
function changecontent() {
	// TeK Add 10/8/2005: Randomize the content!
	var index = Math.round( Math.random() * fcontent.length );
	if( index < 0 ) index = 0;	
	if( index > fcontent.length ) index = fcontent.length - 1;
  
	$("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
	$("fscroller").innerHTML=begintag+fcontent[index]+closetag
	if (fadelinks) {
		linkcolorchange(1);
	}
	colorfade(1, 15);

	// TeK Add 6/3/2009: Show screen shots below testimonials
	var i = Math.round( Math.random() * maxImage ) + 1;
	if( i < 1 ) i = 1;	
	if( i > maxImage  ) i = maxImage;
	var prtcl = "http:";
	if( "https:" === document.location.protocol ) {
		prtcl = "https:"; // done this way so it works locally too, with file protocol!
	}
	var path = prtcl + "//www.iesweb.com/images/t/" + i + ".jpg";
	var imgTag = "<img src='" + path + "' width='160' alt='' />";
	//var linkTag = "<a href='" + path + "' rel='lyteframe' rev='width: 830px; height: 630px; scrolling: no;'>";
	//var fullTag = linkTag + imgTag + "</a>";
	//$("screenshot").innerHTML = fullTag;
	$("screenshot").innerHTML = imgTag;
}

// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
// Modified by Dynamicdrive.com

function linkcolorchange(step){
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (obj.length>0){
    for (i=0;i<obj.length;i++)
      obj[i].style.color=getstepcolor(step);
  }
}

/*Rafael Raposo edited function*/
var fadecounter;
function colorfade(step) {
  if(step<=maxsteps) {	
    document.getElementById("fscroller").style.color=getstepcolor(step);
    if (fadelinks)
      linkcolorchange(step);
    step++;
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    clearTimeout(fadecounter);
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    setTimeout("changecontent()", delay);
	
  }   
}

/*Rafael Raposo's new function*/
function getstepcolor(step) {
  var diff
  var newcolor=new Array(3);
  for(var i=0;i<3;i++) {
    diff = (startcolor[i]-endcolor[i]);
    if(diff > 0) {
      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
    } else {
      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

// TeK Comment 2/15/2009: Testing forms javascript
document.write('<div id="fscroller"></div><br /><div id="screenshot"></div>');

if (window.addEventListener) {
	window.addEventListener("load", changecontent, false);
}
else if (window.attachEvent) {
	window.attachEvent("onload", changecontent);
}
else if (document.getElementById) {
	window.onload=changecontent;
}


