function makeNews(c,s,p){
	this.copy = c;
	this.sign = s;
	this.pics = p;
	this.write = writeNews;
}


function writeNews(){
	var str = '';
	str += '<div style="padding:0px; margin:0px;" class="testimonialcontent"><p style="padding:10px;margin-top:5px; background:#e9f3fa;">'+ this.copy ;
	str +=  this.sign + '<br/><img src="http://dev.usadata.com/images/testimonials/'+ this.pics +'"/></p></div>';
	return str;
}

var newsArray = new Array();
newsArray[0] = new makeNews("&quot;USADATA&rsquo;s <a href='/videos.html#saleslead360'>SalesLeads360 video</a> provided a good overview for how to use their SalesLeads360 account to make ordering leads more efficient for my business.&quot;<br/><br/>",'Susan Larson - Director<br/>Corporate Marketing of ANRO Inc<br/>West Chester, PA', 'anro.jpg' ).write();

newsArray[1] = new makeNews("&quot;USADATA has been a vital part of the growth of our business. The targeted leads they provide allow us to reach out to the right contacts at the right businesses, saving us time and money. They deliver accurate leads with a quick turnaround time, which allows us to focus more on selling our product instead of searching for qualified leads.&quot;<br/><br/>",'Stuart Katz - President<br/>Foundation Energy Services<br/>New York, NY', 'non.jpg').write();

newsArray[2] = new makeNews("&quot;USADATA went beyond the call of duty to tailor a mailing list specific to our needs.  Our mailings using the USADATA list helped us secure new donors and helped to spread the word about our mission among our target audience.&quot;<br/><br/>", 'Henry Grabb<br/>Cat Angel Network<br/>Stowe, PA', 'CAN.jpg').write();

newsArray[3] = new makeNews("&quot;<a href='/videos.html'>USADATA's videos</a> are a thoughtful way to help their clients market their services more effectively. They clearly care about helping their clients succeed&quot;<br/><br/>", 'Dena Kelly<br/>Mail Print <br/>Kansas City, MO', 'MP.jpg').write();

newsArray[4] = new makeNews("&quot;First and foremost, I had 2 very successful campaigns with the 2 lead lists I purchased from USADATA in December.   You certainly hit the mark with the lists you recommended!&quot;<br/><br/>", 'Thomas J. Trumeter<br/>CPA<br/>Rochester, NY', 'non.jpg').write();



newsArray[5] = new makeNews("&quot;Even though my purchase was small, USADATA made me feel like I was a big important client! Their Client Service staff was knowledgeable and very patient with me! Every company out there today talks about what great customer service they have, but USADATA really walks the walk.&quot;<br/><br/>",'Roger Chestnut<br/>Healthy Home, Inc<br/>Melrose, MA', 'hh.jpg').write();

newsArray[6] = new makeNews("&quot;We began &rsquo;Musical Pathways&rsquo; without any brand recognition from scratch with mailing lists.  We began with 24 families, and have grown to 275 families.&quot; <br/><br/>",'Betsy Flanagan<br/>Director<br>Musical Pathways Foundation<br/>(an affiliate of Kindermusik)', 'kindermusik.jpg').write();

newsArray[7] = new makeNews("&quot;Direct mail has, by far, the highest closing rate.&quot;<br/><br/>",'Jim Whalen- Owner<br/>Rebath of Rochester LLC<br/>Rochester, NY', 'rebath.jpg').write();

newsArray[8] = new makeNews("&quot;I am very satisfied with USADATA's leads and service. I had an excellent response from my mailing and will be back soon for new leads for my next campaign.&quot;<br/><br/>",'Russell Wright<br/> Ray&rsquo;s Import Auto Repair<br/>Murfreesboro, TN', 'ray_imports.jpg').write();

newsArray[9] = new makeNews("&quot;Working with a mailing list helped us find new patients we couldn't have accessed as easily or quickly.   Purchasing targeted mailing lists should be a part of every dental marketing campaign. We are completely satisfied with the results.&quot;<br/><br/>",'Narguess Riahi - Office Manager<br>Brookline Dental Center', 'bdc.jpg').write();

newsArray[10] = new makeNews("&quot;USADATA has been an important tool in the way we reach goals. The information provided by them was fast and secure. Every time I had a question it was answered with the best customer service in a short period of time motivating me to keep working with them. It's been 5 years working with them expanding my business to new markets. Thanks USADATA for your services!&quot;<br/><br/>",'Dr. Carlos Barragan - Owner <br/>Elizabeth Dental Center', 'non.jpg').write();

newsArray[11] = new makeNews("&quot;Finding good, dependable, and talented strategic partners can be challenging at times. Finding those who go above the bar in providing excellent customer service is a rare find, but a necessity in today&rsquo;s economic market. USADATA filled these needs for us in our recent direct mail campaign perfectly.&quot;<br/><br/>",'Kimberly Snow Logsdon<br>Miami University', 'mu.jpg').write();

newsArray[12] = new makeNews("&quot;We facilitate distance degrees for almost seventy degree programs. Having USADATA around to help us find mailing lists as we seek out our best prospective students is so helpful. Their quick response time makes it much easier to market our programs for individual colleges that we serve here on our campus.&quot;<br/><br/>",'Johnnie Blackburn - College of Continuing Studies<br/> The University of Alabama', 'alabama.jpg').write();

 newsArray[13] = new makeNews("&quot;I was impressed and delighted with USADATA&rsquo;s customer service. It isn't often enough that we get great customer service, and USADATA really stood out. I really love the options that they offer and the way they followed up with me to make sure my order went smoothly. Just proves that I picked the right company to get my mailing list from.&quot;<br/><br/>",'Anne St. Cyr<br/>Network Marketer<br/>Dublin, OH', 'non.jpg').write();

newsArray[14] = new makeNews("&quot;I have worked with USADATA in each of the past 3 years because they provide access to the targeted consumer and business demographic segments our business excels in. They also make it easy for me. Leads are delivered in my preferred format which makes getting my mail campaign out the door faster.&quot;<br/><br/>",'Edwin Vicente Jr<br/>CPA PC', 'non.jpg').write();

newsArray[15] = new makeNews("&quot;&quot;We have been using your services for several years, and I can&rsquo;t tell you what an asset USADATA has been to our firm. I am happy to report that each year since we started working with USADATA we&rsquo;ve seen a continued increase in revenue. We have over 24 offices in Western New York, and your lists have helped us successfully satisfy several new locations, by enabling our continued growth.&quot; <br/><br/>",'Tiffany Fabian<br/>Corporate Development Director<br>EG Tax', 'EG_tax.jpg').write();

newsArray[16] = new makeNews("&quot;Your expertise in helping us select the best names for our mailings has helped us to communicate our messages to our target audience. This increased awareness of our services has enabled us to better serve our community.&quot;<br/><br/>",'Micheline Owen<Br/>Alta Bates Summit Medical Center<Br/>Oakland CA', 'absmc.jpg').write();
 
var nIndex = 0;
var timerID = null;

function rotateNews(){
	var cycle = newsArray.length;
 
	if(nIndex >= cycle-2) {nIndex = 0; }
	document.getElementById('stories').innerHTML = newsArray[nIndex]+newsArray[nIndex+1];
		nIndex+=2;
 
		document.getElementById('stories').innerHTML += newsArray[nIndex]+newsArray[nIndex+1];
		nIndex+=1;
 	 
 	timerID = setTimeout('rotateNews()',10000);
}
function pauseNews() {
	if (timerID != null) {
		clearTimeout(timerID);
		timerID = null;
	}
}

function playNews() {
	if (timerID == null) {
		timerID = setTimeout('rotateNews()', 10000);
	}
}

