/* --------------------------------------------------
	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("Rutgers Student Test", "StudentShirt");
//	logoList[i++] = new makeLogo("UCLA - Homecoming 2", new Array("ucla","berkeley"));

	logoList[i++] = new makeLogo("Florida Int&#39;l", "fiu");	
	logoList[i++] = new makeLogo("USC", "usc");
	logoList[i++] = new makeLogo("UCLA", "ucla");
	logoList[i++] = new makeLogo("Cal", "berkeley");
	logoList[i++] = new makeLogo("Oregon", "uoregon");
	logoList[i++] = new makeLogo("Oregon State", "oregonstate");
	logoList[i++] = new makeLogo("Washington", "washington");
	logoList[i++] = new makeLogo("Roch Voisine Live in Concert", "rochvoisine");
	logoList[i++] = new makeLogo("Dennis DeYoung", "dennisdeyoung");
	logoList[i++] = new makeLogo("Peter Pan", "peterpan");
	logoList[i++] = new makeLogo("Babes in Toyland", "babesintoyland");
	logoList[i++] = new makeLogo("Tower of Power", "towerofpower");
	logoList[i++] = new makeLogo("An Evening with Paul Brandt", "paul-brandt");
	logoList[i++] = new makeLogo("Ballroom for Life", "ballroom-for-life");
	logoList[i++] = new makeLogo("Colm Wilkinson - Broadway and Beyond", "colm-wilkinson");
	logoList[i++] = new makeLogo("Fiddler on the Roof", "fiddler-on-the-roof");
	logoList[i++] = new makeLogo("Matt Andersen", "matt-andersen");
	logoList[i++] = new makeLogo("Popera", "popera");
	logoList[i++] = new makeLogo("Tapeire", "tapeire");
	logoList[i++] = new makeLogo("The Hip Hop Is Dead Festival-Starring Nas, Elephant Man, K&#39;Naan & More", "hippi-hop");
	logoList[i++] = new makeLogo("The Magic Flute", "magic-flute");
	logoList[i++] = new makeLogo("Faith FM&#39;s Thanksgiving Concert featuring ACOUSTIX", "faith-thanksgiving-concert");
	logoList[i++] = new makeLogo("Stuart McLean-A Vinyl Cafe Christmas", "stuart-mclean");
//	logoList[i++] = new makeLogo("Hairspray", "hairspray");
	logoList[i++] = new makeLogo("If You Give A Mouse A Cookie", "mouse-a-cookie");
	logoList[i++] = new makeLogo("Natalie MacMaster Christmas", "natalie-macmaster");
	logoList[i++] = new makeLogo("The Producers", "the-producers");
	logoList[i++] = new makeLogo("The Very Hungry Caterpillar", "hungry-caterpillar");
	logoList[i++] = new makeLogo("Arrows of Desire", "arrows-of-desire");
	logoList[i++] = new makeLogo("Black Umfolosi", "black-umfolosi");
	logoList[i++] = new makeLogo("Christmas with Rita MacNeil and The Men of the Deeps", "rita-macneil");
	logoList[i++] = new makeLogo("Christmas with the Von Trapp Children", "von-trapp");
	logoList[i++] = new makeLogo("Feist", "feist");
	logoList[i++] = new makeLogo("Anastasia", "anastasia");
	logoList[i++] = new makeLogo("Buddy guy 2", "buddy_guy_2");
	logoList[i++] = new makeLogo("Choose 2 Ballets", "choose_2_ballets");
	logoList[i++] = new makeLogo("Madama Butterfly", "madama_butterfly");
	logoList[i++] = new makeLogo("Jasper Station", "jasper_station");
	logoList[i++] = new makeLogo("Seasons of Immigration", "seasons_of_immigration");
	logoList[i++] = new makeLogo("Rik Emmett & Dave Dunlop", "rikemmett_davedunlop");
	logoList[i++] = new makeLogo("Salute to Vienna", "salute_to_vienna");
	logoList[i++] = new makeLogo("Buddy Guy", "buddy_guy");
	logoList[i++] = new makeLogo("Backyardigans Live!", "backyardigans");
	logoList[i++] = new makeLogo("Cirque Sublime", "theaud");
	logoList[i++] = new makeLogo("Michael Buble", "michael_buble");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Eagles &quot;Take It To The Limit&quot;", "eagles_cal");
	logoList[i++] = new makeLogo("Electric Thursdays-Eagles &quot;Take It To The Limit&quot;", "eagles_cal");
	logoList[i++] = new makeLogo("Stomp", "stomp");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-ABC The Look of Love", "abc_cal");
	logoList[i++] = new makeLogo("Electric Thursdays-ABC The Look of Love", "abc_cal");
	logoList[i++] = new makeLogo("Rent", "rent");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Pink Floyd &quot;Dark Side of the Moon&quot;", "pinkfloyd_cal");
	logoList[i++] = new makeLogo("Electric Thursdays-Pink Floyd &quot;Dark Side of the Moon&quot;", "pinkfloyd_cal");
	logoList[i++] = new makeLogo("Geritol Follies", "Geritol-Follies");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-One Night In L.A.", "onenightinLA_cal");
	logoList[i++] = new makeLogo("Electric Thursdays-One Night In L.A.", "onenightinLA_cal");
	logoList[i++] = new makeLogo("Bill Cosby", "Bill-Cosby");
	logoList[i++] = new makeLogo("George Jones", "george-jones");
	logoList[i++] = new makeLogo("Ron James-Full Tilt", "ron-james");
	logoList[i++] = new makeLogo("42nd Street", "42nd-street");
	logoList[i++] = new makeLogo("An Evening with Jane Goodall", "jane-goodall");
	logoList[i++] = new makeLogo("Blue Rodeo", "blue-rodeo");
	logoList[i++] = new makeLogo("George Thorogood & The Destroyers", "thorogood");
	logoList[i++] = new makeLogo("Gordon Lightfoot", "gordonlightfoot");
	logoList[i++] = new makeLogo("Elton John", "elton_john");
	logoList[i++] = new makeLogo("George Thorogood", "thorogood");
	logoList[i++] = new makeLogo("Faith FM 94.3 presents 3rd Annual Shinin&#39; Star", "faithfm");
	logoList[i++] = new makeLogo("Puppetry of the Penis", "puppetry");
	logoList[i++] = new makeLogo("Kodaly Choral Festival", "kodaly");
	logoList[i++] = new makeLogo("An Evening with Leonard Cohen", "leonardcohen");
	logoList[i++] = new makeLogo("Alice Cooper", "alicecooper");
	logoList[i++] = new makeLogo("Lenny Kravitz", "lennykravitz");
	logoList[i++] = new makeLogo("The Hope Benefit", "hopebenefit");
	logoList[i++] = new makeLogo("Thomas and Friends Live! Thomas Saves the Day", "thomastank");
	logoList[i++] = new makeLogo("20th Annual Arts Awards Gala & Moveable Feast", "kwarts");
	logoList[i++] = new makeLogo("Mamma Mia!", "mamma_cal");
	logoList[i++] = new makeLogo("The Drowsy Chaperone", "drowsy_cal");
	logoList[i++] = new makeLogo("Russell Peters", "russellpeters");
	logoList[i++] = new makeLogo("Great Big Sea", "greatbigsea");
	logoList[i++] = new makeLogo("America", "america");
	logoList[i++] = new makeLogo("K-W Musical Productions - Annie", "annie");
	logoList[i++] = new makeLogo("Bob the Builder Live!", "bobthebuilder");
	logoList[i++] = new makeLogo("Bowfire", "bowfire");
	logoList[i++] = new makeLogo("David Cassidy", "cassidy");
	logoList[i++] = new makeLogo("Chuck Mangione", "chuck_mangione");
	logoList[i++] = new makeLogo("Dance Party of Newfoundland", "dance_nfld");
	logoList[i++] = new makeLogo("Derek Edwards", "derek_edwards");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Fire & Rain-James Taylor", "fireandrain");
	logoList[i++] = new makeLogo("Electric Thursdays-Fire & Rain - James Taylor", "fireandrain");
	logoList[i++] = new makeLogo("Five Hole: Tales of Hockey Erotica", "five_hole");
	logoList[i++] = new makeLogo("Franklin's Christmas", "franklin");
	logoList[i++] = new makeLogo("God's Middle Name", "gods_middle_name");
	logoList[i++] = new makeLogo("Jill Barber", "jill_barber");
	logoList[i++] = new makeLogo("Justin Hines", "justin_hines");
	logoList[i++] = new makeLogo("Margaret Cho-Beautiful", "marg_cho");
	logoList[i++] = new makeLogo("Messiah", "messiah");
	logoList[i++] = new makeLogo("Joe Satriani", "satriani");
	logoList[i++] = new makeLogo("Waterloo County Carollers Sing-A-Long", "sing_along");
	logoList[i++] = new makeLogo("Moscow Ballet's Great Russian Sleeping Beauty", "sleeping_beauty");
	logoList[i++] = new makeLogo("So Many Doors", "somanydoors");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Rolling Stones & The Who", "stones_who");
	logoList[i++] = new makeLogo("Electric Thursdays-Rolling Stones & The Who", "stones_who");
	logoList[i++] = new makeLogo("Thomas and Friends Live! Thomas Saves the Day", "thomastank");
	logoList[i++] = new makeLogo("Trailer Park Boys", "trailerparkboys");
	logoList[i++] = new makeLogo("William Joseph", "will_joseph"); 
	logoList[i++] = new makeLogo("Wingfield's Inferno", "wingfield_inferno");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Woodstock Revisited", "woodstock");
	logoList[i++] = new makeLogo("Electric Thursdays-Woodstock Revisited", "woodstock");
	logoList[i++] = new makeLogo("Jamie Adkins: Circus INcognitus", "circus incognitus");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Alan Frew & Friends", "alan_frew");
	logoList[i++] = new makeLogo("Electric Thursdays-Alan Frew & Friends", "alan_frew");
	logoList[i++] = new makeLogo("The Osmonds", "osmonds");
	logoList[i++] = new makeLogo("Hedley", "hedley");
	logoList[i++] = new makeLogo("Twelve Angry Men", "12angrymen");
	logoList[i++] = new makeLogo("Captain Hook's Revenge", "captainhooks");
	logoList[i++] = new makeLogo("Divine Performing Arts World Tour", "divineperfarts");
	logoList[i++] = new makeLogo("Voices of Showtime", "voicesofshowtime");
	logoList[i++] = new makeLogo("Bye Bye Birdie", "bbbirdie");
	logoList[i++] = new makeLogo("Buffy Sainte-Marie & Richie Havens", "bstmarie");
	logoList[i++] = new makeLogo("Sam Roberts Band", "samrobertsband");
	logoList[i++] = new makeLogo("Surprise! Another Night of Laughs", "surprise");
	logoList[i++] = new makeLogo("The Marriage of Figaro", "marriage_of_figaro");
	logoList[i++] = new makeLogo("Kathleen Battle in Concert", "kathleen_battle2");
	logoList[i++] = new makeLogo("La Traviata in Concert", "la_traviata");
	logoList[i++] = new makeLogo("Cinderella", "cinderella3");
	logoList[i++] = new makeLogo("Derek Edwards", "derek_edwards");
	logoList[i++] = new makeLogo("The Ten Tenors", "ttt");
	logoList[i++] = new makeLogo("Cats", "cats");
	logoList[i++] = new makeLogo("Cirque Dreams - Jungle Fantasy", "cirque_dreams");
	logoList[i++] = new makeLogo("Doodlebops: Together Forever", "doodlebops");
	logoList[i++] = new makeLogo("World's Greatest Elvis Tribute Artist, Shawn Klush & The Sweet Inspirations", "shawnklush");
	logoList[i++] = new makeLogo("Richard Margison in Concert", "margison");
	logoList[i++] = new makeLogo("Johnny Reid", "johnnyreid");
	logoList[i++] = new makeLogo("Diana Krall", "diana_krall");	 
	logoList[i++] = new makeLogo("Dora The Explorer Live! Search for the City of Lost Toys", "dora");
	logoList[i++] = new makeLogo("Akon", "akon");
	logoList[i++] = new makeLogo("k.d. lang", "kd_lang");
	logoList[i++] = new makeLogo("Surprise! Yuk Yuk's On Tour", "yuk_yuk");
	logoList[i++] = new makeLogo("Bachman Cummings", "bachman_cummings");
	logoList[i++] = new makeLogo("Songwriter&#39;s Circle with Peter Elkas and David Myles", "songwriters");
	logoList[i++] = new makeLogo("Keane", "keane");
	logoList[i++] = new makeLogo("The Backyardigans Live! Sea Deep in Adventure", "backyardigans");
	logoList[i++] = new makeLogo("Paul Potts", "paul_potts");
	logoList[i++] = new makeLogo("The Wizard Of Oz", "wizard_of_oz");
	logoList[i++] = new makeLogo("Alfie Zappacosta", "alfie_zappacosta");
	logoList[i++] = new makeLogo("Altar Boyz", "alter_boyz");
	logoList[i++] = new makeLogo("Art of Time Ensemble", "art_of_time");
	logoList[i++] = new makeLogo("Avenue Q", "avenue_q");
	logoList[i++] = new makeLogo("Beauty and the Beast", "beauty_and_beast");
	logoList[i++] = new makeLogo("Cabaret", "cabaret");
	logoList[i++] = new makeLogo("Downchild Blues Band w. Colin Linden", "downchild_blues_band");
	logoList[i++] = new makeLogo("Electric Thursdays-Elvis: The Way It Was", "etandew_elvis");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Elvis: The Way It Was", "etandew_elvis");
	logoList[i++] = new makeLogo("Electric Thursdays-The Music of Fleetwood Mac", "etandew_fleetwood_mac");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-The Music of Fleetwood Mac", "etandew_fleetwood_mac");
	logoList[i++] = new makeLogo("Electric Thursdays-Madmen Across the Water", "etandew_madmen");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Madmen Across the Water", "etandew_madmen");
	logoList[i++] = new makeLogo("Jake&#39;s Gift", "jakes_gift");
	logoList[i++] = new makeLogo("John Mann", "john_mann");
	logoList[i++] = new makeLogo("Colin Mochrie and Brad Sherwood", "mochrie_sherwood");
	logoList[i++] = new makeLogo("Summer of My Amazing Luck", "amazing_luck");
	logoList[i++] = new makeLogo("Blackpack Sellout", "blackpack_sellout");
	logoList[i++] = new makeLogo("METRIC with special guests The Stills", "metric_fantasies");
	logoList[i++] = new makeLogo("Joseph and the Amazing Technicolor Dreamcoat", "kwmp_joseph");
	logoList[i++] = new makeLogo("Art of Time Ensemble with Steven Page", "artoftime");
	logoList[i++] = new makeLogo("Playhouse Disney Live! On Tour", "disney_playhouse2");
	logoList[i++] = new makeLogo("Rita MacNeil and The Men of the Deeps", "rita_mcneil");
	logoList[i++] = new makeLogo("Emmylou Harris and her Red Dirt Boys", "emmylou_harris");
	logoList[i++] = new makeLogo("Dr. David Suzuki", "david_suzuki");
	logoList[i++] = new makeLogo("An Evening of Extreme Magic!", "extrememagic");
	logoList[i++] = new makeLogo("Jesus Christ Superstar", "jcsuperstar");
	logoList[i++] = new makeLogo("Hairspray", "hairspray2");
	logoList[i++] = new makeLogo("Shen Yun", "shenyun");
	logoList[i++] = new makeLogo("Stuart McLean: A Vinyl Cafe Christmas", "Stuart_McLean");
	logoList[i++] = new makeLogo("Colin James", "colinjames");
	logoList[i++] = new makeLogo("Ron James", "ronjames");
	logoList[i++] = new makeLogo("Forever Tango", "forever_tango");
	logoList[i++] = new makeLogo("Jesse Cook", "jesse_cook"); 	
	logoList[i++] = new makeLogo("Steve Bell: The Symphony Sessions Tour", "steve_bell");
	logoList[i++] = new makeLogo("Duquesne University Tamburitzans", "tamburitzans");
	logoList[i++] = new makeLogo("Franklin The Turtle Live!", "franklin2");
	logoList[i++] = new makeLogo("Franklin and the Adventures of the Noble Knights", "franklin_knights");
	logoList[i++] = new makeLogo("Extreme Ice Racing", "iceracing");
	logoList[i++] = new makeLogo("Queen: It&#39;s a Kinda Magic!", "queen_its");
	logoList[i++] = new makeLogo("Masters of Magic", "mastersofmagic");
	logoList[i++] = new makeLogo("Songwriter&#39;s Circle featuring Cindy Church, Susan Crowe and Gwen Swick", "songwriterscircle2010");
	logoList[i++] = new makeLogo("A Morning with Malcolm Gladwell", "malcolm_gladwell");
	logoList[i++] = new makeLogo("Rodney Carrington", "rodney_carrington");
	logoList[i++] = new makeLogo("David Gray", "david_gray");
	logoList[i++] = new makeLogo("Women Fully Clothed: Older and Hotter", "womenfullyclothed");
	logoList[i++] = new makeLogo("Xavier Rudd", "xavier_rudd");
	logoList[i++] = new makeLogo("Barenaked Ladies with special guest Joel Plaskett", "barenakedladies");
	logoList[i++] = new makeLogo("Kaleidoscope of Dance", "kaleidoscope");
	logoList[i++] = new makeLogo("Rick Mercer", "rick-mercer");
	logoList[i++] = new makeLogo("Mump & Smoot Cracked", "mump-smoot-cracked");
	logoList[i++] = new makeLogo("Norman", "norman");
	logoList[i++] = new makeLogo("Homage", "homage");
	logoList[i++] = new makeLogo("The Last 15 Seconds", "15seconds");
	logoList[i++] = new makeLogo("Spill Feasts", "mntf-09-logo-k");
	logoList[i++] = new makeLogo("Tough!", "tough");
	logoList[i++] = new makeLogo("Elephant Wake", "elephant-wake");
	logoList[i++] = new makeLogo("Monster Makers", "monster-makers");
	logoList[i++] = new makeLogo("The Greatest Cities in the World", "greatest-cities");
	logoList[i++] = new makeLogo("Another Home Invasion", "another-home-invasion");
	logoList[i++] = new makeLogo("Dedicated to the Revolutions", "dedicated-revolutions");
	logoList[i++] = new makeLogo("Dirty Dancing Fundraiser", "dirtydancing");
	logoList[i++] = new makeLogo("World Rock Symphony Orchestra", "wrso");
	logoList[i++] = new makeLogo("K-W Arts Awards-Ceremony & Stage Performance", "arts_awards");
	logoList[i++] = new makeLogo("Rita MacNeil&#39;s Spirit of Christmas with special guest Frank Mills", "rita_frank");
	logoList[i++] = new makeLogo("The Second City&#39;s Stephen Harper: The Musical", "stephenharper");
	logoList[i++] = new makeLogo("Dale Nikkel", "dalenikkel");
	logoList[i++] = new makeLogo("Trudeau Stories", "trudeaustories");
	logoList[i++] = new makeLogo("Spamalot", "spamalot");
	logoList[i++] = new makeLogo("An Evening With Kevin Smith", "aneveningwtihkevinsmith");
	logoList[i++] = new makeLogo("The Rankin Family", "therankinfamily");
	logoList[i++] = new makeLogo("Shaun Majumder", "shaunmajumder");
	logoList[i++] = new makeLogo("The Last Christmas Turkey", "thelastchristmasturkey");
	logoList[i++] = new makeLogo("Lighthouse", "lighthouse");
	logoList[i++] = new makeLogo("Joel Plaskett", "joelplaskett");
	logoList[i++] = new makeLogo("Judy and David-Beanstock", "judyanddavidbeanstock");
	logoList[i++] = new makeLogo("Helter Smelter", "heltersmelter");
	logoList[i++] = new makeLogo("Hawksley Workman", "hawksleyworkman");
	logoList[i++] = new makeLogo("Spring Awakening", "springawakening");
	logoList[i++] = new makeLogo("Good Lovelies", "goodlovelies");
	logoList[i++] = new makeLogo("Just For Laughs Roadshow", "justforlaughs2011");
	logoList[i++] = new makeLogo("Johnny Reid: A Place Called Love", "johnnyreidphoto");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-An R & B Christmas", "rb-christmas");
	logoList[i++] = new makeLogo("Electric Thursdays-An R & B Christmas", "rb-christmas");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Classic Albums Live &quot;The Beatles: Sgt. Pepper&quot;", "sgt-pepper");
	logoList[i++] = new makeLogo("Electric Thursdays-Classic Albums Live &quot;The Beatles: Sgt. Pepper&quot;", "sgt-pepper");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-The Music of Led Zeppelin", "led-zeppelin");
	logoList[i++] = new makeLogo("Electric Thursdays-The Music of Led Zeppelin", "led-zeppelin");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Rik Emmett&#39;s Guitar Heroes", "emmett_may");
	logoList[i++] = new makeLogo("Electric Thursdays-Rik Emmett&#39;s Guitar Heroes", "emmett_may");
	logoList[i++] = new makeLogo("An Evening with Joan Baez", "joan-baez");
	logoList[i++] = new makeLogo("Disney Live! Mickey&#39;s Rockin&#39; Road Show", "mickeys_rockin");
	logoList[i++] = new makeLogo("Bryan Adams: The Bare Bones Tour", "bryan_adams");	
	logoList[i++] = new makeLogo("Footloose", "CITS-footloose");
	logoList[i++] = new makeLogo("Legally Blonde", "CITS-legally-blonde");
	logoList[i++] = new makeLogo("Moulin Rouge-The Ballet", "CITS-moulinrouge");	
	logoList[i++] = new makeLogo("John McDermott", "CITS-John-McDermott");	
	logoList[i++] = new makeLogo("Jason Bonham's Led Zeppelin Experience", "CITS-Jason-led-zep");
	logoList[i++] = new makeLogo("Bruce Cockburn", "brucecockburn");
	logoList[i++] = new makeLogo("Heart", "heart");
	logoList[i++] = new makeLogo("Roch Voisine", "roch-voisine");
	logoList[i++] = new makeLogo("Charley Pride", "charley-pride");
	logoList[i++] = new makeLogo("Brian Wilson", "brian-wilson");	
	logoList[i++] = new makeLogo("Melissa Etheridge", "melissa-etheridge");	
	logoList[i++] = new makeLogo("Pixies", "pixies");
	logoList[i++] = new makeLogo("Larry the Cable Guy & Bill Engvall", "larry_cableguy"); 
	logoList[i++] = new makeLogo("Max & Ruby Live-Bunny Party!", "maxandruby"); 
	logoList[i++] = new makeLogo("Rob Szabo Band", "rob-szabo");
	logoList[i++] = new makeLogo("Much Video Dance", "nuch-video-dance");
	logoList[i++] = new makeLogo("Burton Cummings", "burton-cummings");
	logoList[i++] = new makeLogo("Libera", "libera");
	logoList[i++] = new makeLogo("Celtic Thunder", "celtic_thunder");
	logoList[i++] = new makeLogo("Errol Blackwood CD Release", "CITS-Blackwood");
	logoList[i++] = new makeLogo("Michael Gabriel-Strings Attached", "cits-Michael-Gabriel");
	logoList[i++] = new makeLogo("An Evening with Tim Louis", "CITS-Tim-Louis");
	logoList[i++] = new makeLogo("Doug Clayfield-Nowhere To Go CD Release", "CITS-Doug-Clayfield");
	logoList[i++] = new makeLogo("Sarah McLachlan and Friends", "sarah_mclachlan");
	logoList[i++] = new makeLogo("Daniel Tosh-Tour on Ice", "daniel-tosh");
	logoList[i++] = new makeLogo("Toopy & Binoo and the Marshmallow Moon", "toopy_binoo");
	logoList[i++] = new makeLogo("The Backyardigans Live! The Quest for the Extra Ordinary Aliens", "backyardigans");
	logoList[i++] = new makeLogo("Disney Live! Three Classic Fairy Tales", "disney_live");
	logoList[i++] = new makeLogo("Rock of Ages", "rockofages");
	logoList[i++] = new makeLogo("Jeff Beck", "jeff-beck");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-It Came From The Jersey Shore", "jerseyshore");
	logoList[i++] = new makeLogo("Electric Thursdays-It Came From The Jersey Shore", "jerseyshore");
	logoList[i++] = new makeLogo("Kevin Fox", "kevin-fox");
	logoList[i++] = new makeLogo("Classic Albums Live-The Last Waltz", "lastwaltz-200");
	logoList[i++] = new makeLogo("Marc Jordan", "marc-jordan");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-The Music of Michael Jackson", "music-of-mj");
	logoList[i++] = new makeLogo("Electric Thursdays-The Music of Michael Jackson", "music-of-mj");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-Rattle & Hum: The Music of U2", "music-of-u2");
	logoList[i++] = new makeLogo("Electric Thursdays-Rattle & Hum: The Music of U2", "music-of-u2");
	logoList[i++] = new makeLogo("Classic Albums Live-Pink Floyd: Dark Side of the Moon", "pinkfloyd");
	logoList[i++] = new makeLogo("Songwriter&#39;s Circle", "songwriters_circle");
	logoList[i++] = new makeLogo("ET-Wednesday Edition-The Music of Sting & The Police", "sting-police");
	logoList[i++] = new makeLogo("Electric Thursdays-The Music of Sting & The Police", "sting-police");
	logoList[i++] = new makeLogo("Walter Fedy Great Cdn. Play Series-Goodness", "goodness");
	logoList[i++] = new makeLogo("Walter Fedy Great Cdn. Play Series-I, Claudia", "iclaudia");
	logoList[i++] = new makeLogo("Young Frankenstein", "young-frankenstein");
	logoList[i++] = new makeLogo("Rock of Ages", "rockofages");
	logoList[i++] = new makeLogo("Andre-Philippe Gagnon", "apgagnon");
	logoList[i++] = new makeLogo("Just For Laughs", "just-for-laughs");
	logoList[i++] = new makeLogo("Whose Live Anyway", "whoseliveanyway");
	logoList[i++] = new makeLogo("KWMP-The Sound of Music", "soundofmusic");
	logoList[i++] = new makeLogo("Matthew Good", "matthewgood");
	logoList[i++] = new makeLogo("Roll Play Live-Animal Party", "roll_play");
	logoList[i++] = new makeLogo("Tony Bennett", "tony_bennett");
	logoList[i++] = new makeLogo("Shen Yun", "shen-yun");
	logoList[i++] = new makeLogo("Rock of Ages After Party", "CITS_roa-party");
	logoList[i++] = new makeLogo("Saengerfest 2012-Choral Competition", "CITS_sangerfest");
	logoList[i++] = new makeLogo("Saengerfest 2012-Grand Concert", "CITS_sangerfest");
	logoList[i++] = new makeLogo("Holiday Festival on Ice 2011", "holiday-festival-on-ice");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Saginaw Spirit", "spirit");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Sault Ste Marie Greyhounds", "greyhounds");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Owen Sound Attack", "soundattack");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Sarnia Stingvsting", "sting");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Ottawa 67's", "67s");
	logoList[i++] = new makeLogo("Kitchener Rangers vs London Knights", "knights");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Niagara IceDogs", "niagara_ice_dogs");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Sudbury Wolves", "wolves");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Guelph Storm", "storm");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Erie Otters", "otters");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Mississauga St.Michael's Majors", "miss_majors");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Windsor Spitfires", "spitfires");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Oshawa Generals", "generals");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Plymouth Whalers", "whalers");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Kingston Frontenacs", "frontenacs");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Belleville Bulls", "bulls");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Brampton Battalion", "battalion");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Barrie Colts", "colts");
	logoList[i++] = new makeLogo("Kitchener Rangers vs Peterborough Petes", "petes");
	logoList[i++] = new makeLogo("Paul Brandt-Give it Away Tour 2011", "paul_brandt");
	logoList[i++] = new makeLogo("Alice Cooper", "alice_cooper");
	logoList[i++] = new makeLogo("Sam Roberts Band", "sam_roberts_band");
	logoList[i++] = new makeLogo("Waterloo Region Record presents: Holiday Festival on Ice 2011", "holidayfestival_on_ice");
	logoList[i++] = new makeLogo("City and Colour", "city_and_colour");
	logoList[i++] = new makeLogo("Rita MacNeil Along with The Von Trapp Children", "rita_macneil");
	logoList[i++] = new makeLogo("Tommy Hunter: The Final Tour", "tommy_hunter");
	logoList[i++] = new makeLogo("The Jim Cuddy Band", "jim-cuddy");
	logoList[i++] = new makeLogo("Theory of a Deadman", "theory-of-a-deadman");
	logoList[i++] = new makeLogo("Imagination Movers", "imagination");
	logoList[i++] = new makeLogo("Johnny Reid with Special Guests", "johnny-reid");
	logoList[i++] = new makeLogo("Jann Arden", "jann_arden");
	logoList[i++] = new makeLogo("Ron James Live!", "ron_james2");
	logoList[i++] = new makeLogo("Danny Bhoy", "danny_bhoy");
	logoList[i++] = new makeLogo("Wicked", "wicked");


/* --------------------------------------------------
	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("F","FB","FBS","FBI","FB3","STFB", "C"), "football");
	logoGroupList[i++] = new makeLogo(new Array("BB"), "baseball");
	logoGroupList[i++] = new makeLogo(new Array("SB"), "softball");
	logoGroupList[i++] = new makeLogo(new Array("MB","MBS","MBI"), "basketball");
	logoGroupList[i++] = new makeLogo(new Array("WB","WBS","WBI"), "basketball");
	logoGroupList[i++] = new makeLogo(new Array("V","VB","MVB","WVB"), "volleyball");
	logoGroupList[i++] = new makeLogo(new Array("H"), "hockey");
	logoGroupList[i++] = new makeLogo(new Array("SOC","SO","MS","WS", "S"), "soccer");
	logoGroupList[i++] = new makeLogo(new Array("CLD"), "calendar");

	// custom code
	logoGroupList[i++] = new makeLogo(new Array("GPC"), "grand_phil_choir");
	logoGroupList[i++] = new makeLogo(new Array("KWLT"), "kwlt-logo");
	logoGroupList[i++] = new makeLogo(new Array("KWSS"), "symphony");
	logoGroupList[i++] = new makeLogo(new Array("KWPC"), "choir");
	logoGroupList[i++] = new makeLogo(new Array("RT"), "registry_theatre");
	logoGroupList[i++] = new makeLogo(new Array("AUD","AUD2","AUD3","AUDSPECIAL"), "theaud");
	logoGroupList[i++] = new makeLogo(new Array("MP","POPS","INT","STORY", "BB", "KINDER", "YO", "SPCL", "KWSS"), "07-kws-logo");
	logoGroupList[i++] = new makeLogo(new Array("ETC"), "elmira-theatre");
	logoGroupList[i++] = new makeLogo(new Array("KWS"), "cits-kws");
	logoGroupList[i++] = new makeLogo(new Array("KCH"), "kitchener_cityhall");
	logoGroupList[i++] = new makeLogo(new Array("CITS2","MUS","DRAMA","FAMILY","MUSIC","COM","MISC","PS","GC"), "live_live");


/* --------------------------------------------------
	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, "");
		
		// 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;
			}
		}

		// custom code
		if(logo=="") {
			var str = name
			if (name.match("OPERA KITCHENER")) {
				logo = "cits";
			} else if(name.indexOf("RANGERS") > -1) {
				logo = "kitchenerrangers_crest";
			} else if(name.indexOf("LIPIZZANER") > -1) {
				logo = "lipizzaner";
			} else if(name.indexOf("GLOBETROTTERS") > -1) {
				logo = "globetrotters";
			} else if(name.indexOf("HOMESENSE SKATE") > -1) {
				logo = "homesense_skate";
			} else if(name.indexOf("JANN ARDEN") > -1) {
				logo = "jann_arden";
			} else if(name.indexOf("BOB DYLAN") > -1) {
				logo = "bob_dylan";
			} else if(name.indexOf("DICE CLAY") > -1) {
				logo = "dice_clay";
			} else if(name.indexOf("OUR LADY PEACE") > -1) {
				logo = "lady_peace";
			} else if(name.indexOf("KWS") > -1) {
				logo = "09-kws-logo";
			} else if(name.indexOf("MULTIPLE SCLEROSIS") > -1) {
				logo = "multiple_sclerosis";
			} else if(name.indexOf("TIM ALLEN") > -1) {
				logo = "tim_allen";
			} else if(name.indexOf("VIDEO GAMES") > -1) {
				logo = "videogames";
			} else if(name.indexOf("ROCK THE ICE") > -1) {
				logo = "rock_the_ice";
			} else if(name.indexOf("SESAME STREET") > -1) {
				logo = "sesame-street-live";
			} else if(name.indexOf("HOCKEY") > -1) {
				logo = "hockey_canada";
			} else if(name.indexOf("CAKE BOSS") > -1) {
				logo = "cake-boss";
			} else if(name.indexOf("KEVIN O") > -1) {
				logo = "oleary";
			} else if(name.indexOf("LORD OF THE DANCE") > -1) {
				logo = "lordofthedance";
			} else if(name.indexOf("LIBERA") > -1) {
				logo = "libera";
			} else if(name.indexOf("TRAILER PARK BOYS") > -1) {
				logo = "trailerpark_boys";
			} else if(name.indexOf("THE NUTCRACKER") > -1) {
				logo = "nutcracker2011";
			} else if(name.indexOf("RED GREEN") > -1) {
				logo = "redgreen";
			} else if(name.indexOf("CHICAGO") > -1) {
				logo = "chicago";
			} else if(name.indexOf("SIMPLE PLAN") > -1) {
				logo = "simple_plan";
			} else if(name.indexOf("JOHN PINETTE") > -1) {
				logo = "pinette";
			}

		}
		// end cc
		
		// 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;
						}
					}
				}
			}
		}
		
		if(logo=="") logo = "na";
		
		// 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+'.gif" border="0" width="60" height="60" alt="'+extraName+'" align="absmiddle">';
			} else {
				for(var k=0; k<logo.length; k++) {
					imgSrc += '<img src="'+imageWWWPath+'/logos/'+logo[k]+'.gif" border="0" width="60" height="60" alt="'+extraName+'" align="absmiddle"> ';
				}
			}
			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="60" height="60"/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="60" height="60"/ig, 'width="30" height="30" align="absmiddle"');
			
			//remove full size code
			imgSrc = imgSrc.replace(/((<a href[^>]+>){1}|(<br>(<([^>]+)>)+ view large(<([^>]+)>)+ click to close(<([^>]+)>)+))/ig, "");
		}
		return(imgSrc);
	}
	
