// Copyright 1997-2004  Miranda Paugh// - Quotes may be duplicated only with full credit of source// - Please do not use substantial amounts of this code on other pages//   without giving credit.var d = new Date();var which = d.getDate();// (total number of quotes (minus one))var maxWhich = 29;// This isn't exact but I don't care to be exact;// The point is to ensure all of the quotes are seen// Provided by SomeNiceGuyvar iMonth = d.getMonth();if (iMonth > 0) which += 31;if (iMonth > 1) which += 28;if (iMonth > 2) which += 31;if (iMonth > 3) which += 30;if (iMonth > 4) which += 31;if (iMonth > 5) which += 30;if (iMonth > 6) which += 31;if (iMonth > 7) which += 31;if (iMonth > 8) which += 30;if (iMonth > 9) which += 31;if (iMonth > 10) which += 30;which = which % maxWhich;//which = 5; // testingdocument.write('<HR COLOR="#B70000" SIZE="2">');document.write('<TABLE WIDTH="80%"><TR><TD><CENTER>');document.write('<A HREF="./" onClick="return DecQuote();"><IMG SRC="Icons/RedArrowL.GIF" BORDER="0"></A>');document.write(' <b>Thought of the day...</b> ');document.write('<A HREF="./" onClick="return IncQuote();"><IMG SRC="Icons/RedArrowR.GIF" BORDER="0"></A>');document.write('<DIV ID="divQuote">');DisplayQuote();document.write('</DIV></CENTER></TD></TR></TABLE>');function element(objectID){	if (document.getElementById) return document.getElementById(objectID);	else if (document.all) return document.all[objectID];	else if (document.layers) return document.layers[objectID];	else return null;}function IncQuote(){	which++;	if (which > maxWhich) which = 0;	DisplayQuote();	return false;}function DecQuote(){	which--;	if (which < 0) which = maxWhich;	DisplayQuote();	return false;}function DisplayQuote(){	var divDom = element("divQuote");	if (divDom == null) return;	var count = -1;	// Note: This doesn't use an array because arrays are not supported in all browsers	if (which == (count = count + 1))	s = "Got questions? Try the <A HREF='MMFAQ.html'>FAQ</A>.";	else if (which == (count = count + 1))	s = "Are you new to Mega Man? Be sure to read the <A HREF='AboutMM.html'>series explanation</A> page!";	else if (which == (count = count + 1))	s = "Check out the <A HREF='GameHints/GameList.html'>Master Game List</A> page for quick links to game-related information.";	else if (which == (count = count + 1))	s = "Can't find the game you're looking for? Maybe it's on the <A HREF='Previews.html'>Previews/Rumors</A> page!";	else if (which == (count = count + 1))	s = "If you're looking for something specific, try using a <A HREF='http://www.google.com/advanced_search?hl=en&as_sitesearch=mmhp.net'>Site Search</A>!";	else if (which == (count = count + 1))	s = "The <A HREF='MMIndex.html'>Index</A> page lists and links to every character, weapon, item, and technique detailed on the Data Base pages!";	else if (which == (count = count + 1))	s = "If you're looking for information on &quot;Mega Man Extreme&quot; then you're looking in the wrong place. The game you're thinking of is <A HREF='GameHints/MMXI.html'>Mega Man Xtreme</A> (Capcom spells funny).";	else if (which == (count = count + 1))	s = "If you're looking for information on the game &quot;Dr. Wily's Revenge&quot; it's <A HREF='GameHints/MMI.html'>Mega Man I</A>.";	else if (which == (count = count + 1))	s = "The game called <A HREF='GameHints/MMX1.html'>Mega Man X</A> is not <A HREF='GameHints/MM10.html'>Mega Man 10</A>. It is literally &quot;mega-man-ex&quot; because that is the starring robot's name.";	else if (which == (count = count + 1))	s = "<b>Q:</b> If X and Zero dueled, who would win?<BR><b>A:</b> Either. Both. Neither. See <A HREF='GameHints/MMX5.html'>Mega Man X5</A> if you don't know what I mean.";	else if (which == (count = count + 1))	s = 'Before sending e-mail, see the <A HREF="MMFAQ.html">FAQ</A> and see if it covers your question.';	else if (which == (count = count + 1))	s = "For recurring site updates, take a look at the dates in the 'Latest Updates' section on the left side of the screen down below.";	else if (which == (count = count + 1))	s = "Wondering what new Mega Man games will be coming out? Check the <A HREF='Previews.html'>Previews</A> page!";	else if (which == (count = count + 1))	s = "If you're wondering about game system abbreviations or other acronyms used on MMHP, try the <A HREF='Glossary.html'>Glossary</A>.";	else if (which == (count = count + 1))	s = "To fire super-shots in <A HREF='GameHints/MMS.html'>Mega Man's Soccer</A>, press R and a shot kick button at the same time (use a shot kick, not the pass kick--you don't want to super-shot a pass to a buddy!)";	else if (which == (count = count + 1))	s = "Looking for Mega Man games or merchandise? Try the <A HREF='Buyers.html'>Buyer's Guide</A>!";	else if (which == (count = count + 1))	s = "If you are looking for fan-made games, see the specific <A HREF='MMLinks/MMLinks-Games.html'>links section</A> set aside for just that purpose.";	else if (which == (count = count + 1))	s = "Mega Man news and latest site updates... just scroll down!";	else if (which == (count = count + 1))	s = "In Japan, Mega Man is known as &quot;Rockman.&quot; Just as it is common for Japanese to use lots of English words on their products, it is just as common for them <i>not</i> to use spaces in those English words.";	else if (which == (count = count + 1))	s = "Try taking a hit from an enemy on purpose and running across spikes while you're invincible.";	else if (which == (count = count + 1))	s = "Rush is invincible to spikes. Doesn't that just make you jealous?";	else if (which == (count = count + 1))	s = "Hang onto ladders and shoot things from a vantage point. For Joes, try clinging to the very top of a ladder, at the point before you climb off, and firing at their feet.";	else if (which == (count = count + 1))	s = "When exploring an unfamiliar stage, walk to the very edge of every bottomless pit before jumping it. " +	"This will trigger any robots that might be lurking within, waiting to knock you out of the air as you leap.";	else if (which == (count = count + 1))	s = "Energy pellets restore two units of Mega Man's energy meter. Energy capsules give ten or eight depending on the game.";	else if (which == (count = count + 1))	s = "In his NES and SNES games, Mega Man has 28 units of energy in his meter. In his Game Boy games, lack of space gypped him and he only has 19.";	else if (which == (count = count + 1))	s = "It's interesting to note that Mega Man has blue eyes, while most all of his spin-offs have green eyes. I wonder if this means anything...?";	else if (which == (count = count + 1))	s = "Rule number one of video games: never leave things the way you found them.";	else if (which == (count = count + 1))	s = "Always send text as binary.";	else if (which == (count = count + 1))	s = "Tell everyone you know to visit <A HREF='http://www.mmhp.net'>The Mega Man Home Page</A>!";	else s = "<i>Mega Man--the Series</i> and all info pertaining to it has been given its own <A HREF='TheSeries/'>subsite</A>!";	//divDom.innerHTML = which + s; // test	divDom.innerHTML = s;}
