function conf(text)
{
  if (!text) {text="Вы уверены?";}
  if(confirm( text )) return true
  else return false;
}