var bAry = new Array()
var bRef = 0

bAry[0] = new Array("/contact.php", "CallBanner2.gif", "250", "60", "Advertise your banner here")
bAry[1] = new Array("/contact.php", "CallBanner3.gif", "250", "60", "Advertise your banner here")

bRef = Math.floor(Math.random() * bAry.length);

var tAry = new Array()
var aRef = 0

tAry[0] = new Array("index.htm", "Home", "Back to Home page.")
tAry[1] = new Array("newsletter_index.htm", "Newsletter", "Newsletter.")
tAry[2] = new Array("about_us.htm", "About Us", "How over 20 years in numismatic can benefit you.")
tAry[3] = new Array("coins_for_sale.htm", "Coins for Sale", "Coin fit for the finest collections.")
tAry[4] = new Array("selling_coins.htm", "Selling Your Coins", "What's the best way to sell your coins.")
tAry[5] = new Array("coin_collecting.htm", "Coin Collecting", "Collecting U.S. Coins, and the history behind them.")
tAry[6] = new Array("coin_investing.htm", "Investing in Coins", "Avoid the pitfalls of investing through eduction.")
tAry[7] = new Array("coin_info.htm", "Coin Information", "Information for collectors and investors.")
tAry[8] = new Array("coin_articles.htm", "Coin Articles", "Important news about coins.")
tAry[9] = new Array("world_coins.htm", "World Coins", "A global perspective on rarecoins.")
tAry[10] = new Array("books.htm", "Books, Loupes etc", "Fine numismatic books and suplies.")
tAry[11] = new Array("linktous.htm", "Link to Us", "Link to Us.")
tAry[12] = new Array("ebay_store.htm", "Ebay Store", "View our Ebay listings.")
tAry[13] = new Array("links.htm", "Links", "Visit some of our friends.")
tAry[14] = new Array("contact.htm", "Contact Us", "Contact Us.")
tAry[15] = new Array("site_map.htm", "Site Map", "Site Map.")
tAry[16] = new Array("wantlist.htm", "Want List", "Create your Want List today. Tell us what you want and we will find it!")
tAry[17] = new Array("precious_metals.htm", "Now Offering Precious Metals Brokering!", "Want To Buy, Sell, Or Trade Precious Metals Today?")
tAry[18] = new Array("how_to_invest.htm", "How Can I Invest in Rare Coins", "When I don't know anything about them. 21 Questions Answered.")


//store the quotations in arrays
quotes = new Array();
quotes[0] = new Array("Associate yourself with men of good quality if you esteem your own reputation for 'tis better to be alone than in bad company.","George Washington");
quotes[1] = new Array("Be courteous to all, but intimate with few; and let those few be well tried before you give them your confidence.","George Washington");
quotes[2] = new Array("Few men have virtue to withstand the highest bidder.","George Washington");
quotes[3] = new Array("Labor to keep alive in your breast that little spark of celestial fire called conscience.","George Washington");
quotes[4] = new Array("It is better to offer no excuse than a bad one.","George Washington");
quotes[5] = new Array("Don't stay in bed, unless you can make money in bed.","George Burns");
quotes[6] = new Array("Any fool can criticize, condemn, and complain - and most fools do.","Dale Carnegie");
quotes[7] = new Array("Never be haughty to the humble; never be humble to the haughty.","Jefferson Davis");
quotes[8] = new Array("Neither current events nor history show that the majority rule, or ever did rule.","Jefferson Davis");
quotes[9] = new Array("If there must be trouble let it be in my day, that my child may have peace.","Thomas Paine<BR>(1737-1809)");
quotes[10] = new Array("Banking establishments are more dangerous than standing armies.","Thomas Jefferson");
quotes[11] = new Array("Determine never to be idle...It is wonderful how much may be done if we are always doing.","Thomas Jefferson");
quotes[12] = new Array("Do not bite at the bait of pleasure till you know there is no hook beneath it.","Thomas Jefferson");
quotes[13] = new Array("I do not take a single newspaper, nor read one a month, and I feel myself infinitely the happier for it.","Thomas Jefferson");
quotes[14] = new Array("I'm a great believer in luck, and I find the harder I work the more I have of it.","Thomas Jefferson");
quotes[15] = new Array("In matters of style, swim with the current; in matters of principle, stand like a rock.","Thomas Jefferson");
quotes[16] = new Array("Never fear the want of business. A man who qualifies himself well for his calling, never fails of employment.","Thomas Jefferson");
quotes[17] = new Array("Never spend your money before you have it.","Thomas Jefferson");
quotes[18] = new Array("Banking establishments are more dangerous than standing armies.","Thomas Jefferson");
quotes[19] = new Array("Never trouble another for what you can do for yourself.","Thomas Jefferson");
quotes[20] = new Array("Nothing gives one person so much advantage over another as to remain always cool and unruffled under all circumstances.","Thomas Jefferson");
quotes[21] = new Array("Never trouble another for what you can do for yourself.","Thomas Jefferson");
quotes[22] = new Array("Money was never a big motivation for me, except as a way to keep score. The real excitement is playing the game.","Donald Trump");
quotes[23] = new Array("If you would be wealthy, think of saving as well as getting.","Benjamin Franklin<BR>(1706-1790)");
quotes[24] = new Array("Lack of money is the root of all evil.","George Bernard Shaw<BR>(1856-1950)");
quotes[25] = new Array("If you can count your money, you don't have a billion dollars.","J. Paul Getty<BR>(1892-1976)");
quotes[26] = new Array("A large income is the best recipe for happiness I ever heard of.","Jane Austen<BR>(1775-1817)");
quotes[27] = new Array("Money alone sets all the world in motion.","Publilius Syrus (~100 BC)");
quotes[28] = new Array("A billion here, a billion there, pretty soon it adds up to real money.","Senator Everett Dirksen<BR>(1896-1969)");
quotes[29] = new Array("Nothing is impossible. Some things are just less likely than others.","Jonathan Winters");
quotes[30] = new Array("The thing always happens that you really believe in; and the belief in a thing makes it happen.","Frank Lloyd Wright (1869 - 1959)");
quotes[31] = new Array("The goal of life is living in agreement with nature.","Zeno<BR>(335BC-263BC)");
quotes[32] = new Array("You can get everything in life you want if you will just help enough other people get what they want.","Zig Ziglar");
quotes[33] = new Array("The chief business of the American people is business.","Calvin Coolidge<BR>(1872-1933)");
quotes[34] = new Array("Prosperity is only an instrument to be used, not a deity to be worshipped.","Calvin Coolidge<BR>(1872-1933)");
quotes[35] = new Array("If people only knew how hard I work to gain my mastery, it wouldn't seem so wonderful at all.","Michelangelo Buonarroti");
quotes[36] = new Array("One never notices what has been done; one can only see what remains to be done.","Marie Curie");
quotes[37] = new Array("Just think of the tragedy of teaching children not to doubt.","Clarence Darrow<BR>(1857-1938)");
quotes[38] = new Array("We only wanted to be left alone.","Jefferson Davis");
quotes[39] = new Array("Creativity is a drug I cannot live without.","Cecil B. DeMille");
quotes[40] = new Array("Do not trust all men, but trust men of worth; the former course is silly, the latter a mark of prudence.","Democritus<BR>(460BC-370BC)");
quotes[41] = new Array("Associate yourself with men of good quality if you esteem your own reputation for 'tis better to be alone than in bad company.","George Washington");
quotes[42] = new Array("Never be haughty to the humble; never be humble to the haughty.","Jefferson Davis");
quotes[43] = new Array("I love the man that can smile in trouble, that can gather strength from distress, and grow brave by reflection. 'Tis the business of little minds to shrink, but he whose heart is firm, and whose conscience approves his conduct, will pursue his principles unto death.","Thomas Paine (1737-1809)");
quotes[44] = new Array("These are the times that try men's souls. The summer soldier and the sunshine patriot will, in this crisis, shrink from the service of their country; but he that stands it now, deserves the love and thanks of man and woman.","Thomas Paine (1737-1809) American political theorist, writer");
quotes[45] = new Array("Banking establishments are more dangerous than standing armies.","Thomas Jefferson");
quotes[46] = new Array("Determine never to be idle...It is wonderful how much may be done if we are always doing.","Thomas Jefferson");
quotes[47] = new Array("Do not bite at the bait of pleasure till you know there is no hook beneath it.","Thomas Jefferson");
quotes[48] = new Array("I do not take a single newspaper, nor read one a month, and I feel myself infinitely the happier for it.","Thomas Jefferson");
quotes[49] = new Array("I'm a great believer in luck, and I find the harder I work the more I have of it.","Thomas Jefferson");
quotes[50] = new Array("In matters of style, swim with the current; in matters of principle, stand like a rock.","Thomas Jefferson");
quotes[51] = new Array("Never fear the want of business. A man who qualifies himself well for his calling, never fails of employment.","Thomas Jefferson");
quotes[52] = new Array("Never spend your money before you have it.","Thomas Jefferson");
quotes[53] = new Array("Never trouble another for what you can do for yourself.","Thomas Jefferson");
quotes[54] = new Array("Nothing gives one person so much advantage over another as to remain always cool and unruffled under all circumstances.","Thomas Jefferson");
quotes[55] = new Array("Money was never a big motivation for me, except as a way to keep score. The real excitement is playing the game.","Donald Trump (1946 - ), Trump: Art of the Deal");

//calculate a random index
index = Math.floor(Math.random() * quotes.length);

//display the quotation
//document.write("<DL>\n");
//document.write("<DT>" + "\"" + quotes[index] + "\"\n");
//document.write("<DD>" + "-- " + authors[index] + "\n");
//document.write("</DL>\n");
//done

function showText(pName){
}

function showText_Old(pName){
	if (pName == "0"){
		document.getElementById('first2').innerHTML = "<SPAN CLASS=mySubHeader>&nbsp;</SPAN><BR><SPAN CLASS=myIText>&nbsp;</SPAN>"
	}
	else{
		for (i=0;i<tAry.length;i++){
			if  (pName == tAry[i][0]){
				aRef = i	
			}
		}
		document.getElementById('first2').innerHTML = "<SPAN CLASS=mySubHeader>" + tAry[aRef][1] + "</SPAN><BR><SPAN CLASS=myIText>" + tAry[aRef][2] + "</SPAN>"
	}
}

function newsSignUp(){
	var obj = document.newsSign;

	if (obj.nEmail.value != ""){
		if (!checkEmail(obj.nEmail)){
			return;
		}
	}
	else{
		alert("Please enter a valid e-mail address.")
		obj.nEmail.focus()
		obj.nEmail.select()
		return;
	}
	
	obj.pURL.value = document.location.href

	obj.action = "/NewsSignUp.php?act=save"
	obj.submit()
}
	
function emailInfo(){
	var obj = document.emailFrm;
	
	if (obj.fromAddress.value != ""){
		if (!checkEmail(obj.fromAddress)){
			return;
		}
	}
	else{
		alert("Your E-mail may not be blank");
		obj.fromAddress.focus();
		obj.fromAddress.select();
		return;
	}
	
	if (obj.toAddress.value != ""){
		if (!checkEmail(obj.toAddress)){
			return;
		}
	}
	else{
		alert("Friend's E-mail may not be blank");
		obj.toAddress.focus();
		obj.toAddress.select();
		return;
	}

	obj.pURL.value = document.location.href
	
	obj.action = "/EmailInfo.php?e=yes"
	obj.submit()
}