<!--
var img = new Array();
img[0] = "parts"
img[1] = "service"
img[2] = "sales"
img[3] = "toys"

var imgTemp = new Image();
for(i=0;i<4;i++) {
	imgTemp.src = "images/bottom-nav/"+img[i]+"-pic.jpg"
	imgTemp.src = "images/bottom-nav/"+img[i]+"-on.jpg"
	imgTemp.src = "images/bottom-nav/"+img[i]+"-down.jpg"
}

var bottomSrc = new Array();
bottomSrc["parts"] = "<h1>Parts Department</h1><br><img src='images/bottom-nav/parts-pic.jpg' align='left' style='padding-right:4px;'>Our parts department offers a large selection of toys and collectibles.  We pride ourselves on being a reliable source for two-cylinder parts and providing complete service of two-cylinder tractors.<br><br><br><br><a class='bottom-link' href='mailto:howard@meridianimplment.com'>Contact Our Parts Department</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class='bottom-link' href='http://jdparts.deere.com/servlet/com.deere.u90.jdparts.view.publicservlets.HomeUnsigned' target='_blank'>JD Parts Online</a>";
bottomSrc["service"] ="<h1>Service Department</h1><br>Meridian Service department is divided up into three shops.  Our tractor shop is staffed with personnel who are trained on all models, from the old two-cylinders to the latest 4WD tractors. We also have a Lawn & Garden Shop, which services lawn and garden tractors, skid loaders, compact tractors, John Deere ATVS, snowmobiles, and handheld. The Ag Shop works on combines, planters, tillage equipment, hay equipment, grinders and manure spreaders.<br><br>Contacts: <a class='bottom-link' href='mailto:bob@meridianimplement.com'>Tractor Shop</a>&nbsp;&nbsp;<a class='bottom-link' href='mailto:kevin@meridianimplement.com'>Lawn & Garden Shop</a>&nbsp;&nbsp;<a class='bottom-link' href='mailto:rayw@meridianimplement.com'>Ag Shop</a>";
bottomSrc["sales"] = "<h1>Sales Department</h1><br><img src='images/bottom-nav/sales-pic.jpg' align='left' style='padding-right:4px;'>We believe in treating each of our customers as an individual. When a customer provides us with an opportunity to serve them we will do our best to meet their needs. Courteous and professionalism would best describe the atmosphere in our dealership.<br><br><br><a class='bottom-link' href='mailto:dennis@meridianimplement.com'>Contact Our Sales Department</a>";
bottomSrc["toys"] = "<h1>Toys &amp; Apparel</h1><br><img src='images/bottom-nav/toys-pic.jpg' align='left' style='padding-right:4px;'><h2><a href='http://www.clicknvend.com/meridianimplement' style='color:#FED500'>Online Store</a></h2><br>If you're looking for John Deere collectibles, merchandise, clothing, gifts, or John Deere toys, you've come to the right place. We offer one of the largest and most complete online stores of John Deere licensed gift merchandise anywhere!<br><br><br><a class='bottom-link' href='mailto:jdparts@meridianimplement.com'>Contact Our Toys Department</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class='bottom-link' href='http://www.clicknvend.com/meridianimplement/'>Visit our online store</a>";


function changePic(objectId) {
	img0 = document.getElementById(objectId)
	if(img0.src.indexOf("down")==-1){
		imgSrc = "images/bottom-nav/"+objectId+"-on.jpg"
		img0.src = imgSrc;
	}
	//document.getElementById('testimg').innerHTML = img0.src;
}
function changeBack(objectId) {
	img0 = document.getElementById(objectId)
	if(img0.src.indexOf("down")==-1){
		imgSrc = "images/bottom-nav/"+objectId+"-off.jpg"
		img0.src = imgSrc;
	}
	//document.getElementById('testimg').innerHTML = img0.src.indexOf("down") + " ### " + img0.src;
}
function changeDown(objectId) {
	img0 = document.getElementById(objectId)
	for(i=0;i<4;i++){
		if(img[i]!=objectId){
			document.getElementById(img[i]).src = "images/bottom-nav/"+img[i]+"-off.jpg";
		}
	}
	document.getElementById('bottomsrc').innerHTML = bottomSrc[objectId];
	imgSrc = "images/bottom-nav/"+objectId+"-down.jpg"
	img0.src = imgSrc;
	//document.getElementById('testimg').innerHTML = imgSrc;
}

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_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_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];}
}
-->