// opens a popup window with the page.  exciting!
function popup(page) {
	var windowName = 'lyricsWindow';

	var windowFeatures = 'width=400,height=500,scrollbars=yes,toolbar=no';

	window.open(page,windowName,windowFeatures);
}

function gbPopup(windowName, theURL, width, height) {
	var winProperties = "resize=no,toolbar=no,directories=no,menubar=no,status=no,noresize,scrollbars=auto," +
		"width=" + width + ",height=" + height;
	var mainWin = self;
	if( window.windowName == null )      // If the window has never been opened
		windowName=window.open(theURL, windowName, winProperties);
	else {
	if( window.windowName.closed )    // If the window was open but has been closed
		windowName=window.open(theURL,  windowName, winProperties);
	else                                                                       // The window is already open
		windowName.location.href = theURL;
	}
	windowName.opener = mainWin;
	windowName.focus();
}

// opens a popup window with the page.  exciting!
function vidPop(page) {
	var windowName = 'videoWindow';

	var windowFeatures = 'width=500,height=500,scrollbars=yes,toolbar=no';

	window.open(page,windowName,windowFeatures);
}