
StartMenu()



MFL		= 0; 					// MENU DISTANCE FROM EDGE
MFT		= 186; 					// MENU DISTANCE FROM TOP
ALIGN		= "left"				// MENU LEFT OR RIGHT
TMH		= 22;					// TOP MENU HEIGHT
TMFS		= "8";					// TOP MENU FONT SIZE
TMFW		= "bold";				// TOP MENU FONT WEIGHT bold/normal
TMFF		= " arial, verdana, helvetica, sans";	// TOP MENU FONT FACE
TMC		= "336699";				// TOP MENU OFF FONT COLOR
TMBC		= "7795b3";				// TOP MENU OFF BACKGROUND COLOR
TMBI		= "http://www.mmpcpa.com/picts/menu.gif";			// TOP MENU OFF BACKGROUND IMAGE
TMHC		= "ffffff";				// TOP MENU HOVER TEXT COLOR
TMHBC		= "336699";				// TOP MENU HOVER BACKGROUND COLOR
TMHBI		= "http://www.mmpcpa.com/picts/menuon.gif";			// TOP MENU HOVER BACKGROUND IMAGE
MO		= TMH-2;				// Y MENU OVERLAP CHANGE NUMBER VALUE
SUBshift	= 0;					// SHIFT SUBMENU RIGHT




SMH		= 20;					// SUB MENU HEIGHT
SMFS		= "8";					// SUB MENU FONT SIZE
SMFW		= "normal";				// SUB MENU FONT WEIGHT bold/normal
SMFF		= "arial,MS Sans Serif,sans-serif";	// SUB MENU FONT FACE
SMC		= "336699";				// SUB MENU OFF FONT COLOR
SMBC		= "ffffff";				// SUB MENU OFF BACKGROUND COLOR
SMHC		= "ffffff";				// SUB MENU HOVER TEXT COLOR
SMHBC		= "336699";				// SUB MENU HOVER BACKGROUND COLOR


SubMenu()


oldwin="<a class='menu_SUB' style='height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+SMBC+"';this.style.color='"+SMC+"'\" href='";
newwin="<a target='_blank'; class='menu_SUB' style='height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+SMBC+"';this.style.color='"+SMC+"'\" href='";
closebracket="'>";
closelink="</a>";

m=new Array();
n=new Array();
s=new Array();
Sub_Menu_Width=new Array();
su=new Array();st=new Array();
Top_Width=new Array();
ADJ=new Array()




Top_Width[0]=100; Sub_Menu_Width[0]=70;
m[0]='Company';n[0]='http://www.mmpcpa.com/index.asp';st[0]="";s[0]=""
+oldwin+"http://www.mmpcpa.com/index.asp"+closebracket+" MMP Home "+closelink
+oldwin+"http://www.mmpcpa.com/bios.asp"+closebracket+" Bios "+closelink
+oldwin+"http://www.mmpcpa.com/contactpage.asp"+closebracket+" Contact Us "+closelink



Top_Width[1]=100; Sub_Menu_Width[1]=115;
m[1]='Tools';n[1]='http://www.mmpcpa.com/index.asp';st[1]="";s[1]=""
+oldwin+"http://www.mmpcpa.com/dates.asp"+closebracket+" Important Dates "+closelink
+oldwin+"http://www.mmpcpa.com/tools.asp"+closebracket+" Financial Calculators "+closelink
+oldwin+"http://www.mmpcpa.com/guides.asp"+closebracket+" Financial Guides "+closelink
+oldwin+"http://www.mmpcpa.com/taxcenter.asp"+closebracket+" Tax Center "+closelink
+oldwin+"http://www.mmpcpa.com/news.asp"+closebracket+" News and Weather "+closelink

Top_Width[2]=100; Sub_Menu_Width[2]=220;
m[2]='Links';n[2]='http://www.mmpcpa.com/index.asp';st[2]="";s[2]=""
+newwin+"http://www.irs.gov/"+closebracket+" IRS "+closelink
+newwin+"http://www.irs.gov/formspubs/"+closebracket+" IRS Forms "+closelink
+newwin+"http://www.sisterstates.com/"+closebracket+" Sister State Tax Forms "+closelink
+newwin+"http://www.tsbpa.state.tx.us/"+closebracket+" Texas State Board of Public Accountancy "+closelink
+newwin+"http://www.window.state.tx.us/"+closebracket+" Texas State Comptroller "+closelink
+newwin+"http://www.sos.state.tx.us/"+closebracket+" Texas Secretary of State "+closelink
+newwin+"http://www.twc.state.tx.us/"+closebracket+" Texas Workforce Commission "+closelink
+newwin+"http://www.traviscad.org/"+closebracket+" Travis County Appraisal District "+closelink
+newwin+"https://txcpa.cpa.state.tx.us/up/Search.jsp"+closebracket+" Texas Unclaimed Property "+closelink
+newwin+"http://finance.yahoo.com"+closebracket+" Yahoo Finance "+closelink
+newwin+"http://www.texasprobate.com/articles/principalincomewithcomments.htm#Sec.%20116.151"+closebracket+" Uniform Principal and Income Act "+closelink
+newwin+"http://www.bls.gov/cpi/#tables"+closebracket+" Consumer Price Index "+closelink
+newwin+"http://window.state.tx.us/taxinfo/taxforms/HB3Calc.pdf"+closebracket+" Texas Margin Tax Calculator "+closelink


Top_Width[3]=100;Sub_Menu_Width[3]=120;
m[3]='Directions';n[3]='http://www.mapquest.com/maps/map.adp?address=100%20Congress%20Ave&city=Austin&state=TX&zipcode=78701%2d4072&country=US&title=%3cb%20class%3d%22fn%20org%22%3e100%20Congress%20Ave%3c%2fb%3e%3cbr%20%2f%3e%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22locality%22%3eAustin%3c%2fspan%3e%2c%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22region%22%3eTX%3c%2fspan%3e%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22postal%2dcode%22%3e78701%2d4072%3c%2fspan%3e%2c%20%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22country%2dname%22%3eUS%3c%2fspan%3e%3c%2fspan%3e&cid=lfmaplink2&name=&dtype=s';st[3]="";s[3]=""
+newwin+"http://www.mapquest.com/maps/map.adp?address=100%20Congress%20Ave&city=Austin&state=TX&zipcode=78701%2d4072&country=US&title=%3cb%20class%3d%22fn%20org%22%3e100%20Congress%20Ave%3c%2fb%3e%3cbr%20%2f%3e%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22locality%22%3eAustin%3c%2fspan%3e%2c%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22region%22%3eTX%3c%2fspan%3e%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22postal%2dcode%22%3e78701%2d4072%3c%2fspan%3e%2c%20%20%3cspan%20style%3d%22display%3ainline%3bmargin%2dbottom%3a0px%3b%22%20class%3d%22country%2dname%22%3eUS%3c%2fspan%3e%3c%2fspan%3e&cid=lfmaplink2&name=&dtype=s"+closebracket+" Mapquest Map "+closelink
+oldwin+"http://www.mmpcpa.com/directions.asp"+closebracket+" Parking Instructions "+closelink

Top_Width[4]=100; Sub_Menu_Width[4]=110;
m[4]='Contact Us';n[4]='http://www.mmpcpa.com/contactpage.asp';st[4]="";s[4]=""
+oldwin+"http://www.mmpcpa.com/contactpage.asp"+closebracket+" Contact Information "+closelink
+newwin+"http://www.mmpcpa.com/2009_peer_review.pdf"+closebracket+" 2009 Peer Review "+closelink


Top_Width[5]=150; Sub_Menu_Width[5]=110;
m[5]='Monthly Newsletter';n[5]='http://www.mmpcpa.com/newsletter.asp';st[5]="";s[5]=""
+oldwin+"http://www.mmpcpa.com/newsletter.asp"+closebracket+" Monthly Newsletter "+closelink

Top_Width[6]=100; Sub_Menu_Width[6]=100;
m[6]='Tax Due Dates';n[6]='http://www.mmpcpa.com/dates.asp';st[6]="";s[6]=""
+oldwin+"http://www.mmpcpa.com/dates.asp"+closebracket+" Tax Due Dates "+closelink
ADJ[0]=MFL;
ADJ[1]=(Top_Width[0])+MFL;
ADJ[2]=(Top_Width[0]+Top_Width[1])+MFL;
ADJ[3]=(Top_Width[0]+Top_Width[1]+Top_Width[2])+MFL;
ADJ[4]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3])+MFL;
ADJ[5]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4])+MFL;
ADJ[6]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4]+Top_Width[5])+MFL;

MENU=m.length

for (i=0; i < MENU; i++){



document.write("<div style='position:absolute;"+ALIGN+":"+ADJ[i]+";top:"+MFT+";width:"+Top_Width[i]+"' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>")



document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"';this.style.backgroundImage='URL("+TMHBI+")'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"';this.style.backgroundImage='URL("+TMBI+")'\" href='"+n[i]+"'>"+m[i]+"</a></div>")



}


for (i=0; i < MENU; i++){



document.write("<div id='SUB"+i+"' class='menu_DIV' style='position: absolute; "+ALIGN+":"+(ADJ[i]+SUBshift)+";top:"+(MFT+MO)+";width:"+Sub_Menu_Width[i]+";background-color:#"+SMBC+";' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>"+s[i]+"</div>")


}



function StartMenu()
{

var D6=window,Y7=document;
function DETECT()
{
this.ver=navigator.appVersion;
this.agent=navigator.userAgent;
this.dom=Y7.getElementById?1:0;
this.opera5=this.agent.indexOf("Opera 5")>-1;
this.ie4=(Y7.all && !this.dom && !this.opera5)?1:0;
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.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;
this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom && !this.opera5)?1:0;
this.ie=this.ie4||this.ie5||this.ie6||this.ie7||this.ie8;
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.BWD=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);
return this
}
BWD=new DETECT();z=0;b=0;
spn="";
if(BWD.opera5||BWD.ns6)
{
b=2
};
if(BWD.ie)
{
spn=" width: 100%"
}else{
z=6
}

} 
function SubMenu()
{

document.write("<TABLE cellpadding='0' cellspacing='0' border='0' width='100%' BGCOLOR='#'+TMBC+''><tr><td>");
document.write("<img src='http://www.mmpcpa.com/picts/spacer.gif' width='100%' height='"+TMH+"'><br>");
document.write("</td></tr></table>");

document.write("<div width='100%' style='height:"+TMH+";position:absolute;top:"+MFT+";width:100%;background-image: url("+TMBI+"); background-color:#"+TMBC+";z-level:-2'></div>")


}


function lib_obj(obj,nest){nest=(!nest) ? "":'document.'+nest+'.';this.evnt=BWD.dom? document.getElementById(obj):BWD.ie4?document.all[obj]:BWD.ns4?eval(nest+"document.layers." +obj):0;this.css=BWD.dom||BWD.ie4?this.evnt.style:this.evnt;this.ref=BWD.dom||BWD.ie4?document:this.css.document;this.x=parseInt(this.css.top)||this.css.pixeltop||this.evnt.offsettop||0;this.y=parseInt(this.css.left)||this.css.pixelleft||this.evnt.offsetleft||0;return this}
function lib_doc_size(){this.x=0;this.x2=BWD.ie && document.body.offsetWidth-20||innerWidth||0;this.y=0;this.y2=BWD.ie && document.body.offsetHeight-5||innerHeight||0;this.x50=this.x2/2;this.y50=this.y2/2;return this;}
lib_obj.prototype.ShowMenu = function(){this.css.visibility="visible"}
lib_obj.prototype.HideMenu = function(){this.css.visibility="hidden"}
function libinit(){page=new lib_doc_size();o=new Array();for (i=0; i < MENU; i++){o[i]=new lib_obj('SUB'+i);o[i].HideMenu()}}
libinit()



