function bookmark(){
  if((navigator.appName == "Microsoft Internet Explorer") && 

(parseInt(navigator.appVersion) >= 4)){
    window.external.AddFavorite(location.href,document.title);
  }else if(navigator.appName == "Netscape"){
      window.sidebar.addPanel(document.title,location.href,"");
  }else{
    alert("Premi CTRL+D (Firefox e Netscape) o CTRL+T (Opera) per aggiungere la pagina ai Preferiti");
  }
}function fnSet() {

    var s_url = "http://www.concorsi.it";

    var s_nn = "Il tuo browser non supporta l'impostazione automatica\n della HomePage. Occorre impostarla manualmente\n(per Firefox: men� strumenti,opzioni,Principale,  Pagina Iniziale = http://www.concorsi.it) ";

    var s_op = "Il tuo browser non supporta l'impostazione automatica\n della HomePage. Occorre impostarla manualmente\n(per Firefox: men� strumenti,opzioni, Principale,  Pagina Iniziale = http://www.concorsi.it )";
    var s_other = "Il tuo browser non supporta l'impostazione automatica\n della HomePage. Occorre impostarla manualmente\n(per Firefox: men� strumenti,opzioni,Principale,  Pagina Iniziale = http://www.concorsi.it)";

    if ((navigator.appName == "Microsoft Internet Explorer") && 

(parseInt(navigator.appVersion) >= 4)) {

      oHomePage.style.behavior = "url('#default#homePage')"
      oHomePage.setHomePage(s_url);
      return true;

    } else if (navigator.appName == "Netscape") {

      alert(s_nn);

    }  else if (navigator.appName == "Opera") {
      alert(s_op);
    }
    else {
      document.write("" + s_other + "");
    }
  }
function mail_no_spam(user,dominio) 
    { 
        document.location.href = "mailto:" + user + "@" + dominio; 
    }
// tabs - jQuery plugin for accessible, unobtrusive tabs by Klaus Hartl
// http://stilbuero.de/tabs/
// Free beer and free speech. Enjoy!
$.tabs = function(navcontainerId, start) {
    var ON_CLASS = 'on';
    var id = '#' + navcontainerId;
    var i = (typeof start == "number") ? start - 1 : 0;
    $(id + '>div:lt(' + i + ')').add(id + '>div:gt(' + i + ')').hide();
    $(id + '>ul>li:nth-child(' + i + ')').addClass(ON_CLASS);
    $(id + '>ul>li>a').click(function() {
        if (!$(this.parentNode).is('.' + ON_CLASS)) {
            var re = /([_\-\w]+$)/i;
            var target = $('#' + re.exec(this.href)[1]);
            if (target.size() > 0) {
                $(id + '>div:visible').hide();
                target.show();
                $(id + '>ul>li').removeClass(ON_CLASS);
                $(this.parentNode).addClass(ON_CLASS);
            } else {
                alert('There is no such navcontainer.');
            }
        }
        return false;
    });
};
$(document).ready(function(){
	//$('div.dettaglio_figure').hide();
	$.tabs("navcontainer_it");
	//$('#toggleh1').click( function() {
    	//$('div.dettaglio_figure').toggle();
		//$('#toggleh1').attr("id",current);
		//$('div.info_base').hide();
		//$('div.figura_pulsante').attr("id",current);
		//$(this.id).attr("id", 'a');
		//$('div.figura').attr("id",'current');
		
   	//});
})