function print() { 
	window.open('?'+printLink+'&print=1','print','scrollbars=yes,status=no,width=600,height=600');
}

function showhide( link, blockId ) {
	if( document.getElementById( blockId ).style.display=='none' )
	{
		document.getElementById( blockId ).style.display = '';
	}
	else
	{
		document.getElementById( blockId ).style.display = 'none';
	}
	link.blur();
}

function showhide1( link, blockId, count, index )
{
	for ( i = 1; i <= count; i++ ) {
		var currentBlockId = blockId + i;
		if ( i == index ) {
			document.getElementById( currentBlockId ).style.display = '';
		}
		else {
			document.getElementById( currentBlockId ).style.display = 'none';
		}
	}
	link.blur();
}

function shownci()
{
	document.getElementById('LSIWykres').style.display = 'none';
	document.getElementById('LSIOpis').style.display = 'none';
	document.getElementById('shownci').className = 'on';
	document.getElementById('NCIWykres').style.display = 'block';
	document.getElementById('NCIOpis').style.display = 'block';
	document.getElementById('showlsi').className = '';
}

function showlsi()
{
	document.getElementById('NCIWykres').style.display = 'none';
	document.getElementById('NCIOpis').style.display = 'none';
	document.getElementById('shownci').className = '';
	document.getElementById('LSIWykres').style.display = 'block';
	document.getElementById('LSIOpis').style.display = 'block';
	document.getElementById('showlsi').className = 'on';
}


