// JavaScript Document
function yesno(msg) {
	s = confirm(msg+" ?");
  document.MM_returnValue = s;
}
function contaTesto(field, maxlimit) {
	campo = eval(field);
if (campo.value.length > maxlimit)
	campo.value = campo.value.substring(0, maxlimit);
else
	 eval(field+"_c").value = maxlimit - eval(field+".value.length");
}
function addBookmark(title, url) {
        if (window.sidebar) { // firefox
              window.sidebar.addPanel(title, url,"");
        } else if( document.all ) { //MSIE
                window.external.AddFavorite( url, title);
        } else {
               alert("Sorry, your browser doesn't support this");
        }
}
