/*
| -------------------------------------------------------
| Author	: Feng Wu, http://come.to/feng, feng@ustc.edu
| -------------------------------------------------------
| Created	: 1/16/2002
| Last Mod	: 1/16/2002 7:00PM
| -------------------------------------------------------
| Copyright © Feng Wu, 2002
| -------------------------------------------------------
*/

function popRFC(nNumber)
{
	sURLPrefix = "http://www.ietf.org/rfc/rfc"
	sURL = sURLPrefix + nNumber + ".txt"
	sTitle = "RFC"

	popWindow(sURL, sTitle, 800, 640, 1)
}

function popMap(nBld)
{
	sURLPrefix = 'https://enroll.ou.edu/map.taf?cmd=ind&bldgnbr=';
	sURL = sURLPrefix + nBld;
	sTitle = "catalog";
	
	popWindow(sURL, sTitle, 500, 500, 0)
}

function popWindow(sURL, sTitle, nWidth, nHeight, bScroll)
{
	win = window.open(sURL, sTitle, "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=" + bScroll + ",resizeable=yes,copyhistory=no,width=" + nWidth + ",height=" + nHeight);

	win.focus();
}
