var hrefStub = '
build
';
= 5));
// Is Internet Explorer?
is_ie = (agt.indexOf("msie") != -1);
// Is IE 3
is_ie3 = (is_ie && (is_major < 4));
// Is IE 4
is_ie4 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")==-1) );
// Is Internet Explorer 5 or above?
is_ie5up = (is_ie && !is_ie3 && !is_ie4);
}
]]>
= 5 ) {
mouseX = e.clientX;
mouseY = e.clientY;
target = e.target.id;
if ( e.button == 0 ) { mouseButton = 'none' }
else if ( e.button == 1 ) { mouseButton = 'left' }
else if ( e.button == 2 ) { mouseButton = 'middle' }
else if ( e.button == 3 ) { mouseButton = 'right' }
} else {
if ( e.which == 3 ) { mouseButton = "right"; }
else if ( e.which == 1 || e.type == 'click' ) { mouseButton = "left"; }
else { mouseButton = "none"; }
mouseX = e.pageX;
mouseY = e.pageY;
target = e.target + "";
if ( target.substring(0,15) == 'javascript:void' ) { // If the URL starts with "javascript:void", return the value of the void function's parameter
objID = target.slice(17,-2);
} else {
objIDStartIndex = target.indexOf('_objID=');
objIDEndIndex = target.indexOf('&',objIDStartIndex);
if ( objIDStartIndex != -1 && objIDEndIndex != -1 ) { // If the URL contains the _objID parameter in the middle somewhere, return its value
objID = target.substring(objIDStartIndex+7,objIDEndIndex);
} else if ( objIDStartIndex != -1 ) { // If the URL contains the _objID parameter at the end, return its value
objID = target.substring(objIDStartIndex+7);
} else { // Otherwise return the whole URL as the objID
objID = target;
}
}
}
}
}
]]>
document.body.clientWidth + document.body.scrollLeft ) {
menuObj.style.left = document.body.clientWidth + document.body.scrollLeft - menuObj.offsetWidth - 2;
} else {
menuObj.style.left = requestX
}
if ( requestY + menuObj.offsetHeight + 2 > document.body.clientHeight + document.body.scrollTop ) {
menuObj.style.top = document.body.clientHeight + document.body.scrollTop - menuObj.offsetHeight - 2;
} else {
menuObj.style.top = requestY
}
} else if ( is_nav ) {
document.layers[menuID].visibility = "visible";
document.layers[menuID].bgColor = "#bbbbbb";
document.layers[menuID].left = requestX;
document.layers[menuID].top = requestY;
}
displayedMenuID = menuID;
}
function hidePopupMenu() {
if ( displayedMenuID != "" ) {
if ( is_ie ) {
document.all(displayedMenuID).style.visibility = "hidden";
} else if ( is_nav ) {
document.layers[displayedMenuID].visibility = "hidden";
}
displayedMenuID = "";
}
}
]]>