function confirmDelete()
{
var akcja = confirm('Czy usunac wybrany wpis ?');
return akcja;
}

















function passreset(usrid) {

	var nowe = prompt('Podaj nowe haslo:','');

	if	(nowe != null)
		{
		document.zawrespasform["nowehaslo"].value = nowe; 
		document.zawrespasform["usrnumer"].value = usrid;
		document.zawrespasform.submit();
		}
}

function confirmNote(dbid) 
{
	var notatka = prompt('Podaj tresc notatki:','');

	if	(notatka != null)
		{
		document.addcommentform["newcomment"].value = notatka;
		document.addcommentform["dbposid"].value = dbid;
		document.addcommentform.submit();
		}
}

function zaznaczCheckbox(parametr)
{
uchwyt=document.getElementById("filemod");

if	(uchwyt)
	{
	for (i=0 ; i < uchwyt.elements.length ; i++)
		{
		if	(uchwyt.elements[i].id.substr(1,1) == 'u')
			{
			if	(parametr == 'x')
				uchwyt.elements[i].checked = true;
				else
				uchwyt.elements[i].checked = false;				
			}
		}
	}
}





function confirmAsk()
{

var akcja = confirm('Czy jestes pewien ?');
return akcja;

}

function confirmModify()
{

var akcja = confirm('Czy chcesz wprowadzic zmiany do tego ogloszenia ?');
return akcja;

}

