/* --------------------------------------------------
	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("Ringling Bros. and Barnum & Bailey Circus", "blank");	
	logoList[i++] = new makeLogo("Elton John", "eltonjohn");
	logoList[i++] = new makeLogo("Velvet Revolver", "velvet");
	logoList[i++] = new makeLogo("Maroon 5", "Maroon5");
	logoList[i++] = new makeLogo("The Wiggles", "TheWiggles");
	logoList[i++] = new makeLogo("Taste of Chaos Tour", "TasteofChaosTour");	
	logoList[i++] = new makeLogo("EVERETT EVENTS CENTER", "everettEvent");	
	logoList[i++] = new makeLogo("Champions On Ice 2005", "champIce");
	logoList[i++] = new makeLogo("Pacific Rim Sports Summit Basketball Preliminary Rounds", "pacSports");
	logoList[i++] = new makeLogo("2005 WHL Playoffs GAME D", "silvertips");
	logoList[i++] = new makeLogo("2005 WHL Playoffs GAME E", "silvertips");
	logoList[i++] = new makeLogo("Hawks vs. Lincoln, NE", "hawks");
	logoList[i++] = new makeLogo("Hawks vs. Daytona Beach, FL", "hawks");
	logoList[i++] = new makeLogo("Hawks vs. Miami, FL", "hawks");
	logoList[i++] = new makeLogo("Hawks vs. Billings, MT", "hawks");
	logoList[i++] = new makeLogo("Lipizzaner Stallions", "lipizzaner");
	logoList[i++] = new makeLogo("Monster Truck Nationals & Thrill Show", "monster_truck");
	logoList[i++] = new makeLogo("Champions On Ice 2006", "champIce");
	logoList[i++] = new makeLogo("OASIS", "oasis");
	logoList[i++] = new makeLogo("Oasis", "oasis");
	logoList[i++] = new makeLogo("AMERICAN IDOL LIVE!", "idol");
	logoList[i++] = new makeLogo("Audioslave", "audioslave");
	logoList[i++] = new makeLogo("HARLEM GLOBETROTTERS FRI FEB24 2006 7:00PM", "harlemGlobetrotters");
	logoList[i++] = new makeLogo("HARLEM GLOBETROTTERS THURS FEB23 2006 7:00PM", "harlemGlobetrotters");
	logoList[i++] = new makeLogo("Celtic Tiger starring Michael Flatley", "celticTiger");
	//logoList[i++] = new makeLogo("Disney On Ice/Finding Nemo", "disneyOnIce");
	logoList[i++] = new makeLogo("Bill Gaither Homecoming Tour", "gaither");
	logoList[i++] = new makeLogo("Def Leppard & Bryan Adams", "defLeppard_bryanAdams");
	logoList[i++] = new makeLogo("Kanye West", "kanyeWest");
	logoList[i++] = new makeLogo("Lynyrd Skynyrd", "lynyrdSkynyrd");
	logoList[i++] = new makeLogo("Steven Curtis Chapman & Mercy Me", "stevenCurtis");
	logoList[i++] = new makeLogo("30th Annual Motorcycle Ice Racing", "motoIce");
	logoList[i++] = new makeLogo("Mariachi Festival", "mariachiFest");
	logoList[i++] = new makeLogo("Rat City Roller Derby", "roller");
	logoList[i++] = new makeLogo("Dora&#39;s Pirate Adventure", "dora");
	logoList[i++] = new makeLogo("Martina McBride", "martina");
	logoList[i++] = new makeLogo("World Sumo League", "Sumo");
	logoList[i++] = new makeLogo("Juan Gabriel", "juan");
	//logoList[i++] = new makeLogo("2006 Ringling Bros Circus", "circus2");
	logoList[i++] = new makeLogo("Black Eyed Peas", "blackEyedPeas");
	logoList[i++] = new makeLogo("Supernova", "supernova");
	logoList[i++] = new makeLogo("Pacific NW Skin & Steel Expo", "skinSteel");
	logoList[i++] = new makeLogo("Barenaked Ladies", "bnl");
	logoList[i++] = new makeLogo("Panic! At The Disco", "panic");
	logoList[i++] = new makeLogo("James Blunt", "jamesblunt");
	//logoList[i++] = new makeLogo("Disney On Ice / The Incredibles", "incredibles");
	logoList[i++] = new makeLogo("Guns N Roses", "gunsnroses");
	logoList[i++] = new makeLogo("Rock Star Supernova", "supernova");
	logoList[i++] = new makeLogo("2006-2007 World Cup Ice Speedway Championships", "motocrossice");
	logoList[i++] = new makeLogo("Monster Trucks Sat 10/28/06", "monster");
	logoList[i++] = new makeLogo("Monster Trucks Sun 10/29/06", "monster");
	logoList[i++] = new makeLogo("Doodlebops Live!", "doodlebops");
	//logoList[i++] = new makeLogo("Disney On Ice/The Incredibles", "incredibles");
	logoList[i++] = new makeLogo("INTERNATIONAL FIGHT LEAGUE", "ifl");
	logoList[i++] = new makeLogo("Clifford the Big Red Dog", "clifford");
	logoList[i++] = new makeLogo("Blue Man Group", "blueman");
	// logoList[i++] = new makeLogo("Newsboys", "newsboys"); /* Commented by Mike Glass - 4/13/2010*/
	logoList[i++] = new makeLogo("HARLEM GLOBETROTTERS 02/23", "globbies");
	logoList[i++] = new makeLogo("HARLEM GLOBETROTTERS 02/25", "globbies");
	logoList[i++] = new makeLogo("Rockstar Taste of Chaos", "tasteChaos");
	logoList[i++] = new makeLogo("Taste of Chaos", "tasteChaos");
	logoList[i++] = new makeLogo("Globetrotters Family Pack", "globbies");
	logoList[i++] = new makeLogo("Patrulla 81", "patrula");
	logoList[i++] = new makeLogo("Champions On Ice 2007", "champion");
	logoList[i++] = new makeLogo("Lipizzaner Stallions - May 19 @ 7:30pm", "lipizzaner");
	logoList[i++] = new makeLogo("Lipizzaner Stallions - May 20 @ 2:00pm", "lipizzaner");
	logoList[i++] = new makeLogo("Elmo Makes Music", "elmo");
	logoList[i++] = new makeLogo("Girls Night Out 2007", "gno");
	logoList[i++] = new makeLogo("Martina McBride 2007", "martina");
	logoList[i++] = new makeLogo("Hilary Duff Mon Aug 6, 2007 8:00pm", "hilary");
	logoList[i++] = new makeLogo("Tony N&#39; Tina&#39;s Wedding", "tony_tina");
	//logoList[i++] = new makeLogo("Ringling Bros Sept 6, 2007 7:30pm", "circus");
	//logoList[i++] = new makeLogo("Ringling Bros Sept 7, 2007 7:30pm", "circus");
	//logoList[i++] = new makeLogo("Ringling Bros Sept 8, 2007 11:30am", "circus");
	//logoList[i++] = new makeLogo("Ringling Bros Sept 8, 2007 3:30pm", "circus");
	//logoList[i++] = new makeLogo("Ringling Bros Sept 8, 2007 7:30pm", "circus");
	//logoList[i++] = new makeLogo("Ringling Bros Sept 9, 2007 1:00pm", "circus");
	//logoList[i++] = new makeLogo("Ringling Bros Sept 9, 2007 5:00pm", "circus");
	logoList[i++] = new makeLogo("AVP HOT WINTER NIGHTS TOUR", "avp");
	logoList[i++] = new makeLogo("Playhouse Disney Live - 12:00pm", "playhouse");
	logoList[i++] = new makeLogo("Playhouse Disney Live - 3:00pm", "playhouse");
	//logoList[i++] = new makeLogo("Ringling Circus Family Pack", "circus");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/7/07 7:30pm", "princess");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/8/07 7:30pm", "princess");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/9/07 7:30pm", "princess");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/10/07 11:30am", "princess");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/10/07 3:30pm", "princess");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/10/07 7:30pm", "princess");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/11/07 1:00pm", "princess");
	//logoList[i++] = new makeLogo("Disney on Ice: Princess Wishes 11/11/07 5:00pm", "princess");
	logoList[i++] = new makeLogo("Tool", "tool");
	logoList[i++] = new makeLogo("Switchfoot & Relient K", "switchfoot");
	logoList[i++] = new makeLogo("Harlem Globetrotters Sun. Feb. 22nd, 2009", "globies");
	logoList[i++] = new makeLogo("Harlem Globetrotters Fri. Feb. 20th, 2009", "globies");
	logoList[i++] = new makeLogo("RAGGS 1:00PM", "raggs");
	logoList[i++] = new makeLogo("RAGGS 5:00PM", "raggs");
	logoList[i++] = new makeLogo("32nd WORLD CHAMPIONSHIP ICE RACING", "motoice");
	logoList[i++] = new makeLogo("Ice Racing Presented by Skagit Valley Casino", "motoice");
	logoList[i++] = new makeLogo("Deck the Hall Ball", "end");
	logoList[i++] = new makeLogo("Mannheim Steamroller", "mannheim");
	logoList[i++] = new makeLogo("AVRIL LAVIGNE", "avril");
	logoList[i++] = new makeLogo("Avril Lavigne Port Gardner Parking", "avril");
	logoList[i++] = new makeLogo("Mother's Day Bash", "mothers_day_bash");
	logoList[i++] = new makeLogo("Sesame Street Live: &quot;When Elmo Grows Up&quot; 5/16/08 10:30AM", "sesame_street_live");
	logoList[i++] = new makeLogo("Sesame Street Live: &quot;When Elmo Grows Up&quot; 5/16/08 7:00PM", "sesame_street_live");
	logoList[i++] = new makeLogo("Sesame Street Live: &quot;When Elmo Grows Up&quot; 5/17/08 10:30AM", "sesame_street_live");
	logoList[i++] = new makeLogo("Sesame Street Live: &quot;When Elmo Grows Up&quot; 5/17/08 2:00PM", "sesame_street_live");
	logoList[i++] = new makeLogo("Sesame Street Live: &quot;When Elmo Grows Up&quot; 5/18/08 2:00PM", "sesame_street_live");
	logoList[i++] = new makeLogo("Sesame Street Live 5/16/08 Port Gardner Parking", "sesame_street_live");
	logoList[i++] = new makeLogo("Sesame Street Live 5/17/08 Port Gardner Parking", "sesame_street_live");
	logoList[i++] = new makeLogo("Sesame Street Live 5/18/08 Port Gardner Parking", "sesame_street_live");
	logoList[i++] = new makeLogo("Celtic Thunder", "celtic_thunder");
	logoList[i++] = new makeLogo("Celtic Thunder Port Gardner Parking", "celtic_thunder");
	logoList[i++] = new makeLogo("GARY VALENCIANO", "gary");
	logoList[i++] = new makeLogo("SARAH BRIGHTMAN", "brightman");
	logoList[i++] = new makeLogo("Sarah Brightman Port Gardner Parking", "brightman");
	logoList[i++] = new makeLogo("Monster Truck Jam 8/15/08", "monster_truck");
	logoList[i++] = new makeLogo("Monster Truck Jam 8/16/08", "monster_truck");
	logoList[i++] = new makeLogo("Monster Jam 8/16/08 Family Pack", "monster_truck");
	logoList[i++] = new makeLogo("Monster Jam 8/15/08 Family Pack", "monster_truck");
	logoList[i++] = new makeLogo("Skate America 10/24/08 Port Gardner Parking", "skate");
	logoList[i++] = new makeLogo("Skate America 10/25/08 Port Gardner Parking", "skate");
	logoList[i++] = new makeLogo("Skate America 10/26/08 Port Gardner Parking", "skate");
	logoList[i++] = new makeLogo("GUSTO! 2008", "gusto");
	//logoList[i++] = new makeLogo("Ringling Bros. Thurs. Sept. 4, 2008 at 7:30pm", "ringling");
	//logoList[i++] = new makeLogo("Ringling Bros. Sat. Sept. 6, 2008 at 3:30pm", "2");
	//logoList[i++] = new makeLogo("Ringling Bros. Sat. Sept. 6, 2008 at 11:30am", "3");
	//logoList[i++] = new makeLogo("Ringling Bros. 9/4/08 Port Gardner Parking", "3");
	//logoList[i++] = new makeLogo("Ringling Bros. Sat. Sept. 6, 2008 at 7:30pm", "4");
	//logoList[i++] = new makeLogo("Ringling Bros. 9/5/08 Port Gardner Parking", "4");
	//logoList[i++] = new makeLogo("Ringling Bros. Sun. Sept. 7, 2008 at 1:00pm", "5");
	//logoList[i++] = new makeLogo("Ringling Bros. 9/6/08 Port Gardner Parking", "5");
	//logoList[i++] = new makeLogo("Ringling Bros. Sun. Sept. 7, 2008 at 5:00pm", "6");
	//logoList[i++] = new makeLogo("Ringling Bros. Fri. Sept. 5, 2008 at 7:30pm", "7");
	//logoList[i++] = new makeLogo("Ringling Bros. 9/7/08 Port Gardner Parking", "7");
	logoList[i++] = new makeLogo("Rock Band Live Port Gardner Parking", "rock_bank");
	logoList[i++] = new makeLogo("Rock Band Live with Panic & Dashboard", "rock_bank");
	logoList[i++] = new makeLogo("America's Best Dance Crew", "ABDC");
	logoList[i++] = new makeLogo("America&#39;s Best Dance Crew Port Gardner Parking", "ABDC");
	logoList[i++] = new makeLogo("Neil Young", "neil");
	logoList[i++] = new makeLogo("Disney Live! Mickey&#39;s Magic Show", "mickey");
	logoList[i++] = new makeLogo("High School Musical: The Ice Tour - Fri Nov 7th at 7:30pm", "hsm");
	logoList[i++] = new makeLogo("High School Musical: The Ice Tour Sat Nov 8th at 11:30am", "hsm");
	logoList[i++] = new makeLogo("High School Musical: The Ice Tour Sat Nov 8th at 3:30pm", "hsm");
	logoList[i++] = new makeLogo("High School Musical: The Ice Tour Sat Nov 8th at 7:30pm", "hsm");
	logoList[i++] = new makeLogo("High School Musical: The Ice Tour Sun Nov 9th at 1:00pm", "hsm");
	logoList[i++] = new makeLogo("High School Musical: The Ice Tour Sun Nov 9th at 5:00pm", "hsm");
	logoList[i++] = new makeLogo("High School Musical Pep Rally - Fri Nov 7th at 5:00pm", "hsm");
	logoList[i++] = new makeLogo("America&#39;s Best Dance Crew LIVE", "abdc");
	logoList[i++] = new makeLogo("FMX WORLD TOUR", "fmx");
	logoList[i++] = new makeLogo("Thomas the Train - Monday February 23rd, 2009 at 7pm", "thomas");
	logoList[i++] = new makeLogo("Thomas the Train - Tuesday February 24th, 2009 at 11am", "thomas");
	logoList[i++] = new makeLogo("Thomas the Train - Tuesday February 24th, 2009 at 7pm", "thomas");
	logoList[i++] = new makeLogo("ULTIMATE MANILOW: THE HITS AND THEN SOME", "manilow");
	logoList[i++] = new makeLogo("DISTURBED", "disturbed");
	logoList[i++] = new makeLogo("Lipizzaner Stallions Sat. May 30, 2009 at 2pm", "lipizzaner");
	logoList[i++] = new makeLogo("Lipizzaner Stallions Sat. May 30, 2009 at 7:30pm", "lipizzaner");
	logoList[i++] = new makeLogo("Lipizzaner Stallions Sun. May 31, 2009 at 2pm", "lipizzaner");
	logoList[i++] = new makeLogo("IL DIVO", "ildivo");
	logoList[i++] = new makeLogo("World's Toughest Rodeo Presents Toughest Cowboy", "cowboy");
	logoList[i++] = new makeLogo("IL DIVO Port Gardner Parking", "parking");
	logoList[i++] = new makeLogo("Monster Madness Sat. June 20, 2009", "monster_jam");
	logoList[i++] = new makeLogo("The Wiggles Go Bananas!", "wiggles");
	logoList[i++] = new makeLogo("Hispanic Concert April 25th, 2009 8:30pm", "fidel");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Sun. 9/20/09 7pm", "tony_tina");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Sun. 9/20/09 2pm", "tony_tina");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Sat. 9/19/09 7pm", "tony_tina");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Sat. 9/19/09 2pm", "tony_tina");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Fri. 9/18/09 7pm", "tony_tina");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Thurs. 9/17/09 7pm", "tony_tina");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Wed. 9/16/09 7pm", "tony_tina");
	logoList[i++] = new makeLogo("Tony n&#39; Tina&#39;s Wedding Tues. 9/15/09 7pm", "tony_tina");
	logoList[i++] = new makeLogo("Comedy All Star Lineup", "comedy");
	logoList[i++] = new makeLogo("EvCC Gusto! Fri. October 2nd, 2009", "gusto");
	logoList[i++] = new makeLogo("King of the Cage", "kotc");
	logoList[i++] = new makeLogo("So You Think You Can Dance", "SYTYCD");
	logoList[i++] = new makeLogo("Ringling Bros.", "ringling");
	//logoList[i++] = new makeLogo("Disney on Ice Thurs. 11/5/09 at 7:30pm", "wof");
	//logoList[i++] = new makeLogo("Disney on Ice Fri. 11/6/09 at 7:30pm", "wof");
	//logoList[i++] = new makeLogo("Disney on Ice Sat. 11/7/09 at 11:30am", "wof");
	//logoList[i++] = new makeLogo("Disney on Ice Sat. 11/7/09 at 3:30pm", "wof");
	//logoList[i++] = new makeLogo("Disney on Ice Sat. 11/7/09 at 7:30pm", "wof");
	//logoList[i++] = new makeLogo("Disney on Ice Sun. 11/8/09 at 1:00pm", "wof");
	//logoList[i++] = new makeLogo("Disney on Ice Sun. 11/8/09 at 5:00pm", "wof");
	//logoList[i++] = new makeLogo("Disney on Ice", "disneyonice");
	logoList[i++] = new makeLogo("Disney Live Rockin' Road Show", "rockin_road");
	logoList[i++] = new makeLogo("International Ice Racing", "motoice");
	logoList[i++] = new makeLogo("CATS", "cats");
	logoList[i++] = new makeLogo("ZZ Top", "zz_top");
	logoList[i++] = new makeLogo("Harlem Globetrotters Sat. 2/20/10 at 7:00pm", "globies");
	logoList[i++] = new makeLogo("HARLEM GLOBETROTTERS MAGIC PASS PRE SHOW EVENT", "globies");
	logoList[i++] = new makeLogo("Harlem Globetrotters", "globies");
	logoList[i++] = new makeLogo("PBR Fri. 5/21/10 at 7:30pm", "pbr");
	logoList[i++] = new makeLogo("PBR Sat. 5/22/10 at 7:30pm", "pbr");
	logoList[i++] = new makeLogo("PBR", "pbr");
	logoList[i++] = new makeLogo("Carrie Underwood", "cunderwood");
	logoList[i++] = new makeLogo("Cirque Sublime", "cirque");
	logoList[i++] = new makeLogo("State Cheer Championships & WIAA Salute to Spirit", "wiaa");
	logoList[i++] = new makeLogo("Zac Brown Band Sun. 3/21/10 at 7:00pm", "zbb");
	logoList[i++] = new makeLogo("Zac Brown Band", "zbb");
	//logoList[i++] = new makeLogo("Sesame Street Live Sun. 5/9/10 at 2:00pm", "elmo2");
	//logoList[i++] = new makeLogo("Sesame Street Live Fri. 5/7/10 at 10:30am", "elmo2");
	//logoList[i++] = new makeLogo("Sesame Street Live Fri. 5/7/10 at 7:00pm", "elmo2");
	//logoList[i++] = new makeLogo("Sesame Street Live Sat. 5/8/10 at 2:00pm", "elmo2");
	//logoList[i++] = new makeLogo("Sesame Street Live Sat. 5/8/10 at 10:30am", "elmo2");
	//logoList[i++] = new makeLogo("Sesame Street Live", "elmo2");
	logoList[i++] = new makeLogo("GEICO AMA EnduroCross Sat. 9/11/10", "cross");
	logoList[i++] = new makeLogo("GEICO AMA EnduroCross", "cross");
	logoList[i++] = new makeLogo("Justin Bieber Tues. 7/13/10 at 7:00pm", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber My World VIP Package", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber Love Me VIP Package", "justin_b");
	logoList[i++] = new makeLogo("Justin Bieber Fan Club Presale", "justin_b");
	logoList[i++] = new makeLogo("Ringling Bros.", "ringling");
	logoList[i++] = new makeLogo("Awesome 80's Prom", "80prom");
	logoList[i++] = new makeLogo("Strikeforce Challengers", "strikeforce");
	logoList[i++] = new makeLogo("ICE RACING", "iceracing");
	//logoList[i++] = new makeLogo("Disney on Ice.", "doi");
	logoList[i++] = new makeLogo("EvCC Gusto!", "gusto");
	logoList[i++] = new makeLogo("Tilted Thunder Rail Birds", "tiltedthunder");
	logoList[i++] = new makeLogo("Tilted Thunder Rail Birds Bout 2", "tiltedthunder");
	logoList[i++] = new makeLogo("RMN Predator World Championships", "rmn");
	logoList[i++] = new makeLogo("Harlem Globetrotters 2/19/11 2:00pm VIP Package", "globies");
	logoList[i++] = new makeLogo("Harlem Globetrotters 2/19/11 7:00pm VIP Package", "globies");
	logoList[i++] = new makeLogo("Cirque du Soleil - Quidam", "cirque-quidam");
	logoList[i++] = new makeLogo("SUGARLAND", "sugarland");
	logoList[i++] = new makeLogo("Sugarland", "sugarland");
	logoList[i++] = new makeLogo("Sugarland Dinner Package", "sugarland");
	logoList[i++] = new makeLogo("EnduroCross", "enduroCross");
	logoList[i++] = new makeLogo("Sesame Street Live", "ssl2011");
	logoList[i++] = new makeLogo("Charlie Sheen Live", "sheen");
	logoList[i++] = new makeLogo("Charlie Sheen VIP Package", "sheen");
	logoList[i++] = new makeLogo("Charlie Sheen Meet & Greet Package", "sheen");
	logoList[i++] = new makeLogo("THE AVETT BROTHERS", "avett");
	logoList[i++] = new makeLogo("American Idol Live", "idol");
	logoList[i++] = new makeLogo("Alan Jackson", "aj");
	logoList[i++] = new makeLogo("KISS", "kiss");
	logoList[i++] = new makeLogo("American Idol Live Superstar Package", "idol");
	logoList[i++] = new makeLogo("Lipizzaner Family Pack", "lipizzaner");
	logoList[i++] = new makeLogo("USC 14 Year Anniversary Festival", "usc");
	logoList[i++] = new makeLogo("Disney&#39;s Phineas and Ferb Live!", "disneypf");
	logoList[i++] = new makeLogo("KISS Special Package", "kiss");
	logoList[i++] = new makeLogo("Disney&#39;s Phineas and Ferb Live!", "disneypf");
	logoList[i++] = new makeLogo("Ringling Bros. and Barnum & Bailey Circus", "ringling");
	logoList[i++] = new makeLogo("Intense 2011", "intense");
	logoList[i++] = new makeLogo("DURAN DURAN", "duran");
	logoList[i++] = new makeLogo("DISNEY ON ICE", "doi2");
	logoList[i++] = new makeLogo("DISNEY ON ICE ", "doi2");
	logoList[i++] = new makeLogo("Wizard of Oz", "oz");
	logoList[i++] = new makeLogo("Michael W. Smith Christmas 2011", "msmith");
	logoList[i++] = new makeLogo("Motopsycho Mania", "motopsycho");
	logoList[i++] = new makeLogo("State Cheer Championships & WIAA Salute to Spirit", "cheer");	
	
/* --------------------------------------------------
	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("SA"), "skate");
	logoGroupList[i++] = new makeLogo(new Array("ST"), "silvertips");
	logoGroupList[i++] = new makeLogo(new Array("AF"), "raptors");
	logoGroupList[i++] = new makeLogo(new Array("ZZ"), "zz_top");
	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("SL"), "stealth");

/* --------------------------------------------------
	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 logo based on string match
		if(logo=="") {
			if(name != "") {
				if(name.match("THOMAS & FRIENDS LIVE! ON STAGE"))
					logo = "thomas";
				if(name.match("EVERETT RAPTORS"))
					logo = "raptors";
				
			}
		}
		
		// find logo match (start from end for most recently added logos)
		if(logo=="") {
			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+'.gif" border="0" width="75" height="75" alt="'+name+'">';
			} else {
				for(var k=0; k<logo.length; k++) {
					imgSrc += '<img src="'+imageWWWPath+'/logos/'+logo[k]+'.gif" 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);
	}
	

