/* --------------------------------------------------
	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("PHILA. KIXX HOME OPENER VS. DETROIT IGNITION", "ignition");
	logoList[i++] = new makeLogo("PHILADELPHIA KIXX VS. CALIFORNIA COUGARS", "cougars");
	logoList[i++] = new makeLogo("PHILADELPHIA KIXX VS. CHICAGO STORM", "stormsheild");
	logoList[i++] = new makeLogo("PHILADELPHIA KIXX VS. MILWAUKEE WAVE", "wave");
	logoList[i++] = new makeLogo("PHILADELPHIA KIXX VS. BALTIMORE BLAST", "baltimoreblast");
	logoList[i++] = new makeLogo("PHILADELPHIA KIXX VS. DETROIT IGNITION", "ignition");
	logoList[i++] = new makeLogo("RASCAL FLATTS", "rascal");
	logoList[i++] = new makeLogo("RED HOT CHILI PEPPERS", "chillipeppers");
	logoList[i++] = new makeLogo("POWERHOUSE 24", "powerhouse");
	logoList[i++] = new makeLogo("CHEETAH GIRLS", "cheetahgirls");
	logoList[i++] = new makeLogo("CIRQUE DU SOLEIL: DELIRIUM", "cirque");
	logoList[i++] = new makeLogo("BOB DYLAN", "bobdylan");
	logoList[i++] = new makeLogo("PANIC! AT THE DISCO", "panic");
	logoList[i++] = new makeLogo("TRANS-SIBERIAN ORCHESTRA", "transsiberian");
	logoList[i++] = new makeLogo("GRETCHEN WILSON&#39;S COUNTRY ON ICE", "countryonice");
	logoList[i++] = new makeLogo("THE WHO", "who");
	logoList[i++] = new makeLogo("ROCK STAR SUPERNOVA", "supernova");
	logoList[i++] = new makeLogo("DISNEY ON ICE PRINCESS WISHES", "princess");
	logoList[i++] = new makeLogo("WWE SURVIVOR SERIES", "wwesurvivor");
	logoList[i++] = new makeLogo("BARENAKED LADIES", "barenakedladies");
	logoList[i++] = new makeLogo("CHRISTINA AGUILERA", "christina");
	logoList[i++] = new makeLogo("DISNEY ON ICE PRINCESS WISHES .", "princess");
	logoList[i++] = new makeLogo("HIP HOP&#39;S FLEX PACK", "sixers");
	logoList[i++] = new makeLogo("MONSTER JAM", "monsterjam");
	logoList[i++] = new makeLogo("JUSTIN TIMBERLAKE", "justintimberlake");
	logoList[i++] = new makeLogo("DANCING WITH THE STARS", "dancingstars");
	logoList[i++] = new makeLogo("PHILLY FIGHT SERIES", "phillyfight");
	logoList[i++] = new makeLogo("JOSH GROBAN", "joshgroban");
	logoList[i++] = new makeLogo("IFMA FREESTYLE MOTOCROSS", "motocross");
	logoList[i++] = new makeLogo("SMUCKER&#39;S STARS ON ICE", "starsonice");
	logoList[i++] = new makeLogo("SCREAM TOUR 5", "screamtour");
	logoList[i++] = new makeLogo("rod stewart", "rodstewart");
	logoList[i++] = new makeLogo("92.5 XTU XFEST", "xfest");
	logoList[i++] = new makeLogo("NICKELBACK", "nickelback");
	logoList[i++] = new makeLogo("NICKELBACK VIP EVENT", "nickelback");
	logoList[i++] = new makeLogo("BINOCULAR RENTALS", "3Elogo");
	logoList[i++] = new makeLogo("WING BOWL 15", "wingbowl");
	logoList[i++] = new makeLogo("Phantoms vs Providence Bruins", "bruins");
	logoList[i++] = new makeLogo("Phantoms vs Albany River Rats", "river_rats");
	logoList[i++] = new makeLogo("PHANTOMS VS TORONTO MARLIES", "marlies");
	logoList[i++] = new makeLogo("PHANTOMS VS BINGHAMTON SENATORS", "senators");
	logoList[i++] = new makeLogo("PHANTOMS VS LOWELL DEVILS", "devils");
	logoList[i++] = new makeLogo("PHANTOMS VS GRAND RAPIDS GRIFFINS", "griffins");
	logoList[i++] = new makeLogo("Phantoms vs Bridgeport Sound Tigers", "sound_tigers");
	logoList[i++] = new makeLogo("PHANTOMS VS NORFOLK ADMIRALS", "norfolk_admirals");
	logoList[i++] = new makeLogo("PHANTOMS VS WILKES-BARRE/SCRANTON", "penguins");
	logoList[i++] = new makeLogo("Phantoms vs Wilkes-Barre Scranton Penguins", "penguins");
	logoList[i++] = new makeLogo("Phantoms vs Wilkes-Barre Scranton", "penguins");
	logoList[i++] = new makeLogo("Phantoms vs Wilkes-Barre/Scranton Penguins", "penguins");
	logoList[i++] = new makeLogo("Phantoms vs Wilkes Barre Scranton Penguins", "penguins");
	logoList[i++] = new makeLogo("Phantoms vs Wilkes Barre Scranton", "penguins");
	logoList[i++] = new makeLogo("PHANTOMS VS HAMILTON BULLDOGS", "bulldog");
	logoList[i++] = new makeLogo("PHANTOMS VS PORTLAND PIRATES", "pirates");
	logoList[i++] = new makeLogo("PHANTOMS VS HARTFORD WOLF PACK", "wolfpack");
	logoList[i++] = new makeLogo("Phantoms vs Hartford Wolfpack", "wolfpack");
	logoList[i++] = new makeLogo("PHANTOMS VS ROCHESTER AMERICANS", "americans");
	logoList[i++] = new makeLogo("PHANTOMS VS SPRINGFIELD FALCONS", "falcons");
	logoList[i++] = new makeLogo("Phantoms vs Lake Erie Monsters", "monsters");
	logoList[i++] = new makeLogo("Phantoms vs Manchester Monarchs", "monarchs");
	logoList[i++] = new makeLogo("Phantoms vs Worcester Sharks", "sharks");
	logoList[i++] = new makeLogo("Phantoms vs Syracuse Crunch", "crunch");	
	logoList[i++] = new makeLogo("BOB SEGER & THE SILVER BULLET BAND", "segar");
	logoList[i++] = new makeLogo("BLUE  MAN  GROUP", "blueman");
	logoList[i++] = new makeLogo("VS. NEW YORK RANGERS-MARCH 31, 2007  7:00PM", "newyorkr");
	logoList[i++] = new makeLogo("CHAMPIONS ON ICE", "champice07");
	logoList[i++] = new makeLogo("SESAME STREET LIVE", "supergrover");
	logoList[i++] = new makeLogo("JUSTIN TIMBERLAKE DELL VIP", "justintimberlake");
	logoList[i++] = new makeLogo("KEITH URBAN", "keithurban");
	logoList[i++] = new makeLogo("RINGLING BROTHERS AND BARNUM & BAILEY CIRCUS", "circus");
	logoList[i++] = new makeLogo("ROGER WATERS", "rogerwaters");
	logoList[i++] = new makeLogo("HEAVEN AND HELL", "heaven");
	logoList[i++] = new makeLogo("GENESIS HOT SEATS", "genesis");
	logoList[i++] = new makeLogo("GENESIS FAN CLUB BUNDLE", "genesis");
	logoList[i++] = new makeLogo("GENESIS", "genesis");
	logoList[i++] = new makeLogo("GENESIS FAN CLUB BUNDLE - 2ND SHOW", "genesis");
	logoList[i++] = new makeLogo("GENESIS HOT SEATS -  1ST SHOW", "genesis");
	logoList[i++] = new makeLogo("GENESIS HOT SEATS - 2ND SHOW", "genesis");
	logoList[i++] = new makeLogo("TIM McGRAW & FAITH HILL", "tim_faith");
	logoList[i++] = new makeLogo("TIM McGRAW  & FAITH HILL", "tim_faith");
	logoList[i++] = new makeLogo("DISNEY&#39;S HIGH SCHOOL MUSICAL: THE ICE TOUR", "hsmice");
	logoList[i++] = new makeLogo("WWE SMACKDOWN / ECW", "wwe");
	logoList[i++] = new makeLogo("BEYONCE", "beyonce");
	logoList[i++] = new makeLogo("I AM...FIERCE - ON STAGE PACKAGE", "beyonce");
	logoList[i++] = new makeLogo("I AM...BOLD - HOT SEAT PACKAGE", "beyonce");
	logoList[i++] = new makeLogo("THE WIGGLES LIVE!", "wiggles");
	logoList[i++] = new makeLogo("BALL4REAL", "b4r");
	logoList[i++] = new makeLogo("PLAYHOUSE DISNEY LIVE!", "playhouse");
	logoList[i++] = new makeLogo("KELLY CLARKSON", "kelly");
	logoList[i++] = new makeLogo("WALKING WITH DINOSAURS", "dino");
	logoList[i++] = new makeLogo("GENESIS FAN CLUB BUNDLE - 3RD SHOW", "genesis");
	logoList[i++] = new makeLogo("THE CURE * * *POSTPONED* * *", "cure");
	logoList[i++] = new makeLogo("SCREAMFEST 07", "screamfest");
	logoList[i++] = new makeLogo("MAROON 5", "maroon");
	logoList[i++] = new makeLogo("BARRY MANILOW", "manilow");
	logoList[i++] = new makeLogo("2007 HEROES THRILL SHOW", "hero");
	logoList[i++] = new makeLogo("THE POLICE", "thepolice");
	logoList[i++] = new makeLogo("POLICE FAN CLUB BUNDLE", "thepolice");
	logoList[i++] = new makeLogo("THE POLICE - HOT SEATS", "thepolice");
	logoList[i++] = new makeLogo("SO YOU THINK YOU CAN DANCE", "SYTYCD");
	logoList[i++] = new makeLogo("VAN HALEN", "van_halen");
	logoList[i++] = new makeLogo("DISNEY ON ICE: FINDING NEMO", "nemo");
	logoList[i++] = new makeLogo("POWERHOUSE 25", "powerhouse");
	logoList[i++] = new makeLogo("BRUCE SPRINGSTEEN & THE E STREET BAND", "bruce");
	logoList[i++] = new makeLogo("FALL OUT BOY", "falloutboy");
	logoList[i++] = new makeLogo("WWE RAW", "raw");
	logoList[i++] = new makeLogo("LIVE AND LOCAL PHILLY BOXING", "box");
	logoList[i++] = new makeLogo("HANNAH MONTANA", "hannah");
	logoList[i++] = new makeLogo("THE CURE", "cure");
	logoList[i++] = new makeLogo("PIZZA HUT BIG EAST / SEC INVITATIONAL", "villanova");
	logoList[i++] = new makeLogo("Comcast Triple Play Package", "phantoms");
	logoList[i++] = new makeLogo("KIDZ BOP WORLD TOUR", "kidz");
	logoList[i++] = new makeLogo("HARLEM GLOBETROTTERS FAMILY FOUR PACK", "globies");
	logoList[i++] = new makeLogo("THE HARLEM GLOBETROTTERS", "globies");
	logoList[i++] = new makeLogo("HARLEM GLOBETROTTERS ALL YOU CAN EAT", "globies");
	logoList[i++] = new makeLogo("R KELLY", "r_kelly");
	logoList[i++] = new makeLogo("CHRIS BROWN & BOW WOW", "chrisbrown");
	logoList[i++] = new makeLogo("OZZY OSBOURNE & ROB ZOMBIE", "ozzy");
	logoList[i++] = new makeLogo("OZZY OSBOURNE PLATINUM VIP PACKAGE", "ozzy");
	logoList[i++] = new makeLogo("OZZY OSBOURNE GOLD VIP PACKAGE", "ozzy");
	logoList[i++] = new makeLogo("OZZY OSBOURNE SILVER VIP PACKAGE", "ozzy");
	logoList[i++] = new makeLogo("BLUE MAN GROUP", "bmg");
	logoList[i++] = new makeLogo("TEMPLE vs DUKE", "temple");
	logoList[i++] = new makeLogo("CELINE DION SILVER VIP PACKAGE (Sep 5, 2008)", "celine");
	logoList[i++] = new makeLogo("CELINE DION", "celine");
	logoList[i++] = new makeLogo("CELINE DION GOLD VIP PACKAGE (Sep 5, 2008)", "celine");
	logoList[i++] = new makeLogo("FOO FIGHTERS", "foo");
	logoList[i++] = new makeLogo("Flyers 2007-08 Calendar", "calander");
	logoList[i++] = new makeLogo("Flyers 2007-08 Media Guide", "media_guide");
	logoList[i++] = new makeLogo("Flyers 2007-08 Media Guide and Calendar", "combo");
	logoList[i++] = new makeLogo("WORLD'S TOUGHEST RODEO: TOUGHEST COWBOY", "cowboy");
	logoList[i++] = new makeLogo("WWE MONDAY NIGHT RAW!", "raw");
	logoList[i++] = new makeLogo("SPICE GIRLS", "spice");
	logoList[i++] = new makeLogo("WING BOWL 16", "wingbowl16");
	logoList[i++] = new makeLogo("All You Can Eat 5 Game Pick&#39;em Plan", "ayce");
	logoList[i++] = new makeLogo("GEORGE STRAIT", "george_strait");
	logoList[i++] = new makeLogo("SESAME STREET LIVE: ELMO MAKES MUSIC", "elmo");
	logoList[i++] = new makeLogo("RINGLING BROTHERS AND BARNUM & BAILEY", "circus");
	logoList[i++] = new makeLogo("RUSH", "rush");
	logoList[i++] = new makeLogo("TOM PETTY & THE HEARTBREAKERS", "tom_petty");
	logoList[i++] = new makeLogo("NBC GYMNASTICS PACKAGE", "olympic");
	logoList[i++] = new makeLogo("ADULT GYMNASTICS PACKAGE", "olympic");
	logoList[i++] = new makeLogo("GYMNASTICS 2008 OLYMPIC TRIALS", "olympic");
	logoList[i++] = new makeLogo("Flyers 2007-08 Pictorial Yearbook", "yearbook_1");
	logoList[i++] = new makeLogo("Both the 2006-07 and 2007-08 Pictorial Yearbooks", "yearbook_1");
	logoList[i++] = new makeLogo("Both the 2006-07 and 2007-08 Pictorial Yearbooks", "yearbook_2");
	logoList[i++] = new makeLogo("Flyers 2006-07 Pictorial Yearbook", "yearbook_2");
	logoList[i++] = new makeLogo("MARY J. BLIGE & JAY-Z", "jay_z");
	logoList[i++] = new makeLogo("Hextall Hall of Fame Package", "hextall");
	logoList[i++] = new makeLogo("Hextall Hall of Fame Package", "hextall");
	logoList[i++] = new makeLogo("CELTIC THUNDER", "celtic_thunder");
	logoList[i++] = new makeLogo("2008 Rebels For a Cause - Flyers Wives Fight For Lives Carnival Program Book", "rebel");
	logoList[i++] = new makeLogo("GEORGE MICHAEL FAN CLUB BUNDLE", "george_michael");
	logoList[i++] = new makeLogo("GEORGE MICHAEL GOLD HOT SEATS PACKAGE", "george_michael");
	logoList[i++] = new makeLogo("GEORGE MICHAEL", "george_michael");
	logoList[i++] = new makeLogo("GEORGE MICHAEL SILVER HOT SEATS PACKAGE", "george_michael");
	logoList[i++] = new makeLogo("Flyers 2008 Playoff Media Guide", "fl_pub");
	logoList[i++] = new makeLogo("2008 U.S. GYMNASTICS OLYMPIC TEAM TRIALS FINALS COMBO", "olympic");
	logoList[i++] = new makeLogo("2008 U.S. GYMNASTICS OLYMPIC TEAM TRIALS WOMEN&#39;S COMBO", "olympic");
	logoList[i++] = new makeLogo("2008 U.S. GYMNASTICS OLYMPIC TEAM TRIALS MEN&#39;S COMBO", "olympic");
	logoList[i++] = new makeLogo("NEIL DIAMOND", "neil_diamond");
	logoList[i++] = new makeLogo("EAGLES", "eagles");
	logoList[i++] = new makeLogo("EAGLES 4-PACK", "eagles");
	logoList[i++] = new makeLogo("AMERICAN IDOLS", "americanIdols");
	logoList[i++] = new makeLogo("COLDPLAY", "coldplay");
	logoList[i++] = new makeLogo("WIGGLES LIVE!", "wiggles");
	logoList[i++] = new makeLogo("MADONNA", "madonna");
	logoList[i++] = new makeLogo("MADONNA &quot;CANDY SHOP PACKAGE&quot;", "madonna");
	logoList[i++] = new makeLogo("NINE INCH NAILS", "nin");
	logoList[i++] = new makeLogo("NEW KIDS ON THE BLOCK", "nkotb");
	logoList[i++] = new makeLogo("NEW KIDS ON THE BLOCK 4-PACK", "nkotb");
	logoList[i++] = new makeLogo("Flyers 2007-08 FLYER Magazine 6 Pack", "mag");
	logoList[i++] = new makeLogo("WWE - SmackDown / ECW!", "wwe");
	logoList[i++] = new makeLogo("JANET JACKSON", "janet");
	logoList[i++] = new makeLogo("Orange CRUSH Playoff T-Shirt", "orange_crush");
	logoList[i++] = new makeLogo("Flex Pass- Lower Level Ends", "flex");
	logoList[i++] = new makeLogo("Flex Pass- Mezz Center", "flex");
	logoList[i++] = new makeLogo("Flex Pass- Mezz Corners", "flex");
	logoList[i++] = new makeLogo("LIPIZZANER STALLIONS", "lipp");
	logoList[i++] = new makeLogo("2008 WORLD TOUR OF GYMNASTICS SUPERSTARS", "gymnastic08");
	logoList[i++] = new makeLogo("ROCK BAND LIVE (PANIC / DASHBOARD)", "rockband");
	logoList[i++] = new makeLogo("HOW SWEET THE SOUND", "how_sweet");
	logoList[i++] = new makeLogo("Weekday 5-Game All You Can Eat Plan", "ayce");
	logoList[i++] = new makeLogo("Weekend 5-Game All You Can Eat Plan", "ayce");
	logoList[i++] = new makeLogo("THRILL SHOW 2008", "herothrillshow");
	logoList[i++] = new makeLogo("NEIL YOUNG", "neil_young");
	logoList[i++] = new makeLogo("2008-09 Full Season Tickets", "sixers2");
	logoList[i++] = new makeLogo("Top 10-Game Plan", "sixers2");
	logoList[i++] = new makeLogo("Weekend 10-Game Plan", "sixers2");
	logoList[i++] = new makeLogo("Weekday 10-Game Plan", "sixers2");
	logoList[i++] = new makeLogo("Rookie 10-Game Plan", "sixers2");
	logoList[i++] = new makeLogo("20 Game Half Plan Red", "sixers2");
	logoList[i++] = new makeLogo("20 Game Half Plan Blue", "sixers2");
	logoList[i++] = new makeLogo("Cheer Pack (3 Game Holiday Pack)", "sixers2");
	logoList[i++] = new makeLogo("Snow Pack (3 Game Holiday Pack)", "sixers2");
	logoList[i++] = new makeLogo("POWERHOUSE 2008", "powerhouse");
	logoList[i++] = new makeLogo("WOMEN OF FAITH", "womenoffaith");
	logoList[i++] = new makeLogo("Back 2 School Package A1", "back2school");
	logoList[i++] = new makeLogo("Back 2 School Package A2", "back2school");
	logoList[i++] = new makeLogo("Back 2 School Package B1", "back2school");
	logoList[i++] = new makeLogo("Back 2 School Package B2", "back2school");
	logoList[i++] = new makeLogo("TINA TURNER", "tina");
	logoList[i++] = new makeLogo("TINA TURNER - HOT SEATS", "tina");
	logoList[i++] = new makeLogo("METALLICA", "metalica");
	logoList[i++] = new makeLogo("DISNEY ON ICE: A DISNEYLAND ADVENTURE", "disneyland");
	logoList[i++] = new makeLogo("TRANS SIBERIAN ORCHESTRA", "tso");
	logoList[i++] = new makeLogo("JOEL OSTEEN - A NIGHT OF HOPE", "joel");
	logoList[i++] = new makeLogo("ALAN JACKSON", "alan");
	logoList[i++] = new makeLogo("FLASHBACK - THE CLASSIC ROCK EXPERIENCE", "flashback");
	logoList[i++] = new makeLogo("9/27/08 - Spectrum Game", "carolina");
	logoList[i++] = new makeLogo("10/07/08-Flyers vs. Phantoms", "spectrum");
	logoList[i++] = new makeLogo("AC/DC", "acdc");
	logoList[i++] = new makeLogo("THE HARLEM GLOBETROTTERS 2009 WORLD TOUR", "globies");
	logoList[i++] = new makeLogo("JEFF DUNHAM", "dunham");
	logoList[i++] = new makeLogo("(PREMIUM CLUBS) JEFF DUNHAM", "dunham");
	logoList[i++] = new makeLogo("WORLD'S TOUGHEST RODEO - TOUGHEST COWBOY", "rodeo");
	logoList[i++] = new makeLogo("Flyers 3rd Jersey Screening Voucher", "flyers");
	logoList[i++] = new makeLogo("Flyers 3rd Jersey Voucher", "flyers");
	logoList[i++] = new makeLogo("SAINT JOSEPH&#39;S vs RIDER", "st_joseph");
	logoList[i++] = new makeLogo("WWE - Monday Night RAW", "wwe_wach");
	logoList[i++] = new makeLogo("DISNEY ON ICE: WORLDS OF FANTASY", "fantasy");
	logoList[i++] = new makeLogo("Flyers 3rd Jersey", "flyers");
	logoList[i++] = new makeLogo("09-10 New GP Deposit ", "flyers");
	logoList[i++] = new makeLogo("Flyers 3rd Jersey and Name and Number Pressing", "flyers");
	logoList[i++] = new makeLogo("&quot;Remember the Spectrum Pack&quot;", "flyers");
	logoList[i++] = new makeLogo("76ers Dancers 2009 Swimsuit Calendar", "sixers_calendar");
	logoList[i++] = new makeLogo("Sixers Dancers Calendars- HALF OFF!", "sixers_calendar");
	logoList[i++] = new makeLogo("Phantoms Phlex Doll Package", "phantoms");
	logoList[i++] = new makeLogo("Remember the Spectrum Pack", "sixers2");
	logoList[i++] = new makeLogo("Premium Holiday Package", "sixers2");
	logoList[i++] = new makeLogo("WING BOWL 17", "wingbowl17");
	logoList[i++] = new makeLogo("SESAME STREET LIVE: WHEN ELMO GROWS UP", "elmo");
	logoList[i++] = new makeLogo("FLEETWOOD MAC", "fm");
	logoList[i++] = new makeLogo("THE DEAD", "dead");
	logoList[i++] = new makeLogo("WWE - Great American Bash", "bash");
	logoList[i++] = new makeLogo("BRUCE SPRINGSTEEN AND THE E STREET BAND", "bruce");
	logoList[i++] = new makeLogo("KINGS OF LEON", "kings_leon");
	logoList[i++] = new makeLogo("GENERAL ADMISSION - FLYERS WIVES FIGHT FOR LIVES CARNIVAL", "flyers_wives2");
	logoList[i++] = new makeLogo("ERIC CLAPTON with STEVE WINWOOD", "clapton");
	logoList[i++] = new makeLogo("ERIC CLAPTON/STEVE WINWOOD", "clapton");
	logoList[i++] = new makeLogo("RINGLING BROS. AND BARNUM & BAILEY CIRCUS", "circus08");
	logoList[i++] = new makeLogo("JONAS BROTHERS", "jonasbrothers");
	logoList[i++] = new makeLogo("JONAS BROTHERS VIP PACKAGES", "jonasbrothers");
	logoList[i++] = new makeLogo("JONAS BROTHERS FAN CLUB BUNDLES (FRI JUL 24, 2009)", "jonasbrothers");
	logoList[i++] = new makeLogo("JONAS BROTHERS VIP PACKAGES (FRI JUL 24, 2009)", "jonasbrothers");
	logoList[i++] = new makeLogo("JONAS BROTHERS FAN CLUB BUNDLES (THU JUL 23, 2009)", "jonasbrothers");
	logoList[i++] = new makeLogo("JONAS BROTHERS VIP PACKAGES (THU JUL 23, 2009)", "jonasbrothers");
	logoList[i++] = new makeLogo("ANDREA BOCELLI", "andrea_b");
	logoList[i++] = new makeLogo("Sat. Mar. 28 at 7:30pm - Family Fun Pack", "wings");
	logoList[i++] = new makeLogo("Sun. Apr. 5 at 2:30pm - Family Fun Pack", "wings");
	logoList[i++] = new makeLogo("Sat. Apr. 11 at 7:30pm - Family Fun Pack", "wings");
	logoList[i++] = new makeLogo("Sat. Mar. 28 at 7:30pm - Dave & Buster's Guys Night Out", "wings");
	logoList[i++] = new makeLogo("Sat Apr. 11 at 7:30pm - Dave & Buster's Guys Night Out", "wings");
	logoList[i++] = new makeLogo("Round 1 - Home Game 1", "stanley_cup");
	logoList[i++] = new makeLogo("Round 1 - Home Game 2", "stanley_cup");
	logoList[i++] = new makeLogo("Round 1 - Home Game 3", "stanley_cup");
	logoList[i++] = new makeLogo("NBA Eastern Conference Round 1 Game 1", "sixers_playoff09");
	logoList[i++] = new makeLogo("NBA Eastern Conference Round 1 Game 2", "sixers_playoff09");
	logoList[i++] = new makeLogo("2009 Philadelphia 76ers Playoffs - Pay as We Play", "sixers_playoff09");
	logoList[i++] = new makeLogo("76ers NBA Eastern Conference Round 1 Game 1", "sixers_playoff09");
	logoList[i++] = new makeLogo("76ers NBA Eastern Conference Round 1 Game 2", "sixers_playoff09");
	logoList[i++] = new makeLogo("76ers NBA Eastern Conference Round 1 Game 3", "sixers_playoff09");
	logoList[i++] = new makeLogo("76ers NBA Eastern Conference Round 1 Game 4", "sixers_playoff09");
	logoList[i++] = new makeLogo("NBA Eastern Conference Semifinal Home Game 3", "sixers_playoff09");
	logoList[i++] = new makeLogo("NBA Eastern Conference Semifinal Home Game 2", "sixers_playoff09");
	logoList[i++] = new makeLogo("NBA Eastern Conference Semifinals Home Game 1", "sixers_playoff09");
	logoList[i++] = new makeLogo("THE WIGGLES GO BANANAS!", "go_bannana");
	logoList[i++] = new makeLogo("AMERICAN IDOLS LIVE", "ai");	
	logoList[i++] = new makeLogo("GREEN DAY", "green_day");
	logoList[i++] = new makeLogo("DISNEY LIVE!", "disney");
	logoList[i++] = new makeLogo("DISNEY LIVE! ROCKIN ROAD SHOW!", "disney");
	logoList[i++] = new makeLogo("PINK", "pink");
	logoList[i++] = new makeLogo("WWE - Night of Champions", "wwe");
	logoList[i++] = new makeLogo("ULTIMATE FIGHTING CHAMPIONSHIP 101", "ufc");
	logoList[i++] = new makeLogo("Philadelphia 76ers Father&#39;s Day Package", "dad_grad");
	logoList[i++] = new makeLogo("Philadelphia 76ers Graduation Package", "dad_grad");
	logoList[i++] = new makeLogo("MILEY CYRUS", "miley_cyrus");
	logoList[i++] = new makeLogo("THE RADIO CITY CHRISTMAS SPECTACULAR", "radio_city");
	logoList[i++] = new makeLogo("BRITNEY SPEARS", "britney");
	logoList[i++] = new makeLogo("BRITNEY SPEARS - The In the Zone VIP Experience", "britney");
	logoList[i++] = new makeLogo("BRITNEY SPEARS - The Ringmaster VIP Experience", "britney");
	logoList[i++] = new makeLogo("BRITNEY SPEARS - Kill the Lights VIP", "britney");
	logoList[i++] = new makeLogo("BRITNEY SPEARS - Kill the Lights VIP", "britney");
	logoList[i++] = new makeLogo("PEARL JAM", "pearl_jam");
	logoList[i++] = new makeLogo("WWE SMACKDOWN & ECW", "ECW09");
	logoList[i++] = new makeLogo("Cadillac Grille AND Philadelphia park Sports Bar Platinum Membership", "cad_park");
	logoList[i++] = new makeLogo("Cadillac Grille AND Philadelphia Park Sports Bar VIP Membership", "cad_park");
	logoList[i++] = new makeLogo("Cadillac Grille AND Philadelphia Park Sports Bar 76ers Partial Membership (20 Games)", "cad_park");
	logoList[i++] = new makeLogo("Cadillac Grille AND Philadelphia Park Sports Bar 76ers Partial Membership (10 Games)", "cad_park");
	logoList[i++] = new makeLogo("Cadillac Grille 76ers Only Partial Membership (20 Games)", "cad_grille");
	logoList[i++] = new makeLogo("Cadillac Grille 76ers Only Partial Membership (10 Games)", "cad_grille");
	logoList[i++] = new makeLogo("Philadelphia Park and Sports Bar All Event Membership", "phil_park");
	logoList[i++] = new makeLogo("Philadelphia Park and Sports Bar- 76ers Only Membership", "phil_park");
	logoList[i++] = new makeLogo("Philadelphia Park and Sports Bar- 76ers Only (20 games) Membership", "phil_park");
	logoList[i++] = new makeLogo("Philadelphia Park and Sports Bar- 76ers Only (10 games) Membership", "phil_park");
	logoList[i++] = new makeLogo("Cadillac Grille 76ers Only Membership", "cad_grille");
	logoList[i++] = new makeLogo("Cadillac Grille Flyers Only Membership", "cad_grille");
	logoList[i++] = new makeLogo("Cadillac Grille AND Philadelphia Park Sports Bar Flyers Partial Membership", "cad_park");
	logoList[i++] = new makeLogo("Lexus Club Membership", "lexus");
	logoList[i++] = new makeLogo("HERO THRILL SHOW 2009 FAMILY PACK", "hts");
	logoList[i++] = new makeLogo("HERO THRILL SHOW 2009", "hts");
	logoList[i++] = new makeLogo("DISNEY ON ICE: 100 Years of Magic", "doi");
	logoList[i++] = new makeLogo("MAXWELL", "maxwell");
	logoList[i++] = new makeLogo("LEONARD COHEN", "lc");
	logoList[i++] = new makeLogo("LEONARD COHEN - Diamond VIP Package", "lc");
	logoList[i++] = new makeLogo("LEONARD COHEN - Emerald VIP Package", "lc");
	logoList[i++] = new makeLogo("KISS", "kiss");
	logoList[i++] = new makeLogo("KISS - Meet & Greet Experience", "kiss");
	logoList[i++] = new makeLogo("KISS - Premium Ticket Package", "kiss");
	logoList[i++] = new makeLogo("AC/DC FAN CLUB MEMBERSHIP", "acdc");
	logoList[i++] = new makeLogo("POWERHOUSE 2009", "powerhouse");
	logoList[i++] = new makeLogo("Winter Classic Lottery Entry", "lott");
	logoList[i++] = new makeLogo("DARYL HALL & JOHN OATES", "hall_oates");
	logoList[i++] = new makeLogo("TEAM SIGNED HARLEY DAVIDSON RAFFLE TICKETS", "harley");
	logoList[i++] = new makeLogo("STAR WARS IN CONCERT", "star_wars");
	logoList[i++] = new makeLogo("STAR WARS IN CONCERT - Platinum Package", "star_wars");
	logoList[i++] = new makeLogo("STAR WARS IN CONCERT - Hot Seats Package", "star_wars");
	logoList[i++] = new makeLogo("Ladies' Night Out presented by Salon L'Etoile and Spa", "sixers_lno");
	logoList[i++] = new makeLogo("Guys Night Out presented by Dave & Busters", "sixers_gno");
	logoList[i++] = new makeLogo("Family Fun Pack", "sixers_fan");
	logoList[i++] = new makeLogo("PHISH", "phish");
	logoList[i++] = new makeLogo("TAYLOR SWIFT", "taylor_swift");
	logoList[i++] = new makeLogo("$10 Mezz Maddess tickets courtesy of McDonald's", "10_mezz");
	logoList[i++] = new makeLogo("$10 Mezz Madness tickets courtesy of McDonald's", "10_mezz");
	logoList[i++] = new makeLogo("All You Can Eat Package presented by Cricket", "ayce_six");
	logoList[i++] = new makeLogo("Family Fun Pack presented by Fandango", "fam_fun");
	logoList[i++] = new makeLogo("Remember the Spectrum - Crystal", "rts_crystals");
	logoList[i++] = new makeLogo("Remember the Spectrum - Bundles", "rts_pkglg");
	logoList[i++] = new makeLogo("Remember the Spectrum - Seats", "rts_chairs");
	logoList[i++] = new makeLogo("Remember the Spectrum - Court Plaques", "rts_plaque");
	logoList[i++] = new makeLogo("Remember the Spectrum - God Bless the Spectrum Book", "rts_book");
	logoList[i++] = new makeLogo("2009-10 Philadelphia 76ers Game Plan - 8 Game Weekend Plan", "sixers");
	logoList[i++] = new makeLogo("2009-10 Philadelphia 76ers Game Plan - 8 Game Red Plan", "sixers");
	logoList[i++] = new makeLogo("2009-10 Philadelphia 76ers Game Plan - 10 Game White Plan", "sixers");
	logoList[i++] = new makeLogo("2009-10 Philadelphia 76ers Game Plan - 8 Game Blue Value Plan", "sixers");
	logoList[i++] = new makeLogo("2009-10 Philadelphia 76ers Game Plan - 20 Game Red Plan", "sixers");
	logoList[i++] = new makeLogo("2009-10 Philadelphia 76ers Game Plan - 16 Game White Plan", "sixers");
	logoList[i++] = new makeLogo("2009-10 Philadelphia 76ers Game Plan - 16 Game Blue Value Plan", "sixers");
	logoList[i++] = new makeLogo("Flyers Winter Classic Jersey", "wc_jersey");
	logoList[i++] = new makeLogo("DISNEY ON ICE: Celebrations!", "doi_celebrate");
	logoList[i++] = new makeLogo("Snow Plan - 3 Game Holiday Plan", "sixers");
	logoList[i++] = new makeLogo("Cheer Plan - 3 Game Holiday Plan", "sixers");
	logoList[i++] = new makeLogo("Joy Plan - 3 Game Holiday Plan", "sixers");

/* --------------------------------------------------
	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");
	fullsizeList[i++] = new makeLogo("TEAM SIGNED HARLEY DAVIDSON RAFFLE TICKETS", "harley");
	fullsizeList[i++] = new makeLogo("Remember the Spectrum - Crystal", "rts_crystals");
	fullsizeList[i++] = new makeLogo("Remember the Spectrum - Bundles", "rts_pkglg");
	fullsizeList[i++] = new makeLogo("Remember the Spectrum - Seats", "rts_chairs");
	fullsizeList[i++] = new makeLogo("Remember the Spectrum - Court Plaques", "rts_plaque");
	fullsizeList[i++] = new makeLogo("Remember the Spectrum - God Bless the Spectrum Book", "rts_book");
	fullsizeList[i++] = new makeLogo("Flyers Winter Classic Jersey", "wc_jersey");

/* --------------------------------------------------
	GROUP LIST
-------------------------------------------------- */
	logoGroupList = new Array;
	var i = 0;
	logoGroupList[i++] = new makeLogo(new Array("FL2009","FLYERS","FLY-IND","FFP","SSHIDDEN","SAS","FL-JR","FLDEP","FLPLANS","FLYFULL","FL-MINI","FL-MI","FLY-EAT","FL-EAT","FL-EAT","FL-EAT","FL-EAT","FL-EAT","FL-EAT","FL-SAS","FL-TEST"), "flyers");
	logoGroupList[i++] = new makeLogo(new Array("SIXERS","SIXERSSIN","76NS","76DS","76JS","76FS","76MS","76AS","SIXERPLAN","SIXFAM","SIXEAT","SI01","SI02","SI03","SI04","SI05","SI06","SI07","SI08","SI09","SI10","SI11","SI12","SI13","SI14","SI15","SI16","SI17","SI18","SI19","SI20","SI21","SI22","SI23","SI24","SI25","SI26","SI27","SI28","SI29","SI30","SI31","SI32","SI33","SI34","SI35","SI36","SI37","SI38","SI39","SI40","SI41","76MINI"), "sixers");
	logoGroupList[i++] = new makeLogo(new Array("PHANTOMS","PHANTOMS-FVP","PHANTOMS-FVPU","PHANTOMS-IND","MERCHPACK","PHSS","PHANTOMS-HOF","PHANTOMS-DEPO","PH-COMBO","PH-FVPO","PH-FVPN","PH-FVPD","PH-FVPJ","PH-FVPF","PH-FVPM","PH-FVPA","PH-FVPOU","PH-FVPNU","PH-FVPDU","PH-FVPJU","PH-FVPFU","PH-FVPMU","PH-FVPAU"), "phantoms");
	logoGroupList[i++] = new makeLogo(new Array("KIXX","KIXX-FAMPACKS","KIXX-PARTYPACKS","KIXX-IND"), "kixx");
	logoGroupList[i++] = new makeLogo(new Array("WINGS","WI-FAMPAKS","WINGSFAMILY","WINGSGUYS"), "wings");
	logoGroupList[i++] = new makeLogo(new Array("SOUL"), "soul");
	logoGroupList[i++] = new makeLogo(new Array("NOVA"), "villanova");
	logoGroupList[i++] = new makeLogo(new Array("CA","AUTO","PHOTO","SHOOT"), "flyers_wives");
	logoGroupList[i++] = new makeLogo(new Array("PARK"), "parking");
	logoGroupList[i++] = new makeLogo(new Array("PH-SS08"), "santa_phantoms");
	logoGroupList[i++] = new makeLogo(new Array("76PACKAGE"), "back2school");
	logoGroupList[i++] = new makeLogo(new Array("76PACKAGE"), "back2school");
	logoGroupList[i++] = new makeLogo(new Array("RTS"), "rts");
	logoGroupList[i++] = new makeLogo(new Array("FL-SS"), "santa_sacks");

/* --------------------------------------------------
	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}(,? ?(20)?\d{2})?\)?|\d{1,2}[/\- ]\d{1,2}([/\- ](20)?\d{2})?\)?))?(( |,|-|\(|\bon\b|\bat\b){0,2} ?\d{1,2}(:\d{2})? ?(am|pm)\)?)?$/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;
			}
		}
		
		// custom code new era - display opponent team logo automatically
		// based on string match
		if(logo=="") {
			if(name != "") {
				// This will set the Flyers and Sixers logo for any item that has
				// FLYERS or SIXERS in the title. The opponent will override that if
				// it is found
				if(name.match("FLYERS") && name.match("Cadillac")=="")
					logo = "flyers";
				if(name.match("FLYERS WIVES"))
					logo = "flyers_wives2";
				if(name.match("SIXERS"))
					logo = "sixers";
				// FLYERS OPPONENTS
				if(name.match("ATLANTA THRASHERS"))
					logo = "atlanta";
			 	if(name.match("BOSTON BRUINS"))
					logo = "boston";
			 	if(name.match("BUFFALO SABRES"))
					logo = "buffalo";
			 	if(name.match("CAROLINA HURRICANES"))
					logo = "carolina";
				if(name.match("FLORIDA PANTHERS"))
					logo = "florida";
				if(name.match("MONTREAL CANADIENS"))
					logo = "montreal";
				if(name.match("NEW JERSEY DEVILS"))
					logo = "newjersey";
				if(name.match("NEW YORK ISLANDERS"))
					logo = "newyorki";
				if(name.match("NEW YORK RANGERS"))
					logo = "newyorkr";
				if(name.match("OTTAWA SENATORS"))
					logo = "ottawa";
				if(name.match("PITTSBURGH PENGUINS"))
					logo = "pittsburgh";
				if(name.match("TAMPA BAY LIGHTNING"))
					logo = "tampabay";
				if(name.match("TORONTO MAPLE LEAFS"))
					logo = "toronto";
				if(name.match("WASHINGTON CAPITALS"))
					logo = "washington";
				if(name.match("ANAHEIM DUCKS"))
					logo = "anaheim";
				if(name.match("CALGARY FLAMES"))
					logo = "calgary";
				if(name.match("CHICAGO BLACKHAWKS"))
					logo = "chicago";
				if(name.match("COLORADO AVALANCHE"))
					logo = "colorado";
				if(name.match("COLUMBUS BLUE JACKETS"))
					logo = "columbus";
				if(name.match("DALLAS STARS"))
					logo = "dallas";
				if(name.match("DETROIT RED WINGS"))
					logo = "detroit";
				if(name.match("EDMONTON OILERS"))
					logo = "edmonton";
				if(name.match("LOS ANGELES KINGS"))
					logo = "losangeles";
				if(name.match("MINNESOTA WILD"))
					logo = "minnesota";
				if(name.match("NASHVILLE PREDATORS"))
					logo = "nashville";
				if(name.match("PHOENIX COYOTES"))
					logo = "phoenix";
				if(name.match("SAN JOSE SHARKS"))
					logo = "sanjose";
				if(name.match("ST. LOUIS BLUES"))
					logo = "stlouis";
				if(name.match("VANCOUVER CANUCKS"))
					logo = "vancouver";
				// SIXERS OPPONENTS
				if(name.match("ATLANTA HAWKS"))
					logo = "hawks";
			 	if(name.match("BOSTON CELTICS"))
					logo = "celtics";
			 	if(name.match("CLEVELAND CAVALIERS"))
					logo = "cavaliers";
			 	if(name.match("CHARLOTTE BOBCATS"))
					logo = "bobcats";
				if(name.match("CHICAGO BULLS"))
					logo = "bulls";
				if(name.match("DETROIT PISTONS"))
					logo = "pistons";
				if(name.match("INDIANA PACERS"))
					logo = "pacers";
				if(name.match("MIAMI HEAT"))
					logo = "heat";
				if(name.match("MILWAUKEE BUCKS"))
					logo = "bucks";
				if(name.match("NEW JERSEY NETS"))
					logo = "nets";
				if(name.match("NEW YORK KNICKS"))
					logo = "knicks";
				if(name.match("ORLANDO MAGIC"))
					logo = "magic";
				if(name.match("TORONTO RAPTORS"))
					logo = "raptors";
				if(name.match("WASHINGTON WIZARDS"))
					logo = "wizards";
				if(name.match("DALLAS MAVERICKS"))
					logo = "mavericks";
				if(name.match("DENVER NUGGETS"))
					logo = "nuggets";
				if(name.match("GOLDEN STATE WARRIORS"))
					logo = "warriors";
				if(name.match("HOUSTON ROCKETS"))
					logo = "rockets";
				if(name.match("LOS ANGELES CLIPPERS"))
					logo = "clippers";
				if(name.match("LOS ANGELES LAKERS"))
					logo = "lakers";
				if(name.match("MINNESOTA TIMBERWOLVES"))
					logo = "timberwolves";
				if(name.match("NEW ORLEANS HORNETS"))
					logo = "hornets";
				if(name.match("PHOENIX SUNS"))
					logo = "suns";
				if(name.match("TRAIL BLAZERS"))
					logo = "trailblazers";
				if(name.match("SACRAMENTO KINGS"))
					logo = "kings";
				if(name.match("SAN ANTONIO SPURS"))
					logo = "spurs";
				if(name.match("SEATTLE SUPERSONICS"))
					logo = "supersonics";
				if(name.match("UTAH JAZZ"))
					logo = "jazz";
				if(name.match("MEMPHIS GRIZZLIES"))
					logo = "grizzlies";
				if(name.match("OKLAHOMA CITY THUNDER"))
					logo = "thunder";
				// WINGS Opponents
				if(name.match("PORTLAND LUMBERJAX"))
					logo = "lumberjacks";
				if(name.match("SAN JOSE STEALTH"))
					logo = "stealth";
				if(name.match("TORONTO ROCK"))
					logo = "rock";
				if(name.match("BUFFALO BANDITS"))
					logo = "bandits";
				if(name.match("ROCHESTER KNIGHTHAWKS"))
					logo = "knighthawks";
				if(name.match("MINNESOTA SWARM"))
					logo = "swarm";				
				if(name.match("CHICAGO SHAMROX"))
					logo = "shamrock";
				if(name.match("NEW YORK TITANS"))
					logo = "titans";
				if(name.match("COLORADO MAMMOTH"))
					logo = "mammoth";
				if(name.match("BOSTON BLAZERS"))
					logo = "blazers";
				// PARKING logo but showing sixers logo for sixers parking
				if (name.match("PARKING"))
					logo = "parking";
				// PHANTOMS FVP
				if (name.match("PHANTOMS") && name.match("FVP"))
					logo = "phantom_fvp";
				if(name.match("HERSHEY BEARS"))
					logo = "bears";
				// Dane Cook
				if(name.match("DANE COOK"))
					logo = "dane_cook";
				// Sixers Calendar
				if(name.match("76ers Dancers Calendar"))
					logo = "sixers_calendar";
				if(name.match("JORDIN SPARKS"))
					logo = "jonasbrothers";
				if(name.match("HONOR SOCIETY"))
					logo = "jonasbrothers";
				if(name.match("WINTER CLASSIC") && !name.match("JERSEY"))
					logo = "lott";
				if(name.match("BON JOVI"))
					logo = "bonjovi";
			}
		}
		// end custom code new era - display opponent team logo automatically
		
		// find logo match (start from end for most recently added logos)
		// Custom Code New Era - adding check to see if logo exists because of above custom code
		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
		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="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 style="z-index:99;"><img src="'+imageWWWPath+'/fullsize/'+fullSize+'.gif" border="0" alt="'+name+'"><br><small style="white-space:nowrap">';
				// custom code new era - show blurb for harley photo
				if(fullSize=="harley") { imgSrc+= 'photo of a similar bike<br />'; }
				imgSrc+= '<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);
		
		// Custom Code New Era - add flyers and vs logo for flyers games on calendar
		if (group=="FLY-IND") {
			imgSrc = imgSrc.replace(/width="75" height="75"/ig, 'width="35" height="35"');
			imgSrc = '<img src="'+imageWWWPath+'/logos/flyers_cal.gif" border="0" width="35" height="35" alt="'+name+'">' + '<img src="'+imageWWWPath+'/logos/vs.gif" align="middle" border="0" width="10" height="11" alt="'+name+' TICKETS">' + imgSrc;
		}
		if (group=="SIXERSSIN") {
			imgSrc = imgSrc.replace(/width="75" height="75"/ig, 'width="35" height="35"');
			imgSrc = '<img src="'+imageWWWPath+'/logos/sixers2.gif" border="0" width="35" height="35" alt="'+name+'">' + '<img src="'+imageWWWPath+'/logos/vs.gif" align="middle" border="0" width="10" height="11" alt="'+name+' TICKETS">' + imgSrc;
		}
		if (group=="WINGS-IND") {
			imgSrc = imgSrc.replace(/width="75" height="75"/ig, 'width="35" height="35"');
			imgSrc = '<img src="'+imageWWWPath+'/logos/wings.gif" border="0" width="35" height="35" alt="'+name+'">' + '<img src="'+imageWWWPath+'/logos/vs.gif" align="middle" border="0" width="10" height="11" alt="'+name+' TICKETS">' + imgSrc;
		}
		if (name.search(/Phantoms vs/i)>-1) {
			imgSrc = imgSrc.replace(/width="75" height="75"/ig, 'width="35" height="35"');
			imgSrc = '<img src="'+imageWWWPath+'/logos/phantoms.gif" border="0" width="35" height="35" alt="'+name+'">' + '<img src="'+imageWWWPath+'/logos/vs.gif" align="middle" border="0" width="10" height="11" alt="'+name+' TICKETS">' + imgSrc;
		}
		
		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);
	}