Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function mh_showmenu(caller)
{
var posi;
var initcaller;
var strcaller;
var rpttype;
initalCaller=caller;
rpttype=initalCaller.charAt(0);
posi=getAnchorPosition(caller);
document.all.mh_menu.style.posTop=posi.y;
if (rpttype=="F")
{
document.all.mh_menu.style.posLeft=posi.x+255;
document.all.mh_menu.style.visibility="visible";
}
else if (rpttype=="X")
{
document.all.mh_menu.style.posLeft=posi.x-100;
document.all.mh_menu.style.visibility="visible";
}
else
{
document.all.mh_menu.style.posLeft=posi.x+150;
document.all.mh_menu.style.visibility="visible";
}
holder=1;
return initalCaller;
}
function mh_showmenu(caller)
{
var posi;
var initcaller;
var strcaller;
var rpttype;
initalCaller=caller;
rpttype=initalCaller.charAt(0);
posi=getAnchorPosition(caller);
document.all.mh_menu.style.posTop=posi.y;
if (rpttype=="F")
{
document.all.mh_menu.style.posLeft=posi.x+255;
document.all.mh_menu.style.visibility="visible";
}
else if (rpttype=="X")
{
document.all.mh_menu.style.posLeft=posi.x-100;
document.all.mh_menu.style.visibility="visible";
}
else
{
document.all.mh_menu.style.posLeft=posi.x+150;
document.all.mh_menu.style.visibility="visible";
}
holder=1;
return initalCaller;
}
function getElementPosition(elem) {
var offsetTrail = elem;
var offsetLeft = 0;
var offsetTop = 0;
while (offsetTrail) {
offsetLeft += offsetTrail.offsetLeft;
offsetTop += offsetTrail.offsetTop;
offsetTrail = offsetTrail.offsetParent;
}
if (navigator.userAgent.indexOf("Mac") != -1 &&
typeof document.body.leftMargin != "undefined") {
offsetLeft += document.body.leftMargin;
offsetTop += document.body.topMargin;
}
return {left:offsetLeft, top:offsetTop};
}