function print501stFact()
{
	// please keep these lines on when you copy the source
	// made by: Nicolas - http://www.javascript-page.com
	
	var core = 0
	var currentdate = 0
	
	function StringArray (n) {
	  this.length = n;
	  for (var i =1; i <= n; i++) {
	    this[i] = ' '
	
	  }
	}
	
	quote = new StringArray(41)
		quote[0]  = "The 501st Legion began in 1997 as a simple fan website called Detention Block 2551. Today, the term \"501st\" yields nearly one million results in a Google search."
	quote[1]  = "The 501st Legion, also known as \"Vader's Fist,\" was first officially recognized in the Star Wars canon by author Timothy Zahn in the 2004 novel \"Survivor's Quest.\""
	quote[2]  = "Among the 501st's most notable events are annual appearances at Dragon*Con, San Diego Comic-Con, and Disney's Star Wars Weekends."
	quote[3]  = "All 501st members operate on a volunteer basis, donating countless hours of their time to charity fundraisers throughout the world."
	quote[4]  = "Dragon*Con 2004 played host to the 501st Legion's first Droid Hunt game, a thrilling role-playing competition challenging convention attendees to protect \"Droid Badges\" and evade capture by the Legion's finest troops."
	quote[5]  = "The 501st Legion's extensive list of Honorary Members includes the likes of Mark Hamill, James Earl Jones, Samuel L. Jackson, and George Lucas himself."
	quote[6]  = "In 2002, the 501st Legion appeared on stage during a No Doubt concert as the band played their own striking rendition of the \"Imperial March.\""
	quote[7]  = "Among the biggest collectors of 501st t-shirts are Star Wars actors Jeremy Bulloch (Boba Fett) and Peter Mayhew (Chewbacca)."
	quote[8]  = "Every 501st member is assigned a unique Legion ID number for life. Some members even have their number tattooed to show their passion for the Legion."
	quote[9]  = "Although Stormtroopers make up the majority of 501st members, other acceptable costumes types include villains such as Tusken Raiders, Bounty Hunters and Sith Lords."
	quote[10]  = "The 501st Legion's worldwide ranks are organized into distinct units called Garrisons, Squads, and Outposts."
	quote[11]  = "In 2003, the Legion first performed on stage with musical artist \"Weird Al\" Yankovic during an encore performance of his song \"The Saga Begins.\" In 2007, the 501st provided on-stage support for multiple stops on the \"Straight Outta Lynwood\" Tour."
	quote[12]  = "In 2004, the 501st Legion hit the gridiron to rally support for the Oakland Raiders during a NFL game against the Tampa Bay Buccaneers."
	quote[13]  = "The independent documentary film entitled \"Heart of an Empire\" premiered in 2007 chronicling the life and times of the Fighting 501st Legion."
	quote[14]  = "The members of the 501st have appeared in many Star Wars fan films including such award-winning productions as \"The Jedi Hunter,\" \"Recruitment,\" \"Silent But Deadly II,\" and \"Return of Pink Five.\""
	quote[15]  = "The 501st's ongoing charity work includes such notable beneficiaries as the Ronald McDonald House, the Special Olympics, Toys for Tots, and the Make-A-Wish Foundation."
	quote[16]  = "The 501st Legion takes great pride in making dozens of hospital visits each year to brighten the lives of sick children."
	quote[17]  = "In 2005, LucasArts paid tribute to the 501st Legion by making them the central characters of the video game Star Wars: Battlefront II."
	quote[18]  = "The 501st Legion boasts a variety of highly-detailed costumes, many of which have been used as the \"real-life\" references for official Lucasfilm illustrations."
	quote[19]  = "In October 2005, starwars.com added the 501st Legion to its growing databank of officially-recognized characters with behind-the-scenes details recognizing the original fan organization."
	quote[20]  = "In November 2005, costumed 501st members starred in a series of commercials promoting a special Star Wars-themed episode of Donald Trump's popular reality show \"The Apprentice.\""
	quote[21]  = "In June 2005, George Lucas was presented the American Film Institute's highest honor---the AFI Lifetime Achievement Award. To help set the stage for the gala event, members of the 501st Legion were recruited for an opening song and dance skit featuring William Shatner (Star Trek's Captain Kirk)."
	quote[22]  = "Star Wars Celebration 3 was one of the largest gatherings of 501st members to date with nearly 500 members appearing in a single group photo and over $10,000 raised for charity during the 4-day event."
	quote[23]  = "One Legion member made good use of his costume by delivering his personal resume to an prospective employer wearing full Sandtrooper gear. He left such an impression that he was eventually awarded the job."
	quote[24]  = "November 26, 2005 was officially declared \"Golden Gate Garrison Day\" by the mayor of Santa Cruz, California, in honor of the significant charitible contributions made by local 501st members."
	quote[25]  = "In 2006, Toy manufacturer Hasbro immortalized the 501st in plastic by producing an exclusive 501st Legion Stormtrooper action figure whose packaging was designed around the group's popular trading card series."
	quote[26]  = "As early as 1998, the 501st Legion's ranks included several female members dispelling the notion that a Star Wars costuming club would have a predominately male base. Today's Legion boasts a 15% female membership."
	quote[27]  = "The current record for continuous time spent in full Stormtrooper armor is held by Legion member TD-9292 at 85 hours."
	quote[28]  = "New York City's Mayor Bloomberg officially declared October 13, 2005 \"Star Wars Day\" during a press conference for the Digital Life Expo. The proclamation was officially accepted by the 501st, who were there in there in force to help promote the LucasArts game Battlefront II."
	quote[29]  = "On January 1, 2007, 200 members of the 501st Legion marched down Colorado Boulevard in Pasadena, California, as part of the official Star Wars entry in the internationally-televised Rose Parade. The Legion's participation was at the personal request of parade Grand Marshal George Lucas."
	quote[30]  = "In July 2007, Lucasfilm and Hasbro produced an action figure of R2-KT, a pink Imperial droid honoring the memory of Katie Johnson, daughter of Legion Founder Albin Johnson. Subsequently, $100,000 was donated to the Make-A-Wish Foundation to make dreams come true for sick children."
	quote[31]  = "The 501st Legion was included in the 2008 edition of the Guinness Book of World Records as the \"World's largest Star Wars Costuming Group.\""
	quote[32]  = "Emphasizing the fact that the 501st is a global organization, the Legion had an active member on each of the Earth's seven continents in 2007---including a trooper stationed in Antarctica!"
	quote[33]  = "Director Dave Filoni was so touched by the story behind R2-KT that he gave the Legion's favorite pink astromech a cameo appearance in the Clone Wars feature film."
	quote[34]  = "After receiving their Honorary Memberships, the enthusiastic creators of the Robot Chicken television comedy series, went on to show off their 501st Challenge Coins on the red carpet Hollywood premiere of Star Wars: The Clone Wars."
	quote[35]  = "Star Wars: The Clone Wars director Dave Filoni was so impressed by 501st costumes that he incorporated a wide variety of new trooper variants in the animated series to ensure the Legion had inspiration for years to come."
	quote[36]  = "50 of the Legion's finest troopers were dispatched to the 2008 Spike TV Scream Awards to help Samuel L. Jackson present the Comic-Con ICON Award to filmmaker George Lucas."
	quote[37]  = "In 2008, as a result of the Legion's help in promoting a line of vintage-style Star Wars linens, Pottery Barn Kids donated $15,600 to St. Jude Children's Research Hospital in the name of the 501st."
	quote[38]  = "The 501st Legion's very own biweekly podcast, the 501stCast, was launched in October 2007 to disseminate Legion news, mission reports and exclusive interviews."
	quote[39]  = "In April 2008, Stormtroopers of the 501st starred on the television show \"Deal or No Deal\" alongside Carrie Fisher and 26 models in Slave Leia bikinis to give away a $1 million game show prize."
	quote[40]  = "In October 2008, Star Wars artist Matt Busch became the first Honorary Member to become an official 501st armor-wearing member---TK-3477." 
	
	
	
	var ran = 60/quote.length
	
	currentdate = new Date()
	core = currentdate.getSeconds()
	adcore = Math.floor(core/ran)
	core = adcore
	
	var thequote = quote[core]

	// If JavaScript is enabled - replace the warning with a FastFact
	var javascriptDivDOM = findDOM("fastFact", false);
	javascriptDivDOM.innerHTML= '<span class="factfact">' + thequote + '</span>';
}
