function g(str){
	if (document.getElementById(str))
		return document.getElementById(str)
	return false;
}

function confirmDelete(url) {
	if (confirm("Sigur vrei sa stergi?")) {
		document.location = 'main.php?' + url;
	}
	else {
		return false;
	}
}

function toggleInfo(step) {
	$('.step_info').hide("slow");
	
	$('#step_' + step).show("slow");
}
