function unapewno(){
	if (confirm('Czy aby na pewno?')){
		return true;
	}
	else 
		return false;
}
function pseudo(){
	dane = document.getElementById('f_rej_dane');
	if (dane.value == ''){
		dane.value = document.getElementById('f_rej_login').value;
	}
}
function ust(id){
	for (i=0; i<i_ust; i++){
		if (i!=id){
			document.getElementById('ust_'+i).className = 'u_l_p';
			document.getElementById('u_'+i).style.display = 'none';
		}
	}
	document.getElementById('ust_'+id).className = 'u_l_r';
	document.getElementById('u_'+id).style.display = 'block';
}


function style(id){
	return document.getElementById(id).style;
}

function blog(){
	if (style('blog_prowadze').display == 'none'){
		style('blog_prowadze').display = 'block';
	}
	else {
		style('blog_prowadze').display = 'none';
	}
}

function czcionka_v2(nr){
	if (nr==1){
		style('tresc').fontSize = '9pt';
		style('tresc').lineHeight = '12pt';
		style('aaa').backgroundPosition = '0px -17px';
	}
	else if (nr==3){
		style('tresc').fontSize = '11pt';
		style('tresc').lineHeight = '14pt';
		style('aaa').backgroundPosition = '0px -34px';
	}
	else {
		style('tresc').fontSize = '10pt';
		style('tresc').lineHeight = '13pt';
		style('aaa').backgroundPosition = '0px 0px';
	}
}
function mail(user, domain){
	window.location = 'mailto:'+user+'@'+domain;
}

function logowacz_v2(id){
	if (id == 1){
		for (i = 1; i <= 3; i++){
			style('logowanie_'+2).display = 'none';
			style('zapomnialem_'+2).display = 'block';
		}
	}
	else {
		for (i = 1; i <= 3; i++){
			style('logowanie_'+2).display = 'block';
			style('zapomnialem_'+2).display = 'none';
		}
	}
}
function zak_switch(nr){
	if (nr == 2){
		style('zs11').display = 'none';
		style('zs12').display = 'none';
		style('zs21').display = 'block';
		style('zs22').display = 'block';
	}
	else {
		style('zs21').display = 'none';
		style('zs22').display = 'none';
		style('zs11').display = 'block';
		style('zs12').display = 'block';
	}
}
function komdel(url,nr){
	if (url != '' && nr > 0){
		bool = confirm('Czy na pewno chcesz usun±æ ten komentarz?');
		if (bool)
			window.location.href = url + 'usunkomentarz,' + nr + '.html';
		return false;
	}
}





