var drop = true;               // set to false for pullout style menu
if (!document.all) {xoff=60;} else {xoff=60;}  // netscape values first; was 20 and 20
if (!document.all) {yoff=176;} else {yoff=180;}  // was 38 and 40
if (!document.all) {idx=115;} else {idx=114;}  // set to 1 column width
if (!document.all) {idy=25;}  else {idy=24;}   // set to 1 row height

function showmenu(elmnt,p) { // dropmenu positioning
	if (drop === true) {   // index horizontally
	   document.getElementById(elmnt).style.top=document.getElementById("bar").style.top+yoff+"px";
	   document.getElementById(elmnt).style.left=document.getElementById("bar").style.left+((p*idx)+xoff)+"px";
	   } else {          // index vertically
	   document.getElementById(elmnt).style.top=((p*idy)+yoff)+"px";
	   document.getElementById(elmnt).style.left=xoff+"px";
	   }
	document.getElementById(elmnt).style.visibility="visible";
}

function hidemenu(elmnt) {
	document.getElementById(elmnt).style.visibility="hidden";
}

