var arrayQuoteBy = new Array();
var arrayQuote = new Array();
var curcontentindex = 0;

arrayQuoteBy[0] = "Jim Murphy, Bradley Corporation";
arrayQuote[0] = "Ardexus Mode is a fantastic CRM solution that dramatically improves the way marketing, sales and customer service communicate with each other, and with our customers.";
arrayQuoteBy[1] = "Judy O'Loughlin, National Sales Manager, EDAX Inc.";
arrayQuote[1] = "The Ardexus team provided superior customer service both during the implementation and for the months following.";
arrayQuoteBy[2] = "Mark Lang, Sales Manager";
arrayQuote[2] = "In the absence of empirical data, decisions tend to be made based more on an allegorical viewpoint, then on cold hard fact. It seems to me that these viewpoints or stories get passed on from person to person, manager to manager, and perception becomes reality without any validation ever really occurring.";
arrayQuoteBy[3] = "Greg Milosevich, Vice President, Worldwide Sales, Arcturus Inc.";
arrayQuote[3] = "We rapidly embraced FIND, which is an exceptional marketing automation package. It&rsquo;s easy to use, full of features, and logically integrates with our sales processes.";
arrayQuoteBy[4] = "Ned Webb, CIO";
arrayQuote[4] = "One of the many reasons for us choosing MODE was the built-in TASC sales process, and how it presents the sales person with a prioritized list of what is most important on a daily basis.";
arrayQuoteBy[5] = "Gary Walsh, Senior Consultant, Decision Labs";
arrayQuote[5] = "We have seen many different Lotus-based CRM tools in the marketplace that simply weren't impressive. After seeing the strong sales methodology integrated directly into Ardexus MODE, we immediately jumped on board.";
arrayQuoteBy[6] = "Josh Hartway, CEO, Advanced Servo Technologies";
arrayQuote[6] = "Getting the most out of our certified technical specialists is paramount for our company. Having configurable customer service processes built into CARE makes our technicians more efficient and confident.";
arrayQuoteBy[7] = "Tim Miller, Manager of IT, Mercantile Development Inc.";
arrayQuote[7] = "After evaluating a variety of solutions from different vendors, we deemed Ardexus MODE to be the most capable and cost-effective.";
arrayQuoteBy[8] = "Henry Peyer, President, Swiss Instruments";
arrayQuote[8] = "Ardexus worked with us to ensure that our specific approach to customer service was reflected in the software. MODE's CARE module has eliminated the paper-based processes we have used for a long time.";
arrayQuoteBy[9] = "Rolf Klug, Co-CEO, Atronic America";
arrayQuote[9] = "No other software in this price range had the end-to-end CRM management capability that we were looking for.";

function rotatecontent(){
	//get current message index (to show it):
	curcontentindex = (curcontentindex<arrayQuoteBy.length-1)? curcontentindex+1 : 0;
	var objQuoteBy = document.getElementById("QuoteBy");
	var objQuote = document.getElementById("Quote");
	objQuoteBy.innerHTML = arrayQuoteBy[curcontentindex];
	objQuote.innerHTML = arrayQuote[curcontentindex]
}

function openscreenshot(url, width, height){
	var win;
	if(!width)
		win = window.open(url, "ScreenShot", "width=660,height=500");
	else
		win = window.open(url, "ScreenShot", "width=" + width + ",height=" + height);
}

function getLastFive(){
	var arrayText = new Array(5);
	var arrayLink = new Array(5);
		
	arrayText[0] = "Ardexus releases next generation of mobile CRM: Mode for BlackBerry v3.0";
	arrayText[1] = "Ardexus releases latest version of web-based CRM: WebMODE 3";
	arrayText[2] = "Ardexus launching new product releases at Lotusphere 2010";
	arrayText[3] = "Make it Eight: Ardexus, Winners of the ISM Top 15 for Eighth Year Running";
	arrayText[4] = "Bayer Technology Services Completes Roll-Out of Ardexus MODE";
	
	arrayLink[0] = "/PressRelease/press-10Mar05-b.htm";
	arrayLink[1] = "/PressRelease/press-10Mar05-w.htm";
	arrayLink[2] = "/PressRelease/press-09Dec04.htm";
	arrayLink[3] = "/PressRelease/press-09Jun30.htm";
	arrayLink[4] = "/PressRelease/press-09Apr09.htm";

	var strHtml = "";
			strHtml = "<table border='0' cellpadding='0' cellspacing='0' bgcolor='#CCCCCC'>";
			strHtml += "<tr><td style='padding-left:5px;padding-right:5px'><b>Last Five Press Releases</b></td></tr>";
			strHtml += "<tr><td><ul>";
			for(var i=0; i<arrayText.length; i++){
				strHtml += "<li><a href='" + arrayLink[i] + "'>" + arrayText[i] + "</a></li>";

//strHtml += "<tr><td style='padding-left:5px;padding-right:5px'><a href='" + arrayLink[i] + "'>" + arrayText[i] + "</a></td></tr>";
			}
			strHtml += "</ul></td></tr></table>";
	return strHtml;
}