// gestione del menu laterale servizi
	var lastogg=0;
	function ogg_over(){
		ogg = window.event.srcElement;
		var bChosen = false;
		if(lastogg && lastogg != ogg){
			ogg_out();
		}
		if(ogg.buttonType){
			ogg.className = ogg.buttonType + "Up";
			lastogg=ogg;
			}
		else {
		lastogg = 0;
		}
	}
	function ogg_down(){
		ogg = window.event.srcElement;
		if(ogg.buttonType){
			ogg.className = ogg.buttonType + "Down";
		}
	}
	function ogg_out(){
		lastogg.className = lastogg.buttonType + "Off";
	}

// fine gestione del menu laterale servizi

//configure the two variables below to match yoursite's own info
var bookmarkurl="http://www.mercurius.it"
var bookmarktitle="Mercurius - Il sito per chi cerca lavoro"

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}



// rev03.29.1999 -- DO NOT MODIFY! -- Begin date display function with y2k compatibility

var pong;

function makeArray(n){
  this.length = n;
  for (i=1;i<=n;i++){
    this[i]=0;
  }
  return this;
}

function displayDate() {
	var this_month = new makeArray(12);
    this_month[0]  = "Gennaio";
    this_month[1]  = "Febbraio";
    this_month[2]  = "Marzo";
    this_month[3]  = "Aprile";
    this_month[4]  = "Maggio";
    this_month[5]  = "Giugno";
    this_month[6]  = "Luglio";
    this_month[7]  = "Agosto";
    this_month[8]  = "Settembre";
    this_month[9]  = "Ottobre";
    this_month[10] = "Novembre";
    this_month[11] = "Dicembre";
	var today = new Date();
	var day   = today.getDate();
	var month = today.getMonth();
	var year  = today.getYear();
	if (year < 1900){
		year += 1900;
	}
  return(day+" "+this_month[month]+" "+year);
}
// rev03.29.1999 -- DO NOT MODIFY! -- End date display function with y2k compatibility


if (document.images) {

	var i01on = new Image(15, 145)
	i01on.src = "../img/testo1.gif"
	var i01of = new Image(15, 145)
	i01of.src = "../img/testo1_roll.gif"
	
	var i02on = new Image(15, 145)
	i02on.src = "../img/testo2.gif"
	var i02of = new Image(15, 145)
	i02of.src = "../img/testo2_roll.gif"
	
	var i03on = new Image(15, 145)
	i03on.src = "../img/testo3.gif"
	var i03of = new Image(15, 145)
	i03of.src = "../img/testo3_roll.gif"
	
	var i04on = new Image(15, 145)
	i04on.src = "../img/testo4.gif"
	var i04of = new Image(15, 145)
	i04of.src = "../img/testo4_roll.gif"
	
		
}
	function act(imgName) {
		if (document.images) 
			document[imgName].src = eval(imgName + 'on.src')
	}

	function inact(imgName) {
		if (document.images)
			document[imgName].src = eval(imgName + 'of.src')
	}

	
	function esempio(str) {

        searchWin = window.open(str,'esempio','scrollbars=no,resizable=yes,width=500,height=400,status=no,location=no,toolbar=no');
        searchWin.focus()

	}

	function win(str) {

        searchWin = window.open(str,'win','scrollbars=no,resizable=yes,width=750,height=350,status=no,location=no,toolbar=no');
        searchWin.focus()

	}

	function winbis(str) {

        searchWin = window.open(str,'winbis','scrollbars=no,resizable=yes,width=600,height=450,status=no,location=no,toolbar=no');
        searchWin.focus()

	}

	function winter(str) {

        searchWin = window.open(str,'winter','scrollbars=no,resizable=yes,width=750,height=600,status=no,location=no,toolbar=no');
        searchWin.focus()

	}