// Floating Navigation

<!-- Copyright 2003, Sandeep Gangadharan -->
<!-- For more free scripts go to http://www.sivamdesign.com/scripts/ -->

var place = 0;     // change the # 80 to adjust the placement of the menu from the top of the page. The greater
                    // number the lower will the menu be placed.
var leftSide = -20;   // change the # 0 to adjust the placement of the menu from the left-margin of the page

(document.getElementById) ? dom = true : dom = false;

function typeStart() {
  if (dom) {
    document.write('<div id="menuBox" style="position:relative; background-color: #FFFFFF; left:' + leftSide + 'px; visibility:visible; cursor:hand">') } }

function typeEnd() { if (dom) { document.write('</div>') } }

function placeIt() {
  if (dom && !document.all) {document.getElementById("menuBox").style.top = window.pageYOffset + place + "px";}
  if (document.all) {document.all["menuBox"].style.top = document.documentElement.scrollTop + place + "px"}
  window.setTimeout("placeIt()", 10); }

