// Store Pages in an Array
var i = 1;

function choosePage() 
{	
	self.setInterval('switchPage()',  12000);
}

// REPLACE PAGE
function switchPage(){

	var pageToShow = "page" + i;

	switch (pageToShow){
	
		case "page1":
		    document.all.pageCell.innerHTML = '<br><span class="caption">What\'s with the name?</span><br>'
			+'<br><br><span class="pageTxt">Everyone asks:  Why the name PRISM?  A Prism is a special glass (isotope).  When light shines through it, it produces a magnificent spectrum of colors.  Physicists use the light produced by a Prism to reveal things about an object that can\'t be seen with the naked eye. We hope that PRISMCompliance.com reveals things about your compliance organization that can\'t be seen with the naked eye.</span>'
			break;
		   
		case "page2":
			document.all.pageCell.innerHTML = '<br><span class="caption">Offering:</span>'
			+'<br><br><span class="pageTxt"><a href=#>Vendor Management</a> with eDirectory</span>'
			+'<br><span class="pageTxt"><a href=#>Contract Management</a> - manage and analyze contract goals</span>'
			+'<br><span class="pageTxt"><a href=#>Compliance Management</a> - track and reconcile contract payment transactions\; control non-compliance by automatically placing prime payments on-hold\;</span>'
			+'<br><span class="pageTxt">Web-based Contractor Reporting - get primes and D/M/WBEs to report on-line and on-time</span>'
			break;
		   
		case "page3":
			document.all.pageCell.innerHTML = '<br><span class="caption">Offering:</span><br><br>'
			+'<br><span class="pageTxt">Automated Alerts and Notification - be proactive on<br>non-compliance issues and prioritize contract management tasks\; and performs follow-up even when you forget to.</span>'
			+'<br><span class="pageTxt"><a href=#>Outreach &amp; Educations</a> - increase the effectiveness of your programs with news and announcements to targeted audiences; educate vendors more often and in more geographic locations without leaving the office</span>'
			+'<br><span class="pageTxt"><a href=#>Application Integration</a> - web-based services makes seemless integration with enterprise systems</span>'
			break;
		   
		case "page4":
		   document.all.pageCell.innerHTML = '<br><span class="caption">The solution for forward-thinking Contract Compliance Managers</span><br>'
			+'<br><span class="pageTxt">Do you believe Contract Compliance Management is essential to making better decisions (economic development, political, procurement) for your organization?</span>'
			+'<br><span class="pageTxt">PRISMCompliance.com is the most comprehensive and first totally web-based Contract Compliance Management (CCM) solution to hit the market. Governments, Corporations, and Compliance Management Consultants who choose a PRISMCompliance.com solution are able to streamline operations and gain the insight behind their compliance numbers.</span>'
			+'<br><span class="pageTxt">PRISMCompliance.com combines comprehensive business management tools with accounting basics in flexible, user-friendly format. It delivers exclusive contract compliance management features for forward-thinking contract managers and personnel needing advanced analysis and reporting tools.</span>'
			break;
		   
	}
	
	if (i == 4){
	i = 1;
	}else{
	i += 1;
	}
	
}


