//configure below variable for menu width, position on page
var menuwidth=26
var offsetleft=1
var offsettop=26

var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

function makeStatic() {
if (ie4) {object1.style.pixelTop=document.body.scrollTop+offsettop}
else if (ns6) {document.getElementById("object1").style.top=window.pageYOffset+offsettop}
else if (ns4) {eval(document.object1.top=eval(window.pageYOffset+offsettop));}
setTimeout("makeStatic()",0);
}

if (ie4||ns6) {document.write('<span ALIGN="CENTER" ID="object1" STYLE="Position:absolute; Top:20; Left:'+offsetleft+'; Z-Index:5;background-color:black;"><TABLE BORDER="0" width="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="black" bgcolor="white"><TR>')}
else if (ns4){ document.write('<LAYER top="20" name="object1" left="'+offsetleft+'" BGCOLOR=black><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1"><TR><TD><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" width="'+menuwidth+'"><TR>')}

var menui = new Array();
var menul = new Array();

//configure below for menu items. Extend list as desired
menui[0]="<img SRC='./images/top.gif' ALT='Top'>";

menul[0]="#";
for (i=0;i<=menui.length-1;i++)
if (ie4||ns6) {document.write('<TD class="menu3" ONCLICK="location=\''+menul[i]+'\'" onmouseover="className=\'menu3h\'" onMouseout="className=\'menu3\'"><CENTER><FONT>'+menui[i]+'</FONT></TD>')}
else if (ns4){document.write('<TD class="menu3"><ILAYER><LAYER width="'+menuwidth+'" onmouseover="bgColor=\'yellow\'" onmouseout="bgColor=\'white\'"><CENTER><A HREF="'+menul[i]+'" class=menu3links>'+menui[i]+'</A></CENTER></LAYER></ILAYER></TD>')}

if (ie4||ns6) {document.write('</TR></TABLE></span>')}
else if (ns4){document.write('</TR></TABLE></TD></TR></TABLE></LAYER>')}

function menu3(){
if (ns6||ie4||ns4)
makeStatic()
}

