/* --------------------------------------------------
	Created:	March 6, 2007
	Purpose:	Functions to create and print logos. 
				Used primarily on:
				- displaySimpleEventList
				- displayGroupList 
-------------------------------------------------- */

	function makeLogo(name, logo) {
		this.oname = name;
		this.ologo = logo;
	}

/* --------------------------------------------------
	LOGO LIST
-------------------------------------------------- */
	logoList = new Array;
	var i = 0;
	
//	logoList[i++] = new makeLogo("Florida Int&#39;l", "fiu");
	logoList[i++] = new makeLogo("Arenacross - Pro Classes - Saturday", "arenacross");
	logoList[i++] = new makeLogo("Arenacross - Amateur Classes - Sunday", "arenacross");
	logoList[i++] = new makeLogo("The Strokes", "strokes");
	logoList[i++] = new makeLogo("The Black Crowes", "blackCrowes");
	logoList[i++] = new makeLogo("CATS - Opening Night", "cats");
	logoList[i++] = new makeLogo("CATS - Closing Night", "cats");
	logoList[i++] = new makeLogo("Riverdance", "riverdance");
	logoList[i++] = new makeLogo("Riverdance - added performance!", "riverdance");
	logoList[i++] = new makeLogo("Tom Jones", "tomJones");
	logoList[i++] = new makeLogo("The Cult", "theCult");
	logoList[i++] = new makeLogo("Dashboard Confessional w/City and Colour & Say Anything", "dashboard");
	logoList[i++] = new makeLogo("Burton Cummings", "burton_cummings");
	logoList[i++] = new makeLogo("Hilary Duff", "hilary-duff");
	logoList[i++] = new makeLogo("Daryl Hall and John Oates", "hall&oates");
	logoList[i++] = new makeLogo("The Who", "the-who");
	logoList[i++] = new makeLogo("Dwight Yoakam", "dwight");
	logoList[i++] = new makeLogo("ALEXISONFIRE", "alexisonfire");
	logoList[i++] = new makeLogo("Bad Religion - Dropkick Murphy&#39;s", "badreligion");
	logoList[i++] = new makeLogo("Dixie Chicks", "dixiechicks");
	logoList[i++] = new makeLogo("The Producers", "producers");
	logoList[i++] = new makeLogo("Aida", "aida");
	logoList[i++] = new makeLogo("Hairspray", "hairspray");
	logoList[i++] = new makeLogo("Jesus Christ Superstar", "jcsuperstar");
	logoList[i++] = new makeLogo("Joseph and the Amazing Technicolor Dreamcoat", "joseph");
	logoList[i++] = new makeLogo("Avenged Sevenfold", "avenged");
	logoList[i++] = new makeLogo("Goo Goo Dolls", "googoo");
	logoList[i++] = new makeLogo("Bob Dylan - with Foo Fighters (Acoustic)", "bobdylan");
	logoList[i++] = new makeLogo("Elton John", "eltonjohn");
	logoList[i++] = new makeLogo("The Wiggles!", "wiggles");
	logoList[i++] = new makeLogo("Under an African Sky", "africansky");
	logoList[i++] = new makeLogo("Larry the Cable Guy", "larry");
	logoList[i++] = new makeLogo("Larry the Cable Guy - SECOND SHOW!", "larry");
	logoList[i++] = new makeLogo("Three Days Grace - Theory of a Deadman", "toad");
	logoList[i++] = new makeLogo("The Oak Ridge Boys", "oakridge-boys");
	logoList[i++] = new makeLogo("The Cheetah Girls", "cheetah-girls");
	logoList[i++] = new makeLogo("Billy Talent", "billytalent");
	logoList[i++] = new makeLogo("Dierks Bentley with Doc Walker", "dierks");
	logoList[i++] = new makeLogo("Lord of the Dance", "lordofdance");
	logoList[i++] = new makeLogo("The Harlem Globetrotters", "harlem-globe");
	logoList[i++] = new makeLogo("Harlem Globetrotters VIP Family Four Pack", "harlem-globe");
	logoList[i++] = new makeLogo("The Tragically Hip", "thehip");
	logoList[i++] = new makeLogo("London Skating Club CENTENNIAL GALA", "londonskate");
	logoList[i++] = new makeLogo("Motley Crue", "motley");
	logoList[i++] = new makeLogo("The Rankin Family", "rankin");
	logoList[i++] = new makeLogo("Slayer", "slayer");
	logoList[i++] = new makeLogo("Josh Groban", "jgroban");
	logoList[i++] = new makeLogo("Josh Groban Front Row Package", "jgroban");
	logoList[i++] = new makeLogo("Josh Groban Gold Hot Ticket Package", "jgroban");
	logoList[i++] = new makeLogo("Josh Groban Silver Hot Ticket Package", "jgroban");
	logoList[i++] = new makeLogo("RAIN – The Beatles Experience", "rain");
	logoList[i++] = new makeLogo("Disney on Ice - Mickey and Minnie&#39;s Magical Journey", "doi_mickey");
	logoList[i++] = new makeLogo("Meat Loaf", "meatloaf");
	logoList[i++] = new makeLogo("Bill Gaither & the Homecoming Friends", "gaither");
	logoList[i++] = new makeLogo("Heaven and Hell", "heaven");
	logoList[i++] = new makeLogo("Old Timers Hockey Challenge", "oldtimers");
	logoList[i++] = new makeLogo("Oldtimers&#39; Hockey Challenge", "oldtimers");
	logoList[i++] = new makeLogo("Rod Stewart", "rodStewart");
	logoList[i++] = new makeLogo("Harry Connick, Jr.", "harry");
	logoList[i++] = new makeLogo("Billy Joel", "bjoel");
	logoList[i++] = new makeLogo("John Mayer", "johnmayer");
	logoList[i++] = new makeLogo("Harlem Globetrotters FAMILY FOUR PACK", "harlem-globe");
	logoList[i++] = new makeLogo("My Chemical Romance and the Black Parade", "mcr");
	logoList[i++] = new makeLogo("Marianne Williamson", "marianne");
	logoList[i++] = new makeLogo("Stevie Nicks", "stevienicks");
	logoList[i++] = new makeLogo("Gwen Stefani", "gwen");
	logoList[i++] = new makeLogo("Moody Blues", "moody");
	logoList[i++] = new makeLogo("Rush", "rush");
	logoList[i++] = new makeLogo("Disney&#39;s High School Musical - The Ice Tour", "hsm_ice");
	logoList[i++] = new makeLogo("Cirque du Soleil - SALTIMBANCO", "saltimbanco");
	logoList[i++] = new makeLogo("John Fogerty", "fogerty");
	logoList[i++] = new makeLogo("The White Stripes", "whitestripe");
	logoList[i++] = new makeLogo("Hilary Duff", "hduff");
	logoList[i++] = new makeLogo("Jethro Tull", "jethro");
	logoList[i++] = new makeLogo("Brad Paisley", "brad_paisley");
	logoList[i++] = new makeLogo("Evita", "evita");
	logoList[i++] = new makeLogo("Cirque Dreams", "cirquedream");
	logoList[i++] = new makeLogo("Mamma Mia!", "mama");
	logoList[i++] = new makeLogo("Gypsy", "gypsy");
	logoList[i++] = new makeLogo("Blast", "blast");
	logoList[i++] = new makeLogo("David Copperfield", "copperfield");
	logoList[i++] = new makeLogo("Chicago", "chicago");
	logoList[i++] = new makeLogo("Loreena McKennitt", "loreena-mckinnett");
	logoList[i++] = new makeLogo("VIP Dinner", "nhl-07");
	logoList[i++] = new makeLogo("Bloc Party", "bloc");
	logoList[i++] = new makeLogo("Rihanna / Akon", "akon");
	logoList[i++] = new makeLogo("Rihanna and Akon", "akon");
	logoList[i++] = new makeLogo("Hilary Duff Four Pack", "hduff");
	logoList[i++] = new makeLogo("Sum 41 - Finger Eleven", "sum");
	logoList[i++] = new makeLogo("Fall Out Boy", "falloutboy");
	logoList[i++] = new makeLogo("Keith Urban", "keith");
	logoList[i++] = new makeLogo("Keith Urban - second show!", "keith");	
	logoList[i++] = new makeLogo("FMX World Tour Motocross", "fmx");
	logoList[i++] = new makeLogo("Michael Buble", "buble");
	logoList[i++] = new makeLogo("Bon Jovi", "bon_jovi");
	logoList[i++] = new makeLogo("Bon Jovi VIP Package", "bon_jovi");
	logoList[i++] = new makeLogo("John Mellencamp", "john-mell");
	logoList[i++] = new makeLogo("Blue Rodeo", "blue_rodeo");
	logoList[i++] = new makeLogo("Charley Pride", "charley");
	logoList[i++] = new makeLogo("Ozzy Osbourne - Rob Zombie", "ozzy");
	logoList[i++] = new makeLogo("Avril Lavigne", "avril");
	logoList[i++] = new makeLogo("Martina McBride", "martina");
	logoList[i++] = new makeLogo("Foo Fighters", "foo");
	logoList[i++] = new makeLogo("Anne Murray", "anne");
	logoList[i++] = new makeLogo("Linkin Park", "linkin-park");
	logoList[i++] = new makeLogo("Go, Diego, Go Live! The Great Jaguar Rescue", "diego");
	logoList[i++] = new makeLogo("Go Diego Go - Family Four Pack ", "diego");
	logoList[i++] = new makeLogo("RENT", "rent");
	logoList[i++] = new makeLogo("RENT", "rent");
	logoList[i++] = new makeLogo("GIGANTOUR featuring Megadeth", "megadeth");
	logoList[i++] = new makeLogo("Lenny Kravitz", "lenny");
	logoList[i++] = new makeLogo("Blue Man Group", "bmg");
	logoList[i++] = new makeLogo("Feist", "feist");
	logoList[i++] = new makeLogo("Thomas and Friends Live! On Stage", "thomas");
	logoList[i++] = new makeLogo("Simple Plan", "simple_plan");
	logoList[i++] = new makeLogo("Def Leppard", "def_leppard");
	logoList[i++] = new makeLogo("Sheryl Crow", "sheryl_crow");
	logoList[i++] = new makeLogo("Oasis", "oasis");
	logoList[i++] = new makeLogo("Merle Haggard", "merle_haggard");
	logoList[i++] = new makeLogo("Carrie Underwood", "carrie");
	logoList[i++] = new makeLogo("Lipizzaner Stallions", "lip");
	logoList[i++] = new makeLogo("TNA Wrestling", "tna");
	logoList[i++] = new makeLogo("Alan Jackson", "alanjackson");
	logoList[i++] = new makeLogo("Kenny Rogers", "kenny_rogers");
	logoList[i++] = new makeLogo("Monster Jam 2009", "monsterjam06");
	logoList[i++] = new makeLogo("Rise Against", "rise_against");
	logoList[i++] = new makeLogo("Backstreet Boys", "backstreet");
	logoList[i++] = new makeLogo("Bob Dylan", "dylan");
	logoList[i++] = new makeLogo("Guts on Ice", "guts");
	logoList[i++] = new makeLogo("Disney on Ice", "doi_mickey");
	logoList[i++] = new makeLogo("Dirty Rotten Scoundrels", "drs");
	logoList[i++] = new makeLogo("The Drowsy Chaperone", "drowsy");
	logoList[i++] = new makeLogo("The Rat Pack Is Back", "ratpack");
	logoList[i++] = new makeLogo("Movin' Out", "movin_out");
	logoList[i++] = new makeLogo("<a href=http://www.powerwithin.com/4105/event_calendar_details.asp?event_id=66>William Jefferson Clinton</a>", "bill_clinton");
	logoList[i++] = new makeLogo("Superdogs", "superdogs_ne");
	logoList[i++] = new makeLogo("Jeff Dunham", "jeff_dunham");
	logoList[i++] = new makeLogo("So You Think you Can Dance Canada?", "sytycd");
	logoList[i++] = new makeLogo("So You Think you Can Dance Canada", "sytycd");
	logoList[i++] = new makeLogo("Il Divo", "il_divo");
	logoList[i++] = new makeLogo("Il Divo – Premium Gold Package", "il_divo");
	logoList[i++] = new makeLogo("PR:GLOBAL-LABATT:JLC09:E06MG:ILDIVO", "il_divo");
	//logoList[i++] = new makeLogo("Great Big Sea", "greatbigsea");
	logoList[i++] = new makeLogo("New Kids on the Block", "nkotb");
	logoList[i++] = new makeLogo("New Kids on the Block - PLATINUM SEATS", "nkotb");
	logoList[i++] = new makeLogo("Diana Krall", "dk");
	logoList[i++] = new makeLogo("2010 BMO Canadian Figure Skating Championships", "cfsc_ne");
	logoList[i++] = new makeLogo("2010 BMO CFSC - Opening Ceremonies and Comp. Dance", "cfsc_ne");
	logoList[i++] = new makeLogo("2010 BMO CFSC - Women Short and Pair Short", "cfsc_ne");
	logoList[i++] = new makeLogo("2010 BMO CFSC - Original Dance and Men Short", "cfsc_ne");
	logoList[i++] = new makeLogo("2010 BMO CFSC - Pair Free and Women Free", "cfsc_ne");
	logoList[i++] = new makeLogo("2010 BMO CFSC - Free Dance", "cfsc_ne");
	logoList[i++] = new makeLogo("2010 BMO CFSC - Men Free and Gala Exhibition", "cfsc_ne");
	logoList[i++] = new makeLogo("2010 BMO Skate Canada Junior Nationals", "scjn_ne");
	logoList[i++] = new makeLogo("Celtic Thunder", "celtic_thunder");
	logoList[i++] = new makeLogo("Trailer Park Boys", "tpb");
	logoList[i++] = new makeLogo("Willie Nelson", "willie_nelson");
	logoList[i++] = new makeLogo("Neil Young", "neil_young");
	logoList[i++] = new makeLogo("Leonard Cohen", "leonard_cohen");
	logoList[i++] = new makeLogo("No Doubt with Paramore", "no_doubt");
	logoList[i++] = new makeLogo("Neil Young", "neil_young");
	logoList[i++] = new makeLogo("Leonard Cohen", "leonard_cohen");
	logoList[i++] = new makeLogo("No Doubt with Paramore", "no_doubt");
	logoList[i++] = new makeLogo("Slipknot", "slipknot");
	logoList[i++] = new makeLogo("STOMP - at the Grand Theatre", "stomp");
	logoList[i++] = new makeLogo("Sugarland", "sugarland");
	logoList[i++] = new makeLogo("Disturbed", "disturbed");
	logoList[i++] = new makeLogo("Keith Urban", "keith_urban");
	logoList[i++] = new makeLogo("Keith Urban - added show!", "keith_urban");
	logoList[i++] = new makeLogo("Keith Urban - date change!", "keith_urban");
	logoList[i++] = new makeLogo("Philadelphia 76ers vs Toronto Raptors", "76ers");
	logoList[i++] = new makeLogo("Annie", "annie");
	logoList[i++] = new makeLogo("Kings of Leon", "kings_of_leon");
	logoList[i++] = new makeLogo("Walking With Dinosaurs", "dino");
	logoList[i++] = new makeLogo("Lord of the Dance", "lotd");
	logoList[i++] = new makeLogo("Playhouse Disney Live!", "dlive");
	logoList[i++] = new makeLogo("Marilyn Manson", "manson");
	logoList[i++] = new makeLogo("Lamb of God", "log");
	logoList[i++] = new makeLogo("Russell Peters", "rp");
	logoList[i++] = new makeLogo("KISS", "kiss");
	logoList[i++] = new makeLogo("KISS - Meet and Greet Experience!", "kiss");
	logoList[i++] = new makeLogo("KISS - Premium Ticket Package", "kiss");
	logoList[i++] = new makeLogo("The Wiggles", "thewiggles");
	logoList[i++] = new makeLogo("The Wiggles Go Bananas!", "thewiggles");
	logoList[i++] = new makeLogo("Jay-Z", "jayz");
	logoList[i++] = new makeLogo("Jay Z", "jayz");
	logoList[i++] = new makeLogo("Cirque du Soleil - Alegria", "alegria");
	logoList[i++] = new makeLogo("Camelot", "camelot");
	logoList[i++] = new makeLogo("Avenue Q", "avenue_q");
	logoList[i++] = new makeLogo("Bill Cosby", "bill_cosby");
	logoList[i++] = new makeLogo("CATS", "cats");
	logoList[i++] = new makeLogo("Beauty and the Beast", "batb");
	logoList[i++] = new makeLogo("Cabaret", "cabaret");
	logoList[i++] = new makeLogo("Stone Temple Pilots", "stp");
	logoList[i++] = new makeLogo("Three Days Grace", "threedaysgrace");
	logoList[i++] = new makeLogo("Don Henley", "don_henley");
	logoList[i++] = new makeLogo("So You Think You Can Dance Canada?", "sytycd");
	logoList[i++] = new makeLogo("Billy Talent", "billy_t");
	logoList[i++] = new makeLogo("Sesame Street Live - Elmo's Green Thumb", "ss");
	logoList[i++] = new makeLogo("Guts on Ice", "goi");
	logoList[i++] = new makeLogo("Guns n&#39; Roses", "gnr");
	logoList[i++] = new makeLogo("Gordon Lightfoot", "lightfoot");
	logoList[i++] = new makeLogo("Rascal Flatts", "rf");
	logoList[i++] = new makeLogo("Blue Rodeo", "blue_rodeo");
	logoList[i++] = new makeLogo("Charley Pride", "charley_pride");
	logoList[i++] = new makeLogo("Disney on Ice - Princess Classics", "doi");
	logoList[i++] = new makeLogo("Motley Crue", "motley_crue");
	logoList[i++] = new makeLogo("Motley Crue - Greatest Hits CD and DVD", "motley_crue");
	logoList[i++] = new makeLogo("Hedley", "hedley");
	logoList[i++] = new makeLogo("John Mayer", "john_mayer");
	logoList[i++] = new makeLogo("Canadian Carnage: Slayer and Megadeth", "carnage");
	logoList[i++] = new makeLogo("Testament Meet and Greet Package", "carnage");
	logoList[i++] = new makeLogo("Nickelback", "nickelback");
	logoList[i++] = new makeLogo("Monster Jam", "monster-jam_ne");
	logoList[i++] = new makeLogo("Monster Jam - Sat 2pm WITH PIT PASS", "monster-jam_ne");
	logoList[i++] = new makeLogo("Monster Jam – Sun 2pm WITH PIT PASS", "monster-jam_ne");
	logoList[i++] = new makeLogo("Monster Jam – Sat 2pm", "monster-jam_ne");
	logoList[i++] = new makeLogo("Monster Jam – Sat 7pm", "monster-jam_ne");
	logoList[i++] = new makeLogo("Monster Jam – Sun 2pm", "monster-jam_ne");
	logoList[i++] = new makeLogo("Norah Jones", "norah-jones_ne");
	logoList[i++] = new makeLogo("Alicia Keys", "alicia_keys");
	logoList[i++] = new makeLogo("Barenaked Ladies", "bnl");
	logoList[i++] = new makeLogo("Harlem Globetrotters", "globies");
	logoList[i++] = new makeLogo("Michael Buble", "buble");
	logoList[i++] = new makeLogo("Classic All Event Package - Tim Hortons Brier", "thb");
	logoList[i++] = new makeLogo("NEW! Flex Packs", "thb");
	logoList[i++] = new makeLogo("SuperDogs", "superdogs");
	logoList[i++] = new makeLogo("Sting", "sting");
	logoList[i++] = new makeLogo("Sting - VIP Package", "sting");
	logoList[i++] = new makeLogo("Justin Bieber", "justin_b");
	logoList[i++] = new makeLogo("ADVANCE TICKET PURCHASE", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber - MY WORLD ULTIMATE VIP Package", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber - LOVE ME - VIP Package", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber - LOVE ME VIP PACKAGE", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber - advance ticket purchase", "justin_b");
	logoList[i++] = new makeLogo("XBOX 360 presents Justin Bieber", "justin_b");
	logoList[i++] = new makeLogo("MY WORLD ULTIMATE VIP Package", "justin_b");
	logoList[i++] = new makeLogo("LOVE ME - VIP Package", "justin_b");
	logoList[i++] = new makeLogo("ADVANCE PURCHASE - TICKETS AND VIP PACKAGES", "justin_b");
	logoList[i++] = new makeLogo("Aretha Franklin", "aretha");
	logoList[i++] = new makeLogo("World Rock Symphony Orchestra - Britain Rocks", "wrso");
	logoList[i++] = new makeLogo("Jerry Seinfeld", "js");
	logoList[i++] = new makeLogo("Star Wars in Concert", "star-wars");
	logoList[i++] = new makeLogo("Star Wars: in Concert", "star-wars");
	logoList[i++] = new makeLogo("Star Wars in Concert - Platinum VIP Package", "star-wars");
	logoList[i++] = new makeLogo("Star Wars: in Concert - Platinum VIP Package", "star-wars");
	logoList[i++] = new makeLogo("Star Wars: in Concert - Hot Seats VIP Package", "star-wars");
	logoList[i++] = new makeLogo("Star Wars in Concert - Hot Seats VIP Package", "star-wars");
	logoList[i++] = new makeLogo("Yo Gabba Gabba! Live", "ygg_ne");
	logoList[i++] = new makeLogo("Gabba VIP Party Package", "ygg_ne");
	logoList[i++] = new makeLogo("Celtic Woman", "celtic-woman");
	logoList[i++] = new makeLogo("London Knights 4 on 4 Charity Hockey", "knights");
	logoList[i++] = new makeLogo("Johnny Reid", "johnny_reid");
	logoList[i++] = new makeLogo("Disney Live! presents Mickey&#39;s Rockin&#39; Road Show", "disneylive");
	logoList[i++] = new makeLogo("Jason Mraz", "mraz");
	logoList[i++] = new makeLogo("Classic Broadway Package – 3 Show Package", "broadway");
	logoList[i++] = new makeLogo("Best Of Broadway – 4 Show Package", "broadway");
	logoList[i++] = new makeLogo("NHL Rookie Tournament - Pittsburgh Penguins vs. Ottawa Senators", "nhl-rookies");
	logoList[i++] = new makeLogo("NHL Rookie Tournament - Chicago Blackhawks vs. Toronto Maple Leafs", "nhl-rookies");
	logoList[i++] = new makeLogo("NHL Rookie Tournament - Ottawa Senators vs. Chicago Blackhawks", "nhl-rookies");
	logoList[i++] = new makeLogo("NHL Rookie Tournament - Toronto Maple Leafs vs. Pittsburgh Penguins", "nhl-rookies");
	logoList[i++] = new makeLogo("NHL Rookie Tournament - Chicago Blackhawks vs. Pittsburgh Penguins", "nhl-rookies");
	logoList[i++] = new makeLogo("NHL Rookie Tournament - Toronto Maple Leaffs vs. Ottawa Senators", "nhl-rookies");
	logoList[i++] = new makeLogo("NHL Rookie Tournament - Toronto Maple Leafs vs. Ottawa Senators", "nhl-rookies");
	logoList[i++] = new makeLogo("Cesar Millan LIVE", "cesar");
	logoList[i++] = new makeLogo("Great Big Sea", "great-big-sea_ne");
	logoList[i++] = new makeLogo("Spamalot", "spamalot_ne");
	logoList[i++] = new makeLogo("Blue Man Group", "blueman_ne");
	logoList[i++] = new makeLogo("Grease", "grease_ne");
	logoList[i++] = new makeLogo("Mamma Mia", "mama-mia_ne");
	logoList[i++] = new makeLogo("The Wiggles", "wiggles");
	logoList[i++] = new makeLogo("Jeff Dunham", "jd");
	logoList[i++] = new makeLogo("LNK VS. Sarnia Sting", "knights");
	logoList[i++] = new makeLogo("Subway Super Series - Canada vs Russia", "sss");
	logoList[i++] = new makeLogo("Royal Winnipeg Ballet - Moulin Rouge", "moulin-rouge");
	logoList[i++] = new makeLogo("Kenny Rogers", "kenny");
	logoList[i++] = new makeLogo("Kenny Rogers - American Express Centurion Package", "kenny");
	logoList[i++] = new makeLogo("Winter Dreams On Ice", "wdoi");
	logoList[i++] = new makeLogo("Brad Paisley", "brad_p");
	logoList[i++] = new makeLogo("Michael Jackson – the Immortal World Tour – by Cirque du Soleil", "mj");
	logoList[i++] = new makeLogo("Michael Jackson the IMMORTAL World Tour by Cirque du Soleil", "mj");
	logoList[i++] = new makeLogo("Michael Jackson VIP Package", "mj");
	logoList[i++] = new makeLogo("Mini 8 Packs", "thb");
	logoList[i++] = new makeLogo("Mini 10 Packs", "thb");
	logoList[i++] = new makeLogo("Mini 12 Packs", "thb");
	logoList[i++] = new makeLogo("Draw 12 - Morning", "thb");
	logoList[i++] = new makeLogo("Draw 13 - Afternoon", "thb");
	logoList[i++] = new makeLogo("Draw 14 - Evening", "thb");
	logoList[i++] = new makeLogo("Draw 15 - Morning", "thb");
	logoList[i++] = new makeLogo("Draw 16 - Afternoon", "thb");
	logoList[i++] = new makeLogo("Draw 17 - Evening", "thb");
	logoList[i++] = new makeLogo("Harlem Globetrotters", "globetrotters");
	logoList[i++] = new makeLogo("An Evening With Sarah McLachlan", "mclachlan");
	logoList[i++] = new makeLogo("An Evening With Jackson Browne", "jbrown");
	logoList[i++] = new makeLogo("MMA LIVE 1", "mma");
	logoList[i++] = new makeLogo("PBR - Professional Bull Riders - VIP CORRAL PASS PACKAGE", "pbr");
	logoList[i++] = new makeLogo("PBR - Professional Bull Riders", "pbr");
	logoList[i++] = new makeLogo("Page Playoff 1", "thb");
	logoList[i++] = new makeLogo("Page Playoff 2", "thb");
	logoList[i++] = new makeLogo("Semi-Final", "thb");
	logoList[i++] = new makeLogo("Bronze Medal", "thb");
	logoList[i++] = new makeLogo("Championship Final", "thb");
	logoList[i++] = new makeLogo("New Kids On The Block & Backstreet Boys", "nkotb-bsb");
	logoList[i++] = new makeLogo("Emotional Traffic Tour: Tim McGraw w/ Luke Bryan & The Band Perry", "mcgraw");
	logoList[i++] = new makeLogo("Cirque du Soleil: Quidam", "quidam");
	logoList[i++] = new makeLogo("Larry the Cable Guy - Bill Engvall - Jeff Foxworthy", "larryjeff");
	logoList[i++] = new makeLogo("The Black Keys", "blackkeys");
	logoList[i++] = new makeLogo("Supertramp", "supertramp");
	logoList[i++] = new makeLogo("Kid Rock", "kid_rock");
	logoList[i++] = new makeLogo("MMA ROAD SHOW", "expo");
	logoList[i++] = new makeLogo("Bob Seger & the Silver Bullet Band", "serger");
	logoList[i++] = new makeLogo("Kings of Leon", "kings");
	logoList[i++] = new makeLogo("Soundgarden", "soundgarden");
	logoList[i++] = new makeLogo("TNA Wrestling Live", "tna");
	logoList[i++] = new makeLogo("Bob Seger & the Silver Bullet Band - PREMIUM SEATS", "serger");
	logoList[i++] = new makeLogo("Disney Live! presents Three Classic Fairytales", "dlive");
	logoList[i++] = new makeLogo("Philadelphia Flyers vs Detroit Red Wings", "flyers");
	logoList[i++] = new makeLogo("Philadelphia Flyers vs. Detroit Red Wings", "flyers");
	logoList[i++] = new makeLogo("Philadelphia Flyers vs. Detroit Red Wings - GET FLYERED PACKAGE", "flyers");
	logoList[i++] = new makeLogo("Alan Jackson", "ajackson");
	logoList[i++] = new makeLogo("TNA Wrestling Live", "tna");
	logoList[i++] = new makeLogo("The Moody Blues", "moody-blues_ne");
	logoList[i++] = new makeLogo("Tiesto", "tiesto");
	logoList[i++] = new makeLogo("Avril Lavigne", "Avril");
	logoList[i++] = new makeLogo("Sesame Street Live: Elmo Makes Music", "elmomm");
	logoList[i++] = new makeLogo("Selena Gomez", "selena");
	logoList[i++] = new makeLogo("Royal Winnipeg Ballet - Svengali", "svengali");
	logoList[i++] = new makeLogo("Disney on Ice - Treasure Trove", "doice");
	logoList[i++] = new makeLogo("Disney on Ice", "doice");
	logoList[i++] = new makeLogo("Disney on Ice ", "doice");
	logoList[i++] = new makeLogo("TOMMY HUNTER", "thunt");
	logoList[i++] = new makeLogo("My Fair Lady", "mfl");
	logoList[i++] = new makeLogo("Fiddler On The Roof", "fiddler");
	logoList[i++] = new makeLogo("Shrek: The Musical", "shrek");
	logoList[i++] = new makeLogo("Prince", "prince");
	logoList[i++] = new makeLogo("Johnny Reid", "reid");
	logoList[i++] = new makeLogo("Kelly Clarkson", "clarkson");
	logoList[i++] = new makeLogo("Neil Diamond", "neil-diamond");
	logoList[i++] = new makeLogo("Tool", "tool");
	logoList[i++] = new makeLogo("Dinner and Show Packages", "dinner");
	logoList[i++] = new makeLogo("World Figure Skating Championships", "wfsc");
	logoList[i++] = new makeLogo("Bryan Adams", "bryan_adams");
	logoList[i++] = new makeLogo("An Evening With Bryan Adams", "bryan_adams");

/* --------------------------------------------------
	EXTRA LIST
-------------------------------------------------- */
	extraList = new Array;
	var i = 0;
	extraList[i++] = ""; // DO NOT remove
	extraList[i++] = "The ";
	extraList[i++] = "at ";
	extraList[i++] = "@ ";
	extraList[i++] = "vs ";
	extraList[i++] = "vs. ";
	extraList[i++] = " FAMILY 4 PACK";
	extraList[i++] = " - Family Four Packs";
	extraList[i++] = " - Group Tickets";
	extraList[i++] = " - Student Matinee";
	extraList[i++] = " Time TBA";
	
	// sort extraList, greatest length first
	extraList.sort(function(a,b) {
		return (a.length > b.length) ? -1 : 1;
	});

/* --------------------------------------------------
	FULL-SIZED IMAGES LIST
-------------------------------------------------- */
	fullsizeList = new Array;
	var i = 0;
//	fullsizeList[i++] = new makeLogo("Rutgers Student Test", "StudentShirt");

/* --------------------------------------------------
	GROUP LIST
-------------------------------------------------- */
	logoGroupList = new Array;
	var i = 0;
	logoGroupList[i++] = new makeLogo(new Array("LK","LKP"), "knights");
	logoGroupList[i++] = new makeLogo(new Array("WM"), "mustangs");
	logoGroupList[i++] = new makeLogo(new Array("EC"), "euro_can");
	logoGroupList[i++] = new makeLogo(new Array("BIL"), "broadway");
	logoGroupList[i++] = new makeLogo(new Array("BILREN"), "broadway");
	logoGroupList[i++] = new makeLogo(new Array("GDG4PAK"), "diego");
	logoGroupList[i++] = new makeLogo(new Array("WIG"), "wiggles");
	logoGroupList[i++] = new makeLogo(new Array("PR:PR:494C4449564F"), "il_divo");
	logoGroupList[i++] = new makeLogo(new Array("CLD"), "calendar");
	logoGroupList[i++] = new makeLogo(new Array("HG4PACK"), "harlem-globe");
	logoGroupList[i++] = new makeLogo(new Array("3DG"), "threedaysgrace");
	logoGroupList[i++] = new makeLogo(new Array("CFSC"), "cfsc_ne");
	logoGroupList[i++] = new makeLogo(new Array("NBVIP"), "nickelback");
	logoGroupList[i++] = new makeLogo(new Array("THB"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("FLEX"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MINI12"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MINI10"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MINI8"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("RM8"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("RM12"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("RM10"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("THB11"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MAR5"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MAR6"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MAR7"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MAR8"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("MAR9"), "thb");
	logoGroupList[i++] = new makeLogo(new Array("PDL"), "disneylive");
	logoGroupList[i++] = new makeLogo(new Array("DOI"), "doi_mickey");
	logoGroupList[i++] = new makeLogo(new Array("FACEBOOK"), "knights");
	logoGroupList[i++] = new makeLogo(new Array("TWITTER"), "knights");
	logoGroupList[i++] = new makeLogo(new Array("ROT"), "raffle");
	logoGroupList[i++] = new makeLogo(new Array("MJ"), "monster-jam_ne");
	logoGroupList[i++] = new makeLogo(new Array("KOL"), "kings");
	logoGroupList[i++] = new makeLogo(new Array("DP"), "dinner");
	
	
	

/* --------------------------------------------------
	MAIN LOGO FUNCTIONS
-------------------------------------------------- */
	function printLogo(name, group) {
		var logo = "";
		name = cleaner(name.toUpperCase());
		
		// remove appending dates/times (ie: "TITLE - Wed., Sept. 17 - 2pm")
		name = name.replace(/(( |,|-|\(|\bon\b|\bat\b){0,2} ?\b(mon|tue(s)?|wed(nes)?|thu(r(s)?)?|fri|sat(ur)?|sun)(day)?\b\.?( morning| afternoon| eve| evening| mat)?\)?)?(( |,|-|\(|\bon\b|\bat\b){0,2} ?(\b(jan(uary)?|feb(ruary)?|mar(ch)?|apr(il)?|may|jun(e)?|jul(y)?|aug(ust)?|sep(t(ember)?)?|oct(ober)?|nov(ember)?|dec(ember)?)\b\.? \d{1,2}(th)?(,? ?(20)?\d{2})?\)?|\d{1,2}[/\- ]\d{1,2}([/\- ](20)?\d{2})?\)?))?(( |,|-|\(|\bon\b|\bat\b|@){0,2} ?\d{1,2}(:\d{2})? ?(a.?m.?|p.?m.?)\)?)?$/ig, "");
		
		// process extralist
		var extraName = name;
		for(var i=0; i<extraList.length; i++) {
			if(extraName.indexOf(extraList[i].toUpperCase())==0) {
				extraName = extraName.slice(extraList[i].length, extraName.length);
				break;
			}
		}
		for(var i=0; i<extraList.length; i++) {
			if(extraName.length - extraList[i].length>0 && extraName.indexOf(extraList[i].toUpperCase())==extraName.length - extraList[i].length) {
				extraName = extraName.slice(0, extraName.length - extraList[i].length);
				break;
			}
		}
		extraName = extraName.replace(/(( |,|-|\(|\bon\b|\bat\b){0,2} ?\b(mon|tue(s)?|wed(nes)?|thu(r(s)?)?|fri|sat(ur)?|sun)(day)?\b\.?( morning| afternoon| eve| evening| mat)?\)?)?(( |,|-|\(|\bon\b|\bat\b){0,2} ?(\b(jan(uary)?|feb(ruary)?|mar(ch)?|apr(il)?|may|jun(e)?|jul(y)?|aug(ust)?|sep(t(ember)?)?|oct(ober)?|nov(ember)?|dec(ember)?)\b\.? \d{1,2}(th)?(,? ?(20)?\d{2})?\)?|\d{1,2}[/\- ]\d{1,2}([/\- ](20)?\d{2})?\)?))?(( |,|-|\(|\bon\b|\bat\b|@){0,2} ?\d{1,2}(:\d{2})? ?(a.?m.?|p.?m.?)\)?)?$/ig, "");

		// custom code new era - display opponent team logo automatically
		// based on string match
		
		if(logo=="") {
			if(name != "") {
				if(name.match("LNK") || name.match("KNIGHTS"))
					logo = "knights";
				if(name.match("MONSTER JAM"))
					logo = "monster-jam_ne";
				if(name.match("Draw") && (name.match("Morning") || name.match("Afternoon") || name.match("Evening")))
					logo = "thb";
				if(name.match("LIGHTNING"))
					logo = "londonl";
				if(name.match("SYNCHRO") || name.match("Synchro") || name.match("SYNCRO") || name.match("Syncro"))
					logo = "syncrofest";
				if(name.match("IL DIVO") || name.match("Il Divo"))
					logo = "il_divo";
				if(name.match("Kelly Clarkson") || name.match("KELLY CLARKSON"))
					logo = "clarkson";
				if(name.match("Jann Arden") || name.match("JANN ARDEN"))
					logo = "jann-arden";
				if(name.match("Deep Purple") || name.match("DEEP PURPLE"))
					logo = "deep-purple";
				if(name.match("Dralion") || name.match("DRALION"))
					logo = "dralion";
				if(name.match("Young Frankenstein") || name.match("YOUNG FRANKENSTEIN"))
					logo = "young-frankenstein";
				if(name.match("Harlem Globetrotters") || name.match("HARLEM GLOBETROTTERS"))
					logo = "globetrotters";
				if(name.match("pbr") || name.match("PBR"))
					logo = "pbr";
				if(name.match("WWE") || name.match("wwe"))
					logo = "wwe";
				if(name.match("VIDEO GAMES LIVE") || name.match("video games live"))
					logo = "vgl";
				if(name.match("Svengali") || name.match("SVENGALI"))
					logo = "svengali";
				if(name.match("WORLD FIGURE SKATING CHAMPIONSHIPS"))
					logo = "wfsc";
				if(name.match("STARS ON ICE"))
					logo = "soi";
				if(name.match("BRYAN ADAMS"))
					logo = "bryan_adams";
					
				
			}
		}
		// end custom code new era - display opponent team logo automatically
		
		// find logo match (start from end for most recently added logos)
		for(var i=logoList.length-1; i>=0; i--) {
			var listName = logoList[i].oname.toUpperCase();
			if(name==cleaner(listName) || extraName==cleaner(listName)) {
				logo = logoList[i].ologo;
				break;
			}
		}
		
		// find logo based on group
		if(logo=="") {
			if(typeof(fullGroupList)!="undefined" && group!="") {
				while(logo=="" && group!="") {
					for(var k=0; k<logoGroupList.length; k++) {
						for(var l=0; l<logoGroupList[k].oname.length; l++) {
							if(logoGroupList[k].oname[l]==group) {
								logo = logoGroupList[k].ologo;
								break;
							}
						}
						if(logo!="") break;
					}
					if(logo!="") break;
					var parent = "";
					for(var i=0; i<fullGroupList.length; i++) {
						if(fullGroupList[i].code==group) {
							parent = fullGroupList[i].parent;
						}
					}
					group = parent;
				}
			} else {
				for(var k=0; k<logoGroupList.length; k++) {
					for(var l=0; l<logoGroupList[k].oname.length; l++) {
						if(logoGroupList[k].oname[l]==group) {
							logo = logoGroupList[k].ologo;
							break;
						}
					}
				}
			}
		}
		
		// set DEFAULT LOGO if still not assigned	
		//template enhancement, no default logo for renewals
		if(group!="renewals") {
			if(logo=="") logo = "na";
		} else {
			if(logo=="") logo = "football";  //change to different default renewal logo, or comment out to remove default logo function on Renewal Process	
		}	
		
		// determine if full sized image exists
		var fullSize = "";
		for(var i=0; i < fullsizeList.length; i++) {
			var listName = fullsizeList[i].oname.toUpperCase();
			if(name==cleaner(listName) || extraName==cleaner(listName)) {
				fullSize = fullsizeList[i].ologo;
				break;
			}
		}
		
		var imgSrc = "";
		
		// create and return logo source
		if(logo!="") {
			if(typeof(logo)=="string") {
				imgSrc = '<img src="'+imageWWWPath+'/logos/'+logo+'.png" border="0" width="75" height="75" alt="'+name+'">';
			} else {
				for(var k=0; k<logo.length; k++) {
					imgSrc += '<img src="'+imageWWWPath+'/logos/'+logo[k]+'.png" border="0" width="75" height="75" alt="'+name+'"> ';
				}
			}
			if(fullSize!="" && group!="ticketTransfers") {
				imgSrc = '<a href="#" onclick="toggleFullSize(this); return false;" class="thumbHide">' + imgSrc + '<br><small style="white-space:nowrap"><img src="'+imageWWWPath+'/fullsize/mag.gif" border="0" width="11" height="11" align="absmiddle"> view large</small><span><img src="'+imageWWWPath+'/fullsize/'+fullSize+'.gif" border="0" alt="'+name+'"><br><small style="white-space:nowrap"><img src="'+imageWWWPath+'/fullsize/close.gif" border="0" width="11" height="11" align="absmiddle"> click to close</small></span></a>';
			}
		}
		return(imgSrc);
	}
	
	function toggleFullSize(thumb) {
		if(thumb.className=="thumbHide") {
			thumb.className = 'thumbShow';
		} else if(thumb.className=="thumbShow") {
			thumb.className = 'thumbHide';
		}
	}
	
	// print smaller logo for calendar
	function printCalLogo(name, group) {
		var imgSrc = printLogo(name, group);
		if(imgSrc!="") {
			imgSrc = imgSrc.replace(/width="75" height="75"/ig, 'width="40" height="40"');
			
			//remove full size code
			imgSrc = imgSrc.replace(/((<a href[^>]+>){1}|(<br>(<([^>]+)>)+ view large(<([^>]+)>)+ click to close(<([^>]+)>)+))/ig, "");
		}
		return(imgSrc);
	}
	
	// print very small logo
	function printSmallLogo(name, group) {
		var imgSrc = printLogo(name, group);
		if(imgSrc!="") {
			imgSrc = imgSrc.replace(/width="75" height="75"/ig, 'width="40" height="40" align="absmiddle"');
			
			//remove full size code
			imgSrc = imgSrc.replace(/((<a href[^>]+>){1}|(<br>(<([^>]+)>)+ view large(<([^>]+)>)+ click to close(<([^>]+)>)+))/ig, "");
		}
		return(imgSrc);
	}
	

