// Opens new window
// Console mode: resizable, nothing else
// Scroll mode: resizable with scrollbars only
// Full mode: everything's available
//
var newWin = null;
function popUp(strURL, strType, strWidth, strHeight) {  
	if (newWin != null && !newWin.closed)    
		newWin.close();  
	var strOptions="";  
		if (strType=="console")    
			strOptions="resizable,width="+strWidth+",height="+strHeight;  
		if (strType=="scroll")
			strOptions="resizable,scrollbars,width="+strWidth+",height="+strHeight;
		if (strType=="full")    
			strOptions="toolbar,menubar,scrollbars,resizable,location,width="+
			strWidth+",height="+strHeight;  
	newWin = window.open(strURL, 'newWin', strOptions);  
	newWin.focus();
}
//
// Expandable text blocks
//
function dsp(loc)	{
	if(document.getElementById)	{
		var foc=loc.firstChild;
		foc=loc.firstChild.innerHTML?
			loc.firstChild:
			loc.firstChild.nextSibling;
		foc.innerHTML=foc.innerHTML=='+'?'-':'+';
		foc=loc.parentNode.nextSibling.style?
			loc.parentNode.nextSibling:
			loc.parentNode.nextSibling.nextSibling;
		foc.style.display=foc.style.display=='block'?'none':'block';
	}
	if(!document.getElementById)
		document.write('<style t ype="text/css"><!--\n'+'.dspcont{display:block;}\n'+'//--></style>');
}
// 
