window.onload = function () {
	document.getElementById("quotetext").innerHTML = testText;
	document.getElementById("quotename").innerHTML = testName;
	resettingActiveStylesheet();
}



if(document.getElementsByTagName) {
function resettingActiveStylesheet() {
   var i, a, main;
   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
     if(a.getAttribute("rel").indexOf("style") != -1
        && a.getAttribute("title")) {
       a.disabled = true;
     }
   }
}
function setActiveStyleSheet(title) {
   var i, a, main;
   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
     if(a.getAttribute("rel").indexOf("style") != -1
        && a.getAttribute("title")) {
       a.disabled = true;
       if(a.getAttribute("title") == title) a.disabled = false;
     }
   }
}
setActiveStyleSheet("hiddentestimonials");

	var index = Math.round(Math.random() * 4);
	
	var testimonials = new Array (
		new Array ("The WAMMI survey has been very useful and easy to interpret. The strengths of WAMMI for my audience (very tech heavy audience) were:<br><br><i>Benchmarking and metrics</i> - Process freaks (most engineers and engineering managers) loved it.<br><br><i>Quantifying satisfaction</i> - Really good way to demonstrate the dimensions of satisfaction both to engineers and marketing.<br><br><i>Confidence</i> - I had to talk myself stupid about validity/reliability before hand, but at the end of the day the 1000+ responses provided the real brute force argument.", "Nathan Langley, Betfair.com, Usability Manager"),
		new Array ("The WAMMI evaluation gave us great value. We were able to get feedback from the public and our employees about our web site, which would otherwise have been difficult. We were easily able to get quality information about our visitors and what they thought of the site, especially as response rates were relatively high. WAMMI was exactly the survey we needed.", "Åsa Grankvist, Securitas.se, Web Manager"),
		new Array ("We have used WAMMI twice on our Internet bank with one year apart. It's was a good and effective solution. I liked the possibility to get information from a big share of our customers. It was an advantage to use WAMMI several times and measure improvements of the interface. This result confirmed that navigation and security had to be improved and also revealed other interface issues.", "Roland Sannicolo, FöreningsSparbanken, Project Manager"),
		new Array ("The Tourist Board used WAMMI in three different languages: English, Swedish and German.  I liked the possibility to get real users to tell their opinion about the web site. It's easy to think that users experience the web site in the same way as yourself, but after a WAMMI test you don't have to be uncertain about user opinions. The result spoke for itself. A major advantage with WAMMI was that it took care of itself and that you got the result online.", "Ingemar Eriksson, The Swedish Tourist Agency, Head of IT"),
		new Array ("We have used WAMMI twice for web analysis for the Metropolis web site. I was very positive towards the set-up, scope and ease of use of WAMMI. It was a simple way of acquiring the results of the analysis with low workload on our side collecting data. WAMMI had very high relevance towards critical usability factors. The results were used as a start for discussions and input for a new design cycle.", "Mark Bergers, Digital Metropolis, Project Coordinator")
	);
	
	var testimonial = testimonials[index];
	var testText = testimonial[0];
	var testName = testimonial[1];

}


