function showNPageX(singlePageFile) {
	if (screen.width == 1024) {
		window.open(singlePageFile,"singlePage","toolbar=0,location=1,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=580,width=812")
	} else {
		window.open(singlePageFile,"singlePage","toolbar=0,location=1,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=600,width=640")
	}
}

function showNPage(singlePageFile) {
	if (screen.width == 1024) {
		window.open(singlePageFile,"singlePage","screenX=212,left=212,screenY=88,top=88,toolbar=0,location=1,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=580,width=812")
	} else {
		window.open(singlePageFile,"singlePage","screenX=160,left=160,screenY=0,top=0,toolbar=0,location=1,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=600,width=640")
	}
}

function showNPic(singlePicFile) {
	if (screen.width == 1024) {
	window.open(singlePicFile,"singlePic","toolbar=0,location=1,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,height=490,width=600")
	} else {
	window.open(singlePicFile,"singlePic","toolbar=0,location=1,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,height=500,width=600")
	}
}

function showNRR(singleRRFile) {
	document.write("<a href='horsesnort.wav'>")
	if (screen.width == 1024) {
	window.open(singlePicFile,"singlePic","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,height=490,width=600")
	} else {
	window.open(singlePicFile,"singlePic","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,height=500,width=600")
	}
	document.write("</a>")
}

function showYear(singleYearFile) {
	if (screen.width == 1024) {
	window.open(singleYearFile,"singleYear","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=480,width=415")
	} else {
	window.open(singleYearFile,"singleYear","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=450,width=325")
	}
}

function showPeriod(wholePeriodFile) {
	window.open(wholePeriodFile,"wholePeriod","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=230,width=750")
}

function showCardPlus(singleCardFile,wholeTimelineFile) {
	if (screen.width == 1024) {
	window.open(singleCardFile,"singlePage","screenX=212,left=212,screenY=88,top=88,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=580,width=812")
	window.open(wholeTimelineFile,"wholeTimeline","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=480,width=382")
	} else {
	window.open(singleCardFile,"singlePage","screenX=160,left=160,screenY=0,top=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=580,width=812")
	window.open(wholeTimelineFile,"wholeTimeline","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,height=450,width=285")
	}
}

function checkPassword(passw) {
	if (passw == "art8emas") {
		window.location.href = "indexok.html"
	}
	else {
		window.location.href = "indexno.html"
	}
}

function getPassw(protFile) {
	var password = prompt("This link is password protected. Please enter the password to proceed", "xxxxxxxx")
	if (password == "art8emas") {
		window.location.href = protFile
	} else {
		if (password != "") {
		 window.location.href = "sorry.html"		
		}
	}
}

function getPasswx(protFile) {
	var password = prompt("This link is password protected. Please enter the password to proceed", "xxxxxxxx")
	if (password == "art8emas") {
		window.location.href = protFile
	} else {
		if (password != "") {
			showNPage("sorryx.html")	
		}
	}
}

var oldNumber = 0;
function showNote(number) {
	if(oldNumber != number) {
		closeNote();
    	oldNumber = number;
		document.getElementById("sn"+number).style.display="block";
	}
	else {
		closeNote();
	}
}
function closeNote() {
    if (oldNumber != 0) {
        document.getElementById("sn"+oldNumber).style.display="none";
	}
	oldNumber = 0;
}


var wholeScreenW = screen.width;
var wholeScreenH = screen.height;
function positionPageB() {
   if (document.referrer.indexOf("milkcanpapers") != -1) {
     	document.write("<table size='50%' width='95%' align='center'><tr><td><p align='center'><b>This is a page in the Milkcan Papers family history site</b></p></td></tr></table>");
   	document.write("<table size='50%' width='95%' align='center'><tr><td><font size='-1'><p align='left'><a href='javascript:void history.back()'>&lt;&lt; Back</a></p></font></td>");
     	document.write("<td><font size='-1'><p align='right'><a href='http://www.milkcanpapers.com/indexok.html' target='_new'>Milkcan Papers home &gt;&gt;</a></p></font></td></tr></table>");
   } else {
   	if (screen.width == 1024) {
	      window.moveTo(wholeScreenW-812,wholeScreenH-680)
	   } else {
      	window.moveTo(wholeScreenW-640,wholeScreenH-600)
	   }
   	document.write("<table size='50%' width='95%' align='center'><tr><td><font size='-1'><p align='left'><a href='javascript:void history.back()'>&lt;&lt; Back</a></p></font></td>");
      document.write("<td><font size='-1'><p align='right'><a href='javascript:void history.forward()'>Forward &gt;&gt;</a></p></font></td></tr></table>")
  }
}

function docRef() {
  var prevDoc = document.referrer;
  document.write("<br>The page you clicked from is ", prevDoc);
  if (prevDoc.indexOf("milkcanpapers") == -1) {
     document.write("<br>That page is not part of the Milkcan Papers Web site");
  } else {
     document.write("<br>That page is part of the Milkcan Papers Web site");
  }
}

function positionPageA() {
	if (screen.width == 1024) {
	window.moveTo(wholeScreenW-812,wholeScreenH-680)
	} else {
	window.moveTo(wholeScreenW-640,wholeScreenH-600)
	}
	document.write("<table size='50%' width='95%' align='center'><tr><td><font size='-1'><p align='left'><a href='javascript:void history.back()'>&lt;&lt; Back</a></p></font></td>")
   document.write("<td><font size='-1'><p align='right'><a href='javascript:void history.forward()'>Forward &gt;&gt;</a></p></font></td></tr></table>")
}

function positionPageY() {
   if (self.pageXOffset != 212 || self.pageXOffset != 160) {
      document.write("<table size='50%' width='95%' align='center'><tr><td><font size='-1'><p align='left'>This is a page in the Milkcan Papers family history Web site.</p></font></td>")
      document.write("<td><font size='-1'><p align='right'><a href='http://www.milkcanpapers.com/indexok.html' target='_new'>Milkcan Papers home</a></p></font></td></tr></table>")
	} else { 
   	document.write("<table size='50%' width='95%' align='center'><tr><td><font size='-1'><p align='left'><a href='javascript:void history.back()'>&lt;&lt; Back</a></p></font></td>")
      document.write("<td><font size='-1'><p align='right'><a href='javascript:void history.forward()'>Forward &gt;&gt;</a></p></font></td></tr></table>")
   }
}

function positionPage() {
   	document.write("<table size='50%' width='95%' align='center'><tr><td><font size='-1'><p align='left'><a href='javascript:void history.back()'>&lt;&lt; Back</a></p></font></td>")
      document.write("<td><font size='-1'><p align='right'><a href='javascript:void history.forward()'>Forward &gt;&gt;</a></p></font></td></tr></table>")
}

if (navigator.userAgent.substring (8,9) >= "3")
 {        
   milkcan1=new Image(); 	 
   milkcan1.src="milkcan1.gif";        
   milkcan2=new Image(); 	 
   milkcan2.src="milkcan2.gif";     
    }           
 function mouseOn(imgName)  
 {  
   if (navigator.userAgent.substring (8,9) >= "3")
   {
     document[imgName].src=eval(imgName+"2.src");
   }      
 } 
 function mouseOff(imgName) 
 {
   if (navigator.userAgent.substring (8,9) >= "3")
   {
     document[imgName].src=eval(imgName+"1.src");
   }      
 }

var str=""; 
var scrtxt="The \"Milkcan Papers\" site was launched on 30 May 2002. You can learn the story behind the name \"Milkcan Papers\" by clicking \"Site name\" from the home page once it is loaded. This site is the family history for the surnames Abbott, Adams, Arsenault, Aslett, Ayer, Ballard, Barrett, Bean (and MacBean), Beard, Bell, Brigham, Chandler, Crosby, Dane, Doyle, Edmands, Eggert, Findley, Foster, Frye, Gilson, Hawes, Heseltine, Judkins, Kittredge, Lissen, Longhorne, Millington, Moody, O\'Donnell, Pearson, Phelps, Ramsdell, Rein, Richie, Russell, Sherrett, Sinclair, Sprogis, Stewart, Stickney, Swan, Tucker, Watson, Webster, Wilmot, Yarnot, and some others (see the Index). Known ancestors documented here go back about 20 generations (back to the year 1440) from the current crop of babies. This documentation is only about 15% complete, so you can expect new surnames to be added to this list periodically. Please explore the site, trying all the buttons. One feature that is not obvious from the navigation buttons on the left is the history documentation. There are detailed history files describing local, regional, and world events contemporaneous with specific ages in the lives of our ancestors. You can see this documentation by displaying a page on a specific ancestor whose birth and death dates are known and then clicking \"Year by year in the life of ... [that individual].\" A timeline window will open documenting personal and family events for each age of that individual; for example, on the \"Year by year in the life of Mary Caroline Findley\" page (which you can access from the \"Mary Caroline Findley\" page-- see the Index), you can learn about the joys and struggles year after year of Mary Caroline Findley Edmands (1887-1970), much of it distilled from her extensive diaries. If you click any year corresponding to a particular age of any of these individuals with timelines (or if you click any year that is a link on any page), another window will open documenting contemporaneous events in that year for the world at large. These history files now cover the years 1440 (just at the end of the Hundred Years War between England and France and just before the War of the Roses, when the Italian Renaissance was in full swing, and when Lorenzo Valla proved that the Donation of Constantine was a forgery) through 1840 (when President Martin Van Buren reduced the workday to 10 hours for federal employees, Elizabeth Cady married Henry Stanton only after the word \"obey\" was removed from the wedding vow, William Henry Harrison was elected President in a campaign that featured the slogan \"Tippecanoe and Tyler Too\" and other such blather but was free of substantive issues [as was the campaign of his principal opponent, the incumbent Van Buren], Edgar Allan Poe published \"The Fall of the House of Usher,\" another worldwide cholera epidemic began, young Queen Victoria married Prince Albert, British forces captured a number of ports in China in their effort to protect their commerce in opium, the French Socialist Pierre Proudhon came up with the telling phrase \"Property is theft,\" and Belgian instrument maker Adolphe Sax invented the saxophone). There is new content for this history being developed on a different site (see the \"What\'s New?\" window [the item for 9 November 2006] for an explanation). Stay tuned for time marching on; it will reach the year 2008 and beyond. Documentation of the years might catch up to the present sometime in the year 2012. This site is a work in progress, and you can monitor that progress by clicking \"What\'s new?\" from the home page. The site is regularly maintained and frequently updated; the last significant update (described on the \"What\'s new?\" page) was on 11 August 2007, and the last minor update was made on 5 July 2008. Your feedback is appreciated (please click \"Feedback\"). The scrolling text you are reading, competing in length with that on Dr. Bronner\'s soap labels, will repeat, again and again ---and again. You can cover up most it by clicking almost any of the buttons on the site. If you are tired of all the yadda-yadda-yadda crawling briskly leftward like a single-file troop of caterpillars on steroids, scroll to the very bottom of the home page and click the \"Stop the scrolling text\" button. . . . "; 

function scroll()
{
  if (str == "" && scrtxt != "")
  {
    for (var i = 0; i < 12; i = i+1) 
    {
      str = str + "          ";
    }
    str = str + scrtxt;
  }
  else
   {
     if (scrtxt != "")
     {
       str = str.substring(2, str.length);
     }
     else
     {
      str = "";
      }  
  }
  window.status = str;
  if (scrtxt != "")
	{
     window.setTimeout('scroll()',100);
   }
  else
	{
	  window.status = "";
   }
}

self.focus()