
//<![CDATA[

var _redRiver = new GPolygon([
new GLatLng(30.2658,-97.7348),
new GLatLng(30.2696,-97.7334),
new GLatLng(30.2708,-97.7379),
new GLatLng(30.2671,-97.7392),
new GLatLng(30.2658,-97.7348)
], "#a20a0a", 2, 1, "#a20a0a", 0.4);

var _university = new GPolygon([
new GLatLng(30.278466,-97.729933),
new GLatLng(30.280578,-97.728775),
new GLatLng(30.282376,-97.727423),
new GLatLng(30.284228,-97.726264),
new GLatLng(30.286489,-97.724891),
new GLatLng(30.287156,-97.7268),
new GLatLng(30.288416,-97.729118),
new GLatLng(30.28925,-97.73062),
new GLatLng(30.289417,-97.734568),
new GLatLng(30.289509,-97.736778),
new GLatLng(30.289676,-97.739053),
new GLatLng(30.289843,-97.741392),
new GLatLng(30.291955,-97.741177),
new GLatLng(30.293307,-97.741799),
new GLatLng(30.294364,-97.742293),
new GLatLng(30.294993,-97.741842),
new GLatLng(30.29605,-97.741156),
new GLatLng(30.296494,-97.742078),
new GLatLng(30.297921,-97.741284),
new GLatLng(30.299162,-97.74049),
new GLatLng(30.301181,-97.73916),
new GLatLng(30.302756,-97.73813),
new GLatLng(30.301904,-97.736371),
new GLatLng(30.300626,-97.733624),
new GLatLng(30.303016,-97.73195),
new GLatLng(30.30648,-97.729847),
new GLatLng(30.307573,-97.729053),
new GLatLng(30.308666,-97.728367),
new GLatLng(30.309925,-97.731135),
new GLatLng(30.310833,-97.732959),
new GLatLng(30.308592,-97.734289),
new GLatLng(30.306443,-97.73577),
new GLatLng(30.305276,-97.736542),
new GLatLng(30.303553,-97.739782),
new GLatLng(30.304368,-97.741435),
new GLatLng(30.30196,-97.74298),
new GLatLng(30.300477,-97.743473),
new GLatLng(30.29931,-97.744181),
new GLatLng(30.298143,-97.744911),
new GLatLng(30.297235,-97.743216),
new GLatLng(30.295938,-97.743924),
new GLatLng(30.293419,-97.744138),
new GLatLng(30.290658,-97.744374),
new GLatLng(30.289342,-97.744524),
new GLatLng(30.287934,-97.744653),
new GLatLng(30.286619,-97.744761),
new GLatLng(30.285229,-97.744954),
new GLatLng(30.283969,-97.744997),
new GLatLng(30.282598,-97.745125),
new GLatLng(30.281783,-97.742164),
new GLatLng(30.28119,-97.739847),
new GLatLng(30.280615,-97.738066),
new GLatLng(30.279652,-97.734504),
new GLatLng(30.278984,-97.7321),
new GLatLng(30.278466,-97.729933)
], "#d68244", 2, 1, "#d68244", 0.4);

var _warehouse = new GPolygon([
new GLatLng(30.263028,-97.743216),
new GLatLng(30.269534,-97.740791),
new GLatLng(30.270275,-97.743409),
new GLatLng(30.268422,-97.744138),
new GLatLng(30.269015,-97.746348),
new GLatLng(30.268088,-97.74667),
new GLatLng(30.269274,-97.750962),
new GLatLng(30.267958,-97.751412),
new GLatLng(30.265771,-97.752614),
new GLatLng(30.263028,-97.743216)
], "#1b2ea2", 2, 1, "#1b2ea2", 0.4);

var _sAustin = new GPolygon([
new GLatLng(30.238816,-97.753601),
new GLatLng(30.241819,-97.752399),
new GLatLng(30.244303,-97.751713),
new GLatLng(30.24612,-97.750983),
new GLatLng(30.247825,-97.75034),
new GLatLng(30.249011,-97.749825),
new GLatLng(30.251087,-97.749224),
new GLatLng(30.252385,-97.748623),
new GLatLng(30.254646,-97.747808),
new GLatLng(30.257204,-97.746949),
new GLatLng(30.258612,-97.748365),
new GLatLng(30.260058,-97.749524),
new GLatLng(30.262134,-97.751627),
new GLatLng(30.263468,-97.754588),
new GLatLng(30.264395,-97.75712),
new GLatLng(30.262319,-97.757764),
new GLatLng(30.260837,-97.758236),
new GLatLng(30.260058,-97.755103),
new GLatLng(30.259391,-97.753172),
new GLatLng(30.258501,-97.750254),
new GLatLng(30.25624,-97.751369),
new GLatLng(30.254757,-97.752399),
new GLatLng(30.252533,-97.753644),
new GLatLng(30.251643,-97.754416),
new GLatLng(30.25068,-97.754846),
new GLatLng(30.249493,-97.755146),
new GLatLng(30.247417,-97.755661),
new GLatLng(30.246416,-97.756433),
new GLatLng(30.245564,-97.756991),
new GLatLng(30.24434,-97.757721),
new GLatLng(30.226238,-97.769662),
new GLatLng(30.223123,-97.763461)
], "#dadf4f", 2, 1, "#dadf4f", 0.4);

var _sLamar = new GPolygon([
new GLatLng(30.241337,-97.785444),
new GLatLng(30.242375,-97.784028),
new GLatLng(30.243599,-97.782483),
new GLatLng(30.245007,-97.780252),
new GLatLng(30.246194,-97.778621),
new GLatLng(30.24675,-97.777333),
new GLatLng(30.247232,-97.77566),
new GLatLng(30.247454,-97.774029),
new GLatLng(30.24764,-97.772527),
new GLatLng(30.248084,-97.771068),
new GLatLng(30.248418,-97.769566),
new GLatLng(30.248974,-97.768407),
new GLatLng(30.249567,-97.767291),
new GLatLng(30.250235,-97.766132),
new GLatLng(30.25105,-97.765145),
new GLatLng(30.252125,-97.764287),
new GLatLng(30.252941,-97.763343),
new GLatLng(30.254164,-97.762527),
new GLatLng(30.25535,-97.761841),
new GLatLng(30.256796,-97.76094),
new GLatLng(30.257649,-97.759867),
new GLatLng(30.258575,-97.759137),
new GLatLng(30.260021,-97.758751),
new GLatLng(30.260786,-97.758558),
new GLatLng(30.261268,-97.759609),
new GLatLng(30.261768,-97.760875),
new GLatLng(30.261991,-97.761562),
new GLatLng(30.261398,-97.761927),
new GLatLng(30.261138,-97.762141),
new GLatLng(30.261157,-97.762506),
new GLatLng(30.260879,-97.762764),
new GLatLng(30.260452,-97.763021),
new GLatLng(30.260007,-97.763321),
new GLatLng(30.25947,-97.763665),
new GLatLng(30.259025,-97.763987),
new GLatLng(30.258599,-97.764223),
new GLatLng(30.257654,-97.764802),
new GLatLng(30.257061,-97.76521),
new GLatLng(30.256349,-97.76566),
new GLatLng(30.255497,-97.766154),
new GLatLng(30.254329,-97.766916),
new GLatLng(30.253078,-97.767688),
new GLatLng(30.252133,-97.76831),
new GLatLng(30.251373,-97.768772),
new GLatLng(30.250585,-97.769287),
new GLatLng(30.250937,-97.770102),
new GLatLng(30.251577,-97.771325),
new GLatLng(30.252068,-97.772323),
new GLatLng(30.252587,-97.773428),
new GLatLng(30.25153,-97.774179),
new GLatLng(30.250668,-97.774791),
new GLatLng(30.249936,-97.775263),
new GLatLng(30.249102,-97.775799),
new GLatLng(30.248555,-97.776185),
new GLatLng(30.247879,-97.776636),
new GLatLng(30.248259,-97.777462),
new GLatLng(30.248629,-97.778234),
new GLatLng(30.247897,-97.778707),
new GLatLng(30.247248,-97.779093),
new GLatLng(30.246794,-97.779447),
new GLatLng(30.247471,-97.78037),
new GLatLng(30.24799,-97.780906),
new GLatLng(30.248249,-97.781292),
new GLatLng(30.247888,-97.781507),
new GLatLng(30.24774,-97.781646),
new GLatLng(30.247703,-97.781786),
new GLatLng(30.247786,-97.781968),
new GLatLng(30.247897,-97.782322),
new GLatLng(30.247434,-97.782998),
new GLatLng(30.247045,-97.783577),
new GLatLng(30.246739,-97.783985),
new GLatLng(30.246504,-97.784264),
new GLatLng(30.246355,-97.784463),
new GLatLng(30.246128,-97.784291),
new GLatLng(30.24585,-97.784082),
new GLatLng(30.245642,-97.784489),
new GLatLng(30.245405,-97.784961),
new GLatLng(30.245266,-97.785289),
new GLatLng(30.245091,-97.785662),
new GLatLng(30.244943,-97.785932),
new GLatLng(30.244761,-97.785847),
new GLatLng(30.244613,-97.785804),
new GLatLng(30.244236,-97.785841),
new GLatLng(30.243671,-97.786034),
new GLatLng(30.242976,-97.786292),
new GLatLng(30.242586,-97.786367),
new GLatLng(30.242308,-97.786249),
new GLatLng(30.242012,-97.78597),
new GLatLng(30.241337,-97.785444)
], "#dadf4f", 2, 1, "#dadf4f", 0.4);

var _eastSide = new GPolygon([
new GLatLng(30.247774,-97.735255),
new GLatLng(30.249887,-97.735705),
new GLatLng(30.251778,-97.736135),
new GLatLng(30.253928,-97.736542),
new GLatLng(30.255522,-97.736886),
new GLatLng(30.25719,-97.737079),
new GLatLng(30.258321,-97.737079),
new GLatLng(30.259526,-97.736778),
new GLatLng(30.261008,-97.736306),
new GLatLng(30.263288,-97.735448),
new GLatLng(30.265938,-97.734482),
new GLatLng(30.268329,-97.733538),
new GLatLng(30.270238,-97.732787),
new GLatLng(30.271794,-97.732251),
new GLatLng(30.272091,-97.730255),
new GLatLng(30.272462,-97.727852),
new GLatLng(30.272869,-97.725406),
new GLatLng(30.27324,-97.723324),
new GLatLng(30.273611,-97.720921),
new GLatLng(30.274092,-97.71796),
new GLatLng(30.274556,-97.714806),
new GLatLng(30.275037,-97.711995),
new GLatLng(30.27563,-97.708261),
new GLatLng(30.276168,-97.704806),
new GLatLng(30.276724,-97.700686),
new GLatLng(30.277521,-97.696266),
new GLatLng(30.278039,-97.692661),
new GLatLng(30.278892,-97.68719),
new GLatLng(30.280726,-97.685859),
new GLatLng(30.28232,-97.684894),
new GLatLng(30.283432,-97.684164),
new GLatLng(30.284154,-97.683671),
new GLatLng(30.283951,-97.683241),
new GLatLng(30.283598,-97.68292),
new GLatLng(30.283376,-97.682319),
new GLatLng(30.283147,-97.681814),
new GLatLng(30.282915,-97.681385),
new GLatLng(30.282387,-97.681707),
new GLatLng(30.282044,-97.681879),
new GLatLng(30.28172,-97.681825),
new GLatLng(30.281479,-97.681718),
new GLatLng(30.281248,-97.681557),
new GLatLng(30.281044,-97.681257),
new GLatLng(30.280886,-97.680956),
new GLatLng(30.280682,-97.680538),
new GLatLng(30.280553,-97.680259),
new GLatLng(30.280349,-97.680066),
new GLatLng(30.280173,-97.679937),
new GLatLng(30.279821,-97.680656),
new GLatLng(30.279775,-97.68146),
new GLatLng(30.279654,-97.682211),
new GLatLng(30.279256,-97.683005),
new GLatLng(30.278468,-97.684346),
new GLatLng(30.277551,-97.685913),
new GLatLng(30.276939,-97.687125),
new GLatLng(30.276309,-97.688262),
new GLatLng(30.275892,-97.689046),
new GLatLng(30.275112,-97.689657),
new GLatLng(30.273981,-97.690172),
new GLatLng(30.27172,-97.691588),
new GLatLng(30.269682,-97.692876),
new GLatLng(30.267384,-97.694378),
new GLatLng(30.26529,-97.695687),
new GLatLng(30.264048,-97.696567),
new GLatLng(30.265104,-97.699614),
new GLatLng(30.266012,-97.70221),
new GLatLng(30.264048,-97.703111),
new GLatLng(30.261787,-97.704163),
new GLatLng(30.259748,-97.705085),
new GLatLng(30.25758,-97.706008),
new GLatLng(30.255189,-97.707124),
new GLatLng(30.256023,-97.70942),
new GLatLng(30.256579,-97.711093),
new GLatLng(30.254707,-97.711973),
new GLatLng(30.252297,-97.713153),
new GLatLng(30.250981,-97.713432),
new GLatLng(30.249294,-97.713625),
new GLatLng(30.247700,-97.713904),
new GLatLng(30.246755,-97.714376),
new GLatLng(30.245772,-97.715106),
new GLatLng(30.243900,-97.716286),
new GLatLng(30.24149,-97.717788),
new GLatLng(30.237931,-97.72002),
new GLatLng(30.234983,-97.72193),
new GLatLng(30.234056,-97.722788),
new GLatLng(30.236355,-97.725041),
new GLatLng(30.238598,-97.725921),
new GLatLng(30.240600,-97.727273),
new GLatLng(30.24264,-97.728839),
new GLatLng(30.244642,-97.730212),
new GLatLng(30.245976,-97.731457),
new GLatLng(30.247181,-97.732937),
new GLatLng(30.247774,-97.735255)
], "#741ba2", 2, 1, "#741ba2", 0.4);

var _sixStreet = new GPolygon([
new GLatLng(30.263937,-97.735255),
new GLatLng(30.265178,-97.734804),
new GLatLng(30.266624,-97.734289),
new GLatLng(30.267347,-97.736843),
new GLatLng(30.268069,-97.739053),
new GLatLng(30.26900,-97.74251),
new GLatLng(30.26622,-97.74350),
new GLatLng(30.265308,-97.740254),
new GLatLng(30.264641,-97.737958),
new GLatLng(30.264048,-97.735748),
new GLatLng(30.263937,-97.735255)
], "#a23fa1", 2, 1, "#a23fa1", 0.4);

var _market = new GPolygon([
new GLatLng(30.276186358215245,-97.76695847511292),
new GLatLng(30.279447752384613,-97.76715159416199),
new GLatLng(30.277502047314815,-97.76058554649353),
new GLatLng(30.275204212601217,-97.75567173957825),
new GLatLng(30.275000369827087,-97.75569319725037),
new GLatLng(30.2708307656462,-97.74189591407776),
new GLatLng(30.267087236788157,-97.74320483207703),
new GLatLng(30.269348197032173,-97.75103688240051),
new GLatLng(30.2703118691782,-97.75464177131653),
new GLatLng(30.273721710041663,-97.76333212852478),
new GLatLng(30.27373,-97.76330),
new GLatLng(30.27535,-97.76547),
new GLatLng(30.2761863,-97.766958)
], "#faaa14", 2, 1, "#faaa14", 0.4);

var map;

function load() {
	preload_images();
	default_map();
}

function preload_images() {
	if (document.images)
	{
		preload_image_object = new Image();
		// set image url
		image_url = new Array();
		image_url[0] = "/images/gMap/seeall_tab_active.gif";
		image_url[1] = "/images/gMap/red_tab_active.gif";
		image_url[2] = "/images/gMap/university_tab_active.gif";
		image_url[3] = "/images/gMap/warehouse_tab_active.gif";
		image_url[4] = "/images/gMap/south_tab_active.gif";
		image_url[5] = "/images/gMap/east_tab_active.gif";
		image_url[6] = "/images/gMap/sixth_tab_active.gif";
		image_url[7] = "/images/gMap/market_tab_active.gif";
		
		var i = 0;
		for(i=0; i<=7; i++) 
		preload_image_object.src = image_url[i];
	}
}


function default_map() {
	if (GBrowserIsCompatible()) {
		map = new GMap2(document.getElementById("map"));
		map.setCenter(new GLatLng(30.276987 , -97.745018 ), 14);        
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
		
		map.addOverlay(_redRiver);
		map.addOverlay(_university);
		map.addOverlay(_warehouse);
		map.addOverlay(_sAustin);
		map.addOverlay(_sLamar);
		map.addOverlay(_eastSide);
		map.addOverlay(_sixStreet);
		map.addOverlay(_market);
		m = createTextMarker(new GLatLng(30.267202,-97.736692), "http://www.austintexas.org/images/redRiver.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.284251,-97.736006 ), "http://www.austintexas.org/images/university.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.265201,-97.747765), "http://www.austintexas.org/images/warehouseAndDowntown.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.261420,-97.756691), "http://www.austintexas.org/images/southAustin.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.262680,-97.730341), "http://www.austintexas.org/images/eastSide.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.265275,-97.739697), "http://www.austintexas.org/images/sixthStreet.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.271553509727177,-97.75401949882507), "http://www.austintexas.org/images/market.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
	}	
}

function createMarker(point, title, desc, address) {
  // Create a lettered icon for this point using our icon class
  //var letter = String.fromCharCode("A".charCodeAt(0) + index);
  var letteredIcon = new GIcon(baseIcon);
  letteredIcon.image = "http://www.austintexas.org/images/guitarIcon.png";

  // Set up our GMarkerOptions object
  markerOptions = { icon:letteredIcon };
  var marker = new GMarker(point, markerOptions);

var html = "<b style=\"font-size:larger;\">"+title+"</b> <br/><br/><br/>\
"+desc+" \
<br/><br/><br/> \
Get Directions: <a target=\"_blank\" href=\"http://maps.google.com/maps?daddr="+address+"\" target=\"_blank\">To Here</a>&nbsp;-&nbsp;<a target=\"_blank\" href=\"http://maps.google.com/maps?saddr="+address+"\" target=\"_blank\">From Here</a>";

  GEvent.addListener(marker, "click", function() {
	marker.openInfoWindowHtml(html);
  });
  return marker;
}

function createTextMarker(point, image) {
  // Create a lettered icon for this point using our icon class
  //var letter = String.fromCharCode("A".charCodeAt(0) + index);
	var textBaseIcon = new GIcon(G_DEFAULT_ICON);
	
	textBaseIcon.iconSize = new GSize(90,38);
	textBaseIcon.shadowSize = new GSize(0, 0);
	textBaseIcon.iconAnchor = new GPoint(45, 38);

  var letteredIcon = new GIcon(textBaseIcon);
  letteredIcon.image = image;

  // Set up our GMarkerOptions object
  markerOptions = { icon:letteredIcon };
  var marker = new GMarker(point, markerOptions);

  //GEvent.addListener(marker, "click", function() {
  //	marker.openInfoWindowHtml(title);
  //});
  return marker;
}

// Create a base icon for all of our markers that specifies the
// shadow, icon dimensions, etc.
var baseIcon = new GIcon(G_DEFAULT_ICON);
baseIcon.shadow = "http://www.austintexas.org/images/guitarIconShadow.png";
baseIcon.iconSize = new GSize(20, 34);
baseIcon.shadowSize = new GSize(37, 34);
baseIcon.iconAnchor = new GPoint(9, 34);
baseIcon.infoWindowAnchor = new GPoint(9, 2);

var curMarkers = new Array();

function hideMarkers()
{
	for(i = 0; i < curMarkers.length; i++)
	{
		curMarkers[i].hide();
	}
	curMarkers = new Array();
}

function switchTabCopy(copy) {
	
	document.getElementById('span_default').style.display = 'none';
	document.getElementById('redRiver').style.display = 'none';
	document.getElementById('university').style.display = 'none';
	document.getElementById('warehouse').style.display = 'none';
	document.getElementById('sAustin').style.display = 'none';
	document.getElementById('eastSide').style.display = 'none';
	document.getElementById('sixStreet').style.display = 'none';
	document.getElementById('market').style.display = 'none';

	switch(copy) {
		case 'span_default'	: document.getElementById('span_default').style.display = 'inline';
					   		break;
		case 'redRiver'		: document.getElementById('redRiver').style.display = 'inline';
							break;
		case 'university' 	: document.getElementById('university').style.display = 'inline';
							break;
		case 'warehouse'  	: document.getElementById('warehouse').style.display = 'inline';
							break;
		case 'sAustin'    	: document.getElementById('sAustin').style.display = 'inline';
							break;
		case 'eastSide'   	: document.getElementById('eastSide').style.display = 'inline';
							break;
		case 'sixStreet'  	: document.getElementById('sixStreet').style.display = 'inline';
							break;
		case 'market'  		: document.getElementById('market').style.display = 'inline';
						
	}
}
function tab_default(show)
{
	if(show){
		switchTabCopy('span_default');
		// Load the default map
		default_map();
		// Show all overlays
		_redRiver.show();
		_university.show();
		_warehouse.show();
		_sAustin.show();
		_sLamar.show();
		_eastSide.show();
		_sixStreet.show();
		_market.show();
	}
	else
	{
		_span_default.hide();
	}
}

function redRiver(show)
{
	if(show){
		switchTabCopy('redRiver');
		_redRiver.show();
		_university.hide();
		_warehouse.hide();
		_sAustin.hide();
		_sLamar.hide();
		_eastSide.hide();
		_sixStreet.hide();
		_market.hide();
		hideMarkers();
		m = createMarker(new GLatLng(30.266636,-97.736993), "Emo's", "603 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 505-8541 <br/>\
<a target=\"_blank\" href=\"http://www.emosaustin.com\">Website</a>", "603+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.269571,-97.736027), "Club de Ville", "900 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 457-0900 <br/>\
<a target=\"_blank\" href=\"http://www.clubdeville.com\">Website</a>", "900+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267636,-97.73666), "Elysium", "705 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 478-2979 <br/>\
<a target=\"_blank\" href=\"http://www.elysiumonline.net\">Website</a>", "705+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267599,-97.736971), "Room 710", "710 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 476-0997 <br/>\
<a target=\"_blank\" href=\"http://www.room710.net\">Website</a>", "710+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267868,-97.736574), "Beerland", "711 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 479-7625 <br/>\
<a target=\"_blank\" href=\"http://www.beerlandtexas.com\">Website</a>", "711+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.268239,-97.736746), "Headhunter's", "720 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 236-0188 <br/>\
<a target=\"_blank\" href=\"http://www.headhuntersclub.com/\">Website</a>", "720+Red+River+Street+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.268461,-97.736349), "Stubb's", "801 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 480-8341 <br/>\
<a target=\"_blank\" href=\"http://www.stubbsaustin.com\">Website</a>", "801+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267257,-97.736768), "Creekside Lounge", "606 E 7th St <br/>\
Austin, TX 78701 <br/>\
(512) 480-5988 <br/>\
<a target=\"_blank\" href=\"http://www.thecreeksidelounge.com\">Website</a>", "606+E+7th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267127,-97.736188), "Beauty Bar", "617 E 7th St <br/>\
Austin, TX 78701 <br/>\
(512) 391-1943 <br/>\
<a target=\"_blank\" href=\"http://www.beautybar.com\">Website</a>", "617+E+7th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267173,-97.736413), "Red 7", "611 E 7th St <br/>\
Austin, TX <br/>\
(512) 476-8100 <br/>\
<a target=\"_blank\" href=\"http://www.myspace.com/redsevenaustin\">Website</a>", "611+E+7th+St+Austin, TX");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.270055,-97.736006), "Mohawk", "912 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 482-8404 <br/>\
<a target=\"_blank\" href=\"http://www.mohawkaustin.com\">Website</a>", "912+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.267202,-97.7372), "http://www.austintexas.org/images/redRiver.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createMarker(new GLatLng(30.267971,-97.736552), "Red Eyed Fly", "715 Red River St <br/>\
Austin, TX 78701 <br/>\
(512) 474-1084 <br/>\
<a target=\"_blank\" href=\"http://www.redeyedfly.com\">Website</a>", "715+Red+River+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		map.setCenter(new GLatLng(30.268239,-97.736746), 14);
	}
	else
	{
		_redRiver.hide();
	}
}

function university(show)
{
	if(show){
		switchTabCopy('university');
		_redRiver.hide();
		_university.show();
		_warehouse.hide();
		_sAustin.hide();
		_sLamar.hide();
		_eastSide.hide();
		_sixStreet.hide();
		_market.hide();
		hideMarkers();
		m = createMarker(new GLatLng(30.284425,-97.741359), "Cactus Cafe", "2247 Guadalupe St <br/>\
Austin, TX 78734 <br/>\
(512) 320-8424 <br/>\
<a target=\"_blank\" href=\"http://www.myspace.com/cactuscafeaustin\">Website</a>", "2247+Guadalupe+St+Austin+TX+78734");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.278225,-97.733002), "The Frank Erwin Center", "1701 Red River St <br/>\
Austin, TX <br/>\
(512) 471-7744<br/>\
<a target=\"_blank\" href=\"http://www.uterwincenter.com\">Website</a>", "1701+Red+River+St+Austin+TX");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.28786,-97.730019), "Bass Concert Hall",  "2300 Robert Dedman Drive <br/>\
Austin, TX 78705 <br/>\
<a target=\"_blank\" href=\"http://www.utpac.org\">Website</a>", "2300+Robert+Dedman+Drive+Austin+TX+78705");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.290084,-97.741671), "The Hole in the Wall", "2538 Guadalupe St <br/>\
Austin, TX 78705 <br/>\
(512) 477-4747 <br/>\
<a target=\"_blank\" href=\"http://www.holeinthewallaustin.com\">Website</a>", "2538+Guadalupe+St+Austin+TX+78705");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.286658,-97.740501), "Hogg Auditorium",  "24th St and Whitis St <br/>\
Austin, TX 78712 <br/>\
<a target=\"_blank\" href=\"http://www.utpac.org\">Website</a>", "24th+St+and+Whitis+St+Austin+TX");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.302036,-97.738827), "Nasty's",  "606 Maiden Lane <br/>\
Austin, TX 78705 <br/>\
(512) 453-4349 <br/>\
<a target=\"_blank\" href=\"http://www.nastybar.com\">Website</a>", "The+University+of+Texas+Campus+Austin+TX");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.310493,-97.732959), "The Parlor",  "100B E North Loop <br/>\
Austin, TX 78751 <br/>\
(512) 454-8965 <br/>\
<a target=\"_blank\" href=\"http://www.myspace.com/theparlor\">Website</a>", "100+E+North+Loop+Blvd+Austin+TX+78751");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.295517,-97.741746), "Spider House",  "2908 Fruth St <br/>\
Austin, TX 78705 <br/>\
(512) 480-9562 <br/>\
<a target=\"_blank\" href=\"http://www.spiderhousecafe.com\">Website</a>", "2908+Fruth+St+Austin+TX+78705");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.284251,-97.736006 ), "http://www.austintexas.org/images/university.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		map.setCenter(new GLatLng(30.295487,-97.741799), 14);
	}
	else
	{
		_university.hide();
	}
}

function warehouse(show)
{
	if(show){
		switchTabCopy('warehouse');
		_redRiver.hide();
		_university.hide();
		_warehouse.show();
		_sAustin.hide();
		_sLamar.hide();
		_eastSide.hide();
		_sixStreet.hide();
		_market.hide();
		hideMarkers();
		m = createMarker(new GLatLng(30.267402,-97.745404), "Antone's", "213 W 5th St <br/>\
Austin, TX 78701 <br/>\
(512) 320-8424 <br/>\
<a target=\"_blank\" href=\"http://www.antones.net\">Website</a>", "213+W+5th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.265957,-97.749653), "Austin Music Hall", "208 Nueces <br/>\
Austin, TX 78701 <br/>\
(512) 495-9962 <br/>\
<a target=\"_blank\" href=\"http://www.austinmusichall.com\">Website</a>", "208+Nueces+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.266902,-97.745125), "Cedar Street Courtyard", "208 W 4th Street <br/>\
Austin, TX  78701 <br/>\
(512) 495-9669 <br/>\
<a target=\"_blank\" href=\"http://www.cedarstreetaustin.com\">Website</a>", "208+W+4+Street+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.264715,-97.743773), "Copa", "217 Congress Ave <br/>\
Austin, TX 78701 <br/>\
(512) 479-5002 <br/>\
<a target=\"_blank\" href=\"http://copabarandgrill.com\">Website</a>", "217+Congress+Ave+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.265605,-97.743387), "Elephant Room", "315 Congress Ave <br/>\
Austin, TX 78701 <br/>\
(512) 473-2279 <br/>\
<a target=\"_blank\" href=\"http://www.natespace.com/elephant\">Website</a>", "315+Congress+Ave+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.266939,-97.745554), "Fado", "214 W 4th St <br/>\
Austin, TX 78701 <br/>\
(512) 457-0172 <br/>\
<a target=\"_blank\" href=\"http://www.fadoirishpub.com\">Website</a>", "214+W+4th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.266883,-97.749031), "La Zona Rosa", "612 W 4th St <br/>\
Austin, TX 78701 <br/>\
(512) 236-0125 <br/>\
<a target=\"_blank\" href=\"http://www.lazonarosa.com\">Website</a>", "612+W+4th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267291,-97.745061), "Lucky Lounge", "209A W 5th St <br/>\
Austin, TX 78701 <br/>\
(512) 479-7700 <br/>\
<a target=\"_blank\" href=\"http://www.theluckylounge.com\">Website</a>", "209A+W+5th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.26933,-97.742035), "Paramount", "713 Congress Ave <br/>\
Austin, TX 78701 <br/>\
(512) 472-5470 <br/>\
<a target=\"_blank\" href=\"http://www.austintheatre.org\">Website</a>", "713+Congress+Ave+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.26692,-97.743495), "Speakeasy", "412 Congress Ave #D <br/>\
Austin, TX 78701 <br/>\
(512) 476-8017 <br/>\
<a target=\"_blank\" href=\"http://www.speakeasyaustin.com\">Website</a>", "412+Congress+Ave+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.265201,-97.747765), "http://www.austintexas.org/images/warehouseAndDowntown.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createMarker(new GLatLng(30.267132,-97.744251), "Maria Maria", "415 Colorado St <br/>\
Austin, TX 78701 <br/>\
(512) 687-6800 <br/>\
<a target=\"_blank\" href=\"http://www.mariamariarestaurants.com\">Website</a>", "415+Colorado+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createMarker(new GLatLng(30.266629,-97.742046), "One 2 One", "121 E 5th St <br/>\
Austin, TX 78701 <br/>\
(512) 473-0121 <br/>\
<a target=\"_blank\" href=\"http://www.one2onebar.com\">Website</a>", "121+E+5th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
				
		m = createMarker(new GLatLng(30.267518,-97.745157), "Red Fez", "209B W 5th St <br/>\
Austin, TX 78701 <br/>\
(512) 478-5120 <br/>\
<a target=\"_blank\" href=\"http://www.red-fez.com\">Website</a>", "209B+W+5th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
						
		m = createMarker(new GLatLng(30.265971,-97.745179), "Ringside @ Sullivan's", "300 Colorado St <br/>\
Austin, TX 78701 <br/>\
(512) 474-1870 <br/>\
<a target=\"_blank\" href=\"http://www.sullivansteakhouse.com\">Website</a>", "300+Colorado+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
				m = createMarker(new GLatLng(30.270187,-97.743151), "Amsterdam", "121 West 8th St <br/>\
		Austin, TX 78701 <br/>\
		(512) 236-1606 <br/>\
		<a target=\"_blank\" href=\"http://amsterdamaustin.com\">Website</a>", "121+West+8th+St+Austin+TX+78701");
				curMarkers[curMarkers.length] = m;
				map.addOverlay(m);
		
		map.setCenter(new GLatLng(30.266939,-97.746554), 14);
	}
	else
	{
		_warehouse.hide();
	}
}

function sAustin(show)
{
	if(show){
		switchTabCopy('sAustin');
		_redRiver.hide();
		_university.hide();
		_warehouse.hide();
		_sAustin.show();
		_sLamar.show();
		_eastSide.hide();
		_sixStreet.hide();
		_market.hide();
		hideMarkers();
		m = createMarker(new GLatLng(30.258043,-97.748129), "Threadgill's World Headquarters", "301 W Riverside Drive <br/>\
Austin, TX 78704 <br/>\
(512) 472-9304 <br/>\
<a target=\"_blank\" href=\"http://www.threadgills.com\">Website</a>", "301+W+Riverside+Drive+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.256319,-97.747636), "Ego's", "510 S Congress Ave <br/>\
Austin, TX 78704 <br/>\
(512) 474-7091 <br/>\
<a target=\"_blank\" href=\"http://www.myspace.com/egosnightclub\">Website</a>", "510+S+Congress+Ave+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.249183,-97.750146), "Jo's Coffee", "242 W 2nd St <br/>\
Austin, TX 78701 <br/>\
(512) 469-9003 <br/>\
<a target=\"_blank\" href=\"http://www.joscoffee.com\">Website</a>", "242+W+2nd+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.250184,-97.749116), "Continental Club", "1315 S Congress Ave <br/>\
Austin, TX 78704 <br/>\
(512) 441-0202 <br/>\
<a target=\"_blank\" href=\"http://www.continentalclub.com\">Website</a>", "1315+S+Congress+Ave+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.249721,-97.749374), "Botticelli's", "1321 S Congress Ave <br/>\
Austin, TX 78704 <br/>\
(512) 916-1315 <br/>\
<a target=\"_blank\" href=\"http://www.botticellissouthcongress.com/\">Website</a>", "1321+S+Congress+Ave+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.248998,-97.750189), "Guero's Taco Bar", "1412 S Congress Ave <br/>\
Austin, TX 78704 <br/>\
(512) 447-7688 <br/>\
<a target=\"_blank\" href=\"http://www.guerostacobar.com\">Website</a>", "1412+S+Congress+Ave+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.243882,-97.752142), "Trophy's", "2008 S Congress Ave <br/>\
Austin, TX 78704 <br/>\
(512) 447-0969 <br/>\
<a target=\"_blank\" href=\"http://www.myspace.com/trophystx\">Website</a>", "2008+S+Congress+Ave+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.248608,-97.755146), "Jovita's", "1617 S 1st St <br/>\
Austin, TX 78704 <br/>\
(512) 916-4988 <br/>\
<a target=\"_blank\" href=\"http://www.jovitas.com\">Website</a>", "1617+S+1st+St+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.247793,-97.755382), "Freddie's Place", "1703 S 1st St <br/>\
Austin, TX 78704 <br/>\
(512) 445-9197 <br/>\
<a target=\"_blank\" href=\"http://www.freddiesplaceaustin.com\">Website</a>", "1703+S+1st+St+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.262398,-97.753558), "The Long Center", "701 W Riverside Drive <br/>\
Austin, TX <br/>\
(512) 457-5100 <br/>\
<a target=\"_blank\" href=\"http://www.thelongcenter.org\">Website</a>", "701+W+Riverside+Drive+Austin+TX");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.261398,-97.761283), "Flipnotics", "1601 Barton Springs Road <br/>\
Austin, TX <br/>\
(512) 480-8646 <br/>\
<a target=\"_blank\" href=\"http://www.flipnotics.com\">Website</a>", "1601+Barton+Springs+Rd+Austin+TX");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.254762,-97.762656), "Saxon Pub", "1320 S Lamar Blvd <br/>\
Austin, TX 78704 <br/>\
(512) 448-2552 <br/>\
<a target=\"_blank\" href=\"http://www.thesaxonpub.com\">Website</a>", "1320+S+Lamar+Blvd+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.248738,-97.769909), "Artz Rib House", "2330 S Lamar Blvd <br/>\
Austin, TX 78704 <br/>\
(512) 442-8283 <br/>\
<a target=\"_blank\" href=\"http://www.artzribhouse.com\">Website</a>", "2330+S+Lamar+Blvd+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.245457,-97.779651), "Maria's Taco Xpress", "2529 S Lamar Blvd <br/>\
Austin, TX 78704 <br/>\
(512) 444-0261 <br/>\
<a target=\"_blank\" href=\"http://www.tacoxpress.com\">Website</a>", "2529+S+Lamar+Blvd+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.24175,-97.784672), "The Broken Spoke", "3201 S Lamar Blvd <br/>\
Austin, TX 78704 <br/>\
(512) 442-6189 <br/>\
<a target=\"_blank\" href=\"http://www.brokenspokeaustintx.com\">Website</a>", "3201+S+Lamar+Blvd+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.261420,-97.756691), "http://www.austintexas.org/images/southAustin.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.251224,-97.7492), "El Sol y La Luna", "1224 S Congress Ave <br/>\
		Austin, TX 78704 <br/>\
		(512) 444-7770 <br/>\
		<a target=\"_blank\" href=\"http://www.elsolylalunaaustin.com\">Website</a>", "1224+S+Congress+Ave+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.227693,-97.760532), "Ruta Maya", "3601 S Congress Ave <br/>\
		Austin, TX 78704 <br/>\
		(512) 707-9637 <br/>\
		<a target=\"_blank\" href=\"http://rutamaya.net\">Website</a>", "3601+S+Congress+Ave+Austin+TX+78704");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);

		map.setCenter(new GLatLng(30.248738,-97.769909), 14);
	}
	else
	{
		_sAustin.hide();
	}
}

function eastSide(show)
{
	if(show){
		switchTabCopy('eastSide');
		_redRiver.hide();
		_university.hide();
		_warehouse.hide();
		_sAustin.hide();
		_sLamar.hide();
		_eastSide.show();
		_sixStreet.hide();
		_market.hide();
		hideMarkers();
		m = createMarker(new GLatLng(30.268477,-97.728281), "Longbranch Inn", "1133 E 11th St <br/>\
Austin, TX 78702 <br/>\
(512) 472-5591 <br/>\
<a target=\"_blank\" href=\"http://www.eastinns.com\">Website</a>", "1133+E+11th+St+Austin+TX+78702");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.264511,-97.733088), "Progress Coffee", "500 San Marcos St <br/>\
Austin, TX 78702 <br/>\
(512) 493-0963 <br/>\
<a target=\"_blank\" href=\"http://www.progresscoffee.com\">Website</a>", "500+San+Marcos+St+Austin+TX+78702");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.262343,-97.729483), "Scoot Inn", "1308 E 4th St <br/>\
Austin, TX 78702 <br/>\
(512) 478-6200 <br/>\
<a target=\"_blank\" href=\"http://www.eastinns.com\">Website</a>", "1308+E+4th+St+Austin+TX+78702");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.279615,-97.681825), "T.C.'s Lounge", "1413 Webberville Road <br/>\
Austin, TX 78721 <br/>\
(512) 926-2200", "1413+Webberville+Rd+Austin+TX+78721");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.258506,-97.714527), "The Peacock", "515 Pedernales St <br/>\
Austin, TX 78702 <br/>\
(512) 276-8979 <br/>\
<a target=\"_blank\" href=\"http://www.peacock-austin.com\">Website</a>", "515+Pedernales+St+Austin+TX+78702");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.269256,-97.728496), "Victory Grill", "1104 E 11th St <br/>\
Austin, TX 78702 <br/>\
(512) 499-8833 <br/>\
<a target=\"_blank\" href=\"http://www.historicvictorygrill.org\">Website</a>", "1104+E+11th+St+Austin+TX+78702");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.238876,-97.72635), "Club Carnaval", "2237 E Riverside Drive <br/>\
Austin, TX 78741 <br/>\
(512) 444-6396", "2237+E+Riverside+Drive+Austin+TX+78741");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.261633,-97.724534), "Café Mundi", "1704 E 5th St #100 <br/>\
Austin, TX 78702 <br/>\
(512) 236-8634 <br/>\
<a target=\"_blank\" href=\"http://cafemundi.com\">Website</a>", "1704+E+5th+St+Austin+TX+78702");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.260721,-97.737814), "Lustre Pearl", "97 Rainey St <br/>\
Austin, TX 78701 <br/>\
(512) 469-0400 <br/>\
<a target=\"_blank\" href=\"http://lustrepearlaustin.com\">Website</a>", "97+Rainey+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createTextMarker(new GLatLng(30.262680,-97.730341), "http://www.austintexas.org/images/eastSide.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		map.setCenter(new GLatLng(30.258506,-97.714527), 14);
	}
	else
	{
		_eastSide.hide();
	}
}

function sixStreet(show)
{
	if(show){
		switchTabCopy('sixStreet');
		_redRiver.hide();
		_university.hide();
		_warehouse.hide();
		_sAustin.hide();
		_sLamar.hide();
		_eastSide.hide();
		_sixStreet.show();
		_market.hide();
		hideMarkers();
		
		m = createMarker(new GLatLng(30.267662,-97.740555), "Aces Lounge", "222 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 477-2237 <br/>\
<a target=\"_blank\" href=\"http://www.acesaustin.com\">Website</a>", "222+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267791,-97.741263), "B.D. Riley's", "204 East 6th St <br/>\
Austin, TX 78701-3626 <br/>\
(512) 494-1335 <br/>\
<a target=\"_blank\" href=\"http://www.bdrileys.com\">Website</a>", "204+East+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267736,-97.740898), "Friend's Bar", "208 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 320-8193 <br/>\
<a target=\"_blank\" href=\"http://www.friendsbar.com\">Website</a>", "208+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267387,-97.739954), "The Parish", "214 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 479-0474 <br/>\
<a target=\"_blank\" href=\"http://www.theparishroom.com\">Website</a>", "214+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267303,-97.740598), "Darwin's Pub", "223 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 474-7399", "223+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267142,-97.739777), "Blind Pig", "317 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 472-0809 <br/>\
<a target=\"_blank\" href=\"http://www.myspace.com/theblindpigpub\">Website</a>", "317+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267179,-97.73989), "311 Club", "311 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 477-1630", "311+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267096,-97.739659), "Maggie Mae's", "323 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 478-8541 <br/>\
<a target=\"_blank\" href=\"http://www.maggiemaesaustin.com\">Website</a>", "323+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.266818,-97.73865), "Agave", "415 E 6th St <br/>\
Austin, TX <br/>\
(512) 469-7892", "415+E+6th+St+Austin+TX");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.266781,-97.7385), "Pete's Dueling Piano Bar", "421 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 472-7383 <br/>\
<a target=\"_blank\" href=\"http://www.petesduelingpianobar.com\">Website</a>", "421+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.26704,-97.738747), "Nuno's on 6th", "422 E 6th St <br/>\
Austin, TX, 78701 <br/>\
(512) 833-5133<br/>\
<a target=\"_blank\" href=\"http://www.nunosonsixth.com\">Website</a>", "422+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.26654,-97.737749), "Flamingo Cantina", "515 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 494-9336 <br/>\
<a target=\"_blank\" href=\"http://www.flamingocantina.com\">Website</a>", "515+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.267398,-97.741263), "Barcelona", "209 E 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 236-0900 <br/>\
<a target=\"_blank\" href=\"http://barcelonaaustin.com\">Website</a>", "209+E+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		m = createMarker(new GLatLng(30.266397,-97.739611), "Vintage Lounge", "504B Trinity <br/>\
Austin, TX 78701 <br/>\
(512) 567-1597", "504B+Trinity+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createTextMarker(new GLatLng(30.265275,-97.739697), "http://www.austintexas.org/images/sixthStreet.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		map.setCenter(new GLatLng(30.267791,-97.741263), 14);
	}
	else
	{
		_sixStreet.hide();
	}
}

function market(show)
{
	if(show){
		switchTabCopy('market');
		_redRiver.hide();
		_university.hide();
		_warehouse.hide();
		_sAustin.hide();
		_sLamar.hide();
		_eastSide.hide();
		_sixStreet.hide();
		_market.show();
		hideMarkers();
		
		m = createMarker(new GLatLng(30.268471,-97.744632), "The Belmont", "305 W 6th St <br/>\
		Austin, TX 78701 <br/>\
		(512) 457-0300 <br/>\
		<a target=\"_blank\" href=\"http://www.thebelmontaustin.com\">Website</a>", "305+W+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createMarker(new GLatLng(30.271807,-97.754027), "Waterloo Ice House", "600 N Lamar Blvd <br/>\
		Austin, TX 78701 <br/>\
		(512) 472-5400 <br/>\
		<a target=\"_blank\" href=\"http://www.waterlooicehouse.com\">Website</a>", "600+N+Lamar+Blvd+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createMarker(new GLatLng(30.269589,-97.749395), "Mother Egan's", "715 W 6th St <br/>\
Austin, TX 78701 <br/>\
(512) 478-7747 <br/>\
<a target=\"_blank\" href=\"http://www.motheregansirishpub.com\">Website</a>", "715+W+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createMarker(new GLatLng(30.270015,-97.749031), "Momo's", "618 W 6th St #200 <br/>\
Austin, TX 78701 <br/>\
(512) 479-8848 <br/>\
<a target=\"_blank\" href=\"http://www.momosclub.com\">Website</a>", "618+W+6th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createMarker(new GLatLng(30.274067,-97.763309), "Donn's Depot", "1600 W 5th St <br/>\
Austin, TX 78701 <br/>\
(512) 478-3142 <br/>\
<a target=\"_blank\" href=\"http://donnar.home.texas.net\">Website</a>", "1600+W+5th+St+Austin+TX+78701");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		
		m = createTextMarker(new GLatLng(30.27195,-97.75701), "http://www.austintexas.org/images/market.png");
		curMarkers[curMarkers.length] = m;
		map.addOverlay(m);
		map.setCenter(new GLatLng(30.271553509727177,-97.75401949882507), 14);
	}
	else
	{
		_market.hide();
	}
}


//]]>
