var receivedCookie;

  if (navigator.appName == "Microsoft Internet Explorer") {
    document.explorer = 1
  } else {
    document.explorer = 0
  }
function ToggleText(obj) {
  if (document.explorer == 1) {
    if (obj.style.display == "" )
      obj.style.display = "none";
    else
      obj.style.display = "";
  }
}

function PageMouseOver(el) {
  if (document.explorer == 1) {
    el.savecolor = el.style.color;
    if (el.style.color == 0)
      el.style.color = "blue";
    else
      el.style.color="red";
  }
}

function PageMouseOut(el) {
  if (document.explorer == 1) {
    el.style.color=el.savecolor;
  }
}


function ToggleParents() {
    if (hideParents == "t") 
	hideParents = "f";
    else
	hideParents = "t";
    SetAll();
} // ToggleParents

function SetParents() {
    if (typeof(parents)=="object") {
	if (hideParents == "t") 
	    parents.style.display = "none";
	else
	    parents.style.display = "";
    }
} // SetParents

function ToggleSiblings() {
    if (hideSiblings == "t") 
	hideSiblings = "f";
    else
	hideSiblings = "t";
    SetAll();
} // ToggleSiblings

function SetSiblings() {
  if (typeof(siblings) == "object") {
    if (hideSiblings == "t") 
      siblings.style.display = "none";
    else
      siblings.style.display = "";
  }
} // SetSiblings

function ToggleFamily() {
    if (hideFamily == "t") 
	hideFamily = "f";
    else
	hideFamily = "t";
    SetAll();
} // ToggleFamily

function SetFamily() {
  if (typeof(family) == "object") {
    if (hideFamily == "t") 
      family.style.display = "none";
    else
      family.style.display = "";
  }
} // SetFamily

function ToggleNotes() {
    if (hideNotes == "t") 
	hideNotes = "f";
    else
	hideNotes = "t";
    SetAll();
} // ToggleNotes

function SetINotes() {
  if (typeof(inote) == "object") {
    if (hideNotes == "t") 
      inote.style.display = "none";
    else
      inote.style.display = "";
  }
} // SetNotes

function SetFNotes(objNotes) {
  if (typeof(fnote) == "object") {
    if (hideNotes == "t") 
      fnote.style.display = "none";
    else
      fnote.style.display = "";
  }
} // SetNotes

function TogglePhotos() {
    if (hidePhotos == "t") 
	hidePhotos = "f";
    else
	hidePhotos = "t";
    SetAll();
} // TogglePhotos

function SetPhotos() {
    if (typeof(photos) == "object") {
	if (hidePhotos == "t") 
	    photos.style.display = "none";
	else
	    photos.style.display = "";
    }
} // SetPhotos

function ToggleIndiAll() {
    if (hideAll == "t")
	hideAll = "f";
    else
	hideAll = "t";
    SetAll();
} // ToggleIndiAll

function SetIndiAll() {
    if (typeof(objIndiAll) == "object") {
	if (hideAll == "t")
	    objIndiAll.style.display = "none";
	else
	    objIndiAll.style.display = "";
    }
} // SetIndiAll

function SetAll() {
    SetParents();
    SetSiblings();
    SetFamily();
    SetINotes();
    SetFNotes();
    SetPhotos();
    SetIndiAll();
    SetCookie();
} // SetAll


function OnIndiLoad() {
    GetCookie();
    SetParents();
    SetSiblings();
    SetFamily();
    SetINotes();
    SetFNotes();
    SetPhotos();
} // OnIndiLoad

function ResizePriPhoto(obj) {
    if (document.all) {
	var iHeight = obj.height;
	var iWidth = obj.width;
	obj.style.border = "solid";
	obj.style.borderWidth = "15";
	obj.style.borderColor = "beige";
	obj.style.borderStyle = "ridge";
	if ((iHeight > iWidth) && (iHeight > iMaxPriPhotoHeight)) {
	    iWidth = iWidth * iMaxPriPhotoHeight / iHeight;
	    iHeight = iMaxPriPhotoHeight;
	    obj.height = iHeight;
	    obj.width = iWidth;
	} else if (iWidth > iMaxPriPhotoWidth) {
	    iHeight = iHeight * iMaxPriPhotoWidth / iWidth;
	    iWidth = iMaxPriPhotoWidth;
	    obj.height = iHeight;
	    obj.width = iWidth;
	}
    }
} // ResizePriPhoto


function LinkOver(sPath) {
		if (document.pwmImage) {
    document.pwmImage.style.display = "";
    document.pwmImage.border = 2;
		document.pwmImage.style.borderColor = "blue";
    document.pwmImage.src = sPath + "@.jpg";
    document.pwmImage.style.left = document.body.scrollLeft + event.clientX + dx;
    document.pwmImage.style.top = document.body.scrollTop + event.clientY - dy;
		} else {
    pwmImage.style.display = "";
    pwmImage.border = 2;
		pwmImage.style.borderColor = "blue";
    pwmImage.src = sPath + "@.jpg";
    pwmImage.style.left = document.body.scrollLeft + event.clientX + dx;
    pwmImage.style.top = document.body.scrollTop + event.clientY - dy;
		}
};

function LinkOut() {
		if (document.pwmImage) 
				document.pwmImage.style.display = "none";
		else
				pwmImage.style.display = "none";
}


function SetIndi(sKey,sReport) {
		sIndividual1 = sKey;
		sReportType = sReport;
		SetCookie();
};
function ReportLinks(strKey, iLvl) {
 return("");
}


function MakeLink(sName, sKey, iLvl, bImageExists, iH, iW) {
 return;
} // MakeLink



function IndipgBefFooter() {
		document.write('<P><EM>Note: Throughout this site, information has been combined from a number of sources, some of which are more reliable than others, and some information may be incorrect. Please do not accept any item as fact unless specific primary source documentation is provided. Please use such items without primary source documentation as a basis for further research.  I appreciate any correction or sharing of new sources. <A HREF="mailto:dean.mcgee@mymcgee.com">Dean McGee</A></EM></P><CENTER><IMG src="../../@imgsrc/mcgee.gif"><BR><A HREF="http://mymcgee.com">McGee Surname DNA Project</A></CENTER><P>');
document.write("<P><TABLE align=center><TR><TD><a href=\"http://clustrmaps.com/counter/maps.php?url=http://www.mymcgee.com\" id=\"clustrMapsLink\"><img src=\"http://clustrmaps.com/counter/index2.php?url=http://www.mymcgee.com\" border=1 alt=\"Locations of visitors to this page\"onError=\"this.onError=null; this.src='http://www.meetomatic.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='http://clustrmaps.com/'\"></A></TD></TR></TABLE>");
document.write('<P><CENTER><IMG SRC="http://www.mymcgee.com/cgi-sys/counter/hit.pl?user=mymcgee&id=mcgeeweb" NOSAVE></CENTER>')
}

function IndipgAftHeader() {
document.write('<TABLE border=1 width=100% align=center><TR><TD><IMG src="../../@imgsrc/mcgee.gif"></TD><TD><B>Notice:</B> <EM>The <B>McGee Surname DNA Project</B> is seeking participants.  If you or someone you know has the McGee (Magee, McGhee, ...) surname, established genealogy, and seek to identify or dismiss family relationships, please visit the <A HREF="http://www.mymcgee.com">McGee Surname DNA Project</A></EM></TD></TR></TABLE>')
}

function IndipgOnLoad() {
}

var bindipgloaded = true;
