function MM_jumpMenu(targ,selObj,restore){ //v3.0
	eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	if (restore) 
		selObj.selectedIndex=0;
}

function Color(t) {
	t.className='sep_tr_over';
}

function Decolor(t) {
	t.className='sep_tr';
}

/**** finestre popup ****/
function popup(){
	newwin = window.open('','win_img','width=700, height=500,scrollbars=0,status=0,statusbar=0,toolbar=no,location=no,menubar=no,resizable=no,top=20,left=20,screenX=20,screenY=20');
	newwin.focus();
}

function imgpopup(){
	newwin = window.open('','pgpreview','width=520, height=425,scrollbars=0,status=0,statusbar=0,toolbar=no,location=no,menubar=no,resizable=no,top=20,left=20,screenX=20,screenY=20');
	newwin.focus();
}
function popup_ring(){
	newwin = window.open('','win_img_ring','width=360, height=330,scrollbars=0,status=0,statusbar=0,toolbar=no,location=no,menubar=no,resizable=no,top=20,left=20,screenX=20,screenY=20');
	newwin.focus();
}
function target_blank(x){
	document.getElementById(x).target="_blank";
}


/**** info privacy ****/
function mostra_informa(){
	document.getElementById('testo_informativa_1').style.display ='None';
	document.getElementById('testo_informativa_2').style.display ='';
}

function nascondi_informa(){
	document.getElementById('testo_informativa_1').style.display ='';
	document.getElementById('testo_informativa_2').style.display ='None';
}


/**** colonna dx bilanci/progetti per js attivo/no ****/
function mostra_jdx(id){
	document.getElementById('el'+id+'Child').className ='';
	document.getElementById('el'+id+'Parent').className ='menu_hidden';
}

function nascondi_jdx(id){
	document.getElementById('el'+id+'Child').className ='menu_hidden';
	document.getElementById('el'+id+'Parent').className ='menu_jright';
}

/****cartiografia ****/
function mappaita(){
	e=window.open('', 'mappa', "width=750,height=560,scrollbars=1,status=0,statusbar=0,toolbar=no,location=no,menubar=no,resizable=no,top=20,left=20,screenX=20,screenY=20");
	e.focus();
}


function newsletter(){
		d=window.open('', 'newsletter', "width=560,height=640,scrollbars=0,status=0,statusbar=0,toolbar=no,location=no,menubar=no,resizable=no,top=20,left=20,screenX=20,screenY=20");
		d.focus();
	}

/**** colonna dx bilanci/progetti per js attivo/no ****/
															
function mostra_aree(id, fine_indice){
	var inizio_indice_aree = 1;
	var fine_indice_aree = fine_indice;
	for (indice=inizio_indice_aree;indice<=fine_indice_aree;indice++) {
		if (indice==id) {
			document.getElementById('elmod_'+indice).className='menu_jright_att';
			document.getElementById('elmod_'+indice+'_Child').className='menu_hidden_att';
		} else {
			document.getElementById('elmod_'+indice).className='menu_jright';
			document.getElementById('elmod_'+indice+'_Child').className='menu_hidden';
		}
	}
}
