function writeNav(){
var nText="<span class='header'>Subject Index</span>"; 
nText=nText+"<p class='subnavigationtext'>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/chron1760.html'>Calendar</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/dance1.html'>Dance & Music</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/education1.html'>Education</a> <i><b>New Info!</b></i><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/food1.html'>Food</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/law1.html'>Law </a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/marriage2.html'>Marriage</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/med1.html'>Medicine</a> <i><b>New Info!</b></i><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/pp1.html'>Parliament & Politics</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/peer1.html'>Peers & Peerage</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/charlotte.html'>People</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/magad1.html'>Period Publications </a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/regencypf.html'>Regency Fashion</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/astronomy1.html'>Science</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/theaterprog.html'>Theater</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/titles1.html'>Titles & Names</a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/artsupplies.html'>Visual Arts </a><br>";
nText=nText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/war_fearinv.html'>War</a><br>";
nText=nText+"</p>";
document.all['subnavigationbackground'].innerHTML = nText;

var snText = "<img src='http://www.susannaives.com/nancyregencyresearcher/images/transparent.gif' width='23' height='8' border='0'>";
snText=snText+"<a href='http://www.susannaives.com/nancyregencyresearcher'>Home</a>", 
snText=snText+"<img src='http://www.susannaives.com/nancyregencyresearcher/images/transparent.gif' width='27' height='8' border='0'>";
snText=snText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/links.html'>Regency Links</a>";  
snText=snText+"<img src='http://www.susannaives.com/nancyregencyresearcher/images/transparent.gif' width='27' height='8'border='0'>";
snText=snText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/books.html'>Regency Research Books</a>";  
snText=snText+"<img src='http://www.susannaives.com/nancyregencyresearcher/images/transparent.gif' width='27' height='8'border='0'>";
snText=snText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/askSept2008.html'>Ask Nancy</a>";  
snText=snText+"<img src='http://www.susannaives.com/nancyregencyresearcher/images/transparent.gif' width='27' height='8'border='0'>";
snText=snText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/calling.html'>Calling Cards</a>";  
snText=snText+"<img src='http://www.susannaives.com/nancyregencyresearcher/images/transparent.gif' width='23' height='8'border='0'>";

document.all['navigationbackground'].innerHTML = snText;

//var bnText="<span class='graybottomnav'><a href='http://www.susannaives.com/nancyregencyresearcher'>Home</a> | "; 
//bnText=bnText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/links.html'>Regency Links</a>  | ";
//bnText=bnText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/books.html'>Regency Research Books</a> | ";
//bnText=bnText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/askSept2008.html'>Ask Nancy</a>  | "; 
//bnText=bnText+"<a href='http://www.susannaives.com/nancyregencyresearcher/pages/calling.html'>Calling Cards</a></span>"; 
//document.all['bottomnav'].innerHTML = bnText;


}

function openNewWindow(fileName) {
	showPicture = window.open("","","width=600,height=800,scrollbars,resizable")
	var content = "<html><head><title>Thumbnail Viewer</title></head><body bgcolor='#FFFFFF'>";
	content=content+"<p><a href='#' onClick='self.close()'>close </a></p>";
	content=content+"<img src='../images/" + fileName + ".jpg'> </p>";
	content=content+"<p><a href='#' onClick='self.close()'>close </a></p></body></html>";
	showPicture.document.write(content)
	showPicture.document.close()
	showPicture.document.focus()

}


function writeCalendar()
{
var calText = "<a href='chron1760.html'><img src='../images/greenarrow.gif' alt='arrrow' width='10' height='13' border='0'>1760- 1799</a><br>";
 calText = calText + "<a href='chron1800.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>1800 - 1805</a><br>";
 calText = calText + "<a href='chron1806.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>1806 - 1810</a><br>";
 calText = calText + "<a href='chron1811.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>1811- 1815</a><br>";
 calText = calText + "<a href='chron1816.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>1816 - 1821</a><br>";
 calText = calText + " <a href='regnal.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Regnal Years</a><br>";
 calText = calText + "<a href='christmas1.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Christmas Day</a><br>";
  calText = calText + "<a href='christmaslist.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Emma’s Christmas Lists</a><br>";
  calText = calText + "<a href='christmasplay.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Christmas Play</a><br>";
   calText = calText + "<a href='christmaspant.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Christmas Pantomimes</a><br>";
 document.all['calendarNavTop'].innerHTML = calText;
  document.all['calendarNavBottom'].innerHTML = calText;
			  
}

function writeEd()
{
var edText = "<a href='education1.html'><img src='../images/greenarrow.gif' alt='arrrow' width='10' height='13' border='0'>Cambridge Gowns</a><br>";

 edText = edText + "<a href='education2.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Hierarchy of Students Oxford</a><br>";
 edText = edText + "<a href='propriety.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Propriety and Delicacy</a><br>";
 edText = edText + "<a href='educationoxford.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Oxford Academic Dress</a><br>";
 
 document.all['navEdTop'].innerHTML = edText;
 document.all['NavEdBottom'].innerHTML = edText;
			  
}


function writeFood()
{
var foodText = "<a href='food1.html'><img src='../images/greenarrow.gif' alt='arrrow' width='10' height='13' border='0'>Food from Canto Fifteen of Byron's Don Juan</a><br>";

 foodText = foodText + "<a href='food_setting.html'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Table Settings and Removes</a><br>";
  foodText = foodText + "<a href='food_trans'><img src='../images/greenarrow.gif' alt='arrow' width='10' height='13' border='0'>Foods of the Christmas Season</a><br>";

 document.all['foodNavTop'].innerHTML = foodText;
 document.all['foodNavBottom'].innerHTML = foodText;
			  
}