function showPane(showID)
{
//	eliminate questions pane for now
//  var panes = ['docinfo', 'nextedition', 'committee', 'questions']
	var panes = ['docinfo', 'nextedition', 'committee']
	for (var i = 0; i < panes.length; i++)
		if (showID == panes[i])
		{
			showElement(panes[i] + 'pane');
			setElementClass(panes[i] + 'tab', 'active');
		}
		else
		{
			hideElement(panes[i] + 'pane');
			setElementClass(panes[i] + 'tab', '');
		}
}

function popup(url)
{
	window.open(url,'','width=700,height=900,top=40,left=40,toolbar=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes');
}

function popupText(header, text)
{
	var popup = window.open('','','width=600,height=350,top=40,left=40,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');

	//popup.document.write('<html><head> <link href="/css/default.css" rel="stylesheet" type="text/css"><link href="/css/nfpa.css" rel="stylesheet" type="text/css"> <style>body { font-size: 12px; line-height: 14px; font-family: arial, sans-serif; } .header { font-size: 17px; text-transform: uppercase; color: #96191D; font-weight: bold; }</style></head><body><p class="header">' + header + '</p>' + text + '</body></html>');
	popup.document.write('<html><head> <link href="/css/default.css" rel="stylesheet" type="text/css"><link href="/css/nfpa.css" rel="stylesheet" type="text/css"> <style>body { margin: 10px; } a {text-decoration: underline;} .header { font-size: 17px; text-transform: uppercase; color: #96191D; font-weight: bold; }</style><script type="text/javascript" src="/AboutTheCodes/scripts/AboutTheCodes.js"></script></head><body><p class="header">' + header + '</p>' + '<div class="docinfo" style="border: none;">' + text + '</div></body></html>');
	popup.document.close();
}
