//pre-load images
var listImg = new Image();
listImg.src = 'watch.gif';
var treeImg = new Image();
treeImg.src = 'dhtml.gif';
var formImg = new Image();
formImg.src = 'form.gif';
var autoImg = new Image();
autoImg.src = 'web.gif';

function makeNews(c,l,f){
	this.copy = c;
	this.link = l;
	this.follow = f;
	this.write = writeNews;
}

function writeNews(){
	var str = '';
	str += '<a href="' + this.link + '">';
	str += this.copy + '</a><br>';
        str +=  this.follow;
	return str;
}

var newsArray = new Array();

newsArray[0] = new makeNews("<u><strong>DIRECT MAIL</strong></u>",'http://www.accessresponsesite.com/direct-mail.php','More than 1 billion pieces mailed annually! - Targeted. Maximum delivery. Minimum costs.').write();

newsArray[1] = new makeNews("<u><strong>VOLUME MAIL</strong></u>",'http://accessresponsesite.com/volume-mail.php','Utilize effective formats and create highly personalized communications. ').write();

newsArray[2] = new makeNews("<u><strong>POSTCARDS</strong></u>",'http://accessresponsesite.com/postcards.php','Postcards are a high-impact, low-cost way to reach your customers and prospects. ').write();

newsArray[3] = new makeNews("<u><strong>TRANSACTIONAL MAIL</strong></u>",'http://accessresponsesite.com/transactional-mail.php','Highly personalized communications in 24 to 48 hours, with archiving capabilities.').write();

newsArray[4] = new makeNews("<u><strong>FINANCIAL COMMUNICATIONS</strong></u>",'http://accessresponsesite.com/financial-communications.php','Scheduled or on demand communications, produced at 100% accuracy and delivered on time.').write();

newsArray[5] = new makeNews("<u><strong>POSTAL OPTIMIZATION</strong></u>",'http://www.accessresponsesite.com/postal-optimization.php','Achieve maximum postal discounts and efficient delivery.').write();

newsArray[6] = new makeNews("<u><strong>DOCUMENT MANAGEMENT</strong></u>",'http://www.accessresponsesite.com/Bill-Presentation.php','Search, view, or print all your documents online. ').write();

newsArray[7] = new makeNews("<u><strong>EMAIL</strong></u>",'http://www.accessresponsesite.com/email.php','An effective, cost-efficient and often preferred method of communicating with your customers. ').write();

newsArray[8] = new makeNews("<u><strong>FAX</strong></u>",'http://www.accessresponsesite.com/fax.php','Customize your messages, schedule delivery and monitor results.').write();

newsArray[9] = new makeNews("<u><strong>PHONE</strong></u>",'http://www.accessresponsesite.com/phone.php','Contact your customers and prospects electronically using the method they prefer.').write();

newsArray[10] = new makeNews("<u><strong>DATABASE DESIGN</strong></u>",'http://accessresponsesite.com/database-design.php','We design, build and maintain your marketing database.').write();

newsArray[11] = new makeNews("<u><strong>DATA COLLECTION</strong></u>",'http://accessresponsesite.com/data-collection.php','Accurate, standardized data results in efficient and cost-effective communications. ').write();

newsArray[12] = new makeNews("<u><strong>INTERACTIVE SITE</strong></u>",'http://accessresponsesite.com/interactive-response-site.php','Supports applications to educate, promote and sell, by facilitating interactive customer communications. ').write();
newsArray[13] = new makeNews("<u><strong>E-LEARNING</strong></u>",'http://accessresponsesite.dev/e-learning.php','Train employees, salespeople, resellers and customers quickly and accurately with online courses.').write();
newsArray[14] = new makeNews("<u><strong>E-PUBLISHING</strong></u>",'http://accessresponsesite.com/e-publishing.php','Flexible, easy to use and effective for writing, publishing and archiving content.').write();
newsArray[15] = new makeNews("<u><strong>E-COMMERCE</strong></u>",'http://accessresponsesite.com/e-commerce.php','Our e-Commerce application gives retailers the Internet presence they need to support customer relationships.').write();
newsArray[16] = new makeNews("<u><strong>E-SURVEY</strong></u>",'http://accessresponsesite.com/e-survey.php','Create surveys, quizzes and tests to learn what your customers, prospects and employees think about your products and services.').write();

newsArray[17] = new makeNews("<u><strong>E-PROFILING</strong></u>",'http://accessresponsesite.com/e-survey.php','With our technology we can make profiling your customers more efficient. ').write();

newsArray[18] = new makeNews("<u><strong>NEWSLETTERS</strong></u>",'http://accessresponsesite.com/newsletter.php','Enhance customer retention and brand loyalty.').write();

newsArray[19] = new makeNews("<u><strong>SATISFACTION SURVEYS</strong></u>",'http://accessresponsesite.com/satisfactionsurveys.php','Fine-tune your porducts and services, based on your customers satisfaction surveys. ').write();

newsArray[20] = new makeNews("<u><strong>PROMOTIONS</strong></u>",'http://accessresponsesite.com/promotions.php','The cost of acquiring a new customer is much greater than the cost of keeping current ones').write();

newsArray[21] = new makeNews("<u><strong>REMINDERS</strong></u>",'http://accessresponsesite.com/reminders.php','Automated remider programs set up daily, weekly, monthly or annually.').write();

newsArray[22] = new makeNews("<u><strong>RENEWALS AND WINBACKS</strong></u>",'http://accessresponsesite.com/renewals.php','Relevant and timely CRM programs can increase renewals. ').write();

newsArray[23] = new makeNews("<u><strong>CUSTOMER RECOGNITION</strong></u>",'http://accessresponsesite.com/customerrecognition.php','Customers who participate in reward programs tend to shop with you exclusively, rather than go to your competition.').write();


var nIndex = 0;
var timerID = null;
var len = newsArray.length;

function displayNews(startindex){
	index = startindex;
	for (s=0; s < len; s++){
		if (index >= len){
			index = startindex;
		}

		services_id = 'services' + s;
		if (document.getElementById(services_id) != null){
			document.getElementById(services_id).innerHTML = newsArray[index];
		}

		index++;
	}
}
function rotateNews(){
	if(nIndex >= len){
		nIndex = 0;
	}

	displayNews(nIndex);
	nIndex+=6;

	timerID = setTimeout('rotateNews()',60000);
}
function pauseNews() {
	if (timerID != null) {
		clearTimeout(timerID);
		timerID = null;
	}
}

function playNews() {
	if (timerID == null) {
		timerID = setTimeout('rotateNews()', 30000);
	}
}
