function mini_window(whichURL,ifHome){

if (whichURL == "privacy") {
	url = "../Pages/privacy.shtml"
	if (ifHome == "yes") {
		url = "Pages/privacy.shtml"
	}
	winPrefs = "width=555,height=430,top=0,left=5,"
	if ((window.screen.height)>=500) {
		winPrefs = "width=650,height=570,top=5,left=10,"
	}
	if ((window.screen.height)>=610) {
		winPrefs = "width=650,height= 625,top=5,left=100,"
	}
	winPrefs = winPrefs + "status=no,toolbar=no,scrollbars=yes,resizable=yes,print=yes"
	miniWin = window.open(url,"newWin",winPrefs)
	}

if (whichURL == "rights") {
	url = "../Pages/rightsReserved.shtml"
	if (ifHome == "yes") {
		url = "Pages/rightsReserved.shtml"
	}
	winPrefs = "width=555,height= 455,top=0,left=5,"
	if ((window.screen.height)>=500) {
		winPrefs = "width=650,height=570,top=5,left=10,"
	}
	if ((window.screen.height)>=610) {
		winPrefs = "width=650,height= 625,top=5,left=100,"
	}
	winPrefs = winPrefs + "status=no,toolbar=no,scrollbars=yes,resizable=yes,print=yes"
	miniWin = window.open(url,"newWin",winPrefs)
	}

if (whichURL == "license") {
	url = "../sunPATH/license.shtml"
	if (ifHome == "yes") {
		url = "license.shtml"
	}
	winPrefs = "width=555,height= 455,top=0,left=5,"
	if ((window.screen.height)>=500) {
		winPrefs = "width=650,height=570,top=5,left=10,"
	}
	if ((window.screen.height)>=610) {
		winPrefs = "width=650,height= 625,top=5,left=100,"
	}
	winPrefs = winPrefs + "status=no,toolbar=no,scrollbars=yes,resizable=yes,print=yes"
	miniWin = window.open(url,"newWin",winPrefs)
	}

if (whichURL == "winInfo") {
	url = "../sunPATH/sunPATH_winInfo.shtml"
	if (ifHome == "yes") {
		url = "sunPATH_winInfo.shtml"
	}
	winPrefs = "width=555,height= 455,top=0,left=5,"
	if ((window.screen.height)>=500) {
		winPrefs = "width=650,height=570,top=5,left=10,"
	}
	if ((window.screen.height)>=610) {
		winPrefs = "width=650,height= 625,top=5,left=100,"
	}
	winPrefs = winPrefs + "status=no,toolbar=no,scrollbars=yes,resizable=yes,print=yes"
	miniWin = window.open(url,"newWin",winPrefs)
	}
}

function display_window(whichURL){
	winPrefs = "width=680,height=455,top=0,left=0,"
	if ((window.screen.height)>=500) {
		winPrefs = "width= 680,height=570,top=5,left=10,"
	}
	if ((window.screen.height)>=610) {
		winPrefs = "width= 680,height= 625,top=5,left=100,"
	}
	winPrefs = winPrefs + "status=no,toolbar=no,scrollbars=yes,resizable=yes,print=yes"
		miniWin = window.open(whichURL,"newWin",winPrefs)
}
