// Navigation pane init functions for HM Premium Pack 1.24
// Copyright (c) 2009, 2010 by Tim Green and EC Software. 
// All rights reserved.
function addEvent(e,d,b,a){if(e.addEventListener){e.addEventListener(d,b,a);
return true
}else{if(e.attachEvent){var c=e.attachEvent("on"+d,b);
return c
}else{alert("Could not add event!")
}}}function headResizeTOC(){var a=document.getElementById("ns-header").offsetHeight;
a=a+"px";
document.getElementById("body-shift").style.paddingTop=a
}function headResizeIDX(){var b=document.getElementById("ns-header").offsetHeight;
var a=b+20;
a=a+"px";
b=b+"px";
document.getElementById("body-shift").style.paddingTop=b;
document.getElementById("scrollPadder").style.height=a
}function headResizeSCH(){var a=document.getElementById("ns-header").offsetHeight+5;
a=a+"px";
document.getElementById("body-shift").style.paddingTop=a
};