function gotourl(url)
{if (url) document.location.href=url;
}
function asktodo(purl,txt){
if (confirm('Удалить\n'+txt+'\n?'))  return purl; else return "#"; }