me = "henryhme";
site = "bellsouth.net";

var SubjectLine='Look at this page I found, '+top.document.title;
var BodyText='You can see this page at: '+top.location.href;

var Message='Send <A CLASS=contact HREF="mailto:?SUBJECT='+escape(SubjectLine)+'&BODY='+escape(BodyText)+'" OnMouseOver="status=\'Envoyer cette page &agrave; vos amis\'; return true;" TITLE="Send your friends e-mail about this page">this page</A>';
var MessageIE='Send <A CLASS=contact HREF="mailto:?SUBJECT='+(SubjectLine)+'&BODY='+(BodyText)+'" OnMouseOver="status=\'Envoyer cette page &agrave; vos amis\'; return true;" TITLE="Send your friends e-mail about this page">this page</A>';

//configure below variable for menu width, position on page
var menuwidth=70
var offsetleft=0
var offsettop=200

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;cursor:hand"><TABLE BORDER=0 width="'+menuwidth+'" CELLPADDING=0 CELLSPACING=0 STYLE="border-style: solid; border-color: #A62A0B; border-width: 1px 0px 0px 0px; background-image: url(../images/MarbleGreyTexture.jpg)">')}
else if (ns4){ document.write('<LAYER top=20 NAME=object1 LEFT="'+offsetleft+'"><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 STYLE="background-image: url(../images/MarbleGreyTexture.jpg)"><TR><TD><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width="'+menuwidth+'">')}

var menui = new Array();
var menul = new Array();

//configure below for menu items. Extend list as desired

menui[0]="Home Page ";
menui[1]="Abreviations";
menui[2]="Singers";
menui[3]="Composers";
menui[4]="Song titles";

menul[0]="../index.htm";
menul[1]="../html/abbreviations.htm";
menul[2]="../Singers/index.htm";
menul[3]="../composers/index.htm";
menul[4]="../SongTitles/index.htm";

for (i=0;i<=menui.length-1;i++)
if (ie4||ns6) { document.write('<TR><TD CLASS=menu OnClick="location=\''+menul[i]+'\'" OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'">'+menui[i]+'</TD></TR>')}
else if (ns4){ document.write('<TR><TD BGCOLOR=white><ILAYER><LAYER width="'+menuwidth+'"><CENTER><A HREF="'+menul[i]+'" CLASS=menulinks>'+menui[i]+'</A></CENTER></LAYER></ILAYER></TD></TR>')}

if (navigator.appName=="Microsoft Internet Explorer" && navigator.appVersion.indexOf("Windows", 0) != -1 && navigator.appVersion.substring(0,1) >= 4) { document.write('</TR><TR><TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'"><A CLASS=homelink HREF="javascript:addbookmark()" TITLE="Click to add a bookmark for this page" OnMouseOver="window.status=\'Cliquez pour ajouter cette page dans vos favoris\'; return true;">Bookmark</A></TD></TR><TR>')}
else if (ie4||ns6) { document.write('</TR><TR><TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'" TITLE="Hold down the &#147;Control Key&#148; and click anywhere on this page. A contextual menu will appear, allowing you to &#147;Add this page to your favorites&#148;" OnMouseOver="window.status=\'Appuyez sur la touche &laquo;Contr&ocirc;le&raquo; et cliquez n&#146;importe o&ugrave; sur cette page. Un menu contextuel surgira qui vous permettra &agrave; mettre cette page dans vos favoris.\'; return true;" OnMouseOut="window.status=\'\'; return true;" STYLE="cursor: arrow">Bookmark</TD></TR><TR>'); }

if (window.print) { document.write('</TR><TR><TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'"><A HREF="#top" TITLE="Imprimer cette page" OnMouseOver="window.status=\'Print this page\'; return true;" OnClick="javascript:window.print()">Print</A></TD></TR><TR>')}

if (ie4||ns6) { document.write('<TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'"><A CLASS=contact HREF="mailto:'+me+'@'+site+'"  TITLE="Write e-mail to Eric Henry." OnMouseOver="window.status=\'&Eacute;crivez un message &agrave; Eric Henry\'; return true;">E-Mail</A></TD></TR><TR>')}

if(document.all) { document.write('<TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'">'+(MessageIE)+'</TD></TR><TR>')}
else if (ie4||ns6) { document.write('<TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'">'+(Message)+'</TD></TR><TR>'); }

if (ie4||ns6) { document.write('<TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'"><A CLASS=homelink HREF="#top" TITLE="Return to the top of this page" OnMouseOver="window.status=\'Aller au sommet de cette page\'; return true;" STYLE="cursor: url(http://www.tannhactheky20.com/images/ArrowNorth.cur), n-resize">Top</A></TD></TR><TR><TD CLASS=menu OnMouseOver="className=\'menuh\'" OnMouseOut="className=\'menu\'"><A CLASS=homelink HREF="#top" OnClick="locatorWin(); return false;" TITLE="Search this page" OnMouseOver="window.status=\'Rechercher sur cette page\'; return true;" STYLE="cursor: url(http://www.tannhactheky20.com/images/ArrowNorth.cur), n-resize">Search</A></TD></TR><TR><TD CLASS=menu NOWRAP STYLE="text-align: left; padding: 10px 3px 8px 5px; font-size: 10px; border-width: 0px"><strong STYLE="color: black">T&acirc;n Nh&#7841;c<BR>20th Century</STRONG>:<BR>Asian Studies<BR>Department<BR>UNC&#151;Chapel Hill</TD></TR></table></span>')}
else if (ns4){ document.write('</TABLE></TD></TR></TABLE></LAYER>')}

function menu3(){
if (ns6||ie4||ns4)
makeStatic()
}

window.onload=menu3

function addbookmark(){ if (document.all)
window.external.AddFavorite(location.href, document.title) }
