	
	var continueBodyOnloadFlag = false;

	window.onload= doOnloadTasks;

	function doOnloadTasks()
	{
		writeQuotes(rand(15)-1);
		if (continueBodyOnloadFlag)
			continueBodyOnload();
	}
var quotesArray = new Array();
var nowShowingQuoteIndex=0;


quotesArray[0] = "<p class='sidebar_quote'>&quot;Liquid Engines has revolutionized 'what-if' tax modeling and analysis. Its interactive and transparent&nbsp;method renders traditional 'spreadsheet' analysis obsolete.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Walter Hellerstein&nbsp;</p>"

quotesArray[1] = "<p class='sidebar_quote'>&quot;I think Liquid Engines has&nbsp;the potential to change&nbsp;the world from a tax management perspective.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> James Fuller&nbsp;</span></p>"

quotesArray[2] = "<p class='sidebar_quote'>&quot;Liquid Engines has the most powerful technology I&nbsp;have ever seen for managing the tax affairs<br>of complex corporations.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Charles Rossotti&nbsp;</span></p>"

quotesArray[3] = "<p class='sidebar_quote'>&quot;When a company's stock price is on the line, it isn't acceptable to be 'partially correct.' To contribute to the bottom line and help reduce risk, tax departments need to move away from spreadsheets and embrace the latest in technology.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Robert (Bob) Perlman&nbsp;</span></p>"

quotesArray[4] = "<p class='sidebar_quote'>&quot;Liquid Engines not only provides analytic power, its parameter-driven approach enables companies to change their assumptions and create new models as events warrant.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> David L. Forst&nbsp;</span></p>"

quotesArray[5] = "<p class='sidebar_quote'>&quot;Today's tax departments must leverage technology, such as Liquid Engines, to ensure they report financial figures that are precise, documented, and auditable.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Charles Rossotti&nbsp;</span></p>"

quotesArray[6] = "<p class='sidebar_quote'>&quot;Liquid Engines enables today's tax executive to play a more strategic role in the company by optimizing cash flow without enduring undue risk and exposure.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Robert (Bob) Perlman&nbsp;</span></p>"

quotesArray[7] = "<p class='sidebar_quote'>&quot;What Liquid Engines can do in a matter of weeks would take months of our tax department personnel's time.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Prudential&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>Financial, Inc.&nbsp;</span></p>"

quotesArray[8] = "<p class='sidebar_quote'>&quot;Today, the risks are high and mistakes can be extremely damaging. The Liquid Engines system is a&nbsp;tax executive's dream as&nbsp;it drastically improves time to execution and accuracy while, most importantly, eliminating surprises.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Larry Langdon&nbsp;</span></p>"

quotesArray[9] = "<p class='sidebar_quote'>&quot;Liquid Engines is poised to be the technology company of choice for corporations seeking to improve the management of their tax activities.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Charles Rossotti&nbsp;</span></p>"

quotesArray[10] = "<p class='sidebar_quote'>&quot;Minimizing taxes, repatriation planning, and tax and business coordination can all be enhanced with Liquid Engines' technology.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Jim Fuller&nbsp;</span></p>"

quotesArray[11] = "<p class='sidebar_quote'>&quot;Today's tax professionals are going to have to learn to play three-dimensional chess. I'm too old to learn. Fortunately, there's software, like Liquid Engines, that puts me on the appropriate place on the learning curve and makes me look smart.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Walter Hellerstein&nbsp;</span></p>"

quotesArray[12] = "<p class='sidebar_quote'>&quot;Responding to the need for enterprise-quality software, Liquid Engines has delivered a rigorous system that provides corporate tax departments the tools needed to do its job of minimizing taxes while minimizing risk.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Charles Rossotti&nbsp;</span></p>"

quotesArray[13] = "<p class='sidebar_quote'>&quot;In my estimation, every Fortune 1000 company needs Liquid Engines' technology to master the complexities and challenges of international&nbsp;tax management and planning.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> Jim Fuller&nbsp;</span></p>"

quotesArray[14] = "<p class='sidebar_quote'>&quot;Using Liquid Engines enables us to better serve the business and gives us greater confidence that we are making the right decisions based on all the right information.&quot;</p><p class='sidebar_author' align='right'><span class='sidebar_text'>&#8212;</span> AON Corporation&nbsp;</span></p>"

var timeoutID;

function writeQuotes(index)
{
	var linkString="&lt;<a href='#' onclick='showPreviousQuote();' class='sidebar_link'>Prev</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='#' onclick='showNextQuote();' class='sidebar_link'>Next</a>&gt;"
	var i = (index)? index : 0;
	i = (i < quotesArray.length)? i : 0;

	divElem = document.getElementById('quoteContainer');
	if (divElem)
	{
		divElem.innerHTML = quotesArray[i];
		//alert(quotesArray[i].length);
		timeoutID = setTimeout('rotateQuotes()',quotesArray[i].length *40 ); // Start rotating, once the quote is rendered.
	}
}


function rotateQuotes()
{
	window.clearTimeout(timeoutID)

	if (nowShowingQuoteIndex == quotesArray.length)
		nowShowingQuoteIndex =0;
	
	nowShowingQuoteIndex++;
	
	writeQuotes(nowShowingQuoteIndex);
}

function showPreviousQuote()
{

	window.clearTimeout(timeoutID)

	if (nowShowingQuoteIndex == 0)
		nowShowingQuoteIndex =quotesArray.length-1;
	else
		nowShowingQuoteIndex--;
	
	writeQuotes(nowShowingQuoteIndex);
	return;
}

function showNextQuote()
{
	window.clearTimeout(timeoutID)

	if (nowShowingQuoteIndex == quotesArray.length-1)
		nowShowingQuoteIndex =0;
	else
		nowShowingQuoteIndex++;
	
	writeQuotes(nowShowingQuoteIndex);
	return;
}

// Randomizer

rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
        return Math.ceil(rnd()*number);
};

// end randomizer. -->

