// JavaScript Document

function adzamknij()
{
	document.getElementById('toplayer').style.display = 'none';
}

function pytanie(tresc)
{
	var pytanie;
	var input;
	
	if(tresc == 1)
	{
		pytanie = '<p>Jakiego systemu masz zamiar używać?</p>';
		input   = '<input type=\'radio\' name=\'zamiar\' value=\'stereo\' />&nbsp;Stereo&nbsp;&nbsp;&nbsp;<input type=\'radio\' name=\'zamiar\' value=\'kino\' />&nbsp;Kina Domowego';
	}
	else if(tresc == 2)
	{
		pytanie = '<p>Jakiego systemu używasz?</p>';
		input   = '<input type=\'radio\' name=\'uzywa\' value=\'stereo\' />&nbsp;Stereo&nbsp;&nbsp;&nbsp;<input type=\'radio\' name=\'uzywa\' value=\'kino\' />&nbsp;Kina Domowego';		
	}
	
	document.getElementById('pytanie').innerHTML = pytanie + input;
	
}

function textarea()
{
	var text;
	text = document.getElementById('inne_text').disabled;
	
	document.getElementById('inne_text').disabled = (text) ? false : true;
}