

/* this function is used to control the number of characters in a text area. */

function textCounter(field, countfield, maxlimit)

{

// if too long...trim it!

if (field.value.length > maxlimit)

field.value = field.value.substring(0, maxlimit);



// otherwise, update 'characters left' counter

else

{ countfield.value = maxlimit - field.value.length; }

}





/* Create objects for biz Categories and subcategories */

	//	Initialize class for Type and Style

	function Category(catID, catName)

	{

		this.catID = catID;

		this.catName = catName;

	}



	function Subcategory(catID, subCatID, subCatName)

	{

		this.catID = catID;

		this.subCatID = subCatID;

		this.subCatName = subCatName;

	}

	



/*  Random Quotes for Rutherford county  */



function getQuote()

{

	quotes = new Array()

	

	quotes[0] = "For every sales tax dollar in Rutherford County, county and city schools receive 1.375 cents."

	quotes[1] = "1.375 cents out of every Rutherford County sales tax dollar goes for improved roads, police, ambulance and other services."

	quotes[2] = "Estimates show that if each local household spent $100 more in the county, retail spending would increase $8.1 million, creating 71 more jobs and $1.4 million in personal income."

	quotes[3] = "In 2003, the retail and food service industries accounted for almost 19% of employment and more than 10% of wages in the county."

	quotes[4] = "Rutherford County is consistently ranked high on the list of fastest-growing job markets in the United States, as compiled by the U.S. Department of Labor Statistics."
	
	quotes[5] = "Rutherford County is the 20th fastest-growing county in the United States, according to the U.S. Census Bureau."
	
	quotes[6] = "The state of Tennessee has no income tax. Rutherford county citizens pay a 7% state sales tax, a 2.75% local sales tax and a $76.50 wheel tax."
	
	quotes[7] = "In 2005, the median house value for Rutherford County was $140,000, compared with the Nashville-area median housing value of $141,800 and $167,000 for the United States."
	
	quotes[8] = "Rutherford County ranks as the 20th fastest-growing county in the nation based on the rate at which single-family houses, town homes and apartments are being built in the area. - U.S. Census Bureau, August 2006"
	
	quotes[9] = "The state of Tennessee ranks second on the &quot;Top Ten competitive States\" list. - Site Selection Magazine, May 2006"
	
	quotes[10] = "Rutherford County is the fastest growing county in Tennessee by population moving in. - U.S. Census Bureau, March 2006"
	
	quotes[11] = "Rutherford County had the highest percentage of new job growth in the nation from December 2003 to December 2004. - National Bureau of Labor statistics, July 2005"
	
	quotes[12] = "The population of Rutherford County was 118,570 in 1990, and grew to more than 223,537 in 2006."
	
	

	tally = quotes.length

	

	now1 = new Date()

	nowSecs = now1.getSeconds(now1)

	remainder = nowSecs % tally

	

	return document.write(quotes[remainder])

}

