<!--
// Pop-up/Jump menu code - D2 Tools for Microsoft FrontPage, v5.0
// http://www.d2stuff.com/
// Copyright (c) 2002-2003 Dennis DeRobertis
function D2_doPopUp(winURL, winName, winWidth, winHeight, winSBars, winMenu, winTBar, winABar, winStatus, winResize, winPosition)
{
	var myPopUp;
	var winLeft;
	var winTop;
	var winSettings = "width=" + winWidth + ",height=" + winHeight + ",scrollbars=" + winSBars + ",menubar=" + winMenu + ",toolbar=" + winTBar + ",location=" + winABar + ",status=" + winStatus + ",resizable=" + winResize;

	switch (winPosition)
	{
	case "center":
		winLeft = (screen.width / 2) - (winWidth / 2);
		winTop = (screen.height / 2) - (winHeight / 2);
		winSettings = winSettings + ",left=" + winLeft + ",top=" + winTop;
		break;
		
	case "topleft":
		winSettings = winSettings + ",left=0,top=0";
		break;

	case "topright":
		winLeft = (screen.width) - (winWidth);
		winSettings = winSettings + ",left=" + winLeft + ",top=0";
		break;

	case "bottomleft":
		winTop = (screen.height) - (winHeight);
		winSettings = winSettings + ",left=0,top=0" + winTop;
		break;

	case "bottomright":
		winLeft = (screen.width) - (winWidth);
		winTop = (screen.height) - (winHeight);
		winSettings = winSettings + ",left=" + winLeft + ",top=" + winTop;
		break;

	default:
		break;
	}
	myPopUp = window.open(winURL,winName,winSettings);
}
function D2_doJump(JumpForm,newWin,selectFirst)
{
	iIndex = JumpForm.JumpMenu.selectedIndex;
	if (selectFirst) JumpForm.JumpMenu.selectedIndex=0;
	if (iIndex == 0) return;
	if (newWin == true)
	{
	window.open(JumpForm.JumpMenu.options[iIndex].value,'_blank');
	}
	else
	{
	window.location.href = JumpForm.JumpMenu.options[iIndex].value;
	}
}
// -->