0) l.top = body.document.layers[n-1].top + body.document.layers[n-1].clip.height + proto.menuItemBorder; l.hilite = l.document.layers[1]; l.document.layers[1].isHilite = true; if (l.document.layers[0].id.indexOf("menuSeparator") != -1) { l.hilite = null; l.clip.height -= l.clip.height / 2; l.document.layers[0].document.bgColor = proto.bgColor; l.document.layers[0].clip.width = l.clip.width -2; l.document.layers[0].clip.height = 1; l.document.layers[1].document.bgColor = proto.menuLiteBgColor; l.document.layers[1].clip.width = l.clip.width -2; l.document.layers[1].clip.height = 1; l.document.layers[1].top = l.document.layers[0].top + 1; } else if (l.document.layers.length > 2) { l.childMenu = container.menus[i].items[n].menuLayer; l.icon = proto.childMenuIcon; l.iconHilite = proto.childMenuIconHilite; l.document.layers[2].left = l.clip.width -13; l.document.layers[2].top = (l.clip.height / 2) -4; l.document.layers[2].clip.left += 3; l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu; } } body.document.bgColor = proto.bgColor; body.clip.width = l.clip.width +1; body.clip.height = l.top + l.clip.height +1; body.document.layers[n].clip.width = body.clip.width; body.document.layers[n].captureEvents(Event.MOUSEDOWN); // body.document.layers[n].onmousedown = proto.onMenuItemDown; // body.document.layers[n].onfocus = proto.onMenuItemDown; body.document.layers[n].onmouseout = proto.onMenuItemOut; body.document.layers[n].Menu = l.Menu; body.document.layers[n].top = -30; menu.document.bgColor = proto.menuBorderBgColor; menu.document.layers[0].document.bgColor = proto.menuLiteBgColor; menu.document.layers[0].clip.width = body.clip.width +1; menu.document.layers[0].clip.height = body.clip.height +1; menu.clip.width = body.clip.width + (proto.menuBorder * 2) +1; menu.clip.height = body.clip.height + (proto.menuBorder * 2) +1; if (menu.Menu.enableTracker) { menu.Menu.disableHide = true; nn_setMenuTracker(menu.Menu); } } } else if (is_ns6) { var menuCount = 0; container.onmouseout = this.hideMenu; for (var x=0; x0) l.style.top = parseInt(document.getElementById("menuItem" + (menuCount -1)).style.top) + parseInt(document.getElementById("menuItem" + (menuCount -1)).style.height) + proto.menuItemBorder; l.style.fontSize = proto.fontSize; l.style.backgroundColor = proto.menuItemBgColor; l.style.visibility = "inherit"; l.saveColor = proto.menuItemBgColor; l.menuHiliteBgColor = proto.menuHiliteBgColor; l.action = container.menus[x].actions[i]; l.hilite = document.getElementById("menuItemHilite" + menuCount); l.focusItem = document.getElementById("focusItem" + x); l.focusItem.style.top = -30; l.mouseover = l.Menu.mouseovers[x]; l.mouseout = l.Menu.mouseouts[x]; var childItem = document.getElementById("childMenu" + menuCount); if (childItem) { l.childMenu = container.menus[x].items[i].menuLayer; childItem.style.left = parseInt(l.style.width) -11; childItem.style.top = (parseInt(l.style.height) /2) -4; childItem.style.width = 30 || 7; childItem.style.clip = "rect(0 7 7 3)"; l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu; } var sep = document.getElementById["menuSeparator" + menuCount]; if (sep) { sep.style.clip = "rect(0 " + (proto.menuItemWidth - 3) + " 1 0)"; sep.style.backgroundColor = proto.bgColor; sep = document.getElementById["menuSeparatorLite" + menuCount]; sep.style.clip = "rect(1 " + (proto.menuItemWidth - 3) + " 2 0)"; sep.style.backgroundColor = proto.menuLiteBgColor; l.style.height = proto.menuItemHeight/2; l.isSeparator = true } menuCount++; } proto.menuHeight = (parseInt(l.style.top) + parseInt(l.style.height)); var lite = document.getElementById("menuLite" + x); lite.style.height = proto.menuHeight +2; lite.style.width = proto.menuItemWidth + 2; lite.style.backgroundColor = proto.menuLiteBgColor; var body = document.getElementById("menuFg" + x); body.style.height = proto.menuHeight + 1; body.style.width = proto.menuItemWidth + 1; body.style.backgroundColor = proto.bgColor; container.menus[x].menuLayer.style.width = proto.menuWidth || proto.menuItemWidth + (proto.menuBorder * 2) +2; container.menus[x].menuLayer.style.height = proto.menuHeight + (proto.menuBorder * 2) +2; if (menu.Menu.enableTracker) { menu.Menu.disableHide = true; nn_setMenuTracker(menu.Menu); } } document.getElementById("menuContainer").style.backgroundColor = container.menus[0].menuContainerBgColor; // container.document.saveBgColor = container.document.bgColor; } else if (container.document.all) { var menuCount = 0; for (var x=0; x0) l.style.pixelTop = container.document.all["menuItem" + (menuCount -1)].style.pixelTop + container.document.all["menuItem" + (menuCount -1)].style.pixelHeight + proto.menuItemBorder; l.style.fontSize = proto.fontSize; l.style.backgroundColor = proto.menuItemBgColor; l.style.visibility = "inherit"; l.saveColor = proto.menuItemBgColor; l.menuHiliteBgColor = proto.menuHiliteBgColor; l.action = container.menus[x].actions[i]; l.hilite = container.document.all["menuItemHilite" + menuCount]; l.focusItem = container.document.all["focusItem" + x]; l.focusItem.style.pixelTop = -30; l.mouseover = l.Menu.mouseovers[x]; l.mouseout = l.Menu.mouseouts[x]; var childItem = container.document.all["childMenu" + menuCount]; if (childItem) { l.childMenu = container.menus[x].items[i].menuLayer; childItem.style.pixelLeft = l.style.pixelWidth -11; childItem.style.pixelTop = (l.style.pixelHeight /2) -4; childItem.style.pixelWidth = 30 || 7; childItem.style.clip = "rect(0 7 7 3)"; l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu; } var sep = container.document.all["menuSeparator" + menuCount]; if (sep) { sep.style.clip = "rect(0 " + (proto.menuItemWidth - 3) + " 1 0)"; sep.style.backgroundColor = proto.bgColor; sep = container.document.all["menuSeparatorLite" + menuCount]; sep.style.clip = "rect(1 " + (proto.menuItemWidth - 3) + " 2 0)"; sep.style.backgroundColor = proto.menuLiteBgColor; l.style.pixelHeight = proto.menuItemHeight/2; l.isSeparator = true } menuCount++; } proto.menuHeight = (l.style.pixelTop + l.style.pixelHeight); var lite = container.document.all["menuLite" + x]; lite.style.pixelHeight = proto.menuHeight +2; lite.style.pixelWidth = proto.menuItemWidth + 2; lite.style.backgroundColor = proto.menuLiteBgColor; var body = container.document.all["menuFg" + x]; body.style.pixelHeight = proto.menuHeight + 1; body.style.pixelWidth = proto.menuItemWidth + 1; body.style.backgroundColor = proto.bgColor; container.menus[x].menuLayer.style.pixelWidth = proto.menuWidth || proto.menuItemWidth + (proto.menuBorder * 2) +2; container.menus[x].menuLayer.style.pixelHeight = proto.menuHeight + (proto.menuBorder * 2) +2; if (menu.Menu.enableTracker) { menu.Menu.disableHide = true; nn_setMenuTracker(menu.Menu); } } container.document.all("menuContainer").style.backgroundColor = container.menus[0].menuContainerBgColor; container.document.saveBgColor = container.document.bgColor; } window.wroteMenu = true; } function nn_onMenuItemOver(e, l, a) { var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById; var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById; l = l || this; a = a || window.ActiveMenuItem; if (is_ns4) { if (a) { a.document.bgColor = a.saveColor; if (a.hilite) a.hilite.visibility = "hidden"; if (a.childMenu) a.document.layers[1].document.images[0].src = a.icon; } else { a = new Object(); } if (this.mouseover && this.id != a.id) { if (this.mouseover.length > 4) { var ext = this.mouseover.substring(this.mouseover.length-4); if (ext == ".gif" || ext == ".jpg") { this.document.layers[1].document.images[0].src = this.mouseover; } else { eval("" + this.mouseover); } } } if (l.hilite) { l.document.bgColor = l.menuHiliteBgColor; l.zIndex = 1; l.hilite.visibility = "inherit"; l.hilite.zIndex = 2; l.document.layers[1].zIndex = 1; l.focusItem.zIndex = this.zIndex +2; } l.focusItem.top = this.top; l.Menu.hideChildMenu(l); } else if (is_ns6) { // document.onmousedown=l.Menu.onMenuItemDown; if (a) { a.style.backgroundColor = a.saveColor; if (a.hilite) a.hilite.style.visibility = "hidden"; } else { a = new Object(); } if (l.mouseover && l.id != a.id) { if (l.mouseover.length > 4) { var ext = l.mouseover.substring(l.mouseover.length-4); if (ext == ".gif" || ext == ".jpg") { l.document.images[l.id + "Img"].src = l.mouseover; } else { eval("" + l.mouseover); } } } if (l.isSeparator) return; l.style.backgroundColor = l.menuHiliteBgColor; if (l.hilite) { l.style.backgroundColor = l.menuHiliteBgColor; l.hilite.style.visibility = "inherit"; } l.focusItem.style.top = parseInt(l.style.pixelTop); l.focusItem.style.zIndex = l.zIndex +1; l.zIndex = 1; l.Menu.hideChildMenu(l); } else if (document.all && l.Menu) { // document.onmousedown=l.Menu.onMenuItemDown; if (a) { a.style.backgroundColor = a.saveColor; if (a.hilite) a.hilite.style.visibility = "hidden"; } else { a = new Object(); } if (l.mouseover && l.id != a.id) { if (l.mouseover.length > 4) { var ext = l.mouseover.substring(l.mouseover.length-4); if (ext == ".gif" || ext == ".jpg") { l.document.images[l.id + "Img"].src = l.mouseover; } else { eval("" + l.mouseover); } } } if (l.isSeparator) return; l.style.backgroundColor = l.menuHiliteBgColor; if (l.hilite) { l.style.backgroundColor = l.menuHiliteBgColor; l.hilite.style.visibility = "inherit"; } l.focusItem.style.pixelTop = l.style.pixelTop; l.focusItem.style.zIndex = l.zIndex +1; l.zIndex = 1; l.Menu.hideChildMenu(l); } window.ActiveMenuItem = l; l.Menu.visited = true; } function nn_onMenuItemOut(e, l, a) { var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById; var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById; l = l || this; a = a || window.ActiveMenuItem; if (l.id.indexOf("focusItem")) { if (a && l.top) { l.top = -30; if (a.mouseout && a.id != l.id) { if (a.mouseout.length > 4) { var ext = a.mouseout.substring(a.mouseout.length-4); if (ext == ".gif" || ext == ".jpg") { a.document.layers[1].document.images[0].src = a.mouseout; } else { eval("" + a.mouseout); } } } } else if (a && l.style) { document.onmousedown=null; window.event.cancelBubble=true; if (l.mouseout) { if (l.mouseout.length > 4) { var ext = l.mouseout.substring(l.mouseout.length-4); if (ext == ".gif" || ext == ".jpg") { l.document.images[l.id + "Img"].src = l.mouseout; } else { eval("" + l.mouseout); } } } } } } function nn_onMenuItemAction(e, l) { l = window.ActiveMenuItem; if (!l) return; if (!ActiveMenu.Menu.disableHide) nn_hideActiveMenus(ActiveMenu.menuLayer); if (l.action) { eval("" + l.action); } } function nn_showMenu(menu, x, y, child) { if (!window.wroteMenu) return; var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById; var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById; if (is_ns4) { if (menu) { var l = menu.menuLayer || menu; if (typeof(menu) == "string") { for (var n=0; n < menuContainers.length; n++) { l = menuContainers[n].menus[menu]; for (var i=0; i 0) nn_showMenu(null, "relative", "relative", l.layers[i]); } if (l.parentLayer) { if (x != "relative") l.parentLayer.left = x || window.pageX || 0; if (l.parentLayer.left + l.clip.width > window.innerWidth) l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth); if (y != "relative") l.parentLayer.top = y || window.pageY || 0; if (l.parentLayer.isContainer) { l.Menu.xOffset = window.pageXOffset; l.Menu.yOffset = window.pageYOffset; l.parentLayer.clip.width = window.ActiveMenu.clip.width +2; l.parentLayer.clip.height = window.ActiveMenu.clip.height +2; if (l.parentLayer.menuContainerBgColor) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor; } } l.visibility = "inherit"; if (l.Menu) l.Menu.container.visibility = "inherit"; } else if (is_ns6) { var l = menu.menuLayer || menu; nn_hideActiveMenus(l); if (typeof(menu) == "string") { l = document.getElementById(menu); for (var n=0; n < menuContainers.length; n++) { l = menuContainers[n].menus[menu]; for (var i=0; i= e.pageX-3 && mDrag.oldY <= e.pageY+3 && mDrag.oldY >= e.pageY-3) { if (a.action && window.ActiveMenu) setTimeout('window.ActiveMenu.Menu.onMenuItemAction();', 2); } else if (document.saveMousemove == mDrag.doMenuDrag) { if (window.ActiveMenu) return true; }*/ } else if (window.ActiveMenu && is_ns6) { // exception, check mouse pos and do not hide menu if (e && window.ActiveMenu) { if (!e.clientX) return true; var ex, ey; ex = e.clientX + window.pageXOffset; ey = e.clientY + window.pageYOffset; for (var i=0; i < window.activeMenus.length; i++) { if (!activeMenus[i]) return true; l = activeMenus[i].Menu.container.style; var l_left = parseInt(l.left); var l_top = parseInt(l.top); var l_width = parseInt(l.width); var l_height = parseInt(l.height); if ((ex < l_left || l_left + l_width < ex || ey < l_top || l_top + l_height < ey) && activeMenus[i].Menu.visited) { if (activeMenus[i].visibility && activeMenus[i].Menu) { activeMenus[i].visibility = "hidden"; activeMenus[i].Menu.container.visibility = "hidden"; activeMenus[i].Menu.container.clip.left = 0; } else if (activeMenus[i].style) { activeMenus[i].style.visibility = "hidden"; } } } return true; } document.onmousedown=null; if (a) { a.style.backgroundColor = a.saveColor; if (a.hilite) a.hilite.style.visibility = "hidden"; } // if (document.saveMousemove == mDrag.doMenuDrag) { // return true; // } } else if (window.ActiveMenu && (is_ns6 || document.all)) { document.onmousedown=null; if (a) { a.style.backgroundColor = a.saveColor; if (a.hilite) a.hilite.style.visibility = "hidden"; } // if (document.saveMousemove == mDrag.doMenuDrag) { // return true; // } } if (window.ActiveMenu) { if (window.ActiveMenu.Menu) { if (window.ActiveMenu.Menu.disableHide) return true; e = window.event || e; if (!window.ActiveMenu.Menu.enableHideOnMouseOut && e.type == "mouseout") return true; } } nn_hideActiveMenus(l); return true; } function nn_hideChildMenu(menuLayer) { var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById; var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById; var l = menuLayer || this; for (var i=0; i < l.Menu.childMenus.length; i++) { if (is_ns4) { l.Menu.childMenus[i].visibility = "hidden"; } else if (is_ns6 || document.all) { l.Menu.childMenus[i].style.visibility = "hidden"; } l.Menu.childMenus[i].Menu.hideChildMenu(l.Menu.childMenus[i]); } if (l.childMenu) { if (is_ns4) { l.Menu.container.document.bgColor = null; l.Menu.showMenu(null,null,null,l.childMenu.layers[0]); l.childMenu.zIndex = l.parentLayer.zIndex +1; l.childMenu.top = l.top + l.parentLayer.top + l.Menu.menuLayer.top; if (l.childMenu.left + l.childMenu.clip.width > window.innerWidth) { l.childMenu.left = l.parentLayer.left - l.childMenu.clip.width + l.Menu.menuLayer.top + 15; l.Menu.container.clip.left -= l.childMenu.clip.width; } else if (l.Menu.childMenuDirection == "left") { l.childMenu.left = l.parentLayer.left - l.parentLayer.clip.width; l.Menu.container.clip.left -= l.childMenu.clip.width; } else { l.childMenu.left = l.parentLayer.left + l.parentLayer.clip.width + l.Menu.menuLayer.left -5; } l.Menu.container.clip.width += l.childMenu.clip.width +100; l.Menu.container.clip.height += l.childMenu.clip.height; l.document.layers[1].zIndex = 0; l.document.layers[1].document.images[0].src = l.iconHilite; l.childMenu.visibility = "inherit"; } else if (is_ns6) { l.childMenu.style.zIndex = l.Menu.menuLayer.style.zIndex +1; l.childMenu.style.top = parseInt(l.style.top) + parseInt(l.Menu.menuLayer.style.top); if (parseInt(l.childMenu.style.left) + parseInt(l.childMenu.style.width) > parseInt(document.width)) { l.childMenu.style.left = parseInt(l.childMenu.style.width) + parseInt(l.Menu.menuLayer.style.top) + 15; } else if (l.Menu.childMenuDirection == "left") { // l.childMenu.style.pixelLeft = l.parentLayer.left - l.parentLayer.clip.width; } else { l.childMenu.style.left = parseInt(l.Menu.menuLayer.style.width) + parseInt(l.Menu.menuLayer.style.left)-5; } l.childMenu.style.visibility = "inherit"; } else if (document.all) { l.childMenu.style.zIndex = l.Menu.menuLayer.style.zIndex +1; l.childMenu.style.pixelTop = l.style.pixelTop + l.Menu.menuLayer.style.pixelTop; if (l.childMenu.style.pixelLeft + l.childMenu.style.pixelWidth > document.width) { l.childMenu.style.pixelLeft = l.childMenu.style.pixelWidth + l.Menu.menuLayer.style.pixelTop + 15; } else if (l.Menu.childMenuDirection == "left") { // l.childMenu.style.pixelLeft = l.parentLayer.left - l.parentLayer.clip.width; } else { l.childMenu.style.pixelLeft = l.Menu.menuLayer.style.pixelWidth + l.Menu.menuLayer.style.pixelLeft -5; } l.childMenu.style.visibility = "inherit"; } if (!l.childMenu.disableHide) window.activeMenus[window.activeMenus.length] = l.childMenu; } } function nn_hideActiveMenus(l) { if (!window.activeMenus) return; for (var i=0; i < window.activeMenus.length; i++) { if (!activeMenus[i]) return; if (activeMenus[i].visibility && activeMenus[i].Menu) { activeMenus[i].visibility = "hidden"; activeMenus[i].Menu.container.visibility = "hidden"; activeMenus[i].Menu.container.clip.left = 0; } else if (activeMenus[i].style) { activeMenus[i].style.visibility = "hidden"; } } document.onmousemove = nn_mouseTracker; window.activeMenus.length = 0; } function nn_hs_onmenuout() { if (!document.all) return; e = window.event; if (!e) return; if (!window.activeMenus) return; var ex, ey; ex = e.clientX + document.body.scrollLeft; ey = e.clientY + document.body.scrollTop; for (var i=0; i < window.activeMenus.length; i++) { if (!activeMenus[i]) return; l = activeMenus[i].Menu.container.style; if ((ex < l.pixelLeft || l.pixelLeft+l.pixelWidth < ex || ey < l.pixelTop || l.pixelTop+l.pixelHeight < ey) && activeMenus[i].Menu.visited) { if (activeMenus[i].visibility && activeMenus[i].Menu) { activeMenus[i].visibility = "hidden"; activeMenus[i].Menu.container.visibility = "hidden"; activeMenus[i].Menu.container.clip.left = 0; } else if (activeMenus[i].style) { activeMenus[i].style.visibility = "hidden"; } } } } function nn_hs_hidemenu(element) { if (!document.all) return; e = window.event; var ex, ey; ex = e.clientX + document.body.scrollLeft; ey = e.clientY + document.body.scrollTop; for (var i=0; i < window.activeMenus.length; i++) { if (!activeMenus[i]) return; l = activeMenus[i].Menu.container.style; if (ex < l.pixelLeft || l.pixelLeft+l.pixelWidth < ex || ey < l.pixelTop || l.pixelTop+l.pixelHeight < ey) { if (activeMenus[i].visibility && activeMenus[i].Menu) { activeMenus[i].visibility = "hidden"; activeMenus[i].Menu.container.visibility = "hidden"; activeMenus[i].Menu.container.clip.left = 0; nn_hideActiveMenus(); } else if (activeMenus[i].style) { activeMenus[i].style.visibility = "hidden"; } } } } function nn_mouseTracker(e) { e = e || window.Event || window.event; window.pageX = e.pageX || e.clientX; window.pageY = e.pageY || e.clientY; nn_hs_onmenuout(); } function nn_setMouseTracker() { if (document.captureEvents) { document.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP); } document.onmousemove = this.mouseTracker; document.onmouseup = this.hideMenu; } function nn_setMenuTracker(menu) { if (!window.menuTrackers) window.menuTrackers = new Array(); menuTrackers[menuTrackers.length] = menu; window.menuTrackerID = setInterval('menuTracker()',10); } function nn_menuTracker() { for (var i=0; i < menuTrackers.length; i++) { if (!isNaN(menuTrackers[i].xOffset) && document.layers) { var off = parseInt((menuTrackers[i].xOffset - window.pageXOffset) / 10); if (isNaN(off)) off = 0; if (off < 0) { menuTrackers[i].container.left += -off; menuTrackers[i].xOffset += -off; } else if (off > 0) { menuTrackers[i].container.left += -off; menuTrackers[i].xOffset += -off; } } if (!isNaN(menuTrackers[i].yOffset) && document.layers) { var off = parseInt((menuTrackers[i].yOffset - window.pageYOffset) / 10); if (isNaN(off)) off = 0; if (off < 0) { menuTrackers[i].container.top += -off; menuTrackers[i].yOffset += -off; } else if (off > 0) { menuTrackers[i].container.top += -off; menuTrackers[i].yOffset += -off; } } if (!isNaN(menuTrackers[i].xOffset) && document.body) { var off = parseInt((menuTrackers[i].xOffset - document.body.scrollLeft) / 10); if (isNaN(off)) off = 0; if (off < 0) { menuTrackers[i].menuLayer.style.pixelLeft += -off; menuTrackers[i].xOffset += -off; } else if (off > 0) { menuTrackers[i].menuLayer.style.pixelLeft += -off; menuTrackers[i].xOffset += -off; } } if (!isNaN(menuTrackers[i].yOffset) && document.body) { var off = parseInt((menuTrackers[i].yOffset - document.body.scrollTop) / 10); if (isNaN(off)) off = 0; if (off < 0) { menuTrackers[i].menuLayer.style.pixelTop += -off; menuTrackers[i].yOffset += -off; } else if (off > 0) { menuTrackers[i].menuLayer.style.pixelTop += -off; menuTrackers[i].yOffset += -off; } } } } // Close drag event. /* function nn_onMenuItemDown(e, l) { l = l || window.ActiveMenuItem || this; if (!l.Menu) { } else { if (document.layers) { mDrag.dragLayer = l.Menu.container; mDrag.startMenuDrag(e); } else { mDrag.dragLayer = l.Menu.container.style; mDrag.startMenuDrag(e); window.event.cancelBubble=true; } } } function nn_startMenuDrag(e) { if (document.layers) { if (e.which > 1) { if (window.ActiveMenu) ActiveMenu.Menu.container.visibility = "hidden"; window.ActiveMenu = null; return true; } document.captureEvents(Event.MOUSEMOVE); var x = e.pageX; var y = e.pageY; } else { var x = window.event.clientX; var y = window.event.clientY; } mDrag.offX = x; mDrag.offY = y; mDrag.oldX = x; mDrag.oldY = y; if (!ActiveMenu.Menu.disableDrag) document.onmousemove = mDrag.doMenuDrag; return false; } function nn_doMenuDrag(e) { if (document.layers) { mDrag.dragLayer.moveBy(e.pageX-mDrag.offX,e.pageY-mDrag.offY); mDrag.offX = e.pageX; mDrag.offY = e.pageY; } else { mDrag.dragLayer.pixelLeft = window.event.offsetX; mDrag.dragLayer.pixelTop = window.event.offsetY; return false; //for IE } } // End of close */ function nn_menu_left(element, anchor_name, hor) { var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById; var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById; var x = 0; if (is_ns4) { if (hor) { x = element.x; } else { var anchor = document.anchors[anchor_name]; if (anchor) x = anchor.x; } } else if (is_ns6 || document.all) { x = element.offsetLeft; for (el = element.offsetParent; el; el = el.offsetParent) x += el.offsetLeft; if (hor == false) x += element.offsetWidth; } return x-4; } function nn_menu_top(element, height, hor) { var is_ns4 = navigator.appName.indexOf('Netscape', 0) != -1 && !document.getElementById; var is_ns6 = navigator.appName.indexOf('Netscape', 0) != -1 && document.getElementById; var y = 0; if (is_ns4) { y = element.y; if (hor) y += height; } else if (is_ns6 || document.all) { y = element.offsetTop; for (el = element.offsetParent; el; el = el.offsetParent) y += el.offsetTop; if (hor) y += element.offsetHeight; } return y-4; } function nn_init_menu() { if (document.layers) nn_load_menu(); } function nn_load_menu() { document.navmenu1 = new nn_Menu(); document.navmenu1.addMenuItem("The Journal", "location='../journalpages/journal.html'"); document.navmenu1.addMenuItem("Buying", "location='../buyingpages/buying.html'"); document.navmenu1.addMenuItem("Buyer's Guide", "location='../buyingpages/buyersguidepages/buyingguide.html'"); document.navmenu1.addMenuItem("Importing", "location='../importingpages/importing.html'"); document.navmenu1.addMenuItem("General Data", "location='techinfo.htm'"); document.navmenu1.addMenuItem("Workshop", "location='../workshopandtoolspages/workshop.html'"); document.navmenu1.addMenuItem("Tools", "location='../workshopandtoolspages/toolspages/tools.html'"); document.navmenu1.addMenuItem("Restoring & Modifying", "location='modifying.html'"); document.navmenu1.addMenuItem("Social", "location='../socialpages/social.html'"); document.navmenu1.addMenuItem("Links", "location='../linkspages/links.html'"); document.navmenu1.fontFamily = 'Arial'; document.navmenu1.fontSize = 10; document.navmenu1.fontColor = "black"; document.navmenu1.fontColorHilite = "white"; document.navmenu1.menuItemBgColor = "#CCCCCC"; document.navmenu1.menuHiliteBgColor = "#000084"; document.navmenu1.menuBorderBgColor = "#777777"; document.navmenu1.menuLiteBgColor = "white"; document.navmenu1.bgColor = "#555555"; document.navmenu1.menuBorder = 1; document.navmenu1.menuItemWidth = 120; document.navmenu1.menuItemHeight = 20; document.navmenu2 = new nn_Menu(); document.navmenu2.addMenuItem("History", "location='../journalpages/history.html'"); document.navmenu2.addMenuItem("Current News", "location='../journalpages/current_news.html'"); document.navmenu2.addMenuItem("2001", "location='../journalpages/2001_news.html'"); document.navmenu2.addMenuItem("2002", "location='../journalpages/2002_news.htm'"); document.navmenu2.addMenuItem("2003", "location='../journalpages/2003_news.htm'"); document.navmenu2.addMenuItem("2004", "location='../journalpages/2004_news.htm'"); document.navmenu2.addMenuItem("2005", "location='../journalpages/2005_news.htm'"); document.navmenu2.addMenuItem("Progress Summary", "location='../journalpages/progresssummary.htm'"); document.navmenu2.fontFamily = 'Arial'; document.navmenu2.fontSize = 10; document.navmenu2.fontColor = "black"; document.navmenu2.fontColorHilite = "white"; document.navmenu2.menuItemBgColor = "#CCCCCC"; document.navmenu2.menuHiliteBgColor = "#000084"; document.navmenu2.menuBorderBgColor = "#777777"; document.navmenu2.menuLiteBgColor = "white"; document.navmenu2.bgColor = "#555555"; document.navmenu2.menuBorder = 1; document.navmenu2.menuItemWidth = 120; document.navmenu2.menuItemHeight = 20; document.navmenu4 = new nn_Menu(); document.navmenu4.addMenuItem("Outer Body", "location='../buyingpages/buyersguidepages/bgouterbody.html'"); document.navmenu4.addMenuItem("Chassis", "location='../buyingpages/buyersguidepages/bgchassis.html'"); document.navmenu4.addMenuItem("Inner Body", "location='../buyingpages/buyersguidepages/bginnerbody.html'"); document.navmenu4.addMenuItem("Suspension", "location='../buyingpages/buyersguidepages/bgsuspension.html'"); document.navmenu4.addMenuItem("Drive Train", "location='../buyingpages/buyersguidepages/bgtransmission.html'"); document.navmenu4.addMenuItem("Engine", "location='../buyingpages/buyersguidepages/bgengine.html'"); document.navmenu4.addMenuItem("Interior", "location='../buyingpages/buyersguidepages/bginterior.html'"); document.navmenu4.addMenuItem("Electrical", "location='../buyingpages/buyersguidepages/bgelectrical.html'"); document.navmenu4.addMenuItem("Cooling", "location='../buyingpages/buyersguidepages/bgcooling.html'"); document.navmenu4.addMenuItem("Miscellaneous", "location='../buyingpages/buyersguidepages/bgmisc.html'"); document.navmenu4.fontFamily = 'Arial'; document.navmenu4.fontSize = 10; document.navmenu4.fontColor = "black"; document.navmenu4.fontColorHilite = "white"; document.navmenu4.menuItemBgColor = "#CCCCCC"; document.navmenu4.menuHiliteBgColor = "#000084"; document.navmenu4.menuBorderBgColor = "#777777"; document.navmenu4.menuLiteBgColor = "white"; document.navmenu4.bgColor = "#555555"; document.navmenu4.menuBorder = 1; document.navmenu4.menuItemWidth = 120; document.navmenu4.menuItemHeight = 20; document.navmenu8 = new nn_Menu(); document.navmenu8.addMenuItem("Strippers & Rust", "location='../workshopandtoolspages/toolspages/stripperspages/strippers.html'"); document.navmenu8.addMenuItem("Screwdrivers", "location='../workshopandtoolspages/toolspages/screwdrivers.htm'"); document.navmenu8.addMenuItem("Wrenches", "location='../workshopandtoolspages/toolspages/wrenches.html'"); document.navmenu8.addMenuItem("Sockets, Ratchets & accessories", "location='../workshopandtoolspages/toolspages/sockets.html'"); document.navmenu8.addMenuItem("Pliers", "location='../workshopandtoolspages/toolspages/pliers.htm'"); document.navmenu8.addMenuItem("Materials Handling", "location='../workshopandtoolspages/toolspages/handling.html'"); document.navmenu8.addMenuItem("Specialist Healey Tools", "location='../workshopandtoolspages/toolspages/healeytools.html'"); document.navmenu8.addMenuItem("Air Equipment", "location='../workshopandtoolspages/toolspages/airtools.html'"); document.navmenu8.addMenuItem("Welding", "location='../workshopandtoolspages/toolspages/welding.html'"); document.navmenu8.fontFamily = 'Arial'; document.navmenu8.fontSize = 10; document.navmenu8.fontColor = "black"; document.navmenu8.fontColorHilite = "white"; document.navmenu8.menuItemBgColor = "#CCCCCC"; document.navmenu8.menuHiliteBgColor = "#000084"; document.navmenu8.menuBorderBgColor = "#777777"; document.navmenu8.menuLiteBgColor = "white"; document.navmenu8.bgColor = "#555555"; document.navmenu8.menuBorder = 1; document.navmenu8.menuItemWidth = 120; document.navmenu8.menuItemHeight = 20; document.navmenu9 = new nn_Menu(); document.navmenu9.addMenuItem("Chassis", "location='chassispages/chassis.html'"); document.navmenu9.addMenuItem("Inner Body", "location='innerbodymountingpages/innerbodymount.html'"); document.navmenu9.fontFamily = 'Arial'; document.navmenu9.fontSize = 10; document.navmenu9.fontColor = "black"; document.navmenu9.fontColorHilite = "white"; document.navmenu9.menuItemBgColor = "#CCCCCC"; document.navmenu9.menuHiliteBgColor = "#000084"; document.navmenu9.menuBorderBgColor = "#777777"; document.navmenu9.menuLiteBgColor = "white"; document.navmenu9.bgColor = "#555555"; document.navmenu9.menuBorder = 1; document.navmenu9.menuItemWidth = 120; document.navmenu9.menuItemHeight = 20; document.navmenu10 = new nn_Menu(); document.navmenu10.addMenuItem("Haggis Tour 2003", "location='../socialpages/haggis2003.htm'"); document.navmenu10.addMenuItem("Haggis Tour 2004", "location='../socialpages/haggis2004.htm'"); document.navmenu10.addMenuItem("Haggis Tour 2005", "location='../socialpages/haggis2005.htm'"); document.navmenu10.addMenuItem("Humor", "location='../socialpages/humor.htm'"); document.navmenu10.fontFamily = 'Arial'; document.navmenu10.fontSize = 10; document.navmenu10.fontColor = "black"; document.navmenu10.fontColorHilite = "white"; document.navmenu10.menuItemBgColor = "#CCCCCC"; document.navmenu10.menuHiliteBgColor = "#000084"; document.navmenu10.menuBorderBgColor = "#777777"; document.navmenu10.menuLiteBgColor = "white"; document.navmenu10.bgColor = "#555555"; document.navmenu10.menuBorder = 1; document.navmenu10.menuItemWidth = 120; document.navmenu10.menuItemHeight = 20; document.navmenu11 = new nn_Menu(); document.navmenu11.addMenuItem("Artwork", "location='../linkspages/artpages/artwork.htm'"); document.navmenu11.addMenuItem("Photos", "location='../linkspages/artpages/photos.htm'"); document.navmenu11.addMenuItem("Music & Video", "location='../linkspages/artpages/media.htm'"); document.navmenu11.addMenuItem("Replicas", "location='../linkspages/artpages/toys.htm'"); document.navmenu11.addMenuItem("Computer", "location='../linkspages/artpages/computer.htm'"); document.navmenu11.addMenuItem("Clubs", "location='../linkspages/clubs.html'"); document.navmenu11.addMenuItem("Books", "location='../linkspages/books.html'"); document.navmenu11.addMenuItem("Vendors", "location='../linkspages/vendors.html'"); document.navmenu11.addMenuItem("Websites", "location='../linkspages/sites.html'"); document.navmenu11.addMenuItem("Technical Websites", "location='../linkspages/techsites.html'"); document.navmenu11.addMenuItem("Miscellaneous", "location='../linkspages/miscellaneous.html'"); document.navmenu11.fontFamily = 'Arial'; document.navmenu11.fontSize = 10; document.navmenu11.fontColor = "black"; document.navmenu11.fontColorHilite = "white"; document.navmenu11.menuItemBgColor = "#CCCCCC"; document.navmenu11.menuHiliteBgColor = "#000084"; document.navmenu11.menuBorderBgColor = "#777777"; document.navmenu11.menuLiteBgColor = "white"; document.navmenu11.bgColor = "#555555"; document.navmenu11.menuBorder = 1; document.navmenu11.menuItemWidth = 120; document.navmenu11.menuItemHeight = 20; document.navmenu1.writeMenus(); } //-->

General Information & Consumables

Healey Journal


 

[Home][The Journal][Buying][Buyer's Guide][Importing][General Data][Workshop][Tools][Restoring & Modifying][Social][Links]

This section provides basic technical information not always readily available elsewhere. This includes a brief overview of where to find identification numbers on Healeys. This also shows the differential ratio stampings to help identify what gear set was fitted. A translation from British Imperial measures into American and metric equivalents. A comprehensive listing of the nuts and bolts used on a BJ8 and a link to a wiring diagram (and once I get around to doing my own I intend to provide length measurements for the wires too).

Identification Numbers

The Healeys were identified by car and body numbers. In addition there were also numbers for the rear axle, gearbox and keys. The main ones will be available from tags accessible in the engine compartment afixed to the scuttle and any ownership documents should tell you what these should be. The other numbers should be stamped into the gearbox, axle casing and on the keys or lock cylinders. These are not generally available from the documents usually available but they may be found by acquiring the car's Heritage Certificate.

ID Number on Shock Mount

Small arrows point to two of the numbers stamped onto the shock mounting plate.

ID Number on Shock Mount

The car number is also stamped on the right (UK driver's side) suspension support. The number can be very difficult to see, and the stamping was done in a very sloppy manner. Even with all the paint stripped off only the top half of the numbers was visible and it would have been very difficult to tell what they were supposed to be if I hadn't had the Hertitage Certificate to tell me beforehand.

 

 

Top

Differential Ratio

Differential gear ratio

The Healey differential was usually a 3.909:1 ratio, but sometimes a higher (3.55, for non-overdrive cars) or lower (4.11, or 4.30 for rallying) ratio was used. The gearing can be determined by looking at the numbers stamped in the differential casing, as shown at the left. The ratio 11/43 (for a 3.909 ratio) on the aluminium housing is clearly visible though up-side down, as are the rear axle ID numbers stamped just in front of that and also on the top of the black-painted axle casing. Of course, sometimes people did swap gear sets around so this isn't absolutely certain but the alternative of stripping the differential down is unappealling and I'm unsure how accurately turning the input shaft would translate into measured output, though I suppose that could be done....

Top

Oil  Capacities

One potential problem arises from differences between US and Imperial Measures: a Pint is not a Pint everywhere: the American standard of 16 fluid ounces is less than the British Imperial measure that is 20 Fl. Oz. The table below should help translate from the quantities given in the Manual to more modern measures used in the US and in Britain.

Application

Imperial

American

(= Imp * 5/4)

NOTE: one popular manual uses figures based on mutliplying by 1.2 rather than the more accurate 1.25

Metric

(= Imp Pints * .5666)

Fuel 12.5 Gallons

15.6 US Gallons

56 Liters
Engine Oil 12.75 Pints 15.9 US Pints 7.25 Liters
Transmission (with O/D)

6.25 Pints

7.8 US Pints

3.6 Liters

Rear Axle

3 Pints

3.75 US Pints

1.7 Liters

Coolant

18 Pints

22.5 US Pints

10.2 Liters

Top

Nuts and Bolts

I've created a sreadsheet listing the nuts, bolts & washers used throughout the Healey, using data taken from the Healey Mechanical parts list with the fasteners listed sequentially by their page number and item number in the parts list. There is also a brief description of where they're used. Each entry is coded to show whether it's a nut, bolt, or whatever combination of bolts, nuts, flat and/or lock washer used. Oddities are simply noted as non-standard and the user directed to the parts book for clarification. I've tried to make this as comprehensive and accurate as I could; but again, use at your own risk for there are no guarantees. NOTE: this is limited to the standard hardware denoted by the systematic codes found in Anderson & Moment's book and that a number of fasteners have unique manufacturer codes that do not translate immediately into physical dimensions... but I've an idea of how I might get that data when I have a little time and a lot more patience.

NUTS & BOLTS SPREADSHEET     < -- Click to Access.

Coming soon: SCREWS, well, whenever I've a few cold, damp winter evenings to waste....  

 

Electrical- Wiring Diagram BJ8 Introduction  Wiring Diagram BJ8  < -- Click to Access.

Top

Consumables

Rebuilding and operating a Healey will require lubricants, grease and a variety of other consumables. This page covers the commonly used ones

Oil- what to use? The oils available when the Healey was designed and built were crude by comparison to modern motor oils. Significant improvements make the job of selecting an oil more difficult rather than easier- for the best modern oils will have lubricating and physical properties than make them less satisfactory for Healeys- for example, modern additives may have detrimental effects on the brass synchronizer rings used in Healey gearboxes and low-friction formulas may reduce the effectiveness of components that require friction for their operation. So simply strolling into the local auto parts store and buying the "best" stuff may be counter-productive, and oils of less sophistication may serve better. Nevertheless some modern synthetic oils may provide the best of both worlds- the behavioral characteristics required by the Healey's mechanical components and modern performance characteristics otherwise desirable.

Useful information about lubrication for Healeys are to be found at: the North Texas Austin Healey Club and the Vintage Triumph Register.

This page discusses the various lubricants available: Engine Oil, Oil for the Transmission & Overdrive and for the Differential, and other oils needed for the Steering Box & Idler and for the Shock Absorbers. Grease too is necessary. In assembling the Healey there may be a number of instances where counter-measures may be taken to combat the car's notorious tendency to leak bodily fluids. Various gasket dressings may be used to achieve that goal. Additionally, it may be useful to ensure that various nuts and bolts that are meant to be tight, actually do stay tight. To that end, a variety of thread locking fluids may be employed. And the brakes or clutch won't work without Brake fluid.

Top

Oils

Photo: Redline Oil for Engine

Engine: The manufacturer's recommendations may still be satisfied using oils marketed specifically for classic cars as "Classic" oils- Millers and Castrol specifically sell such oils and they would be a safe choice. Instead, I've elected to use a modern synthetic- Redline, that a number of other Healey owners have found to be an effective oil. Its reputed benefits include better lubrication, and longer periods between oil changes. The quantity needed is 12 3/4 Imperial pints~ the equivalent (12.75 * 20) of 255 fluid ounces- just less (1 ounces) than two American gallons. But life seems a little messier for the manuals also say its 15.3 American pints (245 fl oz) or 7.25 litres (also 245 fl oz). I think I'll use the 7.25 liter measure. I'll use the Redline once the running in period is over, but before that I'll use a special running in oil made by Millers or Penrite.

Photo: Redline Oil for Gearbox

Gearbox: the gearbox and overdrive are easily the most difficult to properly lubricate, what with the demands of the synchronizers and overdrive for friction in their operations and the potential with older gearboxes for problems with bronze components, it is clear that the choice of lubricating oil may be fraught. The manufacturer's recommendations of using regular engine oil allows the ready use of what current manufacturer's market as "Classic" oils- Millers and Castrol specifically sell such oils and they would be a safe choice. Instead, I've elected to use a modern synthetic- Redline MT90, that a number of other Healey owners have found to be a more effective oil for this application. Its reported benefits include smoother shifting and faster overdrive operation. The quantity needed is 6 1/4 Imperial pints~ the equivalent of 125 fluid ounces- just less (3 ounces) than one American gallon.

Photo: Redline 75W90 Oil for Differential

Differential: The differential too may use "Classic" lubricants, though there is no reason why more modern gear oils of the correct viscosity might not be used. I've uprated by differential with a Quaife limited slip differential, and this has its own requirements for lubrication. For this application I've decided to use another synthetic oil, Redline 75-90 gear oil. Again other users report excellent results using this oil, both for the limited slip differential and in standard Healeys. The quantity required is 3 Imperial pints~ the equivalent of 60 fluid ounces- just less (4 ounces) than two American quarts.

 

Photo: Oil for Steering Box

Steering Box & Idler: A special, heavy oil is required for these. I'd considered using the manufacturer's recommended oils (differential oils) for these applications. But MIllers' produces an oil specifically for these applications and I've acquired some for when I need it. I must confess to having no idea of the quantity required- but will measure it out once I fill them.

 

Photo: Oil for Lever Shocks

Shocks: A special, lighter oil is required for the shock absorbers. This both lubricates their inner operations and provides the resistance for dampening the movement that the shocks are meant to control. Again, I've decided to use the manufacturer's recommended oils for these applications- er, that WAS my intent but I find that neither the little owner's Handbook or the more extensive manuals actually discuss this point. I found that shock absorber oil is marketed specifically for these applications, and also have been told that 20 weight motorcycle fork oil is also appropriate. I must confess to having no idea of the quantity required- the remanufactured shocks came filled with oil and I didn't drain them. And I've no idea whether it would be possible to over-fill the shocks and what consequences might then be....

Brake Fluid:

Photo: Brake Fluid

I must confess to being very tempted to use silicon brake fluid in my Healey. The components and seals are all new so there's little fear of compatibility problems or contamination. In any case few problems are now ever reported with mixing older fluids with silicon based ones, and newer seals seldom seem to experience any difficulties with this type of fluid. The fact that silicon fluids are hydroscopic and do not absorb water leads some people to suppose that the water will accumulate at low points in the plumbing system and potentially cause difficulties there. But I confess to being doubtful about these rationales- after all, with a closed system and hydroscopic fluid however does this worrisome water ever enter the system to begin with? As an incompressible fluid water would not seem to create any difficulties on that account and so long as there is no air in the system there would be no potential for rust developing. (Update: the presence of water isn't a problem due to the possibility of rust- the potential problems arise because of the lower boiling point- under heavy use the water will boil and create a compressible gas-steam like the little bubbles that form on the bottom of a pan of boiling water) It would seem that this difficulty is less problematic than the potential other fluids have for absorbing water, but I'll need to consider it further I think... Silicon fluids thus seem to have a number of advantages over conventional fluids. Nevertheless I am hesitant to use silicon fluids because of the reported performance differentials under hard usage. I also believe that newer formulations may be more robust under demanding conditions than earlier ones were, and that their reputation may still suffer more than current performance deserves. What to do? I think I'll experiment a little- start with silicon and use it to the point where it fails, then judge whether that is within the bounds of the driving I'm going to do... if not then it would be easy enough to revert to conventional fluids.

Grease:

Photo: Castrol LM Grease

I've elected to use the manufacturer's recommended greases where possible. In most instances this is Castrol LM grease, but I've also used white grease for some of the brake components as advised. In every case I've cleared all the old grease out and have replaced it all with new. As the components were stripped from the car and bead blasted, thoroughly cleaned and refinished this effort was painless, but for forty year old cars a renewal of such old grease can only be a good thing.

Photo: White Grease Aerosol

Besides the usual requirements for grease satisfied by using the recommended Castrol there are also special applications- some White grease will be needed for lubricating the brakes. small amounts are needed.

Photo: Copper Grease anti-rust

One final useful lubricant is "copper" grease for assembling nuts, bolts and the like where they will be subjected to corrosion. This should prevent rust causing the threads to solidify and allow the hardware to be dismantled later

Gasket Sealant

Photo: Hylomar Gasket Sealant

A commonly available and widely used gasket goo. Hylomar "blue" . Reputed to be very effective in stopping leaks from Healey gearboxes and overdrives. I've used it in assembling them and intend to use it where appropriate for the engine and other likely leaky joints. Of course, using the proper gaskets and tightening everything as required is also a good idea. Note: putting lots and lots on will NOT help stop a leak, a thin coating is all that is needed, and too much might actually be counter-productive- oozing out and making a mess to clean up, and perhaps oozing in and cloging oil and water passages....

Thread Lockers

Photo: Locktite

Locktite. If they're not a monopoly then I'd be very surprized. The leading supplier of thread locking fluids with something for virtually every situation. The three shown are those that seem most suitable for my needs: the stud locking fluid is a high strength liquid meant to be used on items that aren't going to be dis-assembled. The screw lock is a medium strength fluid meant for items requiring less adhesion, but still unlikely to be dis-assembled. The nut locking fluid is a low adhesion fluid for items that may need to be dis-assembled. If that occurs the nut needs to be re-dosed with fluid when re-tightened.

e-mail me


  Copyright© 2005 James   M. Wilson All rights reserved.