

function openNewWin(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=650,height=450,left = 224.5,top = 171.5');");
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function print(text){
	document.write(text);
}

function footer(){
if (window.name != "Link" ){
	print("<hr>");
	print("<div align='center' class='footer'>Send suggestions " +
			"or comments to: <a href='mailto:familyhistory@byui.edu'>BYU-Idaho Family History Center " +
			"(<i>familyhistory@byui.edu</i>)</a>,<br> ");
    print("240A McKay Library, 525 South Center, Rexburg, ID 83460-0405<br>" +
			"Archives:(208) 496-2986; Family History Lab:(208) 496-2386");
	print("<p><a href='http://www.byui.edu/'>BYU-Idaho Home</a> | " +
			"<a href='http://www.lib.byui.edu/'>Library Home</a> | " +
			"<a href='http://abish.byui.edu/specialCollections/UniversityArchives/UniversityArchives.htm'>University " +
			"Archives</a> | <a href='http://abish.byui.edu/specialCollections/manuscripts/Manuscripts.htm'>Manuscripts</a>" +
			" | <a href='http://abish.byui.edu/specialCollections/Photographs/photographs.htm'>Photographs</a> " +
			" | <a href='http://abish.byui.edu/specialCollections/fhc/FamilyHistory.htm'>Family History</a>");
 	print("</div></p>");}
}

function header(){
if (window.name == "Link" ){
	print("<img name='Navbar1_r1_c1' src='http://abish.byui.edu/specialcollections/images/Navbar1_r1_c1.gif' width='760' height='41' border='0'>");
}
else{
	print("<body topmargin='0'>" +
		"<a href='http://abish.byui.edu/specialcollections/siteIndex.htm'><img src='http://abish.byui.edu/specialcollections/images/IndexLink.gif' width='1' height='1' border='0'></a>" +
		"<table border='0' cellpadding='0' cellspacing='0' width='760'>");
	print("<tr>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='131' height='1' border='0'></td>" +
		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='89' height='1' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='101' height='1' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='1' height='1' border='0'></td>" +
		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='131' height='1' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='91' height='1' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='86' height='1' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='130' height='1' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='1' height='1' border='0'></td>" +
  	"</tr>");
	print("<tr>" +
    	"<td colspan='8'><img name='Navbar1_r1_c1' src='http://abish.byui.edu/specialcollections/images/Navbar1_r1_c1.gif' width='760' height='41' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='1' height='41' border='0'></td>" +
  	"</tr>");
	print("<tr>" );
    	print("<td rowspan='2'><img name='Navbar1_r2_c1' src='http://abish.byui.edu/specialcollections/images/Navbar1_r2_c1.gif' width='131' height='30' border='0'></td>"); 
    	print("<td><a href='http://www.byui.edu' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('byuihome','','http://abish.byui.edu/specialcollections/images/byuihome_f2.gif',1)\">");
		print("<img src='http://abish.byui.edu/specialcollections/images/byuihome.gif' alt='BYU-Idaho Home' name='byuihome' width='89' height='25' border='0'></a></td>");
   		print("<td colspan='2'><a href='http://www.lib.byui.edu' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('libhome','','http://abish.byui.edu/specialcollections/images/libhome_f2.gif',1)\">");
		print("<img name='libhome' src='http://abish.byui.edu/specialcollections/images/libhome.gif' width='102' height='25' border='0' alt='Library Home'></a></td>");
    	print("<td><a href='http://abish.byui.edu/specialCollections/UniversityArchives/UniversityArchives.htm' onMouseOut=\"MM_swapImgRestore();\"  onMouseOver=\"MM_swapImage('Navbar1_r2_c5','','http://abish.byui.edu/specialcollections/images/Navbar1_r2_c5_f2.gif',1)\">");
		print("<img src='http://abish.byui.edu/specialcollections/images/Navbar1_r2_c5.gif' alt='University Archives' name='Navbar1_r2_c5' width='131' height='25' border='0'></a></td>");
    	print("<td><a href='http://abish.byui.edu/specialCollections/manuscripts/Manuscripts.htm' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('manuscripts','','http://abish.byui.edu/specialcollections/images/manuscripts_f2.gif',1)\">");
		print("<img src='http://abish.byui.edu/specialcollections/images/manuscripts.gif' alt='Manuscripts' name='manuscripts' width='91' height='25' border='0'></a></td>");
    	print("<td><a href='http://abish.byui.edu/specialCollections/Photographs/photographs.htm' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('photo','','http://abish.byui.edu/specialcollections/images/photo_f2.gif',1)\">");
		print("<img src='http://abish.byui.edu/specialcollections/images/photo.gif' alt='Photographs' name='photo' width='86' height='25' border='0'></a></td>");
    	print("<td><a href='http://abish.byui.edu/specialCollections/fhc/FamilyHistory.htm' onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('fhc1','','http://abish.byui.edu/specialcollections/images/Navbar_r2_c8_f2.gif',1)\">");
		print("<img src='http://abish.byui.edu/specialcollections/images/fhc1.gif' alt='Family History' name='fhc1' width='130' height='25' border='0'></a></td>");
   		print("<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='1' height='25' border='0'></td>");
  print("</tr>");
  print("<tr>" +
    	"<td colspan='7'><img name='Navbar1_r3_c2' src='http://abish.byui.edu/specialcollections/images/Navbar1_r3_c2.gif' width='629' height='5' border='0'></td>" +
   		"<td><img src='http://abish.byui.edu/specialcollections/images/spacer.gif' width='1' height='5' border='0'></td>" +
  "</tr>" +
  "</table>");
  }
}

function Preload(){
	MM_preloadImages('http://abish.byui.edu/specialcollections/images/byuihome_f2.gif','http://abish.byui.edu/specialcollections/images/libhome_f2.gif','http://abish.byui.edu/specialcollections/images/Navbar1_r2_c5_f2.gif','http://abish.byui.edu/specialcollections/images/manuscripts_f2.gif','http://abish.byui.edu/specialcollections/images/photo_f2.gif','http://abish.byui.edu/specialcollections/images/Navbar_r2_c8_f2.gif');
}

function getWidth(){
	if (window.name == "Link"){
		width = 650;
		return width
	}
	if (window.name != "Link") {
		width = 700;
		return width
	}
}

function printSetup(url)
	{
	var printReady;
	 window.focus();
	 link = window;
	 link.open(url, "Link", "toolbars=1, address=0, location=0, scrollbars=1, directories=0, status=0, menubar=1, resizeable=1, width=700, height=500, top=50, left=50");
	}