<!-- // START MENU CODE

// NOTE: If you use a ' add a slash before it like this \'
StartMenu()

// MENU OPTIONS - you will find more options in the heartlandstyle.css
MFL		    = 0; 					// MENU DISTANCE FROM EDGE
MFT		    = 81; 					// MENU DISTANCE FROM TOP
ALIGN	    = "left"				// MENU LEFT OR RIGHT
TMH		    =  20;					// 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		    = "FFFFFF";				// TOP MENU OFF FONT COLOR
TMBC		  = "000000";				// TOP MENU OFF BACKGROUND COLOR
//TMBC		  = "0000FF";				// TOP MENU OFF BACKGROUND COLOR
TMHC		  = "000000";				// TOP MENU HOVER TEXT COLOR
TMHBC		  = "F5CF7C";				// TOP MENU HOVER BACKGROUND COLOR
MO		    =  TMH-2;				// Y MENU OVERLAP CHANGE NUMBER VALUE
SUBshift  =  0;					// SHIFT SUBMENU RIGHT

// START SUBMENU OPTIONS - you will find more options in the heartlandstyle.css
SMH		    = 22;					// SUB MENU HEIGHT
SMFS		  = "9";					// SUB MENU FONT SIZE
SMFW		  = "normal";				// SUB MENU FONT WEIGHT bold/normal
SMFF		  = "arial,MS Sans Serif,sans-serif";	// SUB MENU FONT FACE
SMC		    = "000000";				// SUB MENU OFF FONT COLOR
SMBC		  = "FFFFFF";				// SUB MENU OFF BACKGROUND COLOR
SMHC		  = "000000";				// SUB MENU HOVER TEXT COLOR
SMHBC		  = "FFD854";				// SUB MENU HOVER BACKGROUND COLOR

SubMenu()

// START MENU NUMBER 1 COPY AND PASTE A GROUP TO ADD A NEW TOP LEVEL SEE NOTE BELOW
Top_Width[0]=100; 
Sub_Menu_Width[0]=150;
m[0]='About Us';
n[0]='mission.htm';
st[0]="";
s[0]=""+l+"home.htm"+r+" Home "+c+l+"contactus.htm"+r+" Contact Us "+c+l+"maptosportszone.htm"+r+" Map "+c+l+"mission.htm"+r+" Mission "+c+l+"construction.htm"+r+" Facilities "+c+l+"alumni.htm"+r+" Alumni "+c+l+"/assets/pdfs/HeartlandSC_Bylaws.pdf"+r+" By-Laws "+c+l+"/assets/pdfs/HSC Club Policies 4-1-09.pdf"+r+" Club Policies "+c

// Top_Width[1]=100; 
// Sub_Menu_Width[1]=150;
// m[1]='Teams';
// n[1]='construction.htm';
// st[1]="";
// s[1]=""+l+"teamachievements.htm"+r+" Team Acheivements "+c+l+"/assets/pdfs/2007-08_Rosters.pdf"+r+" 2007/8 Team Rosters "+c

Top_Width[1]=100; 
Sub_Menu_Width[1]=200;
m[1]='Competitive';
n[1]='playerpathways.htm';
st[1]="";
s[1]=""+l+"playerpathways.htm"+r+" Player Pathway "+c+l+"competitiveprogram.htm"+r+" Competitive (Ages 11-18) "+c+l+"premierprogram.htm"+r+" Premier (Ages 11-18) "+c+l+"collegeadvisory.htm"+r+" College Advisory (Ages 15-18) "+c+l+"camps.htm"+r+" Heartland Camps "+c+l+"http://www.easterniowaunited.org"+r+" Eastern Iowa United (EIU) "+c+l+"skillstraininghomework.htm"+r+" Skills Training Homework "+c

Top_Width[2]=100; 
Sub_Menu_Width[2]=200;
m[2]='Academy';
n[2]='playerpathways.htm';
st[2]="";
s[2]=""+l+"playerpathways.htm"+r+" Player Pathway "+c+l+"huslpush.htm"+r+" HUSL (Ages 5-8) "+c+l+"academyprogram.htm"+r+" Academy (Ages 9-10) "+c

Top_Width[3]=100;
Sub_Menu_Width[3]=200;
m[3]='Schedule';
n[3]='2011 Spring Training Schedule.htm';
st[3]="";
s[3]=""+l+"2011 Fall Training Schedule.htm"+r+" 2011 Fall Training "+c+l+"/assets/pdfs/Teams Pre Season Camp 2011.pdf"+r+" 2011 Teams Pre-Season Camp "+c+l+"/assets/pdfs/Annual_Calendar_2011-12.pdf"+r+" 2011-2012 Calendar "+c

Top_Width[4]=100;
Sub_Menu_Width[4]=200;
m[4]='Resources';
n[4]='construction.htm';
st[4]="";
s[4]=""+l+"https://heartlandsc.cogran.com"+r+" Sign In "+c+l+"http://www.soccer.com/Navigation.process?Srp=24&N=4294928616"+r+" Uniform "+c+l+"http://www.bollingersoccer.com/format1/index.asp?Temp=33"+r+" ISA Insurance "+c+l+"construction.htm"+r+" The Far Post "+c+l+"/assets/pdfs/Heartland Parent Handbook.pdf"+r+" Heartland Parent Handbook "+c+l+"forms/IowaMedicalReleaseForm.pdf"+r+" Medical Release"+c+l+"/assets/pdfs/2009PlayerCodeOfConductU0910.pdf"+r+" Player Code of Conduct U09-10 "+c+l+"/assets/pdfs/2009PlayerCodeOfConduct.pdf"+r+" Player Code of Conduct U11-18 "+c+l+"/assets/pdfs/2009ParentCodeOfConduct.pdf"+r+" Parent Code of Conduct "+c+l+"/assets/pdfs/2009CoachCodeOfConduct.pdf"+r+" Coach Code of Conduct "+c+l+"/assets/pdfs/TournamentGuidelines-n-Procedures.pdf"+r+" Tournament Guidelines "+c+l+"/assets/pdfs/HSC_Scholarship_2011-2012.pdf"+r+" 2011-2012 Scholarship Form "+c+l+"/assets/pdfs/2011-2012 Club Brochure.pdf"+r+" 2010-2011 Club Brochure "+c

//Top_Width[4]=100; 
//Sub_Menu_Width[4]=0;
//m[4]='Team Meetings';
//n[4]='20092010 Team Meetings.htm';
//st[4]="";
//s[4]="";

//Top_Width[4]=100; 
//Sub_Menu_Width[4]=200;
//m[4]='Registration';
//n[4]='registrationinformation.htm';
//st[4]="";
//s[4]=""+l+"registrationinformation.htm"+r+" Registration Information "+c

Top_Width[5]=100; 
Sub_Menu_Width[5]=200;
m[5]='Tryouts';
n[5]='tryoutinformation.htm';
st[5]="";
s[5]=""+l+"tryoutinformation.htm"+r+" Tryout Information "+c+l+"tryouts.htm"+r+" 2011-12 Tryout Schedule "+c
//+l+"registration.aspx"+r+" U09-U16 Tryout Registration "+c+l+"http://www.easterniowaunited.org"+r+" U17-U18 Tryout Registration "+c

Top_Width[6]=100;
Sub_Menu_Width[6]=200;
m[6]='Tournament';
n[6]='midwestsoccerfest.htm';
st[6]="";
s[6]=""+l+"midwestsoccerfest.htm"+r+" General Information "+c+l+"assets/pdfs/Midwest SoccerFest Tournament Rules.pdf"+r+" Tournament Rules "+c+l+"assets/pdfs/2010 Application To Host Tournament.pdf"+r+" Tournament Application To Host"+c+l+"assets/pdfs/Tuma Driving Directions.pdf"+r+" Driving Directions "+c+l+"assets/pdfs/TUMA Soccer Fields Layout 2008.pdf"+r+" Field Map "+c+l+"lodging.htm"+r+" Lodging "+c+l+"forms/IowaMedicalReleaseForm.pdf"+r+" Medical Release "+c+l+"MSF Results.htm"+r+" Past Tournament Results "+c
//c+l+"http://www.gotsport.com/events/?eventid=6393"+r+" 2009 Game Schedules "+

Top_Width[7]=120;
Sub_Menu_Width[7]=0;
m[7]='Heartland E-News';
n[7]='e-news.htm';
st[7]="";
s[7]="";
//+l+"coachingstaff.htm"+r+" Staff "+c+l+"coachingarticles.htm"+r+" Coaching Articles "+c+l+"construction.htm"+r+" License Courses "+c

Top_Width[8]=100;
Sub_Menu_Width[8]=200;
m[8]='Coaching';
n[8]='coachingstaff.htm';
st[8]="";
s[8]=""+l+"coachingstaff.htm"+r+" Staff "+c+l+"coaching_philosophy.htm"+r+" Coaching Philosophy "+c+l+"coachingcurriculum.htm"+r+" Heartland Coaching Curriculum "+c+l+"coachingarticles.htm"+r+" Coaching Articles "+c+l+"construction.htm"+r+" Coach Education "+c+l+"construction.htm"+r+" GK Staff "+c

// IF YOU ADD ANOTHER TOP LEVEL MENU YOU MUST ADD TO THE BOTTOM OF THIS LIST
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;
ADJ[7]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4]+Top_Width[5]+Top_Width[6])+MFL;
ADJ[8]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4]+Top_Width[5]+Top_Width[6]+Top_Width[7])+MFL;


MENU=m.length

for (i=0; i < MENU; i++)
{
  // START WRITING TOP LEVEL MENUS
  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-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"'\" href='"+n[i]+"'>"+m[i]+"</a></div>")
}

for (i=0; i < MENU; i++)
{
  // START WRITING SUB MENUS
  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.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.ie9=(this.ver.indexOf("MSIE 9")>-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.ie7||this.ie8||this.ie9;
    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()
{
  l="<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='";
  r="'>";
  blr="' target='_blank'>";
  c="</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()
}

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()

// END MENU CODE -->
