function confirma(tit,msg,notxt,yestxt,noact,yesact) {
	document.getElementById('popupcont').innerHTML='<h2>'+tit+'</h2>'+msg+'<input type="button" value="'+notxt+'" onClick="'+noact+'document.getElementById(\'popup\').style.display=\'none\'"><input type="button" style="margin-top:2px;" value="'+yestxt+'" onClick="'+yesact+'document.getElementById(\'popup\').style.display=\'none\'">';
	document.getElementById('popup').style.display='table';
}
