/* --------------------------------------------------
	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;
	}

	logoList = new Array;
	var i = 0;
	
//	logoList[i++] = new makeLogo("Florida Int&#39;l", "fiu");
	logoList[i++] = new makeLogo("FLEX PACK W/ASU", "asu");
	logoList[i++] = new makeLogo("Arkansas", "uark");
	logoList[i++] = new makeLogo("ASU", "asu");
	logoList[i++] = new makeLogo("BYU", "byu");
	logoList[i++] = new makeLogo("Cal ST Fullerton", "fullerton");
	logoList[i++] = new makeLogo("California", "cal");
	logoList[i++] = new makeLogo("LSU", "lsu");
	logoList[i++] = new makeLogo("Missouri", "missouri");
	logoList[i++] = new makeLogo("vs NAU TAILGATE SPACE", "nau");
	logoList[i++] = new makeLogo("Oregon State", "oregonstate");
	logoList[i++] = new makeLogo("Oregon", "uoregon");
	logoList[i++] = new makeLogo("OSU", "oregonstate");
	logoList[i++] = new makeLogo("Pan AM", "panam");
	logoList[i++] = new makeLogo("Sacaramento ST Univ", "csus");
	logoList[i++] = new makeLogo("Sacramento ST Univ", "csus");
	logoList[i++] = new makeLogo("Stanford", "stanford");
	logoList[i++] = new makeLogo("TCU", "tcu");
	logoList[i++] = new makeLogo("Texas State", "swt");
	logoList[i++] = new makeLogo("UCLA", "ucla");
	logoList[i++] = new makeLogo("Univ Cal-Irvine", "uci");
	logoList[i++] = new makeLogo("University Cal Irvine", "uci");
	logoList[i++] = new makeLogo("University Cal-Irvine", "uci");
	logoList[i++] = new makeLogo("University Cal-Riverside", "uci");
	logoList[i++] = new makeLogo("University of Cal-Riverside", "uci");
	logoList[i++] = new makeLogo("UNLV", "unlv");
	logoList[i++] = new makeLogo("USC", "usc");
	logoList[i++] = new makeLogo("UTEP", "utep");
	logoList[i++] = new makeLogo("Washington ST", "wsu");
	logoList[i++] = new makeLogo("Washington State", "wsu");
	logoList[i++] = new makeLogo("Washington", "washington");
	logoList[i++] = new makeLogo("Wayne Brady", "arizona");
	logoList[i++] = new makeLogo("WSU", "wsu");
	logoList[i++] = new makeLogo("Zona Zoo", "zonazoo");
	logoList[i++] = new makeLogo("vs UTAH TAILGATE SPACE", "utah");
	logoList[i++] = new makeLogo("vs WISCONSIN TAILGATE SPACE", "wisc");
	logoList[i++] = new makeLogo("FLEX PACK W/O ASU", "asu");
	logoList[i++] = new makeLogo("vs WASHINGTON STATE TAILGATE SPACE", "wsu");
	logoList[i++] = new makeLogo("vs ARIZONA STATE", "asu");
	logoList[i++] = new makeLogo("UC SANTA BARBARA", "ucsb");
	logoList[i++] = new makeLogo("FIESTA BOWL II", "fiestabowl");
	logoList[i++] = new makeLogo("FIESTA BOWL I", "fiestabowl");
	logoList[i++] = new makeLogo("UNIVERSITY OF MARYLAND", "umd");
	logoList[i++] = new makeLogo("ARIZONA STATE", "asu");
	logoList[i++] = new makeLogo("OREGON ST", "oregonstate");
	logoList[i++] = new makeLogo("Mississippi St", "msstate");
	logoList[i++] = new makeLogo("Texas", "utexas");
	logoList[i++] = new makeLogo("EASTERN MICHIGAN", "emich");
	logoList[i++] = new makeLogo("ARIZONA ST", "asu");	
	logoList[i++] = new makeLogo("Univ of Washington", "washington");
	logoList[i++] = new makeLogo("Utah Valley St", "utahvalleyst");	
	logoList[i++] = new makeLogo("Kanye West, Glow in the Dark Tour", "kanye_west");
	
	logoList[i++] = new makeLogo("vs Idaho, Aug 30", "uidaho");
	logoList[i++] = new makeLogo("vs Toledo, Sept 6", "utoledo");
	logoList[i++] = new makeLogo("vs Washington, Oct 4", "washington");
	logoList[i++] = new makeLogo("vs California, Oct 18", "cal");
	logoList[i++] = new makeLogo("vs USC, Oct 25", "usc");
	logoList[i++] = new makeLogo("vs Oregon St, Nov 22", "oregonstate");
	logoList[i++] = new makeLogo("vs ASU, Dec 6", "asu");

	logoList[i++] = new makeLogo("v Washington State", "wsu");
	logoList[i++] = new makeLogo("v Washington", "washington");
	logoList[i++] = new makeLogo("v ASU", "asu");
	logoList[i++] = new makeLogo("v UCLA", "ucla");
	logoList[i++] = new makeLogo("v USC", "usc");
	logoList[i++] = new makeLogo("v California", "cal");
	logoList[i++] = new makeLogo("v Stanford", "stanford");
	logoList[i++] = new makeLogo("v Oregon", "uoregon");
	logoList[i++] = new makeLogo("v Oregon State", "oregonstate");

	logoList[i++] = new makeLogo("Cal Poly San Luis Obispo", "calpoly");
	logoList[i++] = new makeLogo("Weber State University", "weber");
	logoList[i++] = new makeLogo("University of Michigan", "umich");
	logoList[i++] = new makeLogo("Cal State University Northridge", "csun");
	logoList[i++] = new makeLogo("Cal State University Long Beach", "csulb3");
	logoList[i++] = new makeLogo("UC-Santa Barbara", "ucsb");
	logoList[i++] = new makeLogo("NAU, 11/30", "northernArizona");
	logoList[i++] = new makeLogo("Loyola Marymount, 12/2", "lmu");
	logoList[i++] = new makeLogo("San Diego St, 12/10", "sdsu");
	logoList[i++] = new makeLogo("Gonzaga", "gonzaga"); 	
	logoList[i++] = new makeLogo("Baseball Season", "baseball");
	logoList[i++] = new makeLogo("Baseball Flex Package", "baseball"); 	

	logoList[i++] = new makeLogo("Las Vegas Bowl", "lasvegas-bowl");
	logoList[i++] = new makeLogo("USC, Jan 15", "usc");
	logoList[i++] = new makeLogo("UCLA, Jan 17", "ucla");
	logoList[i++] = new makeLogo("ASU, Bus Trip to Tempe", "asu");
	logoList[i++] = new makeLogo("Oregon State University, Feb 5", "oregonstate");
	logoList[i++] = new makeLogo("University of Oregon, Feb 7", "uoregon");
	logoList[i++] = new makeLogo("Arizona State University, Feb 21", "asu");
	logoList[i++] = new makeLogo("Washington State University, Feb 26", "wsu");
	logoList[i++] = new makeLogo("University of Washington, 2/28", "washington");
	logoList[i++] = new makeLogo("Arizona State, 1/21", "asu");
	logoList[i++] = new makeLogo("Houston, 1/24", "uh");
	logoList[i++] = new makeLogo("Washington, 1/29", "washington");
	logoList[i++] = new makeLogo("Washington State, 1/31", "wsu");
	logoList[i++] = new makeLogo("USC, 2/12", "usc");
	logoList[i++] = new makeLogo("UCLA, 2/14", "ucla");
	logoList[i++] = new makeLogo("California, 3/5", "cal");
	logoList[i++] = new makeLogo("Stanford, 3/7/09", "stanford");

	logoList[i++] = new makeLogo("Sacramento St, 2/20", "sacstate");
	logoList[i++] = new makeLogo("Sacramento St, 2/21", "sacstate");
	logoList[i++] = new makeLogo("Sacramento St, 2/22", "sacstate");
	logoList[i++] = new makeLogo("Georgia 2/27", "uga");
	logoList[i++] = new makeLogo("Georgia 2/28", "uga");
	logoList[i++] = new makeLogo("Georgia 3/1", "uga");
	logoList[i++] = new makeLogo("Holy Cross 3/3", "holycross");
	logoList[i++] = new makeLogo("Holy Cross 3/4", "holycross");
	logoList[i++] = new makeLogo("Massachusetts 3/6", "umass");
	logoList[i++] = new makeLogo("Massachusetts 3/7", "umass");
	logoList[i++] = new makeLogo("Massachusetts 3/8", "umass");
	logoList[i++] = new makeLogo("Oklahoma St 3/10", "okstate2");
	logoList[i++] = new makeLogo("Oklahoma St 3/11", "okstate2");
	logoList[i++] = new makeLogo("Michigan 3/13", "umich");
	logoList[i++] = new makeLogo("Michigan 3/14", "umich");
	logoList[i++] = new makeLogo("Michigan 3/15", "umich");
	logoList[i++] = new makeLogo("USC 4/3", "usc");
	logoList[i++] = new makeLogo("USC 4/4", "usc");
	logoList[i++] = new makeLogo("USC 4/5", "usc");
	logoList[i++] = new makeLogo("Oregon St 4/9", "oregonstate");
	logoList[i++] = new makeLogo("Oregon St 4/10", "oregonstate");
	logoList[i++] = new makeLogo("Oregon St 4/11", "oregonstate");
	logoList[i++] = new makeLogo("New Mexico 4/14", "unm");
	logoList[i++] = new makeLogo("New Mexico 4/15", "unm");
	logoList[i++] = new makeLogo("ASU, 4/29", "asu");
	logoList[i++] = new makeLogo("California 5/1", "cal");
	logoList[i++] = new makeLogo("California 5/2", "cal");
	logoList[i++] = new makeLogo("California 5/3", "cal");
	logoList[i++] = new makeLogo("Loyola Marymount 5/9", "lmu");
	logoList[i++] = new makeLogo("Loyola Marymount 5/10", "lmu");
	logoList[i++] = new makeLogo("Loyola Marymount 5/11", "lmu");
	logoList[i++] = new makeLogo("Washington 5/16", "washington");
	logoList[i++] = new makeLogo("Washington 5/17", "washington");
	logoList[i++] = new makeLogo("Washington 5/18", "washington");
	logoList[i++] = new makeLogo("ASU 5/20", "asu"); 	
	logoList[i++] = new makeLogo("Soccer Season Tickets", "soccer2");
	logoList[i++] = new makeLogo("Central Michigan, Sept 5", "cmich");
	logoList[i++] = new makeLogo("NAU, Sept 12", "northernArizona");
	logoList[i++] = new makeLogo("Stanford, Oct 17", "stanford");
	logoList[i++] = new makeLogo("UCLA, Oct 24", "ucla");
	logoList[i++] = new makeLogo("Washington State, Nov 7", "wsu");
	logoList[i++] = new makeLogo("Oregon, Nov 21", "uoregon");
	
	logoList[i++] = new makeLogo("Football", "uaz-helmet");
	logoList[i++] = new makeLogo("Basketball Waiting List", "basketball");
	logoList[i++] = new makeLogo("Soccer", "soccer2");
	logoList[i++] = new makeLogo("Volleyball", "volleyball2");
	logoList[i++] = new makeLogo("Women&#39;s Basketball", "basketball");
	logoList[i++] = new makeLogo("UC Irvine", "uci");
	logoList[i++] = new makeLogo("University of San Diego", "san_diego");
	logoList[i++] = new makeLogo("Brigham Young University", "byu");
	logoList[i++] = new makeLogo("Loyola Marymount", "lmu");
	logoList[i++] = new makeLogo("Marriott University Park Tournament - Day 1", "soccer2");
	logoList[i++] = new makeLogo("Marriott University Park Tournament - Day 2", "soccer2");
	logoList[i++] = new makeLogo("Marriott University Park Wildcat Classic - Day 1", "volleyball2");
	logoList[i++] = new makeLogo("Marriott University Park Arizona Invitational - Day 1", "volleyball2");
	logoList[i++] = new makeLogo("Marriott University Park Arizona Invitaional - Day 2", "volleyball2");
	logoList[i++] = new makeLogo("Ft. Lewis College", "fortlewis");
	logoList[i++] = new makeLogo("Grand Canyon University", "grandcanyon");
	logoList[i++] = new makeLogo("Ole Miss", "olemiss");
	logoList[i++] = new makeLogo("Nevada", "unr");
	logoList[i++] = new makeLogo("New Mexico (Double Header)", "unm2");
	logoList[i++] = new makeLogo("Alabama A&M", "aamu");
	logoList[i++] = new makeLogo("Cal State-Northridge", "csun");
	
	logoList[i++] = new makeLogo("Augustana College", "augie");
	logoList[i++] = new makeLogo("Western New Mexico", "wnmu");
	logoList[i++] = new makeLogo("Northern Arizona", "northernArizona");
	logoList[i++] = new makeLogo("Rice", "rice");
	logoList[i++] = new makeLogo("Louisiana Tech", "latech");
	logoList[i++] = new makeLogo("Lipscomb", "lipscomb");
	logoList[i++] = new makeLogo("NC State", "ncstate");
	logoList[i++] = new makeLogo("Stanford 4-Pack", "stanford");
	logoList[i++] = new makeLogo("UCLA 4-Pack", "ucla");
	logoList[i++] = new makeLogo("Washington State 4-Pack", "wsu");
	logoList[i++] = new makeLogo("Oregon 4-Pack", "uoregon");
	logoList[i++] = new makeLogo("Brut Sun Bowl, Dec 31, 2009", "Sun-Bowl");
	logoList[i++] = new makeLogo("Emerald Bowl, Dec 26, 2009", "Emerald-Bowl");
	logoList[i++] = new makeLogo("Maaco Las Vegas Bowl, Dec 22, 2009", "Maaco-Las-Vegas-Bowl");
	logoList[i++] = new makeLogo("Pacific Life Holiday Bowl, Dec 30, 2009", "Pacific-Life-Holiday-Bowl");
	logoList[i++] = new makeLogo("Rose Bowl, Jan 1, 2010", "Rose-Bowl");
	logoList[i++] = new makeLogo("San Diego County Credit Union Poinsettia Bowl, Dec 23, 2009", "Poinsettia-Bowl");	
	logoList[i++] = new makeLogo("Utah Valley", "utah_valley_state");	
	logoList[i++] = new makeLogo("Long Beach State", "csulb3");	
	logoList[i++] = new makeLogo("Cal State Fullerton", "fullerton");	
	logoList[i++] = new makeLogo("Saint Joseph's", "sju");	
	logoList[i++] = new makeLogo("Northern Colorado", "northern_colorado2");	
	logoList[i++] = new makeLogo("Wichita State", "wichita");	
	logoList[i++] = new makeLogo("Sacramento State", "sacstate");	
	logoList[i++] = new makeLogo("New Mexico", "unm2");	
	logoList[i++] = new makeLogo("Cal State Bakersfield", "csub");	
	logoList[i++] = new makeLogo("Pac-10 Men&#39;s Basketball Tournament", "MBPac10");	
	logoList[i++] = new makeLogo("2010 Women&#39;s Pac-10 Tournament", "WBPac10");	
	logoList[i++] = new makeLogo("Pac-10 Women&#39;s Basketball Tournament", "WBPac10");	
	logoList[i++] = new makeLogo("Cal Poly", "cal_poly2");	
	logoList[i++] = new makeLogo("Utah", "utah");	
	logoList[i++] = new makeLogo("San Francisco", "usfca");	
	logoList[i++] = new makeLogo("Minnesota", "umn");
	logoList[i++] = new makeLogo("Citadel", "citadel");	
	logoList[i++] = new makeLogo("Iowa", "uiowa");	
	logoList[i++] = new makeLogo("Idaho State", "isu");	
	logoList[i++] = new makeLogo("New Mexico State", "nmsu");	
	logoList[i++] = new makeLogo("Bethune Cookman", "cookman");	
	logoList[i++] = new makeLogo("Oklahoma", "ou");	
	logoList[i++] = new makeLogo("Western St College of CO", "western_state_colorado");	
	logoList[i++] = new makeLogo("NAU", "northernArizona");	
	logoList[i++] = new makeLogo("Arkansas Pine Bluff", "uapb");	
	logoList[i++] = new makeLogo("New Mexico St", "nmsu");	
	logoList[i++] = new makeLogo("North Texas", "northtexas");	
	logoList[i++] = new makeLogo("Iona College", "iona");	
	logoList[i++] = new makeLogo("Rose Bowl presented by Citi, Jan 1, 2011 @2PM", "rose-bowl");	
	logoList[i++] = new makeLogo("Valero Alamo Bowl, Dec 29, 2010 @ 6:15PM", "alamo-bowl");	
	logoList[i++] = new makeLogo("Bridgepoint Education Holiday Bowl, Dec 30, 2010 7PM", "brigepoint-education-holiday-bowl");	
	logoList[i++] = new makeLogo("Hyundai Sun Bowl, Dec 31, 2010 @ 11AM", "sun-bowl");	
	logoList[i++] = new makeLogo("MAACO Las Vegas Bowl, Dec 22, 2010, 5PM", "lasvegas-bowl");	
	logoList[i++] = new makeLogo("Kraft Fight Hunger Bowl, Jan 9, 2011 @ 6PM", "kraft_fight_hunger_bowl");
	logoList[i++] = new makeLogo("Pac-10 Basketball Tournament", "2010-Pac-10");		
	logoList[i++] = new makeLogo("Pac-10 Tournament", "2010-Pac-10");			
	logoList[i++] = new makeLogo("Creighton - creighton2");			
	logoList[i++] = new makeLogo("Baylor", "baylor2");			
	logoList[i++] = new makeLogo("Cal State Northridge", "csun");			
	logoList[i++] = new makeLogo("Alcorn State", "alcorn2");			
	logoList[i++] = new makeLogo("North Dakota State", "ndsu2");	
	logoList[i++] = new makeLogo("Creighton", "creighton2");		
	logoList[i++] = new makeLogo("A-Club Membership", "aclub"); 	
	logoList[i++] = new makeLogo("South Carolina", "sc");		
	logoList[i++] = new makeLogo("Pacific", "uop");		
	logoList[i++] = new makeLogo("Texas Tech", "ttu");		
	logoList[i++] = new makeLogo("Colorado", "Colorado2");		
	logoList[i++] = new makeLogo("Louisiana-Lafayette", "louisiana");
	logoList[i++] = new makeLogo("2K Sports Classic (Coaches vs. Cancer)", "2kclassic");
	logoList[i++] = new makeLogo("Arizona vs. Gonzaga", "battle_seattle");
	logoList[i++] = new makeLogo("UCLA Value Pack", "ucla");
	logoList[i++] = new makeLogo("Utah Value Pack", "utah");
	logoList[i++] = new makeLogo("Louisiana-Lafayette Value Pack", "louisiana");
	logoList[i++] = new makeLogo("Seattle Pacific", "seattle_pacific");
	logoList[i++] = new makeLogo("Humboldt State", "humboldt");
	logoList[i++] = new makeLogo("Valparaiso", "valpo");
	logoList[i++] = new makeLogo("Duquesne", "duquesne");
	logoList[i++] = new makeLogo("Ball State", "bsu");
	logoList[i++] = new makeLogo("San Diego State", "sdsu");
	logoList[i++] = new makeLogo("Western St. College of CO", "western_state_colorado");
	logoList[i++] = new makeLogo("Grand Canyon", "ccs");
	logoList[i++] = new makeLogo("Clemson", "clemson");
	logoList[i++] = new makeLogo("Oakland", "oakland");
	logoList[i++] = new makeLogo("Bryant", "Bryant_University");
	logoList[i++] = new makeLogo("Auburn", "Auburn3");
	logoList[i++] = new makeLogo("Harvard", "harvard");
	logoList[i++] = new makeLogo("UC Davis", "ucdavis");
	logoList[i++] = new makeLogo("Eastern Tennessee State", "etsu");
	logoList[i++] = new makeLogo("College Of Charleston", "College_of_Charleston2");
	

	extraList = new Array;
	var i = 0;
	
	extraList[i++] = "";
	extraList[i++] = "The ";
	extraList[i++] = "THE ";
	extraList[i++] = "at ";
	extraList[i++] = "@ ";
	extraList[i++] = "<center>";
	extraList[i++] = "<center>at ";
	extraList[i++] = "vs ";
	extraList[i++] = "vs. ";
	extraList[i++] = "<a>";
	extraList[i++] = "</a>";
	extraList[i++] = " FAMILY 4 PACK";
	extraList[i++] = " - Family Four Packs";
	extraList[i++] = " - Group Tickets";
	
	// NEW (accomodates more than one logo)
	function printLogo(name, group) {
		var logo = new Array();
		//name = stripHTML(name.toUpperCase());
		name = name.toUpperCase();
		while(name.indexOf("  ")>-1) {
			name = name.replace(/  /g, " ");
		}

		for(var i=0; i < logoList.length; i++) {
			var listName = logoList[i].oname.toUpperCase();
			listName = listName.replace(/'/,"&#39;"); // fix apostrophes
			for(var j=0; j < extraList.length; j++) {
				var listExtra = extraList[j].toUpperCase();
				if(
					(listName + listExtra == name || listExtra + listName == name) && 
					!(logo.length>0 && logo[logo.length-1]==logoList[i].ologo)
				) {
					//logo.push(logoList[i].ologo);
					logo[0] = logoList[i].ologo;
				}
			}
		}

		if(logo.length==0) {
			if(typeof(fullGroupList)!="undefined" && group!="") {
				while(logo.length==0 && group!="") {
					switch(group) {
						case "F": case "FB": case "FB1":// football
							logo.push("uaz-helmet"); break;
						case "BS": // baseball
							logo.push("baseball"); break;
						case "SB": // softball
							logo.push("softball3"); break;
						case "MB": case "MBK": case "WB": case "BK": case "WBK": case "WB1":// basketball
							logo.push("basketball"); break;
						case "VB": case "MVB": case "WVB": case "VBS":// volleyball
							logo.push("volleyball2"); break;
						case "H": // hockey
							logo.push("hockey"); break;
						case "SOC": case "MS": case "WS":  case "SC": case "SCS":// soccer
							logo.push("soccer2"); break;
						case "N11": // hockey
							logo.push("NCAA-Basketball-Logo"); break;
							
					}
					var parent = "";
					for(var i=0; i<fullGroupList.length; i++) {
						if(fullGroupList[i].code==group) {
							parent = fullGroupList[i].parent;
						}
					}
					group = parent;
				}
				if(logo.length==0) logo.push("na"); // default
			} else {
				switch(group) {
					case "F": case "FBS": case "FBI": // football
						logo.push("football"); break;
					case "BB": // baseball
						logo.push("baseball"); break;
					case "SB": // softball
						logo.push("softball3"); break;
					case "MB": case "MBS": case "MBI":  // basketball
						logo.push("basketball"); break;
					case "WB": case "WBS": case "WBI":  // basketball
						logo.push("basketball"); break;
					case "VB": case "MVB": case "WVB": // volleyball
						logo.push("volleyball"); break;
					case "H": // hockey
						logo.push("hockey"); break;
					case "SOC": case "MS": case "WS": // soccer
						logo.push("soccer"); break;
					default: // not avail
						logo.push("na"); break;
				}
			}
		}
		var imgSrc = "";

		if(logo.length>0) {
			for(var k=0; k<logo.length; k++) {
				imgSrc += '<img src="'+imageWWWPath+'/logos/'+logo[k]+'.gif" border="0" width="60" height="60" alt="'+name+'">';
			}
		}
		return(imgSrc);
	}
	
	// print smaller logo for calendar
	function printCalLogo(name, group) {
		var imgSrc = printLogo(name, group);
		imgSrc = imgSrc.replace(/width="60" height="60"/ig, 'width="40" height="40"');
		return(imgSrc);
	}
	
	
	// print very small logo (custom code)
	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 - VFS	
	
function print_jpg(name, imgDir, mWidth, mHeight ) {
  var img = "";
  name = name.toUpperCase();

// modified to use section name as image name. the file name for the view has to be = the area code
  var imgSrc = "";

  if(name != "") {
   imgSrc =  '<img src="'+imageWWWPath+'/'+imgDir+'/'+name+'.jpg" class="imagelink" width="'+mWidth+'" Height="'+mHeight+'" border="1"><br>' ;  
      imgSrc = imgSrc + '<img src="$(imageWWWPath)/blank.gif" border="0" width="13" height="1">View from section <b>'+ name +'</b><br><br>';
  }

  return(imgSrc);
 } 	
	
// end of custom code - vfs	
