$(document).ready(function(){	
	$.easy.navigation();
	$.easy.navigation('#sitetools ul');
	$.easy.tooltip();
	$.easy.popup();
	$.easy.external();
	$.easy.rotate();
	$.easy.forms();
	$.easy.showhide();
	$.easy.jump();
});

/* opens a HTML page in a separate window, but always the same */
function openHTML ( url, width, height, settings, target )
{
       if ( !settings )
               var settings = "dependent=yes,resizable=yes,status=yes,scrollbars=yes,menubar=yes,location=yes,toolbar=yes";
       if ( width > 0 )
               settings = settings + ",width=" + width;
       if ( height > 0 )
               settings = settings + ",height=" + height;
       if ( !target )
            var target = "New_HTML_Window";
       var New_HTML_Window = window.open ( "about:blank", target, settings );
       New_HTML_Window.location.href = url;
       New_HTML_Window.focus ();
}

/* Agregar a la lista de favoritos ( soporta FF, IE y Opera ) */
function addBookmark ( title ) {
  if ( !title || title == "" )
  var title = document.title;
  var url = location.href;

  if ( window.sidebar ) {
	// Mozilla Firefox Bookmark
    window.sidebar.addPanel ( title, url, "" );
  } else if ( window.opera && window.print ) {
	// Opera Hotlist
    var temp = document.createElement ( 'a' );
    temp.setAttribute ( 'rel', 'sidebar' );
    temp.setAttribute ( 'href', url );
    temp.setAttribute ( 'title', title );
    temp.click ();
  } else if ( document.all ) {
	// IE Favorite
    window.external.AddFavorite( url, title );
  } else {
    alert ('No se pudo agregar a su listado de Favoritos');
  }
} 
