function DisplayMainMenu(){
	TheOpID=0
	var D6=window,Y7=document;function B8(){this.ver=navigator.appVersion;this.agent=navigator.userAgent;this.dom=Y7.getElementById?1:0;this.opera5=this.agent.indexOf("Opera 5")>-1;this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;this.ie4=(Y7.all && !this.dom && !this.opera5)?1:0;this.ie=this.ie4||this.ie5||this.ie6;this.mac=this.agent.indexOf("Mac")>-1;this.ns6=(this.dom && parseInt(this.ver)>=5)?1:0;this.ns4=(Y7.layers && !this.dom)?1:0;this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);return this}bw=new B8();z=0;b=0;g="";if(bw.opera5||bw.ns6){b=2};if(bw.ie){g=" style='width: 100%'"}else{z=6}
		mt=document.getElementById("NavBar").offsetTop+document.getElementById("tblMain").offsetTop
		if(whichBrs()=='Firefox'||whichBrs()=='Internet Explorer 7'){mt+=6}
		ml=document.getElementById("NavBar").offsetLeft+document.getElementById("tblMain").offsetLeft;
		w=75;mh=25;mw=ml-w;k=1;mt=mt-z;p="<a class='mi2'"+g+" href='";q="' title='";r="\"; return true' onmouseout='window.status=\"\"; return true'>";t="</a>";a="' onmouseover='window.status=\"";v="<div class=sp2></div>"
		m=new Array();n=new Array();s=new Array();sw=new Array();su=new Array();st=new Array();wm=new Array()
	//Menu Details
		m[0]='Home';			n[0]='.';						sw[0]=150;su[0]='Home';			st[0]="";wm[0]=75;s[0]=""
		m[1]='General Info';	n[1]='#';						sw[1]=180;su[1]='General Info';	st[1]="";wm[1]=90;s[1]=""
			+p+"AboutBoxOfficeAvenue.asp"	+q+a+"About Box Office Avenue"	+r+"About Box Office Avenue"+t
			+p+"BOAFAQ.asp"	+q+a+"Frequently Asked Questions"	+r+"Frequently Asked Questions"+t
			+p+"ForMoreInfo.asp"	+q+a+"For More Information"	+r+"For More Information"+t
			+p+"ContactUs.asp"	+q+a+"Contact Us"	+r+"Contact Us"+t
		m[2]='Venue Search';	n[2]='#';						sw[2]=120;su[2]='Venue Search';	st[2]="";wm[2]=100;s[2]=""
			+p+"SearchByState.asp"	+q+a+"Search by State"	+r+"Search by State"+t
			+p+"SearchByName.asp"	+q+a+"Search by Name"	+r+"Search by Name"+t
			+p+"SearchByEvent.asp"	+q+a+"Search by Event"		+r+"Search by Event"+t
		m[3]='View Demos';	n[3]='#';							sw[3]=170;su[3]='View Demos';st[3]="";wm[3]=115;s[3]=""
			+p+"AboutOurDemos.asp"	+q+a+"About Our Demos"	+r+"About Our Demos"+t
			+p+"http://www.boxofficeavenue.com/Baseball/"	+q+a+"Baseball Ticketing"	+r+"Baseball Ticketing"+t
			+p+"http://www.boxofficeavenue.com/PerfArts/"	+q+a+"Performing Arts Ticketing"		+r+"Performing Arts Ticketing"+t
			+p+"http://www.boxofficeavenue.com/Cinema/"		+q+a+"Movie Cinema Ticketing"	+r+"Movie Cinema Ticketing"+t
			+p+"http://www.boxofficeavenue.com/Transportation/"	+q+a+"Transportation Ticketing"		+r+"Transportation Ticketing"+t
			+p+"http://www.boxofficeavenue.com/Museum/"		+q+a+"Museum Ticketing"	+r+"Museum Ticketing"+t
			+p+"http://www.boxofficeavenue.com/Amusement/"	+q+a+"Amusement Park Ticketing"		+r+"Amusement Park Ticketing"+t
		m[4]='How to Sell Your Tix';	n[4]='#';				sw[4]=250;su[4]='';				st[4]="";wm[4]=130;s[4]=""	
			+p+"GettingStarted.asp"	+q+a+"Getting Started with Box Office Avenue"	+r+"Getting Started with Box Office Avenue"+t
			+p+"CreditCardAccounts.asp"	+q+a+"Setting up a Credit Card Account"	+r+"Setting up a Credit Card Account"+t
			+p+"NotesFor2KUsers.asp"	+q+a+"Special Notes for Tick-It! 2K Users"		+r+"Special Notes for Tick-It! 2K Users"+t
			+p+"NotesForOtherUsers.asp"		+q+a+"Notes for Users of Other Ticket Systems"	+r+"Notes for Users of Other Ticket Systems"+t
		m[5]='Links';			n[5]='#';						sw[5]=150;su[5]='Op Menu';		st[5]="";wm[5]=80;s[5]=""
			+p+"http://www.ncsoftware.com"	+q+a+"New Concepts Software"	+r+"New Concepts Software"+t
			+p+"http://www.mercurypay.com"	+q+a+"Mercury Payments"	+r+"Mercury Payments"+t
			+p+"http://www.intix.org"	+q+a+"INTIX"	+r+"INTIX"+t
		m[6]='&nbsp;';n[6]='';sw[6]=130;su[6]='';st[6]="";s[6]="";wm[6]=160
	
	ma=m.length
	document.getElementById("NavBar").innerHTML =''
	if (k==1) {mw2=ml-w;
	for (i=0; i < ma; i++){if(i==0){(mw+=wm[i])}else{(mw+=wm[i-1])};if(i==0){(mw2+=wm[i])}else{(mw2+=wm[i-1])}
		if(s[i]==""){
			if(su[i]==''){document.getElementById("NavBar").innerHTML +="<div style='position: absolute; top:"+mt+";left:"+(mw2)+";width:"+wm[i]+"'><span class='bi2'>"+m[i]+"</span></div>"}			
			else{document.getElementById("NavBar").innerHTML +="<div id='Mnu"+i+"' style='position: absolute; top:"+mt+";left:"+(mw2)+";width:"+wm[i]+"'><a class='bi2'"+g+" href='"+n[i]+q+st[i]+a+su[i]+r+m[i]+t+"</div>"}}
		else{
			document.getElementById("NavBar").innerHTML +="<div id='sb"+i+"' class='mn2' style='visibility:hidden; position: absolute; top:"+(mt+mh)+";left:"+(mw)+";width:"+(sw[i]-b)+"' onmouseover='ShowMenu((\"sb"+i+"\"))' onmouseout='HideMenu((\"sb"+i+"\"))'>"+s[i]+"</div>"
			document.getElementById("NavBar").innerHTML +="<div id='Mnu"+i+"' style='position: absolute; top:"+mt+";left:"+(mw2)+";width:"+wm[i]+"' onmouseover='ShowMenu(\"sb"+i+"\")' onmouseout='HideMenu(\"sb"+i+"\")'><a class='bi2'"+g+" href='"+n[i]+q+st[i]+a+su[i]+r+m[i]+t+"</div>"}
	}}
	else {mw2=mt-mh;mt2=mt-mh+2;
	for (i=0; i < ma; i++){if(i==0){(mw+=wm[i])}else{(mw+=wm[i-1])};if(i==0){(mw2+=wm[i])}else{(mw2+=wm[i-1])}
		if(s[i]==""){
			document.getElementById("NavBar").innerHTML +="<div id='Mnu"+i+"' style='position: absolute; top:"+(mt2+=(mh+1))+";left:"+ml+";width:"+wm[i]+"'><a class='bi2'"+g+" href='"+n[i]+q+st[i]+a+su[i]+r+m[i]+t+"</div>"}
		else{
			document.getElementById("NavBar").innerHTML +="<div id='sb"+i+"' class='mn2' style='position: absolute; top:"+(mt2+=(mh+1))+";left:"+(ml+wm[i]-10)+";width:"+sw[i]+"' onmouseover='ShowMenu(\"sb"+i+"\")' onmouseout='HideMenu(\"sb"+i+"\")'>"+s[i]+"</div>"
			document.getElementById("NavBar").innerHTML +="<div id='Mnu"+i+"' style='position: absolute; top:"+(mt2+=(mh+1))+";left:"+ml+";width:"+wm[i]+"' onmouseover='ShowMenu(\"sb"+i+"\")' onmouseout='HideMenu(\"sb"+i+"\")'><a class='bi2'"+g+" href='"+n[i]+q+st[i]+a+su[i]+r+m[i]+t+"</div>"}
	}}
	document.getElementById("NavBar").innerHTML +="<div id='SSD' style='position: absolute; top:1;left:1;width:1'>"
	document.getElementById("NavBar").innerHTML +="<div id='SSTM' style='position: absolute; top:1;left:1;width:1'>"

}
function HideMenu(o){i=o.slice(2,o.length); try{HideMenuTimer[i] = clearTimeout(HideMenuTimer[i])}catch(err){};HideMenuTimer[i] =  setTimeout("document.getElementById('"+o+"').style.visibility='hidden'",500)}
function ShowMenu(o){i=o.slice(2,o.length); try{HideMenuTimer[i] = clearTimeout(HideMenuTimer[i])}catch(err){};HideMenuTimer[i] =  setTimeout("document.getElementById('"+o+"').style.visibility='visible'",500)}
var HideMenuTimer=new Array()


function whichBrs() {
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1) return 'Opera';
	if (agt.indexOf("staroffice") != -1) return 'Star Office';
	if (agt.indexOf("webtv") != -1) return 'WebTV';
	if (agt.indexOf("beonex") != -1) return 'Beonex';
	if (agt.indexOf("chimera") != -1) return 'Chimera';
	if (agt.indexOf("netpositive") != -1) return 'NetPositive';
	if (agt.indexOf("phoenix") != -1) return 'Phoenix';
	if (agt.indexOf("firefox") != -1) return 'Firefox';whichBrs
	if (agt.indexOf("safari") != -1) return 'Safari';
	if (agt.indexOf("skipstone") != -1) return 'SkipStone';
	if (agt.indexOf("msie 7") != -1) return 'Internet Explorer 7';
	if (agt.indexOf("msie") != -1) return 'Internet Explorer';
	if (agt.indexOf("netscape") != -1) return 'Netscape';
	if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
	if (agt.indexOf('\/') != -1) {
	if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
		return navigator.userAgent.substr(0,agt.indexOf('\/'));}
	else return 'Netscape';} else if (agt.indexOf(' ') != -1)
		return navigator.userAgent.substr(0,agt.indexOf(' '));
	else return navigator.userAgent;
}
