/* set home page */
setHome = function(obj){
	if(document.all)
	{
		obj.style.behavior='url(#default#homepage)';
		obj.setHomePage('http://www.ub.jor.br');
		return false;
	}
	return true;
}
function addBookmark(title, url){
if (document.all)
window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "") }

//function agregar()
//{
//   if (isExplorer())  window.external.AddFavorite("http://www.ub.jor.br","UB - União dos Bairros");   
//   else alert("Pressione Ctrl+D para adicionar este site em seus Favoritos"); } 

function isExplorer()
{
   if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) return true;
   else if(navigator.appName == "Netscape") return false;   
   else return false;   
}