<!--
// MAIN MENU ====================================
if (document.images) {
  m_01b=new Image(24,177)
  m_01b.src="include/fhi_mb2_home.gif"
  m_02b=new Image(24,177)
  m_02b.src="include/fhi_mb2_silos.gif"
  m_03b=new Image(24,177)
  m_03b.src="include/fhi_mb2_slurry.gif"
  m_04b=new Image(24,177)
  m_04b.src="include/fhi_mb2_feeding.gif"
  m_05b=new Image(24,177)
  m_05b.src="include/fhi_mb2_manure.gif"
  m_06b=new Image(24,177)
  m_06b.src="include/fhi_mb2_cow.gif"
  m_14b=new Image(24,177)
  m_14b.src="include/fhi_mb2_rubber.gif"
  m_13b=new Image(24,177)
  m_13b.src="include/fhi_mb2_sand.gif"
  m_07b=new Image(24,177)
  m_07b.src="include/fhi_mb2_water.gif"
  m_08b=new Image(24,177)
  m_08b.src="include/fhi_mb2_vbs.gif"
  m_09b=new Image(24,177)
  m_09b.src="include/fhi_mb2_invtry.gif"
  m_10b=new Image(24,177)
  m_10b.src="include/fhi_mb2_specials.gif"
  m_11b=new Image(24,177)
  m_11b.src="include/fhi_mb2_contact.gif"

} else {
  m_01b=""
  document.menu01=""
  m_02b=""
  document.menu02=""
  m_03b=""
  document.menu03=""
  m_04b=""
  document.menu04=""
  m_05b=""
  document.menu05=""
  m_06b=""
  document.menu06=""
  m_14b=""
  document.menu14=""
  m_13b=""
  document.menu13=""
  m_07b=""
  document.menu07=""
  m_08b=""
  document.menu08=""
  m_09b=""
  document.menu09=""
  m_10b=""
  document.menu10=""
  m_11b=""
  document.menu11=""

}

// SUB-MENU  ====================================
// SUBMENU 1 -- HARVESTORE SILOS
var submenu01 = new Array()
submenu01[0]='<a href="harvestore_structures.php">Harvestore Structures</a>'
submenu01[1]='<a href="structures.php">&nbsp; &nbsp;Harvestore Structures</a>'
submenu01[2]='<a href="feed_structures-Center_Fill.php">&nbsp; &nbsp;Center Fill</a>'
submenu01[3]='<a href="feed_structures-push_button.php">&nbsp; &nbsp;Push Button Fill</a>'
submenu01[4]='<a href="unloaders.php">Harvestore Unloaders</a>'
submenu01[5]='<a href="unloaders-xl200.php">&nbsp; &nbsp;XL 200 Unloader</a>'
submenu01[6]='<a href="unloaders-xl400.php">&nbsp; &nbsp;XL 400 Unloader</a>'
submenu01[7]='<a href="unloaders-8900h.php">&nbsp; &nbsp;8900H Unloader</a>'
submenu01[8]='<a href="harvestore_parts.php">Parts</a>'
submenu01[9]='<a href="feed_quality.php">Feed Quality</a>'
submenu01[10]='<a href="medium_moisture.php">&nbsp; &nbsp;Medium Moisture Forage</a>'
submenu01[11]='<a href="high_moisture.php">&nbsp; &nbsp;High Moisture Grain</a>'
submenu01[12]='<a href="research_quality.php">&nbsp; &nbsp;USDA Quality Research</a>'
submenu01[13]='<a href="harvestore_success_stories.php">Success Stories</a>'
submenu01[14]='<a href="caine.php">&nbsp; &nbsp;Caine</a>'
submenu01[15]='<a href="hansma.php">&nbsp; &nbsp;Hansma</a>'
submenu01[16]='<a href="hofacker.php">&nbsp; &nbsp;Hofacker</a>'
submenu01[17]='<a href="huiras.php">&nbsp; &nbsp;Huiras</a>'
submenu01[18]='<a href="harvestore_library.php">Library</a>'
submenu01[19]='<a href="software_harvestore.php">&nbsp; &nbsp;Storage Pro Software</a>'
submenu01[20]='<a href="literature_harvestore.php">&nbsp; &nbsp;Literature</a>'
submenu01[21]='<a href="charts_harvestore.php">&nbsp; &nbsp;Capacity Charts</a>'
submenu01[22]='<a href="videos_harvestore.php">&nbsp; &nbsp;Videos</a>'
submenu01[23]='<a href="gallery_harvestore.php">&nbsp; &nbsp;Photo Gallery</a>'
submenu01[24]='<a href="safety_harvestore.php">&nbsp; &nbsp;Safety</a>'
submenu01[25]='<a href="warranty_harvestore.php">&nbsp; &nbsp;Warranty</a>'

// SUBMENU 2 -- SLURRYSTORE SYSTEMS
var submenu02 = new Array()
submenu02[0]='<a href="slurrystore_products.php">Products</a>'
submenu02[1]='<a href="slurrystore_model_90a.php">&nbsp; &nbsp;Model 90A</a>'
submenu02[2]='<a href="slurrystore_model_96a.php">&nbsp; &nbsp;Model 96A</a>'
submenu02[3]='<a href="slurrystore_features.php">&nbsp; &nbsp;Features And Benefits</a>'
submenu02[4]='<a href="slurrystore_process_sys.php">Processing Systems</a>'
submenu02[5]='<a href="slurrystore_waste_mgmt.php">&nbsp; &nbsp;Waste Management Systems</a>'
submenu02[6]='<a href="slurrystore_anaerobic_digesters.php">&nbsp; &nbsp;Anaerobic Digesters</a>'
submenu02[7]='<a href="slurrystore_nutrient_retention.php">&nbsp; &nbsp;Nutrient Retention</a>'
submenu02[8]='<a href="slurrystore_odor_mgmt.php">&nbsp; &nbsp;Odor Management</a>'
submenu02[9]='<a href="manure_nutrient_value.php">Nutrient Value</a>'
submenu02[10]='<a href="slurrystore_nutrient.php">&nbsp; &nbsp;Higher Fertilizer and Nutrient Value</a>'
submenu02[11]='<a href="slurrystore_agitation_sys.php">&nbsp; &nbsp;Agitation System </a>'
submenu02[12]='<a href="slurrystore_success_stories.php">Success Stories</a>'
submenu02[13]='<a href="gerant.php">&nbsp; &nbsp;GerAnt Farms, LLC</a>'
submenu02[14]='<a href="breitview.php">&nbsp; &nbsp;Breitview Dairy Farm</a>'
submenu02[15]='<a href="holste.php">&nbsp; &nbsp;Brian Holste</a>'
submenu02[16]='<a href="bass.php">&nbsp; &nbsp;Scott Bass</a>'
submenu02[17]='<a href="vanderlinden.php">&nbsp; &nbsp;David VanderLinden</a>'
submenu02[18]='<a href="slurrystore_library.php">Library</a>'
submenu02[19]='<a href="literature_harvestore.php">&nbsp; &nbsp;Literature</a>'
submenu02[20]='<a href="charts_slurrystore.php">&nbsp; &nbsp;Capacity Charts</a>'
submenu02[21]='<a href="videos_slurrystore.php">&nbsp; &nbsp;Videos</a>'
submenu02[22]='<a href="gallery_slurrystore.php">&nbsp; &nbsp;Photo Gallery</a>'
submenu02[23]='<a href="safety_slurrystore.php">&nbsp; &nbsp;Safety</a>'
submenu02[24]='<a href="warranty_slurrystore.php">&nbsp; &nbsp;Warranty</a>'
submenu02[25]='<a href="slurrystore_eqip_funding.php">EQIP Funding</a>'


// SUBMENU 3 -- FEEDING EQUIPMENT
var submenu03 = new Array()
submenu03[0]='<a href="mixers.php">TMR Mixers</a>'
submenu03[1]='<a href="conveyors.php">Conveyors</a>'
submenu03[2]='<a href="roller_mills.php">Roller Mills</a>'
submenu03[3]='<a href="grain_grinders.php">Grain Grinders</a>'
submenu03[4]='<a href="silo_unloaders.php">Silo Unloaders</a>'
submenu03[5]='<a href="hammer_mills.php">Hammer Mills</a>'

// SUBMENU 4 -- MANURE HANDLING
var submenu04 = new Array()
submenu04[0]='<a href="manure_design.php">Manure Design System</a>'
submenu04[1]='<a href="manure_augers.php">Augers</a>'
submenu04[2]='<a href="manure_pumps.php">Pumps</a>'
submenu04[3]='<a href="separators.php">Screw Press Separators</a>'
submenu04[4]='<a href="agitators.php">Agitators</a>'
submenu04[5]='<a href="manure_scrapers.php">Manure Scrapers</a>'
submenu04[6]='<a href="manure_tankers.php">Manure Tankers</a>'
submenu04[7]='<a href="direction_systems.php">Direction Systems</a>'

// SUBMENU 5 -- COW COMFORT
var submenu05 = new Array()
submenu05[0]='<a href="stall_fillers.php">Stall Fillers</a>'
submenu05[1]='<a href="dairy_flooring.php">Dairy Flooring</a>'
submenu05[2]='<a href="barn_ventilation.php">Barn Ventilation</a>'
submenu05[3]='<a href="automated_curtains.php">Automated Curtains</a>'
submenu05[4]='<a href="headlocks.php">Headlocks</a>'
		
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
// -->
