//add lines to the array below to add testimonials
//use the following format:
//	testimonials[next number in sequence] = ['man/woman', 'Name, Title, Company', 'testimonial text'];
//		man/woman - specify man or woman so that the proper "person" icon displays
//		Name, Title, Company - specify as many of these as you have available, separated by commas
//		testimonial text - an abbreviated version of the full testimonial; remember to keep it BRIEF
//
//	NOTE = escape single and double quotes within text by preceding them with a backslash (\)
//

var testimonials = new Array();

testimonials [0] = 	['Man','Kevin Kelly, Harding Academy of Memphis','The neat part about working with The Nexus Group is the feeling of being a part of the family...  I consider the people up there my friends.'];
testimonials [1] = 	['Man','Jay Gingrich, Vice President of Operations, StaffMe.net, LLC','Since being launched in April 2007, Nexus has done a wonderful job in supporting our efforts in maintaining the daily operations of the call center.'];
testimonials [2] = 	['Woman','Jacqueline B. Shrago, Chief Executive Officer, ThinkLink Learning, Inc.','Nexus has proven itself as a quality company, with a record of doing whatever is needed to make things right. '];
testimonials [3] = 	['Man','Andrew Kautz, Big Machine Records','Nexus consistently provides us a simple turn-key solution to our communications needs.  With one provider we have centralized all of our needs with minimal up-front out of pocket expense.  '];
testimonials [4] = 	['Man','Matt Stevens, Technology Officer, Adventure Science Center','Nexus\'s personal approach to customizing network services for ASC continues to be invaluable.'];
testimonials [5] = 	['Woman','Kim Adkins, The Capitol Strategy Group, LLC','The Nexus Group is very responsive and easy to work with. They have always customized a business solution to meet the needs of our company.'];
testimonials [6] = 	['Man','Anthony P Landreneau, Grand IT Pooh Pah, Louisiana Federal Credit Union','Without question it\'s their people. It\'s rare that you meet a technology company that is staffed by real people who treat you like a valued human being, that\'s what made me choose Nexus.'];



/////////////////////////////////////////////////////////////////////////////////////////
//	DO NOT EDIT BELOW THIS LINE
/////////////////////////////////////////////////////////////////////////////////////////

function getRandom() {
	
	var num = Math.floor(Math.random()*(testimonials.length - 1));
	return num;
	
}

function pullQuote() {
	
	var quote = getRandom();
	
	var icon = testimonials[quote][0];
	icon = icon.toLowerCase();
	
	var html = "<div><img src=\"../images/" + icon + ".gif\" border=\"0\" />"+testimonials[quote][2]+" &nbsp;&nbsp; - "+testimonials[quote][1]+"</div>";
	
	document.getElementById('divBottomFeatureArea').innerHTML = html;
	
}


//
// addLoadEvent()
// Adds event to window.onload without overwriting currently assigned onload functions.
// Function found at Simon Willison's weblog - http://simon.incutio.com/
//
function addLoadEvent(func)
{	
	var oldonload = window.onload;
	if (typeof window.onload != 'function'){
    	window.onload = func;
	} else {
		window.onload = function(){
		oldonload();
		func();
		}
	}

}



addLoadEvent(pullQuote);	// run pullQuote onLoad
