/*
 * http://www.javascriptkit.com/dhtmltutors/fadingtext.shtml
 * 
 * 
 */

hexinput=255;
var inc=-1;

function fadingtext(){	         	
	if(hexinput>0) {	
		hexinput-=11;
		document.getElementById("textfade").style.color="rgb("+hexinput+","+hexinput+","+hexinput+")";
		setTimeout("fadingtext()",100);	
	}
	else
		hexinput=255;
}

function changetext(){
	if (!document.getElementById)
		return;
	
	inc++;
	
	if (inc==0){
		document.getElementById("textfade").innerHTML="\"The use of WDCi's ReadyMade solution has removed the headache of re-keying data between Salesforce and MYOB, enabling me to focus on my business and not the books...\" <br/><div class=\"floatright\" <p class=\"purple\"><a href=\"http://www.upskilled.com.au/\"'>Varant Bomoushakian - Upskilled</a></p></div>";
		//document.getElementById("readmorelink").setAttribute('href','varant1.html');
	}
	else if (inc==1){
		document.getElementById("textfade").innerHTML="\"Our Premier Dealers are always up to date, using Salesforce to manage their customers, leads and sales,  MYOB for their finances and ReadyMade to keep them both in sync...\" <br/><div class=\"floatright\" <p class=\"purple\"><a href=\"http://www.solatube.com.au/\">Maria Douglas - Solatube</a></p></div>"
		//document.getElementById("readmorelink").setAttribute('href','varant2.html');
	}
	else if (inc==2){
		document.getElementById("textfade").innerHTML="\"At Enviren we want to focus on the business of helping our customers reduce their energy costs not on re-keying data between our CRM and Accounting System. Using the Salesforce-Saasu ReadyMade solution from WDCi has solved our data issues and freed us up to do what we do best...\" <br/><div class=\"floatright\" <p class=\"purple\"><a href=\"http://www.enviren.com.au/\">Pieter Broderick - Enviren</a></p></div>"
		
	}
    else if (inc==3){
		document.getElementById("textfade").innerHTML="\"So much time can be wasted in business keying the same data into different systems. WDCi’s ReadyMade solution solved this issue for our business. Converted sales within Salesforce are now updated in real time to our accounting system Saasu...\" <br/><div class=\"floatright\" <p class=\"purple\"><a href=\"http://www.weblinc.com.au/\">Paul Mansfield - Weblinc</a></p></div>"
		
	}
    else if (inc==4){
		document.getElementById("textfade").innerHTML="\"User credentials and security are a key component of the solutions we provide our customers. Having Netsuite and Active Directory integrated streamlines our identity management process at ASE Networks. WDCi worked diligently to overcome any hurdles integrating with Active Directory and our unique requirements...\" <br/><div class=\"floatright\" <p class=\"purple\"><a href=\"mailto:andrews@aseit.net\">Andrew Sjoquist - ASE</a></p></div>"
		
	}
	else{
		document.getElementById("textfade").innerHTML="\"My WDCi contact person speaks my same native language and she translates well from GoogleJargon and SalesForceSpeak. When all the free advice & help was factored in, the fees were similar to what I would have paid to a \"quick but generic\" App setup company--assuming that question and answer time could even be bought from another provider. WDCi: They do consulting...\" <br/><div class=\"floatright\" <p class=\"purple\"><a href=\"http://www.abrahamsolar.com/\">Mick Abraham - Abraham Solar</a></p></div>"
		//document.getElementById("readmorelink").setAttribute('href','varant3.html');
		inc=-1;
	}
	fadingtext();
	setTimeout("changetext()",10000);
}