function mmLoadMenus() {
  if (window.mm_menu_0920122211_0) return;
  window.mm_menu_0920122211_0 = new Menu("root",139,20,"Verdana, Arial, Helvetica, sans-serif",10,"#f9dbee","#666666","#000000","#ffffff","left","middle",5,0,2000,-5,7,true,true,true,2,false,false);
  mm_menu_0920122211_0.addMenuItem("Calendar","location='/events/calendar.php'");
  mm_menu_0920122211_0.addMenuItem("Concerts/Events","location='/events/list.php'");
  mm_menu_0920122211_0.addMenuItem("Oakland Athletics","location='/events/list.php?category=oakland_athletics'");
  mm_menu_0920122211_0.addMenuItem("Oakland Raiders","location='/events/list.php?category=oakland_raiders'");
  mm_menu_0920122211_0.addMenuItem("Golden State Warriors","location='/events/list.php?category=gg_warriors'");
    mm_menu_0920122211_0.addMenuItem("Mailing List","location='http://mm.ticketmaster.com/brand/userlogin.aspx?b=theoaklandarena'");
   mm_menu_0920122211_0.fontWeight="bold";
   mm_menu_0920122211_0.hideOnMouseOut=true;
   mm_menu_0920122211_0.menuBorder=1;
   mm_menu_0920122211_0.menuLiteBgColor='#ffffff';
   mm_menu_0920122211_0.menuBorderBgColor='#ffffff';
   mm_menu_0920122211_0.bgColor='#ffffff';
  window.mm_menu_0920122629_1 = new Menu("root",139,20,"Verdana, Arial, Helvetica, sans-serif",10,"#f9dbee","#666666","#000000","#ffffff","left","middle",5,0,2000,-5,7,true,true,true,2,false,false);
  mm_menu_0920122629_1.addMenuItem("Parking Fees","location='/info/parking.php'");
  mm_menu_0920122629_1.addMenuItem("Box Office","location='/info/boxoffice.php'");
  mm_menu_0920122629_1.addMenuItem("Public Transportation","location='/info/public_transportation.php'");
  mm_menu_0920122629_1.addMenuItem("Driving Directions","location='/info/drivingthere.php'");
  mm_menu_0920122629_1.addMenuItem("Seating Maps","location='/info/seatingmaps.php'");
  mm_menu_0920122629_1.addMenuItem("Special Event Rental","location='/info/eventrental.php'");
  mm_menu_0920122629_1.addMenuItem("Catering Concessions","location='/info/concessions.php'");
  mm_menu_0920122629_1.addMenuItem("Prohibited Items","location='/info/prohibiteditems.php'");
  mm_menu_0920122629_1.addMenuItem("Disabled Guests","location='/info/disabledguests.php'");
  mm_menu_0920122629_1.addMenuItem("Promoter Pages","location='/promoter'");
   mm_menu_0920122629_1.fontWeight="bold";
   mm_menu_0920122629_1.hideOnMouseOut=true;
   mm_menu_0920122629_1.menuBorder=1;
   mm_menu_0920122629_1.menuLiteBgColor='#ffffff';
   mm_menu_0920122629_1.menuBorderBgColor='#ffffff';
   mm_menu_0920122629_1.bgColor='#ffffff';
  window.mm_menu_0920122838_2 = new Menu("root",139,20,"Verdana, Arial, Helvetica, sans-serif",10,"#f9dbee","#666666","#000000","#ffffff","left","middle",5,0,2000,-5,7,true,true,true,2,false,false);
  mm_menu_0920122838_2.addMenuItem("Group Sales","location='/events/list.php?category=group_sales'");
  mm_menu_0920122838_2.addMenuItem("VIP Club","location='/vip/'");
  mm_menu_0920122838_2.addMenuItem("Concert Club","location='/concertclub/'");
  mm_menu_0920122838_2.addMenuItem("Suite Sales","location='/sales/suites.php'");
  mm_menu_0920122838_2.addMenuItem("Team Stores","location='/sales/teams.php'");
   mm_menu_0920122838_2.fontWeight="bold";
   mm_menu_0920122838_2.hideOnMouseOut=true;
   mm_menu_0920122838_2.menuBorder=1;
   mm_menu_0920122838_2.menuLiteBgColor='#ffffff';
   mm_menu_0920122838_2.menuBorderBgColor='#ffffff';
   mm_menu_0920122838_2.bgColor='#ffffff';
  window.mm_menu_0920123246_4 = new Menu("root",156,20,"Verdana, Arial, Helvetica, sans-serif",10,"#f9dbee","#666666","#000000","#ffffff","left","middle",5,0,2000,-5,7,true,true,true,2,false,false);
  mm_menu_0920123246_4.addMenuItem("Management","location='/info/management.php'");
  mm_menu_0920123246_4.addMenuItem("History","location='/info/history.php'");
   mm_menu_0920123246_4.fontWeight="bold";
   mm_menu_0920123246_4.hideOnMouseOut=true;
   mm_menu_0920123246_4.menuBorder=1;
   mm_menu_0920123246_4.menuLiteBgColor='#ffffff';
   mm_menu_0920123246_4.menuBorderBgColor='#ffffff';
   mm_menu_0920123246_4.bgColor='#ffffff';
  window.mm_menu_0920123326_5 = new Menu("root",156,20,"Verdana, Arial, Helvetica, sans-serif",10,"#f9dbee","#666666","#000000","#ffffff","left","middle",5,0,2000,-5,7,true,true,true,2,false,false);
  mm_menu_0920123326_5.addMenuItem("Site Map","location='/info/sitemap.php'");
  mm_menu_0920123326_5.addMenuItem("Home","location='/index.php'");
   mm_menu_0920123326_5.fontWeight="bold";
   mm_menu_0920123326_5.hideOnMouseOut=true;
   mm_menu_0920123326_5.menuBorder=1;
   mm_menu_0920123326_5.menuLiteBgColor='#ffffff';
   mm_menu_0920123326_5.menuBorderBgColor='#ffffff';
   mm_menu_0920123326_5.bgColor='#ffffff';

  mm_menu_0920123326_5.writeMenus();
} // mmLoadMenus()
<!--







function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//-->//-->
//-->

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function openWin(fld,x,y){
	window.open (fld, 'Oakland_popup', 'status=0, toolbar=0, menubar=0, location=0, scrollbars, resizable=0, width='+x+', height='+y+', left=20, top=150');
}

var wind = null;
function NewWindow(mypage,myname,w,h,scroll){

        LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
        TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
        settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',noresize';
        wind = window.open(mypage,myname,settings);
        wind.focus();
}

function submitMonthYear() {
	document.monthYear.method = "post";
	document.monthYear.action = "calendar.php?month=" + document.monthYear.month.value + "&year=" + document.monthYear.year.value;
	document.monthYear.submit();
}




function changeMovie (movieid)
{
	var my_movie = window.document["MovieFile"];
	my_movie.LoadMovie("0","/movies/"+movieid);
	
	if (my_movie.PercentLoaded())
	{
		if (my_movie.PercentLoaded() != 100)
		{
			document.all['PhotoComment'].innerHTML = '<B><SPAN style="background-color:#0080C0;color:#FFFFFF;padding:3px;font-size:9px;">Please wait, while loading ...</SPAN></B>';

		}
		else
		{
			my_movie.Play();
			document.all['PhotoComment'].innerHTML = '';
		}
	}
}

function addSeat(more_text) 
{
	document.forms[0].not_avail.focus();
	strSelection = document.selection.createRange();
	document.selection.createRange().text = more_text +",";
	return;
}



function addDateTime()
{
	month = document.getElementById('_month').value;
	monthname = document.getElementById('_month')[document.getElementById('_month').selectedIndex].text;
	day = document.getElementById('_day').value; 
	year = document.getElementById('_year').value; 
	hour = document.getElementById('_hour').value; 
	minute = document.getElementById('_minute').value;
	ampm = document.getElementById('_ampm').value; 
	if(ampm == 'pm' && (parseInt(hour) < 12)) { hournum = parseInt(hour) + 12; } else { hournum = hour; }
	if(parseInt(day) < 10) { day = '0' + day; }
	
	//showtime is the MySQL-compliant YYYY-MM-DD HH:MM:SS format
	showtime = year + "-" + month + "-" + day +  " " + hournum + ":" + minute + ":00";
	showtimetext = "<tr><td style='border-top: 1px solid #ccc; width: 500px;'>" + monthname + " " + day + ", " +year + " @ " + hour + ":" + minute + " " + ampm + "</td></tr>\n";
	showtimeform = "<input type='hidden' name='showtime[]' value='"+showtime+"'>";

	document.getElementById('showtimes').innerHTML += showtimetext;
	document.getElementById('showtimes').innerHTML += showtimeform;
	
}
			
function addUpgrade(theform)
{
	name = theform.name.value;
	//desc = theform.description.value;
	desc = tinyMCE.get('description').getContent();
   	price = theform.price.value; 

	text = "<div><b>" + name + "</b> ($" + price + ")<br/>" + desc + "<p/></div>";
	formhtml = "<input type='hidden' name='upgrade[]' value='"+name+";;" + desc + ";;" + price + "'>";

	document.getElementById('upgrades').innerHTML += text;
	document.getElementById('upgrades').innerHTML += formhtml;

	alert("Don't forget to add/update the event!");

}
			
			
function showHide (layername,newState)
{
	if(document.layers)	   //NN4+
	{
		document.layers[layername].visibility = newState ? "show" : "hide";
	}
	else if(document.getElementById)	  //gecko(NN6) + IE 5+
	{
		var obj = document.getElementById(layername);
		obj.style.visibility = newState ? "visible" : "hidden";
	}
	else if(document.all)	// IE 4
	{
		document.all[layername].style.visibility = newState ? "visible" : "hidden";
	}
}
