if (TransMenu.isSupported()) {
  TransMenu.updateImgPath('scripts/');
  var ms = new TransMenuSet(TransMenu.direction.down, 0, 0, TransMenu.reference.bottomLeft);
  
  TransMenu.subpad_x = 0;
  TransMenu.subpad_y = 0;
  
  TransMenu.dingbatSize = 1;                            // size of the dingbat (square shape assumed)
  TransMenu.menuPadding = 5;                             // padding between menu border and items grid
  TransMenu.itemPadding = 10;                             // additional padding around each item

  document.getElementById("menu1").onmouseover = function() {
	ms.hideCurrent();
  }

  var tmenu1 = ms.addMenu(document.getElementById("menu1"));
  tmenu1.addItem("Spinal Problems in Horses", "spinal-problems-horses.html", 0, 0);
  tmenu1.addItem("Spinal Problems in Dogs", "spinal-problems-dogs.html", 0, 0);

  var tmenu1 = ms.addMenu(document.getElementById("menu2"));
  tmenu1.addItem("Chiropractic + Acupuncture Overview", "chiropractic-acupuncture-overview.html", 0, 0);
  tmenu1.addItem("Chiropractic + Acupuncture for Horses", "chiropractic-horses-chiropractic.html", 0, 0);
  tmenu1.addItem("Chiropractic + Acupuncture for Dogs", "chiropractic-dogs-chiropractic.html", 0, 0);
  tmenu1.addItem("Gold Implantation Acupuncture", "chiropractic-acupuncture-gold-implantation.html", 0, 0);
  
  var tmenu1 = ms.addMenu(document.getElementById("menu3"));
  tmenu1.addItem("Fitting Basics", "saddles.html", 0, 0);
  tmenu1.addItem("Common Fitting Errors", "saddles-fitting-errors.html", 0, 0);
  tmenu1.addItem("Improving Saddle Fit", "saddles-improving-saddle-fit.html", 0, 0);
  tmenu1.addItem("Buying a Saddle to suit your Horse", "saddles-buying-suit-horse.html", 0, 0);
  tmenu1.addItem("Buying a Saddle to suit the Rider", "saddles-buying-suit-rider.html", 0, 0);
  tmenu1.addItem("Using Wither Shims", "saddles-shims.html", 0, 0);
  
  var tmenu1 = ms.addMenu(document.getElementById("menu4"));
  tmenu1.addItem("Overview", "girth-pain.html", 0, 0);
  tmenu1.addItem("Symptoms", "girth-pain-symptoms.html", 0, 0);
  tmenu1.addItem("Research", "girth-pain-research.html", 0, 0);
  tmenu1.addItem("Causes", "girth-pain-causes.html", 0, 0);
  tmenu1.addItem("Diagnosis & Treatment", "girth-pain-diagnosis-treatment.html", 0, 0);
  
  TransMenu.renderAll();
}

init1=function(){TransMenu.initialize();}
if (window.attachEvent) {
  window.attachEvent("onload", init1);
}
else {
  TransMenu.initialize();
}
