// JavaScript Document

<!-- Followed syntax example from 3rd edition of JavaScript 4 the World Wide Web, p.96
function newWindow(link) 
	{
		bioWindow = window.open(link,"bioWin", "resizable,height=460,width=630,left=80,top=10,scrollbars");

		bioWindow.focus();
		//Focus opens window on top of others. makes sure it does not come up minimized when other windows also open -->
	}

<!-- Special code for type descriptions
function newWindow2(link) 
	{
		typeWindow2 = window.open(link,"bioWin", "resizable,height=750,width=650,left=80,top=10,scrollbars");
		typeWindow2.focus();
		//Focus opens window on top of others. makes sure it does not come up minimized when other windows also open --
	}


<!--
function Preference(obj) {
	var td = document.getElementById("p" + obj.name);
	td.innerHTML = obj.value;
}
function Email() {
	var s = "";
	s = "http://www.personalitypathways.com/article/mbti-typefit.html?type=" + pEnergy.innerHTML + pPerceive.innerHTML + pJudge.innerHTML + pAction.innerHTML;
	//window.location = s;
	newWindow(s);
	//window.open(s);
}


