/* ==================================================
	Created:	March 6, 2007
	Purpose:	Functions to create and print logos. 
				Used primarily on:
				- displaySimpleEventList
				- displayGroupList 
================================================== */
	var defaultLogo = "cinarts"; // custom code
	
	function makeLogo(name, logo, divider) {
		this.oname = name;
		this.ologo = logo;
		this.divider = (typeof(divider)!="undefined" && divider!="" ? divider : "");
	}

/* ==================================================
	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("Barbie Live in Fairytopia!", "barbieFairytopia");
	logoList[i++] = new makeLogo("India.Arie", "indiaArie");
	logoList[i++] = new makeLogo("Crown Jewels of Jazz With Eartha Kitt", "earthaKitt");
	logoList[i++] = new makeLogo("BTO 5th Annual Gala of International Ballet Stars", "IntBalletStars");
	logoList[i++] = new makeLogo("An Evening with David Sedaris", "DavidSedaris");
	logoList[i++] = new makeLogo("The Light In The Piazza", "lightpiazza");
	logoList[i++] = new makeLogo("So You Think You Can Dance", "soyouthink");
	logoList[i++] = new makeLogo("A Prairie Home Companion", "prairieHomeCompanion");
	logoList[i++] = new makeLogo("Disney&#39;s The Lion King", "lionKing");
	logoList[i++] = new makeLogo("Richard Thomas & George Wendt in 12 Angry Men", "12_angry_men");
	logoList[i++] = new makeLogo("Chita Rivera: The Dancer&#39;s LIfe", "chita");
	logoList[i++] = new makeLogo("Rent", "rent");
	logoList[i++] = new makeLogo("Richard Thomas & George Wendt in Twelve Angry Men", "12AngryMen");
	logoList[i++] = new makeLogo("Exhale Dance Tribe", "knowTheater");
	logoList[i++] = new makeLogo("Songs from an Unmade Bed", "knowTheater");
	logoList[i++] = new makeLogo("All Shook Up", "allShookUp");
	logoList[i++] = new makeLogo("Celtic Woman: A New Journey", "celticWoman");
	logoList[i++] = new makeLogo("Smart Talk Presents Madeleine Albright: Telling It Like It Is", "madeleineAlbright");
	logoList[i++] = new makeLogo("Broadway Across America Presents Mamma Mia!", "mamma_mia");
	logoList[i++] = new makeLogo("Wilco", "wilco");
	logoList[i++] = new makeLogo("Bernadette Peters", "bernadette_peters");
	logoList[i++] = new makeLogo("Smart Talk Presents Nancy Grace: Amazing Grace", "nacy_grace");
	logoList[i++] = new makeLogo("Smart Talk Presents Geena Davis: A Commanding Presence", "geena_davis");
	logoList[i++] = new makeLogo("Don&#39;t Make A Black Woman Take Off Her Earrings", "dontMake");
	logoList[i++] = new makeLogo("Tyler Perry&#39;s Don&#39;t Make A Black Woman Take Off Her Earrings", "dontMake");
	logoList[i++] = new makeLogo("My Fair Lady", "MyFairLady");
	logoList[i++] = new makeLogo("Annie", "Annie");
	logoList[i++] = new makeLogo("Camelot", "Camelot");
	//logoList[i++] = new makeLogo("The Drowsy Chaperone", "DrowsyChaperone");
	logoList[i++] = new makeLogo("Wicked", "Wicked");
	logoList[i++] = new makeLogo("Wicked Pre-Show Dinner", "Wicked");
	logoList[i++] = new makeLogo("Sweeney Todd", "SweeneyTodd");
	logoList[i++] = new makeLogo("The Color Purple", "ColorPurple");
	logoList[i++] = new makeLogo("Jersey Boys", "JerseyBoys");
	logoList[i++] = new makeLogo("Jersey Boys Pre-Show Dinner", "JerseyBoys");
	logoList[i++] = new makeLogo("Rise For Freedom", "riseForFreedom");
	logoList[i++] = new makeLogo("The Solid Gold Dance Party", "solidGoldDanceParty");
	logoList[i++] = new makeLogo("B.B. King", "bbKing");
	logoList[i++] = new makeLogo("Jesus Christ Superstar", "jesusChristSuperstar");
	logoList[i++] = new makeLogo("Kenny G Holiday Tour 2007", "kennyG");
	logoList[i++] = new makeLogo("2008 Smart Talk Women's Lecture Series", "smart_talk");
	logoList[i++] = new makeLogo("Smart Talk Lecture Series Presents Marlo Thomas: Still &#39;That Girl&#39;", "marlo_thomas");
	logoList[i++] = new makeLogo("Smart Talk Lecture Series Presents Geralyn Lucas: Why I Wore Lipstick", "geralyn_lucas");
	logoList[i++] = new makeLogo("Smart Talk Lecture Series Presents Tina Brown: Princess Diaries", "tina_brown");
	logoList[i++] = new makeLogo("Smart Talk Lecture Series Presents Isabella Rossellini: Some Of Me", "isabella_rossellini");
	logoList[i++] = new makeLogo("Smart Talk Lecture Series Presents An Evening With Maya Angelou", "maya_angelou");
	logoList[i++] = new makeLogo("High School Musical", "highSchoolMusical");
	logoList[i++] = new makeLogo("Smart Talk Lecture Series Presents Patty Duke: A Brilliant Madness", "pattyDuke");
	logoList[i++] = new makeLogo("Gordon Lightfoot: The Legend in Concert", "gordonLightfoot");
	logoList[i++] = new makeLogo("A Special Acoustic Evening with Vince Gill", "vinceGill");
	logoList[i++] = new makeLogo("The High Kings", "highKings");
	logoList[i++] = new makeLogo("2008 Cincinnati Fringe Festival Passes", "fringeFest");
	logoList[i++] = new makeLogo("Chris Rock - No Apologies Tour", "chrisRock");
	logoList[i++] = new makeLogo("Last Comic Standing Live Tour", "lastComicStanding");
	logoList[i++] = new makeLogo("Alicia Keys", "aliciaKeys");
	logoList[i++] = new makeLogo("Jazz at Lincoln Center Orchestra with Wynton Marsalis", "Wynton-Marsalis");
	logoList[i++] = new makeLogo("West Side Story", "JP-West-Side-Story");
	logoList[i++] = new makeLogo("Nunsense", "JP-Nunsense");
	logoList[i++] = new makeLogo("The Sound of Music", "JP-Sound-Of-Music");
	logoList[i++] = new makeLogo("GYPSY", "gypsy");
	logoList[i++] = new makeLogo("HMS PINAFORE", "hmsPinafore");
	
//	logoList[i++] = new makeLogo("Hairspray", "Hairspray");
	logoList[i++] = new makeLogo("The Wizard of Oz", "WizardofOz");
	logoList[i++] = new makeLogo("STOMP", "Stomp");
	logoList[i++] = new makeLogo("Spamalot", "Spamalot");
	logoList[i++] = new makeLogo("Spamalot and Pre-Show Dinner", "Spamalot");
	logoList[i++] = new makeLogo("Grease", "Grease");
	logoList[i++] = new makeLogo("Frost/Nixon", "FrostNixon");
	logoList[i++] = new makeLogo("Cirque Dreams", "CirqueDreams");
	logoList[i++] = new makeLogo("Cirque Dreams and Pre-Show Dinner", "CirqueDreams");
	logoList[i++] = new makeLogo("Avenue Q", "AvenueQ");
	logoList[i++] = new makeLogo("Avenue Q and Pre-Show Dinner", "AvenueQ");
	logoList[i++] = new makeLogo("Riverdance", "Riverdance");
	logoList[i++] = new makeLogo("A Chorus Line", "ChorusLine");
	logoList[i++] = new makeLogo("A Chrous Line", "ChorusLine");
	logoList[i++] = new makeLogo("A Chorus Line and Pre-Show Dinner", "ChorusLine");
	logoList[i++] = new makeLogo("Mamma Mia!", "MammaMia");
	
	logoList[i++] = new makeLogo("Midpoint Music Festival 3-Day Pass", "MidpointMusicFestival");
	logoList[i++] = new makeLogo("CAA / CPI New Voices Staged Reading", "CincinnatiPlaywrightsInitia");
	logoList[i++] = new makeLogo("Cincinnati Arts Association: Michael W. Smith & Steven Curtis Chapman", "UnitedTour");
	logoList[i++] = new makeLogo("The United Tour with Michael W. Smith and Steven Curtis Chapman", "UnitedTour");
	logoList[i++] = new makeLogo("Late Nite Catechism", "lateNightCatechism");
	logoList[i++] = new makeLogo("Late Night Catechism", "lateNightCatechism");
	logoList[i++] = new makeLogo("Ballet Tech Cincinnati - Family Friendly Package", "balletTechCinn");
	logoList[i++] = new makeLogo("ballet tech cincinnati - Total Subscription Package", "balletTechCinn");
	logoList[i++] = new makeLogo("Lisa Williams: Messages From Beyond", "lisaWilliams");
	logoList[i++] = new makeLogo("A Prairie Home Companion (Live Radio Broadcast)", "prairieHomeCompanion2");
	logoList[i++] = new makeLogo("Cats", "cats");
	logoList[i++] = new makeLogo("Mannheim Steamroller", "steamroller");
	
	logoList[i++] = new makeLogo("Monty Python&#39;s Spamalot", "Spamalot");
	logoList[i++] = new makeLogo("Cirque Dreams Jungle Fantasy", "CirqueDreams");
	logoList[i++] = new makeLogo("Soul Funk Festival", "soulFunkFestival");
	logoList[i++] = new makeLogo("Cincinnati Entertainment Awards", "cincinnatiEntertainmentAwards");
	logoList[i++] = new makeLogo("Lyle Lovett & John Hiatt", "lyleLovettJohnHiatt");
	logoList[i++] = new makeLogo("Blake Shelton", "blakeShelton");
	logoList[i++] = new makeLogo("Cincinnati Blues Festival", "cincinnatiBluesFest");
	logoList[i++] = new makeLogo("Frankie Valli & The Four Seasons", "frankieValli");

	logoList[i++] = new makeLogo("Lily Tomlin", "LilyTomlin");
	logoList[i++] = new makeLogo("100 Years of Broadway", "100YearsofBroadway");
	logoList[i++] = new makeLogo("DrumLine Live!", "Drumline");
	logoList[i++] = new makeLogo("Afro-Cuban All-Stars", "AfroCuban");
	logoList[i++] = new makeLogo("Hal Holbrook in Mark Twain Tonight", "MarkTwain");

	logoList[i++] = new makeLogo("Cincinnati Christian: Les Miserables", "christianSchools");
	logoList[i++] = new makeLogo("St Ursula Academy: Once Upon A Mattress", "stUrsula");
	logoList[i++] = new makeLogo("Stop AIDS Lily Tomlin Fundraiser", "stopAids");
	logoList[i++] = new makeLogo("Dora The Explorer Live! Search for the City of Lost Toys", "doraTheExplorer");

	logoList[i++] = new makeLogo("Overture Awards", "overture");
	logoList[i++] = new makeLogo("MamLuft&Co Dance: Black Box", "mamluft");
	logoList[i++] = new makeLogo("Celtic Woman: Isle of Hope", "celticWoman");
	logoList[i++] = new makeLogo("SCPA: Moon Over Buffalo", "moonOverBuffalo");
	logoList[i++] = new makeLogo("Aronoff Center Backstage Tour", "aronoffBackstage");
	logoList[i++] = new makeLogo("Keyshia Cole: A Different Me Tour", "keyshiaCole");
	logoList[i++] = new makeLogo("Jerry Seinfeld", "jerrySeinfeld");

	logoList[i++] = new makeLogo("Ballet Tech Ohio presents Spring Loose!", "balletTechOhio");
	logoList[i++] = new makeLogo("2009 Acclaim Awards", "acclaimAwards");
	logoList[i++] = new makeLogo("Exhale Dance Tribe: Humanimals", "exhaleDanceTribe");
	logoList[i++] = new makeLogo("Cincinnati Taps, Inc Presents 15th Annual Tap Dance Day Celebration", "cinTaps");
	logoList[i++] = new makeLogo("An Evening With Diane Keaton", "dianeKeaton");

	logoList[i++] = new makeLogo("Cappies Gala 2009", "cappies_gala");
	logoList[i++] = new makeLogo("Rickey Smiley: A Night of Love and Laughter", "rickey_smiley");
	logoList[i++] = new makeLogo("SCPA: Almost, Maine", "almost_maine");
	logoList[i++] = new makeLogo("Secrets . . . What's Swept Under The Rug!", "sweptUnderRug");
	logoList[i++] = new makeLogo("Cincinnati Opera: Opera Idol Cincinnati", "operaIdol");

	logoList[i++] = new makeLogo("World Piano Competition: Young Artist Finals", "WorldPianoComp");
	logoList[i++] = new makeLogo("World Piano Competition: Young Artist Awards Ceremony", "WorldPianoComp");
	logoList[i++] = new makeLogo("World Piano Competition: Artist Finals", "WorldPianoComp");
	logoList[i++] = new makeLogo("Concert on the Green", "ConcertOnTheGreen");
	logoList[i++] = new makeLogo("Oklahoma", "oklahoma");
	logoList[i++] = new makeLogo("Little Shop of Horrors", "littleShopOfHorrors");
	logoList[i++] = new makeLogo("Once Upon a Mattress", "onceUponAMattress");
	
	logoList[i++] = new makeLogo("2009 Eyes Open Festival", "2009EyesOpenFestival");
	logoList[i++] = new makeLogo("Al Jarreau - Tomorrow Today", "AlJarreau");
	logoList[i++] = new makeLogo("Al Jarreau", "AlJarreau");
	logoList[i++] = new makeLogo("WVXU 91.7 & WMUB 88.5: The Capitol Steps", "TheCapitolSteps");

	logoList[i++] = new makeLogo("The Color Purple", "TheColorPurple");
	logoList[i++] = new makeLogo("White Christmas", "WhiteChristmas");
	logoList[i++] = new makeLogo("Chicago", "Chicago");
	logoList[i++] = new makeLogo("Spring Awakening", "SpringAwakening");
	logoList[i++] = new makeLogo("The 39 Steps", "39Steps");
	logoList[i++] = new makeLogo("Mary Poppins", "MaryPoppins");
	logoList[i++] = new makeLogo("Legally Blonde", "LegallyBlonde");
	logoList[i++] = new makeLogo("Dreamgirls", "Dreamgirls");
	logoList[i++] = new makeLogo("RAIN: A Tribute To The Beatles", "rain");
	logoList[i++] = new makeLogo("B. B. King", "bbKing");

	logoList[i++] = new makeLogo("101.1 The Wiz & MOJO 100.3 : Tracy Morgan's Bulletproof Comedy Show", "TracyMorgan");
	logoList[i++] = new makeLogo("Broadway Across America: Oprah Winfrey Presents The Color Purple", "TheColorPurple09");
	logoList[i++] = new makeLogo("Cincinnati Playwrights Initiative: New Voices Series", "CPI");
	logoList[i++] = new makeLogo("Broadway Across America: Irving Berlin&#39;s White Christmas", "WhiteChristmas09");
	logoList[i++] = new makeLogo("A Night of Love & Laughter starring John Witherspoon with Special Guest Ginuwine", "JohnWitherspoon");

	logoList[i++] = new makeLogo("Shaolin Warriors","ShaolinWarriors");
	logoList[i++] = new makeLogo("Kenny G: The Holiday Show","KennyGHolidayShow");
	logoList[i++] = new makeLogo("The Irish Tenors Christmas Show","IrishTenors");
	logoList[i++] = new makeLogo("The Opera Show","TheOperaShow");
	logoList[i++] = new makeLogo("Peking Acrobats","PekingAcrobats");
	logoList[i++] = new makeLogo("Porgy & Bess","PorgyAndBess");
	logoList[i++] = new makeLogo("The Albee Theatre Mighty Wurlitzer Dedication and Concert", "Wurlitzer");
	logoList[i++] = new makeLogo("Magic of the Night", "MagicOfTheNight");
	logoList[i++] = new makeLogo("David Brenner: Leave &#39;Em Laughing","DavidBrenner");
	logoList[i++] = new makeLogo("R. Kelly","RKelly");
	logoList[i++] = new makeLogo("Curtains", "Curtains");
	logoList[i++] = new makeLogo("Guys And Dolls", "GuysAndDolls");

	logoList[i++] = new makeLogo("Sexy Soul Tour with Eric Benet and special guests Mint Condition & Ledisi", "EricBenet");
	logoList[i++] = new makeLogo("SCPA: Fame - The Musical", "Fame");
	logoList[i++] = new makeLogo("Tyler Perry&#39;s Laugh to Keep From Crying", "LaughToKeepFromCrying");
	logoList[i++] = new makeLogo("Gospel Superfest", "GospelSuperfest");
	logoList[i++] = new makeLogo("Queen City Paranormal Convention", "QueenCityParaCon");

	logoList[i++] = new makeLogo("Contemporary Dance Theater: Rhythm In Shoes", "RhythmInShoes");
	logoList[i++] = new makeLogo("Contemporary Dance Theater: ZviDance", "ZviDance");
	logoList[i++] = new makeLogo("Contemporary Dance Theater: olive Dance Theatre", "OliveDance");
	logoList[i++] = new makeLogo("Contemporary Dance Theater: Bridgman/Packer Dance", "BridgmanPacker");
	logoList[i++] = new makeLogo("Contemporary Dance Theater: Choreographers Without Companies", "Choreographers2010");
	logoList[i++] = new makeLogo("2010 Smart Talk Connected Conversations", "SmartTalk2010");
	logoList[i++] = new makeLogo("SMART TALK: Valerie Bertinelli - Taking Back Your Life", "ValerieBertinelli");
	logoList[i++] = new makeLogo("SMART TALK: Ann Compton - Stories Behind The Headlines", "AnnCompton");
	logoList[i++] = new makeLogo("SMART TALK: Patricia Heaton - Motherhood And Hollywood", "PatriciaHeaton");
	logoList[i++] = new makeLogo("SMART TALK: Lee Woodruff - Life Changes In An Instant", "LeeWoodruff");
	logoList[i++] = new makeLogo("SMART TALK: Helen Hunt - Mad About Her", "HelenHunt");
	logoList[i++] = new makeLogo("Shen Yun", "ShenYun");
	logoList[i++] = new makeLogo("Celtic Woman: Songs From The Heart", "celticWoman2010");
	
	logoList[i++] = new makeLogo("Loveland", "Loveland");
	logoList[i++] = new makeLogo("70s Soul Jam", "70sSoulJam");
	logoList[i++] = new makeLogo("2009 Smart Talk Connected Conversations 3-Lecture Sampler", "SmartTalk2010");	 
	
	logoList[i++] = new makeLogo("Cincinnati Christian: Disney&#39;s Beauty & The Beast", "beautynbeast");
	logoList[i++] = new makeLogo("Weight For A Man", "weight");
	logoList[i++] = new makeLogo("SCPA: MacBeth", "Macbeth");
	logoList[i++] = new makeLogo("St Ursula: Annie Get Your Gun", "AnnieGetYourGun");
	logoList[i++] = new makeLogo("No Reservations: An Evening with Anthony Bourdain", "AnthonyBourdain");
	logoList[i++] = new makeLogo("Overture Awards Finals Competition", "OvertureAwards");
	logoList[i++] = new makeLogo("Yo Gabba Gabba! Live", "YoGabbaGabbaLive");
	logoList[i++] = new makeLogo("Yo Gabba Gabba VIP Package", "YoGabbaGabbaLive");
	logoList[i++] = new makeLogo("The 5 Jokers Tour", "5JokersTour");
	logoList[i++] = new makeLogo("Celebrity Chefs Tour: Paula Deen & Family - 3:00pm Show", "PaulaDeen");
	logoList[i++] = new makeLogo("Celebrity Chefs Tour: Paula Deen & Family - Dinner", "PaulaDeen");
	logoList[i++] = new makeLogo("Celebrity Chefs Tour: Paula Deen & Family - 7:30PM Show", "PaulaDeen");
	logoList[i++] = new makeLogo("de la Dance: Giselle", "DeLaDanceCo");

	logoList[i++] = new makeLogo("2nd Annual Love & Laughter starring Fantasia & D.L. Hughley", "FantasiaHughley");
	logoList[i++] = new makeLogo("WVXU 91.7 & WMUB 88.5: Whad&#39;Ya Know featuring Michael Feldman", "WhadYaKnow");
	logoList[i++] = new makeLogo("Nickelodeon Presents Storytime Live!", "StorytimeLive");
	logoList[i++] = new makeLogo("Broadway Loves The 80s", "CAA"); 	
	logoList[i++] = new makeLogo("Straight No Chaser", "straight_no_chaser");
	 
	logoList[i++] = new makeLogo("CAA Member Night - Burn The Floor", "burn_the_floor");
	logoList[i++] = new makeLogo("CAA Member Night - Fiddler On The Roof", "fiddler_on_the_roof");
	logoList[i++] = new makeLogo("CAA Member Night - Rock Of Ages", "rock_of_ages");
	logoList[i++] = new makeLogo("CAA Member Night - Shrek The Musical", "shrek");
	logoList[i++] = new makeLogo("CAA Member Night - South Pacific", "south_pacific");
	logoList[i++] = new makeLogo("CAA Member Night - Stomp", "stomp");
	logoList[i++] = new makeLogo("CAA Member Night - Young Frankenstein", "young_frankenstein"); 
	logoList[i++] = new makeLogo("HealthCare Connection: Boney James", "boney_james"); 
	logoList[i++] = new makeLogo("Tina Sloan in <i>Changing Shoes</i>", "changing_shoes"); 
	
	logoList[i++] = new makeLogo("Cincinnati Music Theatre: The Drowsy Chaperone", "cin_music2");
	logoList[i++] = new makeLogo("Cincinnati Music Theatre: The Music Man", "cin_music2");		
	
	logoList[i++] = new makeLogo("The Christmas Music of Mannheim Steamroller", "mannheim_steamroller");	  	
	
  
	logoList[i++] = new makeLogo("Trey Songz with Monica", "Trey_Songz");
  
	logoList[i++] = new makeLogo("Legacy -- In Step With Kathak", "CAA-Thumbnail---Legacy");
	logoList[i++] = new makeLogo("Broadway Across America: South Pacific", "CAA-Thumbnail---South-Pacific");
	logoList[i++] = new makeLogo("John Mellencamp: No Better Than This Tour", "CAA-Thumbnail---Mellencamp2");
  
  	/*
	logoList[i++] = new makeLogo("aim cincinnati: Twinight", "CAA-Thumbnail---2010-2011-aim-cincinnati");
	logoList[i++] = new makeLogo("aim cincinnati: Lord of the Jungle", "CAA-Thumbnail---2010-2011-aim-cincinnati");
	logoList[i++] = new makeLogo("aim cincinnati: Gala of International Dance Stars", "CAA-Thumbnail---2010-2011-aim-cincinnati");
  	*/
	
	logoList[i++] = new makeLogo("Broadway Across America: Burn The Floor", "CAA-Thumbnail---Burn-The-Floor");
	logoList[i++] = new makeLogo("Selections from The Collection of Patricia Corbett: A Vintage Designer Fashion Show", "CAA-Thumbnail---Corbett-Fashion-Show");
	logoList[i++] = new makeLogo("Broadway Across America: Fiddler On The Roof", "CAA-Thumbnail---Fiddler-On-The-Roof");
	logoList[i++] = new makeLogo("Broadway Across America: Rock Of Ages", "CAA-Thumbnail---Rock-Of-Ages");
	logoList[i++] = new makeLogo("Broadway Across America: Shrek The Musical", "CAA-Thumbnail---Shrek");
	logoList[i++] = new makeLogo("Broadway Across America: Young Frankenstein", "CAA-Thumbnail---Young-Frankenstein");
  
	logoList[i++] = new makeLogo("Joe Satriani: The Wormhole Tour 2010", "CAA-Thumbnail---Joe-Satriani");
	logoList[i++] = new makeLogo("Me & Mrs Jones", "CAA-Thumbnail---Me-&-Mrs-Jones");	  
	logoList[i++] = new makeLogo("JD Lawrence Presents Me & Mrs Jones", "CAA-Thumbnail---Me-&-Mrs-Jones");


	logoList[i++] = new makeLogo("CAA Presents: Michael W Smith - It&#39;s A Wonderful Christmas Tour", "CAA-Thumbnail---Michael-W-Smith");
	logoList[i++] = new makeLogo("CAA Presents: John Prine", "CAA-Thumbnail---John-Prine");
	logoList[i++] = new makeLogo("Bill Maher", "CAA-Thumbnail---Bill-Maher");
	logoList[i++] = new makeLogo("CAA Presents: Vienna Boys Choir", "CAA-Thumbnail---Vienna-Boys-Choir"); 	
	logoList[i++] = new makeLogo("CAA Presents: Drumline Live!", "CAA-Thumbnail---Drumline");
	logoList[i++] = new makeLogo("CAA Presents: Rain - A Tribute To The Beatles", "CAA-Thumbnail---Rain");
	logoList[i++] = new makeLogo("CAA Presents: Get The Led Out - The American Led Zeppelin", "CAA-Thumbnail---Get-The-Led-Out");
	logoList[i++] = new makeLogo("CAA Presents: An Evening of Romance with Jim Brickman", "CAA-Thumbnail---Jim-Brickman");
	logoList[i++] = new makeLogo("CAA Presents: The Pink Floyd Experience", "CAA-Thumbnail---Pink-Floyd-Experience");
	logoList[i++] = new makeLogo("CAA Presents: The Preservation Hall Jazz Band & The Del McCoury Band", "CAA-Thumbnail---Del-McCoury");
	logoList[i++] = new makeLogo("CAA Presents: My Mother&#39;s Italian, My Father&#39;s Jewish, And I&#39;m In Therapy", "CAA-Thumbnail---My-Mothers-Italian");
	
	logoList[i++] = new makeLogo("Cincinnati Persian Music Ensemble", "CAA-Thumbnail---Persian-Music-Ensemble");
	logoList[i++] = new makeLogo("2011 Miss Black Ohio USA Scholarship Pageant", "CAA-Thumbnail---Miss-Black-Ohio-USA");
	logoList[i++] = new makeLogo("Michael Flatley&#39;s Lord Of The Dance", "CAA-Thumbnail---Lord-Of-The-Dance"); 
	
	logoList[i++] = new makeLogo("Happy Holidays with the Mighty Wurlitzer featuring Jelani Eddington", "happy_holidays");
  
	logoList[i++] = new makeLogo("All Hallows Eve Paranormal Investigation", "CAA-Thumbnail---Music-Hall-Tours");
	logoList[i++] = new makeLogo("Guided Ghost Tour of Cincinnati Music Hall", "CAA-Thumbnail---Music-Hall-Tours"); 	
	logoList[i++] = new makeLogo("Paranormal Investigation of Cincinnati Music Hall", "CAA-Thumbnail---Music-Hall-Tours");
	
	logoList[i++] = new makeLogo("Contemporary Dance Theater: Area Choreographers Festival", "CAA-Thumbnail---CDT-Area-Choreographers-Festival"); 
	logoList[i++] = new makeLogo("Contemporary Dance Theater: Bill Young/Colleen Thomas & Dancers", "CAA-Thumbnail---CDT-Bill-Young-Colleen-Thomas"); 
	logoList[i++] = new makeLogo("Contemporary Dance Theater: David Dorfman Dance", "CAA-Thumbnail---CDT-David-Dorfman-Dance"); 
	logoList[i++] = new makeLogo("Contemporary Dance Theater: Im'ij-re / Amy Seiwert", "CAA-Thumbnail---CDT-Imijre"); 
	logoList[i++] = new makeLogo("Contemporary Dance Theater: The Seldoms", "CAA-Thumbnail---CDT-The-Seldoms");
	
	logoList[i++] = new makeLogo("de la Dance Co: The Nutcracker Jazzed Up!", "de_la_dance");
	logoList[i++] = new makeLogo("MamLuft&Co: Homecoming", "mamluft"); 
	
	logoList[i++] = new makeLogo("James Taylor", "CAA-Thumbnail---James-Taylor");
  
	logoList[i++] = new makeLogo("Smart Talk - Soledad O'Brien: On Assignment With", "CAA Thumbnail - Soledad OBrien");
	logoList[i++] = new makeLogo("Smart Talk - Jane Goodall: A Delicate Balance", "CAA Thumbnail - Jane Goodall");
	logoList[i++] = new makeLogo("Smart Talk - Alison Levine: Oxygen Not Included", "CAA Thumbnail - Alison Levine");
	logoList[i++] = new makeLogo("Smart Talk - Gladys Knight: An Evening with The Empress of Soul", "CAA Thumbnail - Gladys Knight");
	logoList[i++] = new makeLogo("AEG Live Presents KEM: The Intimacy Tour", "CAA Thumbnail - Kem");
	logoList[i++] = new makeLogo("Cincinnati Christian: The Pirates of Penzance", "CAA Thumbnail - CCS");
	logoList[i++] = new makeLogo("St Ursula Ensemble: Bye Bye Birdie", "CAA Thumbnail - Bye Bye Birdie");
	logoList[i++] = new makeLogo("Reds Un-Cut: Live At The Aronoff", "CAA Thumbnail - Reds Uncut");
	logoList[i++] = new makeLogo("C.S. Lewis&#39; The Screwtape Letters", "CAA Thumbnail - Screwtape Letters");
	logoList[i++] = new makeLogo("SCPA Presents Stage Door", "CAA Thumbnail - SCPA");
	logoList[i++] = new makeLogo("An Evening with Cake", "CAA Thumbnail - Cake"); 
  
	logoList[i++] = new makeLogo("An Evening with The Monkees - The 45th Anniversary Tour", "CAA Thumbnail - The Monkees");
  
	logoList[i++] = new makeLogo("I Hear Music In The Air: Bishop Walker", "HezPress160x60");
  
	logoList[i++] = new makeLogo("MusicNOW Presents The National with Sharon van Etten", "CAA Thumbnail - The National");
	logoList[i++] = new makeLogo("BET Music Matters Tour", "CAA Thumbnail - Music Matters Tour");
	logoList[i++] = new makeLogo("Neil Young with special guest Bert Jansch", "CAA Thumbnail - Neil Young");
	logoList[i++] = new makeLogo("A Night with Captain Sig & the Hillstrand Brothers from <i>Deadliest Catch</i>", "CAA Thumbnail - Captain Sig");
  
	logoList[i++] = new makeLogo("Smart Talk - Della Reese: Angels Along The Way", "CAA Thumbnail - Della Reese");
	logoList[i++] = new makeLogo("Cincinnati Music Theatre: The Drowsy Chaperone", "CAA Thumbnail - Drowsy Chaperone");
	logoList[i++] = new makeLogo("Exhibitionism", "CAA Thumbnail - Exhibitionism"); 
	logoList[i++] = new makeLogo("Menopause The Musical", "MenopauseTheMusical");
	logoList[i++] = new makeLogo("17th Annual National Tap Dance Day", "TapDanceDay");
	logoList[i++] = new makeLogo("2011 Cappies Gala", "CappiesGala2011");

	logoList[i++] = new makeLogo("Disney&#39;s Beauty & The Beast", "BeautyandTheBeast");
	logoList[i++] = new makeLogo("Billy Elliot", "BillyElliot");
	logoList[i++] = new makeLogo("West Side Story", "WestSideStory");
	logoList[i++] = new makeLogo("The Addams Family", "AddamsFamily");
	logoList[i++] = new makeLogo("Mamma Mia!", "MammaMia");
	logoList[i++] = new makeLogo("Les Miserables", "LesMiserables");
	logoList[i++] = new makeLogo("Wicked VIP Event", "Wicked");

	logoList[i++] = new makeLogo("Broken Ground", "broken_ground");
	logoList[i++] = new makeLogo("Zahi Hawass &#39;Egypt: Yesterday and Today&#39;", "CMC");
	logoList[i++] = new makeLogo("Coffey Talk with Chip Coffey", "ChipCoffey");
	logoList[i++] = new makeLogo("Ericka Nicole Malone&#39;s In Love With Tyrone", "InLoveWithTyrone");
	logoList[i++] = new makeLogo("Yo Gabba Gabba! Live!: It&#39;s Time To Dance", "YoGabbaGabba2011");
	logoList[i++] = new makeLogo("Yo Gabba Gabba Party Package (3:00pm Performance)", "YoGabbaGabba2011");
	logoList[i++] = new makeLogo("Yo Gabba Gabba Party Package (6:00pm Performance)", "YoGabbaGabba2011");
	logoList[i++] = new makeLogo("BREAKING CHARACTER", "BreakingCharacter");
	logoList[i++] = new makeLogo("CABARET", "Cabaret");
	logoList[i++] = new makeLogo("Tommy Emmanuel", "TommyEmmanuel");
	logoList[i++] = new makeLogo("Opera Idol Cincinnati", "OperaIdolCinn");
	logoList[i++] = new makeLogo("Chris Tucker", "ChrisTucker");
	logoList[i++] = new makeLogo("Gala of International Dance Stars Global Fare", "GlobalFare");
	logoList[i++] = new makeLogo("Coochie Chronicles", "CoochieChronicles");
	logoList[i++] = new makeLogo("HealthCare Connection: Gerald Albright & Kirk Whalum", "GeraldAlbrightKirkWhalum");
	logoList[i++] = new makeLogo("Broadway In Cincinnati: Wicked", "Wicked");
	logoList[i++] = new makeLogo("Broadway In Cincinnati: Disney&#39;s Beauty And The Beast", "BeautyandTheBeast");

	logoList[i++] = new makeLogo("The Big Bang II", "Big_Bang_2");
	logoList[i++] = new makeLogo("Tyler Perry&#39;s The Haves and The Have Nots", "Haves_Have_Nots");
	logoList[i++] = new makeLogo("Happy Holidays with the Mighty Wurlitzer", "Wurlitzer");
	logoList[i++] = new makeLogo("CAA Presents: 101 Years Of Broadway", "101_Years_Of_Broadway");
	logoList[i++] = new makeLogo("CAA Presents: The Kings Of Salsa", "Kings_Of_Salsa");
	logoList[i++] = new makeLogo("CAA Presents: Arlo Guthrie & The Boys' Night Out Band", "Arlo_Guthrie");

	logoList[i++] = new makeLogo("Hillary Hahn, violin, and Valentina Lisitsa, piano", "Contella");
	logoList[i++] = new makeLogo("Joshua Bell, violin, and Sam Haywood, piano", "Contella");
	logoList[i++] = new makeLogo("Queen City Connections featuring Liang Wang", "Contella");
	logoList[i++] = new makeLogo("Russian Romantic Piano", "Contella");
	logoList[i++] = new makeLogo("St. Lawrence String Thu 10/18 8:00pm", "Contella");
	logoList[i++] = new makeLogo("Double Deal: String + Jazz Quartets featuring Ted Nash", "Contella");
	logoList[i++] = new makeLogo("Double Deal: String + Jazz Quartets featuring Ted Nash, saxophone", "Contella");
	logoList[i++] = new makeLogo("Cincinnati Chamber Orchestra with Philipe Quint", "Contella");
	logoList[i++] = new makeLogo("SCREAM Tour: The Next Generation - VIP Meet & Greet Package", "ScreamTour");
	logoList[i++] = new makeLogo("SCREAM Tour: The Next Generation - Enhanced Ticket Package", "ScreamTour");
	logoList[i++] = new makeLogo("SCPA: Dracula", "SCPA");

	logoList[i++] = new makeLogo("Adam Savage & Jamie Hyneman: Behind The Myths Tour", "Mythbusters");
	logoList[i++] = new makeLogo("de la Dance: The Nutcracker Jazzed Up!", "Nutcracker_Jazzed_Up_2011");
	logoList[i++] = new makeLogo("SCPA: The Nutcracker", "SCPA");
	logoList[i++] = new makeLogo("SCPA: Aesop's Fables", "SCPA");
	logoList[i++] = new makeLogo("SCPA: James and The Giant Peach", "SCPA");
	logoList[i++] = new makeLogo("SCPA: The Madwoman of Chaillot", "SCPA");
	logoList[i++] = new makeLogo("CAA Presents: Imagination Movers Live", "Imagination_Movers");
	logoList[i++] = new makeLogo("Imagination Movers - Mini Movers Package (4:00pm Performance)", "Imagination_Movers");
	logoList[i++] = new makeLogo("Imagination Movers - Mini Movers Package (7:00pm Performance)", "Imagination_Movers");

	logoList[i++] = new makeLogo("CAA Presents: Masters Of Illusion Live", "Masters_Of_Illusion");
	logoList[i++] = new makeLogo("CAA Presents: Classic Albums Live - Dark Side of the Moon", "Classic_Albums_Live");
	logoList[i++] = new makeLogo("CAA Presents: The Temptations & The Four Tops", "Temptations_Tops");
	logoList[i++] = new makeLogo("CAA Presents: RAIN - A Tribute To The Beatles", "Rain_2012");
	logoList[i++] = new makeLogo("CAA Presents: An Evening With Yanni", "Yanni");

	logoList[i++] = new makeLogo("Billy Elliot The Musical", "Billy_Elliot");
	logoList[i++] = new makeLogo("West Side Story", "West_Side_Story");
	logoList[i++] = new makeLogo("The Addams Family", "Addams_Family");
	logoList[i++] = new makeLogo("Mamma Mia!", "Mamma_Mia");
	logoList[i++] = new makeLogo("Les Miserables", "Les_Miserables");
	logoList[i++] = new makeLogo("Celtic Woman: Believe", "celticWoman");
	logoList[i++] = new makeLogo("The Laugh & Love Tour Featuring Erykah Badu & Eddie Griffin", "LaughAndLoveTour");
	logoList[i++] = new makeLogo("Hooray For Hollywood with the Mighty Wurlitzer", "HoorayForHollywood");
	logoList[i++] = new makeLogo("MamLuft&Co. Dance: Pieces", "MamLuftPieces");
	logoList[i++] = new makeLogo("Cincinnati Christian Schools: The Little Match Girl ", "CCS");
	logoList[i++] = new makeLogo("Trey Songz: Anticipation 2our", "Trey_Songz");
	logoList[i++] = new makeLogo("Daughtry: Break The Spell Tour 2012", "Daughtry");
	logoList[i++] = new makeLogo("Shatner&#39;s World: We Just Live In It", "ShatnersWorld");
	logoList[i++] = new makeLogo("St Ursula Ensemble Theatre: Anything Goes", "stUrsula");

	logoList[i++] = new makeLogo("Camp Jersey! - Session 1", "CampJersey");
	logoList[i++] = new makeLogo("Camp Jersey! - Session 2", "CampJersey");
	logoList[i++] = new makeLogo("Camp Jersey Kids!", "CampJersey");
	logoList[i++] = new makeLogo("Camp Jersey Intensive!", "CampJersey");
	logoList[i++] = new makeLogo("Jersey Junior Company!", "CampJersey");
	logoList[i++] = new makeLogo("Camp Jersey Guests", "CampJersey");

/* ==================================================
	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";
	extraList[i++] = "Disney&#39;s ";
	extraList[i++] = "CAA Member Night - ";
	extraList[i++] = "Cincinnati Opera Presents ";
	extraList[i++] = "Cincinnati Music Theatre Presents ";
	extraList[i++] = "Cincinnati Music Theatre: ";
	extraList[i++] = "Cincinnati Arts Association: ";
	extraList[i++] = "CAA Member Night - ";
	extraList[i++] = "Cincinnati Arts Association: ";
	extraList[i++] = "Broadway Across America: ";
	extraList[i++] = "Jersey Productions: ";
	extraList[i++] = "Broadway In Cincinnati: ";
	
	// 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"), "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"), "soccer");
	logoGroupList[i++] = new makeLogo(new Array("CLD"), "calendar");
	*/
	
	logoGroupList[i++] = new makeLogo(new Array("BIF"), "barbieFairytopia");
	logoGroupList[i++] = new makeLogo(new Array("KSL"), "kingSolomon");
	logoGroupList[i++] = new makeLogo(new Array("MSP"), "spamalot");
	logoGroupList[i++] = new makeLogo(new Array("KTT","GOM","HAM","VAT","LLS","PR:PR:43544342415245"), "knowTheater");
	logoGroupList[i++] = new makeLogo(new Array("CC0","SCI","SCII","BSI","BSII"), "cinChamberOrch");
	logoGroupList[i++] = new makeLogo(new Array("PIL"), "pillowman");
	logoGroupList[i++] = new makeLogo(new Array("CFT"), "fringeFest");
	logoGroupList[i++] = new makeLogo(new Array("BALLET"), "cinballet");
	logoGroupList[i++] = new makeLogo(new Array("MMF"), "MidpointMusicFestival");
	logoGroupList[i++] = new makeLogo(new Array("CCF"), "celticFestival");
//	logoGroupList[i++] = new makeLogo(new Array("BTC"), "balletTechCinn");
	logoGroupList[i++] = new makeLogo(["BTC"], "CAA-Thumbnail---2010-2011-aim-cincinnati");
	logoGroupList[i++] = new makeLogo(new Array("CDTS"), "CDT");
	logoGroupList[i++] = new makeLogo(new Array("LLD"), "CDTLarLubovitch");
	logoGroupList[i++] = new makeLogo(new Array("PDC"), "CDTPhiladanco");
	logoGroupList[i++] = new makeLogo(new Array("JCC"), "CDTJaneComfort");
	logoGroupList[i++] = new makeLogo(new Array("MF"), "CDTMaureenFleming");
	logoGroupList[i++] = new makeLogo(new Array("GMD"), "CDTGeselMason");
//	logoGroupList[i++] = new makeLogo(new Array("CC"), "CDTChoreographers");
	logoGroupList[i++] = new makeLogo(new Array("DPA"), "divinePerformingArts");
	logoGroupList[i++] = new makeLogo(new Array("WPC"), "WorldPianoComp");
	logoGroupList[i++] = new makeLogo(new Array("JERPRO"), "JerseyProduction");
	logoGroupList[i++] = new makeLogo(new Array("MBDC"), "MidWestBestDanceCrew");
	logoGroupList[i++] = new makeLogo(new Array("MAP"), "MaryPoppinsBroadway");
	logoGroupList[i++] = new makeLogo(new Array("MITA"), "IHearMusicInTheAir");	
	logoGroupList[i++] = new makeLogo(new Array("PI"), "CPI");	
	logoGroupList[i++] = new makeLogo(new Array("LSCH"), "love_n_street"); 
	logoGroupList[i++] = new makeLogo(new Array("WOZ"), "woz");
	logoGroupList[i++] = new makeLogo(["EDT"], "exhaleDanceTribe2011");
	logoGroupList[i++] = new makeLogo(["RCT"], "RoyalComedyTour");
	logoGroupList[i++] = new makeLogo(["WICK"], "Wicked");
	logoGroupList[i++] = new makeLogo(["BB"], "BeautyandTheBeast");
	logoGroupList[i++] = new makeLogo(["CM","HAI","TIT"], "cmt");
	logoGroupList[i++] = new makeLogo(["CFP", "Constella Festival Package"], "Constella");
	logoGroupList[i++] = new makeLogo(["Contemporary Dance Theater Three-Show Subscription"], "ContemporaryDanceTheatre");
	logoGroupList[i++] = new makeLogo(["CCO"], "CCO");
	logoGroupList[i++] = new makeLogo(["ST", "SCREAMVIP", "SCREAMETP", "SCREAM", "SCREAMNXG", "SCREAMTOUR"], "ScreamTour");
	logoGroupList[i++] = new makeLogo(["SM"], "SmartTalk2012");
	logoGroupList[i++] = new makeLogo(["CJ"], "CampJersey");

/* ==================================================
	MAIN LOGO FUNCTIONS
================================================== */
	function printLogo(name, group) {
		if(name=="" && group=="") return '';
		var logo = "";
		var divider = "";
		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| aft.?)?\)?)?(( |,|-|\(|\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| aft.?)?\)?)?(( |,|-|\(|\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;
				divider = logoList[i].divider;
				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
		if(logo=="") logo = defaultLogo;
		
		// 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+'" class="logo" />';
			} else {
				for(var k=0; k<logo.length; k++) {
					if(k>0 && divider!="") {
						imgSrc += '<span class="logoDivider">'+divider+'</span>';
					} else {
						imgSrc += ' ';
					}
					imgSrc += '<img src="'+imageWWWPath+'/logos/'+logo[k]+'.gif" border="0" width="60" height="60" alt="'+extraName+'" class="logo" />';
				}
			}
			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 (for mini cart)
	function printSmallLogo(name, group) {
		var imgSrc = printLogo(name, group);
		if(imgSrc!="") {
			imgSrc = imgSrc.replace(/width="60" height="60"/ig, 'width="25" height="25" align="absmiddle"');
			
			//remove full size code
			imgSrc = imgSrc.replace(/((<a href[^>]+>){1}|(<br>(<([^>]+)>)+ view large(<([^>]+)>)+ click to close(<([^>]+)>)+))/ig, "");
		}
		return(imgSrc);
	}
