document.write('<scr' + 'ipt src="tFader.js" type="text/javascript"></scr'+'ipt>');
document.write('<scr' + 'ipt type="text/javascript" src="myslide.js"></scr' + 'ipt>');

function counties() {

document.write('<div><map name="FPMap0">');
document.write('<area href="caswell.html" shape="rect" coords="20, 17, 174, 34" alt="Caswell/Person Counties">');
document.write('<area href="duplin.html" shape="rect" coords="20, 42, 108, 59" alt="Duplin County">');
document.write('<area href="henderson.html" shape="rect" coords="20, 66, 169, 83" alt="Henderson/Wake Forest">');
document.write('<area href="johnston.html" shape="rect" coords="20, 88, 123, 107" alt="Johnston County">');
document.write('<area href="rockingham.html" shape="rect" coords="23, 112, 139, 130" alt="Rockingham County">');
document.write('<area href="sampson.html" shape="rect" coords="20, 136, 126, 154" alt="Sampson County">');
document.write('<area href="sowake.html" shape="rect" coords="21, 162, 174, 179" alt="So. Wake/Harnett County">');
document.write('</map><img border="0" src="images/b_counties.gif" usemap="#FPMap0" width="200" height="195"></div>');

}

function footer() {

document.write('<a href="index.html">Home</a> | <a href="about.html">About Us</a> | ');
document.write('<a href="advertise.html">Advertise with Us</a> | <a href="customer_service.html">Customer Service</a> | ');
document.write('<a href="distribution.html">Distribution Locations</a> | ');
document.write('<a href="testimonials.html">Testimonials</a> | <a href="recycle.html">Recycle</a> | <a href="contact.html">Contact Us</a><BR>');
document.write('<a href="duplin.html">Duplin County</a> | ');
document.write('<a href="henderson.html">Henderson/Wake Forest</a> | <a href="johnston.html">Johnston County</a> | ');
document.write('<a href="rockingham.html">Rockingham County</a> | ');
document.write('<a href="sampson.html">Sampson County</a> | <a href="sowake.html">So. Wake/Harnett County</a><BR>');
document.write('<BR style="line-height:5px">');
document.write('&copy; Copyright 2007-2009 Tarheel Pages - All Rights Reserved<BR>  ');

}

function search() {

document.write('      <form method="POST" action="search.php">');
document.write('      	<table border="0" cellpadding="0" cellspacing="0" id="AutoNumber3">');
document.write('        	<tr><td><input type="text" name="query" size="20" class="txtINPUT"></td>');
document.write('          	<td style="padding-left:10px;"><input border="0" src="images/spacer.gif" name="search" type="image" alt="Search" width="67" height="20" class="noborder"></td></tr>');
document.write('      	</table>');
document.write('      </form>');

}


function rndnumber(howMany){
var randscript = -1;
	while (randscript < 0 || randscript > (howMany-1) || isNaN(randscript)){
		randscript = parseInt(Math.random()*(howMany+1));
	}
	return randscript;
}

function rndq() {
var howMany = 10;  // max number of items listed below
var test = new Array(howMany+1);

test[0]='“I would like to thank you first and formost for the service your staff has provided my company with.  You have been there with great pricing and honest service from the day I have called you”<BR><BR style="line-height:5px"><b>Brenda Wright-Hall</b><BR>President / Office Operations, Total Systems Heating & Cooling, Inc.<BR>Spring Lake, NC<BR>';

test[1]='“We are extremely happy to express in writing our satisfaction with our advertisement this past year in the Henderson and Wake Forest One Book Phone Book.”<BR><BR style="line-height:5px"><b>Dr. Richard A. Goldstein, MD</b><BR>Board Certified<BR>Diplomate American Board of Otolaryngology<BR>';

test[2]='"The growth that our investment has made us is simply phenomenal. From a business standpoint you are WASTING MONEY if you\’re using ANY other yellow page listing!"<BR><BR style="line-height:5px"><b>Bette S. Hutchens<BR>The Bette-R-Look Salon & Day Spa</b><BR>';

test[3]='"Thank you for another great ad in the Rockingham County Phone Book. I have been very pleased with our ad each year and the number of calls we receive from only advertising in your book."<BR><BR style="line-height:5px"><b>Karen Pugh<BR>Vice-President<BR>General Termite & Pest Control, Inc.</b><BR>';

test[4]='"I would encourage other businesses to consider advertising in the Johnston County-Wide Phone Book. I am confident each business will be pleased with the advertisement value, and surprised with the return on investment."<BR><BR style="line-height:5px"><b>Dr. David Schwartz<BR>Owner<BR>Carolina Neck & Back Chiropractic</b><BR>';

test[5]='"Clearly, the One Book Phone Book has benefited our practice and the community by providing an excellent resource for information."<BR><BR style="line-height:5px"><b>Dr. Alan & April Byrd<BR>Professional Eye Care</b><BR>';

test[6]='"In the initial appointment we were promised a professional and courteous service that would provide results. I\’m happy to report that your organization has delivered on all accounts!!"<BR><BR style="line-height:5px"><b>Viserage Plastic Surgery</b><BR>';

test[7]='"Based on my results, I am happy to continue doing business with your company and encourage others to advertise in The One Book Phone Book."<BR><BR style="line-height:5px"><b>John Velon<BR>Import Quality Repairs, Inc.</b><BR>';

test[8]='"In our business we have to earn the trust of a customer to work on their computer system. We should be able to trust our advertising account representative in the same way. We plan to continue advertising in the One Book because we have great results with our ad and the company."<BR><BR style="line-height:5px"><b>Dean White<BR>Co-owner<BR>White Street Computers</b><BR>';

test[9]='"I used to advertise in all 3 phone books in Rockingham County, but have since taken my ads out of all except for your Tarheel Pages.  The value of advertising in your book as compared to the Embarq and AT&T books is far more superior especially because it is the only true COUNTY-WIDE directory in the area."<BR><BR style="line-height:5px"><b>Scarlett Johnson<BR>Post Office Etc<BR>Eden, NC</b><BR>';

quo = rndnumber(howMany);
quox = test[quo];
document.write(quox);

}


function rndSponsor() {
	document.write('<div style="width:150px; height:220px">');
	slide1();
	document.write('</div>');
}