/* --------------------------------------------------
	Created:	March 6, 2007
	Purpose:	Functions to create and print logos. 
				Used primarily on:
				- displaySimpleEventList
				- displayGroupList 
-------------------------------------------------- */
	function makeLogo(name, logo) {
		this.oname = name;
		this.ologo = logo;
	}

/* --------------------------------------------------
	LOGO LIST
-------------------------------------------------- */
	logoList = new Array;
	var i = 0;
//	logoList[i++] = new makeLogo("Florida Int&#39;l", "fiu");
//	logoList[i++] = new makeLogo("Rutgers Student Test", "StudentShirt");
//	logoList[i++] = new makeLogo("UCLA - Homecoming 2", new Array("ucla","berkeley"));

	logoList[i++] = new makeLogo("Florida Int&#39;l", "fiu");	
	logoList[i++] = new makeLogo("USC", "usc");
	logoList[i++] = new makeLogo("UCLA", "ucla");
	logoList[i++] = new makeLogo("Cal", "berkeley");
	logoList[i++] = new makeLogo("Oregon", "uoregon");
	logoList[i++] = new makeLogo("Oregon State", "oregonstate");
	logoList[i++] = new makeLogo("Washington", "washington");
	logoList[i++] = new makeLogo("Austin Wranglers vs. New York Dragons", "dragons");
	logoList[i++] = new makeLogo("Austin Wranglers vs. Kansas City", "brigade");
	logoList[i++] = new makeLogo("Austin Wranglers vs. Columbus Destroyers", "destroyers");
	logoList[i++] = new makeLogo("Austin Wranglers vs. Grand Rapids Rampage", "grram");
	logoList[i++] = new makeLogo("Centex Barracudas vs. Laredo Lobos", "laredolobos");
	logoList[i++] = new makeLogo("Centex Barracudas vs. Odessa Roughnecks", "roughnecks");
	logoList[i++] = new makeLogo("Centex Barracudas vs. Corpus Christi Hammerheads", "hammerheads");
	logoList[i++] = new makeLogo("Centex Barracudas vs. S.Angelo Stampede Express", "stampedeexpress");
	logoList[i++] = new makeLogo("Centex Barracudas vs. Southwest LA. Swashbucklers", "swashbucklers");	
	logoList[i++] = new makeLogo("Bobcats vs Oklahoma State", "okstate");
	logoList[i++] = new makeLogo("Bobcats vs North Texas", "unt");
	logoList[i++] = new makeLogo("Bobcats vs Centenary College", "centenary");
	logoList[i++] = new makeLogo("Bobcats vs Rice", "rice");
	logoList[i++] = new makeLogo("Bobcats vs Prairie View A&M", "pvamu");
	logoList[i++] = new makeLogo("Bobcats vs Central Arkansas", "uca");
	logoList[i++] = new makeLogo("Bobcats vs Southeastern Louisiana", "selu");
	logoList[i++] = new makeLogo("Bobcats vs Nicholls State", "nich");
	logoList[i++] = new makeLogo("Bobcats vs Northwestern State", "nsula");	
	logoList[i++] = new makeLogo("TSU VS NORTHERN COLORADO", "uncbears");
	logoList[i++] = new makeLogo("TSU VS TARLETON ST.", "tarleton");
	logoList[i++] = new makeLogo("TSU VS SFA", "sfasu");
	logoList[i++] = new makeLogo("TSU VS Southeastern Louisiana", "selu");
	logoList[i++] = new makeLogo("TSU VS NICHOLLS ST.", "nich");
	logoList[i++] = new makeLogo("TSU VS TEXAS SOUTHERN", "tsu");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Baylor", "baylor");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Texas Southern", "tsu");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Texas-San Antonio", "utsa");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Texas A&M-CC", "tamucc");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Lamar", "lamar");
	logoList[i++] = new makeLogo("Texas State Volleyball vs McNeese State", "mcneese");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Texas-Arlington", "uta");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Southeastern Louisiana", "selu");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Nicholls State", "nich");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Sam Houston State", "shsu");
	logoList[i++] = new makeLogo("Texas State Volleyball vs Stephen F. Austin", "sfasu");
	logoList[i++] = new makeLogo("2006 Football Season Ticket", "foot");
	logoList[i++] = new makeLogo("Texas State Volleyball Season Ticket", "volleyball");
	logoList[i++] = new makeLogo("CenturyTel Premier Volleyball Tournament", "volleyball");
	logoList[i++] = new makeLogo("Lone Star Pack", "texstate");
	logoList[i++] = new makeLogo("Bobcats vs. Texas-Permian Basin", "utpb");
	logoList[i++] = new makeLogo("Bobcats vs. Texas A&M International", "tamiu");
	logoList[i++] = new makeLogo("Texas State Women vs. Texas Lutheran", "texas_lutheran");
	logoList[i++] = new makeLogo("Texas State Women vs. SE Louisiana", "selu");
	logoList[i++] = new makeLogo("Texas State Women vs. Nicholls State", "nich");
	logoList[i++] = new makeLogo("Texas State Women vs. Texas A&M CC", "tamucc");
	logoList[i++] = new makeLogo("Texas State Women vs. Sam Houston State", "shsu");
	logoList[i++] = new makeLogo("Texas State Women vs. Lamar University", "lamar");
	logoList[i++] = new makeLogo("Texas State Women vs. UTSA", "utsa");
	logoList[i++] = new makeLogo("Texas State Women vs. Stephen F. Austin", "sfasu");
	logoList[i++] = new makeLogo("Texas State Women vs. Texas-Arlington", "uta");
	logoList[i++] = new makeLogo("Bobcats vs. Centenary College", "centenary");
	logoList[i++] = new makeLogo("Bobcats vs. Northwestern State", "nsula");
	logoList[i++] = new makeLogo("Bobcats vs. Central Arkansas", "uca");
	logoList[i++] = new makeLogo("Bobcats vs UTSA", "utsa");
	logoList[i++] = new makeLogo("Bobcats vs. Stephen F. Austin", "sfasu");
	logoList[i++] = new makeLogo("Bobcats vs. Texas-Arlington", "uta");
	logoList[i++] = new makeLogo("Bobcats vs. McNeese State", "mcneese");
	logoList[i++] = new makeLogo("Bobcats vs. Texas A&M-Corpus Christi", "tamucc");
	logoList[i++] = new makeLogo("Bobcats vs. Sam Houston State", "shsu");	
	logoList[i++] = new makeLogo("Texas State vs. Southeastern Louisiana", "selu");
	logoList[i++] = new makeLogo("Texas State vs. St. John&#39;s", "stjohns");
	logoList[i++] = new makeLogo("Texas State vs. Central Arkansas", "uca");
	logoList[i++] = new makeLogo("Texas State vs. Texas Tech", "ttu");
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M", "tamu");
	logoList[i++] = new makeLogo("Texas State vs. Texas-San Antonio", "utsa");
	logoList[i++] = new makeLogo("Texas State vs. Texas", "utexas");
	logoList[i++] = new makeLogo("Texas State vs. SFA", "sfasu");
	logoList[i++] = new makeLogo("Texas State vs. Baylor", "baylor");
	logoList[i++] = new makeLogo("Texas State vs. McNeese State", "mcneese");	
	logoList[i++] = new makeLogo("Texas State vs. Rice", "rice");
	logoList[i++] = new makeLogo("Texas State vs.Prairie View A&M", "pvamu");
	logoList[i++] = new makeLogo("Texas State vs.Texas Southern", "tsu");
	logoList[i++] = new makeLogo("Texas State vs.Sam Houston State", "shsu");
	logoList[i++] = new makeLogo("Texas State vs.UT-Pan American", "panam");
	logoList[i++] = new makeLogo("Texas State vs.SE Louisiana", "selu");
	logoList[i++] = new makeLogo("Texas State vs.Baylor", "baylor");
	logoList[i++] = new makeLogo("Texas State vs.SFA", "sfasu");
	logoList[i++] = new makeLogo("Texas State vs.McNeese State", "mcneese");
	logoList[i++] = new makeLogo("Texas State vs.UTSA", "utsa");
	logoList[i++] = new makeLogo("Texas State Century-Tel Softball Classic", "texstate");
	logoList[i++] = new makeLogo("Texas State vs. Cal Poly", "calpoly");
	logoList[i++] = new makeLogo("Texas State vs. Abilene Christian", "acu");
	logoList[i++] = new makeLogo("Texas State vs. Sam Houston", "shsu");
	logoList[i++] = new makeLogo("Texas State vs. Century Tel Classic", "volleyball");
	logoList[i++] = new makeLogo("Texas State vs. UTSA", "utsa");
	logoList[i++] = new makeLogo("Texas State vs. TAMU-CC", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. TCU", "tcu");
	logoList[i++] = new makeLogo("Texas State vs. UTA", "uta");
	logoList[i++] = new makeLogo("Texas State vs. Sam Houston St.", "shsu");
	logoList[i++] = new makeLogo("Texas State vs. Northwestern St.", "nsula");
	logoList[i++] = new makeLogo("Texas State vs. UTPA", "panam");
	logoList[i++] = new makeLogo("Texas State vs. St. Mary&#39;s", "stmarystx");
	logoList[i++] = new makeLogo("Texas State vs. Utah St.", "usu");
	logoList[i++] = new makeLogo("Texas State vs. UTEP", "utep");
	logoList[i++] = new makeLogo("Texas State vs. Houston", "uh");
	logoList[i++] = new makeLogo("Texas State vs. Stephen F. Austin", "sfasu");
	logoList[i++] = new makeLogo("Texas State vs. McNeese st.", "mcneese");
	logoList[i++] = new makeLogo("Texas State vs. Lamar", "lamar");
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M International", "tamiu");
	logoList[i++] = new makeLogo("Texas State vs. Concordia", "concordia_tx");
	logoList[i++] = new makeLogo("Texas State vs. Texas Pan American", "panam");
	logoList[i++] = new makeLogo("Texas State vs. SWAGU", "sagu");
	logoList[i++] = new makeLogo("Texas State vs. Huston-Tillotson", "huston_tillotson");
	logoList[i++] = new makeLogo("Texas State vs. Northwestern St.", "nsula");
	logoList[i++] = new makeLogo("Texas State vs. Northwestern St..", "nsula");
	logoList[i++] = new makeLogo("TSU Women&#39;s Basketball full season pack", "basketball");
	logoList[i++] = new makeLogo("TSU Women&#39;s Basketball Saturday 5 game package", "basketball");
	logoList[i++] = new makeLogo("TSU Women&#39;s Basketball 5 game Texas Pack", "basketball");
	logoList[i++] = new makeLogo("Texas State vs. Concordia (exibition)", "concordia_tx");
	logoList[i++] = new makeLogo("Texas State vs. Dallas Baptist", "dbu");
	logoList[i++] = new makeLogo("Texas State vs. Kennesaw ST.", "kennesaw");
	logoList[i++] = new makeLogo("Texas State vs. Texas-Pan America", "panam");
	logoList[i++] = new makeLogo("Texas State vs. SE Louisiana", "selu");
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M CC", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. Texas - Arlington", "uta");
	logoList[i++] = new makeLogo("Texas State vs. Sam Houston State Double Header", "shsu");
	logoList[i++] = new makeLogo("TSU Mens basketball combo", "basketball");
	logoList[i++] = new makeLogo("TSU Men&#39;s Basketball Saturday 5 game package", "basketball");
	logoList[i++] = new makeLogo("TSU Men&#39;s Basketball 5 game Texas Pack", "basketball");
	logoList[i++] = new makeLogo("Texas State Softball Pack", "softball");
	logoList[i++] = new makeLogo("Texas State vs. University of Texas", "utexas");
	logoList[i++] = new makeLogo("Texas State vs.A&M CC (DH)", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. A&M CC", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. Nicholls St. (DH)", "nich");
	logoList[i++] = new makeLogo("Texas State vs.Nicholls St.", "nich");
	logoList[i++] = new makeLogo("Texas State vs. New Mexico", "unm");
	logoList[i++] = new makeLogo("Texas State vs. NW State (DH)", "nsula");
	logoList[i++] = new makeLogo("Texas State vs. NW State", "nsula");
	logoList[i++] = new makeLogo("Texas State vs. Sam Houston St. (DH)", "shsu");
	logoList[i++] = new makeLogo("Texas state Baseball 2008 Season Pack", "baseball");
	logoList[i++] = new makeLogo("Texas State vs. Northern Illinois", "niu");
	logoList[i++] = new makeLogo("Texas State vs. A&M Kingsville", "tamuk");
	logoList[i++] = new makeLogo("Texas State vs. A&M CC", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. UCA", "uca");
	logoList[i++] = new makeLogo("CenTex Barracudas vs San Angelo", "stampedeexpress");
	logoList[i++] = new makeLogo("CenTex Barracudas vs Louisana", "swashbucklers");
	logoList[i++] = new makeLogo("CenTex Barracudas vs Louisiana", "swashbucklers");
	logoList[i++] = new makeLogo("CenTex Barracudas vs Odessa", "roughnecks");
	logoList[i++] = new makeLogo("CenTex Barracudas vs Frisco", "frisco_thunder");
	logoList[i++] = new makeLogo("CenTex Barracudas vs Alaska", "alaska_wild");
	logoList[i++] = new makeLogo("CenTex Barracudas vs Katy", "ruff_riders");
	logoList[i++] = new makeLogo("CenTex Barracudas vs Corpus Christi", "hammerheads");
	logoList[i++] = new makeLogo("Texas State vs. Angelo State", "angelo");
	logoList[i++] = new makeLogo("Texas State vs. Southern Utah", "suu");
	logoList[i++] = new makeLogo("Texas State vs. Texas Southern", "tsu");
	logoList[i++] = new makeLogo("Texas State vs. Northwestern State", "Northwestern_State");
	logoList[i++] = new makeLogo("Texas State vs. Nicholls State", "Nicholls_State");
	logoList[i++] = new makeLogo("Texas State 2008 Soccer season pack", "texas_state");
	logoList[i++] = new makeLogo("2008 Texas State Volleyball combo", "texas_state");
	logoList[i++] = new makeLogo("Texas State vs Lamar", "lamar");
	logoList[i++] = new makeLogo("Texas State vs Northwestern State", "Northwestern_State");
	logoList[i++] = new makeLogo("Texas State vs Texas-Arlington", "uta");
	logoList[i++] = new makeLogo("Texas State vs Stephen F. Austin", "sfasu");
	logoList[i++] = new makeLogo("Texas State vs McNeese State", "mcneese");
	logoList[i++] = new makeLogo("Texas State vs UTSA", "utsa");
	logoList[i++] = new makeLogo("Texas State vs Texas A&M Corpus Christi", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. Texas Wesleyan (Exibition)", "texas_wesleyan");
	logoList[i++] = new makeLogo("Texas State vs. Centenary", "centenary");
	logoList[i++] = new makeLogo("Texas State vs. North Texas", "northtexas");
	logoList[i++] = new makeLogo("Texas State vs. Texas Houston", "uh");
	logoList[i++] = new makeLogo("Texas State vs. Houston Baptist", "houstonBaptist");
	logoList[i++] = new makeLogo("Texas State vs. Southeastern La.", "sosu");
	logoList[i++] = new makeLogo("Texas State vs Baylor", "baylor2");
	logoList[i++] = new makeLogo("Texas State CenturyTel Premier", "texas_state");
	logoList[i++] = new makeLogo("Texas State vs Prairie View A&M", "pvamu");
	logoList[i++] = new makeLogo("Texas State vs Sam Houston State", "shsu");
	logoList[i++] = new makeLogo("Texas State Men's Basketball Pick 3", "basketball");
	logoList[i++] = new makeLogo("Texas State vs. Huston - Tillotson", "huston_tillotson");
	logoList[i++] = new makeLogo("Texas State vs. SW Assemblies of God", "sagu");
	logoList[i++] = new makeLogo("Texas State vs. New Orleans", "uno");
	logoList[i++] = new makeLogo("Texas State vs. Prairie View A&M", "pvamu");
	logoList[i++] = new makeLogo("Texas State vs. McMurry", "mcmurry");
	logoList[i++] = new makeLogo("Texas State vs. Schreiner", "schreiner");
	logoList[i++] = new makeLogo("Texas State vs. Northern Colorado", "northern_colorado2");
	logoList[i++] = new makeLogo("Texas State vs. UT - Arlington", "uta");
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M - Corpus Christi", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. U.T. - San Antonio", "utsa");
	logoList[i++] = new makeLogo("Texas State 2008-09 Women's Basketball Season", "basketball");
	logoList[i++] = new makeLogo("Texas State Women's Pick 3", "basketball");
	logoList[i++] = new makeLogo("Texas State vs. Paul Quinn", "paulQuinn");
	logoList[i++] = new makeLogo("Texas State vs. Concordia-Austin", "concordia_tx");
	logoList[i++] = new makeLogo("Texas State vs. Texas-Dallas", "utdallas");
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M-Corpus Christi", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. Sam Houston State", "shsu");
	logoList[i++] = new makeLogo("Texas State vs. Purdue", "purdue");
	logoList[i++] = new makeLogo("Texas State vs. Nicholls", "Nicholls_State");
	logoList[i++] = new makeLogo("Texas State vs. McNeese St", "mcneese");
	logoList[i++] = new makeLogo("Austin Grand Prix Swimming Package", "austingrandprix");
	logoList[i++] = new makeLogo("AUSTIN GRAND PRIX SWIMMING PACKAGE", "austingrandprix");
	logoList[i++] = new makeLogo("AUSTIN GRAND PRIX SWIMMING PRELIMS", "austingrandprix");
	logoList[i++] = new makeLogo("AUSTIN GRAND PRIX SWIMMING FINALS", "austingrandprix");
	logoList[i++] = new makeLogo("Texas State vs Texas Tech", "ttu");
	logoList[i++] = new makeLogo("Texas State Century Tel Classic Day 1", "volleyball2");
	logoList[i++] = new makeLogo("Texas State Century Tel Classic Day 2", "volleyball2");
	logoList[i++] = new makeLogo("Texas State vs University of Houston", "uh");
	logoList[i++] = new makeLogo("Texas State vs UT San Antonio", "utsa2");
	logoList[i++] = new makeLogo("Texas State vs UT Arlington", "uta");
	logoList[i++] = new makeLogo("Texas State vs Central Arkansas", "uca");
	logoList[i++] = new makeLogo("Texas State vs Nicholls", "Nicholls_State");
	logoList[i++] = new makeLogo("Texas State vs Southeastern Louisiana", "selu");
	logoList[i++] = new makeLogo("Texas State vs. St. Marys", "stmarys_tx");
	logoList[i++] = new makeLogo("Texas State vs. Grambling State", "gram");
	logoList[i++] = new makeLogo("Texas State vs. UT El Paso", "utep");
	logoList[i++] = new makeLogo("Texas State vs. UT San Antonio", "utsa2");
	logoList[i++] = new makeLogo("Texas State vs. Howard Payne", "HowardPayne");
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M-International", "tamiu");
	logoList[i++] = new makeLogo("Texas State vs. Texas-Pan American", "panam");
	logoList[i++] = new makeLogo("Texas State vs. Texas Luthern", "texas_lutheran");
	logoList[i++] = new makeLogo("Texas State vs. Texas Lutheran", "texas_lutheran");
	logoList[i++] = new makeLogo("Texas State vs. SMU", "smu");
	logoList[i++] = new makeLogo("Texas State vs. Oklahoma Panhandle State", "opsu");
	logoList[i++] = new makeLogo("Texas State vs. Texas-Arlington", "uta");
	logoList[i++] = new makeLogo("Texas State vs. Texas College", "TexasCollege");
	logoList[i++] = new makeLogo("Texas State vs. Louisiana-Monroe", "louisianaMonroe");
	logoList[i++] = new makeLogo("Texas State vs. Southwest Assemblies of God", "sagu");
	logoList[i++] = new makeLogo("Texas State vs. Houston Tillotson", "huston_tillotson");
	logoList[i++] = new makeLogo("Texas State vs. Our Lady of the Lake", "OurLadyOfTheLake");
	logoList[i++] = new makeLogo("Texas State vs. UT-San Antonio", "utsa2");
	logoList[i++] = new makeLogo("Texas State vs. UT Arlington double header", "uta");
	logoList[i++] = new makeLogo("Texas State vs. UT Arlington", "uta");
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M-Corpus Christi double header", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. Nicholls State double header", "Nicholls_State");
	logoList[i++] = new makeLogo("Texas State vs. Southern Illinois-Edwardsville DH", "siue");
	logoList[i++] = new makeLogo("Texas State vs. Northwestern State double header", "Northwestern_State");
	logoList[i++] = new makeLogo("Texas State vs. Penn State", "penn_state"); 	
	logoList[i++] = new makeLogo("Texas State vs. Texas A&M Corpus Christi", "tamucc");
	logoList[i++] = new makeLogo("Texas State vs. UC Riverside", "ucr");
	logoList[i++] = new makeLogo("Texas State vs. Navy", "usna");
	logoList[i++] = new makeLogo("Texas State vs. Southern Arkansas", "saumag");
	logoList[i++] = new makeLogo("Texas State vs. Saint Edwards University (Exhibition)", "st_edwards");
	logoList[i++] = new makeLogo("Texas State vs. Long Island University", "liunet");
	logoList[i++] = new makeLogo("Texas State vs. University of North Texas", "northtexas");
	logoList[i++] = new makeLogo("Texas State vs. Northwestern State University", "Northwestern_State2");
	logoList[i++] = new makeLogo("Texas State vs. Sam Houston State University", "shsu");
	logoList[i++] = new makeLogo("Texas State vs. Nicholls State University", "Nicholls_State");
	logoList[i++] = new makeLogo("Texas State vs. Sul Ross State University", "sr_logo");	
	logoList[i++] = new makeLogo("Texas State vs. Idaho State", "isu");
	logoList[i++] = new makeLogo("Texas State vs. Jackson State", "jsums");
	logoList[i++] = new makeLogo("Texas State vs. UT Pan American", "panam");
	logoList[i++] = new makeLogo("Texas State vs. Huston Tillotson", "huston_tillotson"); 
	logoList[i++] = new makeLogo("Texas State vs. Texas-Tyler", "tyler");
	logoList[i++] = new makeLogo("Texas State vs. UT Tyler", "tyler");                   
	logoList[i++] = new makeLogo("Texas State vs. East Texas Baptist", "easttexas_baptist");	
	logoList[i++] = new makeLogo("Texas State vs. Stephen F. Austin Doubleheader", "sfasu");
	logoList[i++] = new makeLogo("Texas State vs. McNeese State Doubleheader", "mcneese");
	logoList[i++] = new makeLogo("Texas State vs. Houston Doubleheader", "uh");
	logoList[i++] = new makeLogo("Texas State vs. Southeastern Louisiana Doubleheader", "selu");
	logoList[i++] = new makeLogo("Texas State vs. Central Arkansas Doubleheader", "uca");
	logoList[i++] = new makeLogo("Texas State vs. UTSA Doubleheader", "utsa");  
	logoList[i++] = new makeLogo("Texas State vs. Akron", "uakron");
	logoList[i++] = new makeLogo("Texas State vs. Missouri", "missouri2");

	logoList[i++] = new makeLogo("2011 Southland Conference Baseball Tournament", "southland_baseball");  


/* --------------------------------------------------
	EXTRA LIST
-------------------------------------------------- */
	extraList = new Array;
	var i = 0;
	extraList[i++] = ""; // DO NOT remove
	extraList[i++] = "The ";
	extraList[i++] = "at ";
	extraList[i++] = "@ ";
	extraList[i++] = "vs ";
	extraList[i++] = "vs. ";
	extraList[i++] = " FAMILY 4 PACK";
	extraList[i++] = " - Family Four Packs";
	extraList[i++] = " - Group Tickets";
	extraList[i++] = " - Student Matinee";
	extraList[i++] = " Time TBA";
	
	// sort extraList, greatest length first
	extraList.sort(function(a,b) {
		return (a.length > b.length) ? -1 : 1;
	});

/* --------------------------------------------------
	FULL-SIZED IMAGES LIST
-------------------------------------------------- */
	fullsizeList = new Array;
	var i = 0;
//	fullsizeList[i++] = new makeLogo("Rutgers Student Test", "StudentShirt");

/* --------------------------------------------------
	GROUP LIST
-------------------------------------------------- */
	logoGroupList = new Array;
	var i = 0;

	/*
	logoGroupList[i++] = new makeLogo(new Array("F","FB","FBS","FBI","FB3","STFB", "C"), "football");
	logoGroupList[i++] = new makeLogo(new Array("BB"), "baseball");
	logoGroupList[i++] = new makeLogo(new Array("SB"), "softball");
	logoGroupList[i++] = new makeLogo(new Array("MB","MBS","MBI"), "basketball");
	logoGroupList[i++] = new makeLogo(new Array("WB","WBS","WBI"), "basketball");
	logoGroupList[i++] = new makeLogo(new Array("V","VB","MVB","WVB"), "volleyball");
	logoGroupList[i++] = new makeLogo(new Array("H"), "hockey");
	logoGroupList[i++] = new makeLogo(new Array("SOC","SO","MS","WS", "S"), "soccer");
	*/
	logoGroupList[i++] = new makeLogo(new Array("CLD"), "calendar");

	logoGroupList[i++] = new makeLogo(new Array("TSFB"), "texas_state");
	logoGroupList[i++] = new makeLogo(new Array("ERC"), "erwin_center");
	logoGroupList[i++] = new makeLogo(new Array("TXST"), "texas_state");

/* --------------------------------------------------
	MAIN LOGO FUNCTIONS
-------------------------------------------------- */
	function printLogo(name, group) {
		var logo = "";
		name = cleaner(name.toUpperCase());
		
		// remove appending dates/times (ie: "TITLE - Wed., Sept. 17 - 2pm")
		name = name.replace(/(( |,|-|\(|\bon\b|\bat\b){0,2} ?\b(mon|tue(s)?|wed(nes)?|thu(r(s)?)?|fri|sat(ur)?|sun)(day)?\b\.?( morning| afternoon| eve| evening| mat)?\)?)?(( |,|-|\(|\bon\b|\bat\b){0,2} ?(\b(jan(uary)?|feb(ruary)?|mar(ch)?|apr(il)?|may|jun(e)?|jul(y)?|aug(ust)?|sep(t(ember)?)?|oct(ober)?|nov(ember)?|dec(ember)?)\b\.? \d{1,2}(th)?(,? ?(20)?\d{2})?\)?|\d{1,2}[/\- ]\d{1,2}([/\- ](20)?\d{2})?\)?))?(( |,|-|\(|\bon\b|\bat\b|@){0,2} ?\d{1,2}(:\d{2})? ?(a.?m.?|p.?m.?)\)?)?$/ig, "");
		
		// process extralist
		var extraName = name;
		for(var i=0; i<extraList.length; i++) {
			if(extraName.indexOf(extraList[i].toUpperCase())==0) {
				extraName = extraName.slice(extraList[i].length, extraName.length);
				break;
			}
		}
		for(var i=0; i<extraList.length; i++) {
			if(extraName.length - extraList[i].length>0 && extraName.indexOf(extraList[i].toUpperCase())==extraName.length - extraList[i].length) {
				extraName = extraName.slice(0, extraName.length - extraList[i].length);
				break;
			}
		}
		extraName = extraName.replace(/(( |,|-|\(|\bon\b|\bat\b){0,2} ?\b(mon|tue(s)?|wed(nes)?|thu(r(s)?)?|fri|sat(ur)?|sun)(day)?\b\.?( morning| afternoon| eve| evening| mat)?\)?)?(( |,|-|\(|\bon\b|\bat\b){0,2} ?(\b(jan(uary)?|feb(ruary)?|mar(ch)?|apr(il)?|may|jun(e)?|jul(y)?|aug(ust)?|sep(t(ember)?)?|oct(ober)?|nov(ember)?|dec(ember)?)\b\.? \d{1,2}(th)?(,? ?(20)?\d{2})?\)?|\d{1,2}[/\- ]\d{1,2}([/\- ](20)?\d{2})?\)?))?(( |,|-|\(|\bon\b|\bat\b|@){0,2} ?\d{1,2}(:\d{2})? ?(a.?m.?|p.?m.?)\)?)?$/ig, "");
		
		// find logo match (start from end for most recently added logos)
		for(var i=logoList.length-1; i>=0; i--) {
			var listName = logoList[i].oname.toUpperCase();
			if(name==cleaner(listName) || extraName==cleaner(listName)) {
				logo = logoList[i].ologo;
				break;
			}
		}

		// custom code
		if(logo=="") {
			var str = name
			if (name.match("WRANGLERS")) {
				logo = "austin_wranglers";
			} else if(name.indexOf("TEXAS STATE UNIVERSITY") > -1) {
				logo = "texas_state";
			} else if(name.indexOf("PARKING") > -1) {
				logo = "parking";
			}
		}
		// end cc
		
		// find logo based on group
		if(logo=="") {
			if(typeof(fullGroupList)!="undefined" && group!="") {
				while(logo=="" && group!="") {
					for(var k=0; k<logoGroupList.length; k++) {
						for(var l=0; l<logoGroupList[k].oname.length; l++) {
							if(logoGroupList[k].oname[l]==group) {
								logo = logoGroupList[k].ologo;
								break;
							}
						}
						if(logo!="") break;
					}
					if(logo!="") break;
					var parent = "";
					for(var i=0; i<fullGroupList.length; i++) {
						if(fullGroupList[i].code==group) {
							parent = fullGroupList[i].parent;
						}
					}
					group = parent;
				}
			} else {
				for(var k=0; k<logoGroupList.length; k++) {
					for(var l=0; l<logoGroupList[k].oname.length; l++) {
						if(logoGroupList[k].oname[l]==group) {
							logo = logoGroupList[k].ologo;
							break;
						}
					}
				}
			}
		}
		
		// 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="60" height="60" alt="'+extraName+'" align="absmiddle">';
			} else {
				for(var k=0; k<logo.length; k++) {
					imgSrc += '<img src="'+imageWWWPath+'/logos/'+logo[k]+'.gif" border="0" width="60" height="60" alt="'+extraName+'" align="absmiddle"> ';
				}
			}
			if(fullSize!="" && group!="ticketTransfers") {
				imgSrc = '<a href="#" onclick="toggleFullSize(this); return false;" class="thumbHide">' + imgSrc + '<br><small style="white-space:nowrap"><img src="'+imageWWWPath+'/fullsize/mag.gif" border="0" width="11" height="11" align="absmiddle"> view large</small><span><img src="'+imageWWWPath+'/fullsize/'+fullSize+'.gif" border="0" alt="'+name+'"><br><small style="white-space:nowrap"><img src="'+imageWWWPath+'/fullsize/close.gif" border="0" width="11" height="11" align="absmiddle"> click to close</small></span></a>';
			}
		}
		return(imgSrc);
	}
	
	function toggleFullSize(thumb) {
		if(thumb.className=="thumbHide") {
			thumb.className = 'thumbShow';
		} else if(thumb.className=="thumbShow") {
			thumb.className = 'thumbHide';
		}
	}
	
	// print smaller logo for calendar
	function printCalLogo(name, group) {
		var imgSrc = printLogo(name, group);
		if(imgSrc!="") {
			imgSrc = imgSrc.replace(/width="60" height="60"/ig, 'width="40" height="40"');
			
			//remove full size code
			imgSrc = imgSrc.replace(/((<a href[^>]+>){1}|(<br>(<([^>]+)>)+ view large(<([^>]+)>)+ click to close(<([^>]+)>)+))/ig, "");
		}
		return(imgSrc);
	}
	
	// print very small logo
	function printSmallLogo(name, group) {
		var imgSrc = printLogo(name, group);
		if(imgSrc!="") {
			imgSrc = imgSrc.replace(/width="60" height="60"/ig, 'width="30" height="30" align="absmiddle"');
			
			//remove full size code
			imgSrc = imgSrc.replace(/((<a href[^>]+>){1}|(<br>(<([^>]+)>)+ view large(<([^>]+)>)+ click to close(<([^>]+)>)+))/ig, "");
		}
		return(imgSrc);
	}

	// custom code (print large logo - for displaygrouplist)
	function printBigLogo(name, group) {
		var logo = "";
		var imgSrc = "";
		
		switch(group) {
			case "PA": logo = "twuni"; break;
			case "GB": logo = "gbpac"; break;
			case "WS": logo = "wcfso"; break;
			case "SW": logo = "theatre"; break;
			case "SM": logo = "som"; break;
			case "EC": logo = "uniComplex"; break;
			default: logo = "twuni"; break;
		}
		
		if(logo!="") {
			imgSrc = '<img src="'+imageWWWPath+'/logos/'+logo+'.jpg" border="0" alt="'+name+'">';
			imgSrc = imgSrc.replace(/.gif"/ig, '.jpg"');
		}
		return(imgSrc);
	}
	
