function checkKey(){
	var tasto = window.event.keyCode;
	if(tasto == "119"){
		window.open("administration/dati.asp","Amministrazione","top=0, left=0, menubar=yes, status=yes, toolbar=yes, location=yes, scrollbars=yes, resizable=yes, width=800px, height=550px");
	}
}

function chiudi(){
	this.close();
}

function apri_dati(){
		window.open("../administration/admin_page.asp","Amministrazione","top=0, left=0, menubar=yes, status=yes, toolbar=yes, location=yes, scrollbars=yes, resizable=yes");
}


<!-- OPERAZIONI -->
function operazione_news(){
	
	<!-- operazioni principali -->
	if(document.getElementById("operazione").value == "news"){
		window.open("../administration/gestione_news.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "offerta"){
		window.open("../administration/gestione_offerta.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "mercati"){
		window.open("../administration/gestione_mercati.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "ricerca_sviluppo"){
		window.open("../administration/gestione_ricerca_sviluppo.asp","_self");
		return;
	}
	<!-- fine operazioni principali -->	
	
	
	<!-- operazioni news -->
	if(document.getElementById("operazione").value == "inserisci_news"){
		window.open("../administration/news/gestione_news_inserimento.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "modifica_news"){
		window.open("../administration/news/seleziona_modifica_news.asp","_self");
		return;
	}
	<!-- fine operazioni news -->
	
	
	<!-- operazioni ricerca e sviluppo -->
	
	<!-- visione -->	
	if(document.getElementById("operazione").value == "visione"){
		window.open("../administration/visione/gestione_visione.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "inserisci_visione"){
		window.open("../visione/gestione_visione_inserimento.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "modifica_visione"){
		window.open("../visione/gestione_visione_modifica.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "clienti_visione"){
		window.open("../visione/gestione_visione_inserimento_cliente.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "cancella_clienti_visione"){
		window.open("../visione/seleziona_cancella_visione_cliente.asp","_self");
		return;
	}
	<!-- fine visione -->
	
	
	<!-- laboratorio -->
	if(document.getElementById("operazione").value == "laboratorio"){
		window.open("../administration/laboratorio/gestione_laboratorio.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_laboratorio"){
		window.open("../laboratorio/gestione_laboratorio_inserimento.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "modifica_laboratorio"){
		window.open("../laboratorio/gestione_laboratorio_modifica.asp","_self");
		return;
	}	
	<!-- fine laboratorio -->
	
	<!-- partner universitari -->
	if(document.getElementById("operazione").value == "partner_univ"){
		window.open("../administration/partneruniv/gestione_partner_univ.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_partner_univ"){
		window.open("../partneruniv/gestione_partner_univ_inserimento.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "modifica_partner_univ"){
		window.open("../partneruniv/gestione_partner_univ_modifica.asp","_self");
		return;
	}	
	<!-- fine partner universitari -->
		
	<!-- progetti in corso -->
	if(document.getElementById("operazione").value == "progetti_corso"){
		window.open("../administration/progetticorso/gestione_progetti_corso.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_progetti_corso"){
		window.open("../progetticorso/gestione_progetti_corso_inserimento.asp","_self");
		return;
	}
	if(document.all("operazione").value == "modifica_progetti_corso"){
		window.open("../progetticorso/gestione_progetti_corso_modifica.asp","_self");
		return;
	}	
	<!-- fine progetti in corso -->
	
	<!-- fine operazioni ricerca e sviluppo -->
	
		
	
	<!-- operazioni mercati -->
	
	<!-- finanza -->
	if(document.getElementById("operazione").value == "finanza"){
		window.open("../administration/finanza/gestione_finanza.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_finanza"){
		window.open("../finanza/gestione_finanza_inserimento.asp","_self");
		return;
	}
	if(document.all("operazione").value == "modifica_finanza"){
		window.open("../finanza/gestione_finanza_modifica.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "inserisci_finanza_cliente"){
		window.open("../finanza/gestione_finanza_inserimento_cliente.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "cencella_finanza_cliente"){
		window.open("../finanza/seleziona_cancella_finanza_cliente.asp","_self");
		return;
	}
	<!-- fine finanza -->
	
	<!-- assicurazioni -->
	if(document.getElementById("operazione").value == "assicurazioni"){
		window.open("../administration/assicurazioni/gestione_assicurazioni.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_assicurazioni"){
		window.open("../assicurazioni/gestione_assicurazioni_inserimento.asp","_self");
		return;
	}
	if(document.all("operazione").value == "modifica_assicurazioni"){
		window.open("../assicurazioni/gestione_assicurazioni_modifica.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "inserisci_assicurazioni_cliente"){
		window.open("../assicurazioni/gestione_assicurazioni_inserimento_cliente.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "cencella_assicurazioni_cliente"){
		window.open("../assicurazioni/seleziona_cancella_assicurazioni_cliente.asp","_self");
		return;
	}
	<!-- fine assicurazioni -->
	
	<!-- telecomunicazioni -->
	if(document.getElementById("operazione").value == "telecomunicazioni"){
		window.open("../administration/telecomunicazioni/gestione_telecomunicazioni.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_telecomunicazioni"){
		window.open("../telecomunicazioni/gestione_telecomunicazioni_inserimento.asp","_self");
		return;
	}
	if(document.all("operazione").value == "modifica_telecomunicazioni"){
		window.open("../telecomunicazioni/gestione_telecomunicazioni_modifica.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "inserisci_telecomunicazioni_cliente"){
		window.open("../telecomunicazioni/gestione_telecomunicazioni_inserimento_cliente.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "cencella_telecomunicazioni_cliente"){
		window.open("../telecomunicazioni/seleziona_cancella_telecomunicazioni_cliente.asp","_self");
		return;
	}
	<!-- fine telecomunicazioni -->
	
	<!-- pubblica amministr. -->
	if(document.getElementById("operazione").value == "pubblica"){
		window.open("../administration/pubblica/gestione_pubblica.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_pubblica"){
		window.open("../pubblica/gestione_pubblica_inserimento.asp","_self");
		return;
	}
	if(document.all("operazione").value == "modifica_pubblica"){
		window.open("../pubblica/gestione_pubblica_modifica.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "inserisci_pubblica_cliente"){
		window.open("../pubblica/gestione_pubblica_inserimento_cliente.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "cencella_pubblica_cliente"){
		window.open("../pubblica/seleziona_cancella_pubblica_cliente.asp","_self");
		return;
	}
	<!-- fine pubblica amministr. -->
	
	<!-- trasporti -->
	if(document.getElementById("operazione").value == "trasporti"){
		window.open("../administration/trasporti/gestione_trasporti.asp","_self");
		return;
	}	
	if(document.getElementById("operazione").value == "inserisci_trasporti"){
		window.open("../trasporti/gestione_trasporti_inserimento.asp","_self");
		return;
	}
	if(document.all("operazione").value == "modifica_trasporti"){
		window.open("../trasporti/gestione_trasporti_modifica.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "inserisci_trasporti_cliente"){
		window.open("../trasporti/gestione_trasporti_inserimento_cliente.asp","_self");
		return;
	}
	if(document.getElementById("operazione").value == "cencella_trasporti_cliente"){
		window.open("../trasporti/seleziona_cancella_trasporti_cliente.asp","_self");
		return;
	}
	<!-- fine trasporti -->
	
	<!-- fine operazioni mercati -->
}




function verifica_inserimento(){
	
	if(document.getElementById("data").value == ""){
		alert("Compilare il campo data con il seguente formato 'gg/mm/yyyy'!");
		return false;
	}
	if(document.getElementById("titolo").value == ""){
		alert("Compilare il campo titolo!");
		return false;
	}
	if(document.getElementById("testo").value == ""){
		alert("Compilare il campo testo!");
		return false;
	}
}

function verifica_inserimento_posizione(){
	
	if(document.getElementById("data").value == ""){
		alert("Compilare il campo data con il seguente formato 'gg/mm/yyyy'!");
		return false;
	}
	if(document.getElementById("posizione").value == ""){
		alert("Compilare il campo posizione!");
		return false;
	}
	if(document.getElementById("testo").value == ""){
		alert("Compilare il campo testo!");
		return false;
	}
}

function avviso(){
	alert("CM Sistemi - Nome utente o password errati o mancanti!");
	document.getElementById("utente").value = "";
	document.getElementById("password").value = "";
	document.getElementById("utente").focus();
}

function conferma_cancella_cliente_finanza(id){
	var indirizzo = 'cancella_finanza_cliente.asp?id=' + id;
	var agree=confirm("sei sicuro di voler procedere con la cancellazione del cliente?");
	if(agree)
		window.location.replace(indirizzo);
}

function conferma_cancella_cliente_assicurazioni(id){
	var indirizzo = 'cancella_assicurazioni_cliente.asp?id=' + id;
	var agree=confirm("sei sicuro di voler procedere con la cancellazione del cliente?");
	if(agree)
		window.location.replace(indirizzo);
}

function conferma_cancella_cliente_telecomunicazioni(id){
	var indirizzo = 'cancella_telecomunicazioni_cliente.asp?id=' + id;
	var agree=confirm("sei sicuro di voler procedere con la cancellazione del cliente?");
	if(agree)
		window.location.replace(indirizzo);
}

function conferma_cancella_cliente_pubblica(id){
	var indirizzo = 'cancella_pubblica_cliente.asp?id=' + id;
	var agree=confirm("sei sicuro di voler procedere con la cancellazione del cliente?");
	if(agree)
		window.location.replace(indirizzo);
}

function conferma_cancella_cliente_trasporti(id){
	var indirizzo = 'cancella_trasporti_cliente.asp?id=' + id;
	var agree=confirm("sei sicuro di voler procedere con la cancellazione del cliente?");
	if(agree)
		window.location.replace(indirizzo);
}

function conferma(id){
	var indirizzo = 'cancella_news.asp?id=' + id;
	var agree=confirm("sei sicuro di voler procedere con la cancellazione delle news?");
	if(agree)
		window.location.replace(indirizzo);
}


function apri_sede(){
		window.open("sede.asp","Sede","top=0, height=360 width=400 left=0, menubar=no, status=no, toolbar=no, location=no, scrollbars=no, resizable=no");
}
	
//function checkfile(id){
	//var indirizzo = 'saveupload.asp?id=' + id;
		//window.location.replace(indirizzo);
	//}


function apri_grassetto(){
	var ins;
	var numero = document.getElementById("testo").value.length;
	if(ins = numero || numero == 0){
		document.getElementById("testo").value += "<b>";
		document.getElementById("testo").focus();
	}
}

function chiudi_grassetto(){
	var ins;
	var numero = document.getElementById("testo").value.length;
	if(ins = numero || numero == 0){
		document.getElementById("testo").value += "</b> ";
		document.getElementById("testo").focus();
	}
}

function apri_italic(){
	var ins;
	var numero = document.getElementById("testo").value.length;
	if(ins = numero || numero == 0){
		document.getElementById("testo").value += "<i>";
		document.getElementById("testo").focus();
	}
}

function chiudi_italic(){
	var ins;
	var numero = document.getElementById("testo").value.length;
	if(ins = numero || numero == 0){
		document.getElementById("testo").value += "</i> ";
		document.getElementById("testo").focus();
	}
}

function apri_underline(){
	var ins;
	var numero = document.getElementById("testo").value.length;
	if(ins = numero || numero == 0){
		document.getElementById("testo").value += "<u>";
		document.getElementById("testo").focus();
	}
}

function chiudi_underline(){
	var ins;
	var numero = document.getElementById("testo").value.length;
	if(ins = numero || numero == 0){
		document.getElementById("testo").value += "</u> ";
		document.getElementById("testo").focus();
	}
}

function pulisci(){
	document.getElementById("testo").value = "";
	document.getElementById("testo").focus();
}






<!-- sotto verificare quali utilizzare -->




function scbg(objRef, state) {
	objRef.style.backgroundColor = (1 == state) ? '#F3F3F8' : '#FFFFFF';
	return;
}

function cambia_colore(obj){
	//obj.style.color="#0066FF";
	obj.style.textDecoration="underline";
}

function resetta_colore(obj){
	//obj.style.color="#5D6B77";
	obj.style.textDecoration="none";
}

function cambia_colore_1(obj){
	obj.style.backgroundColor="#f1f1f1";
	//obj.style.textDecoration="underline";
}

function resetta_colore_1(obj){
	obj.style.backgroundColor="";
	obj.style.textDecoration="none";
}


function set_nuova_password(){
	window.open("set_nuova_password.php","_self");
}


function apri_operazioni_utente(){
	
	if(document.getElementById("operazioni").value == "seleziona" || document.getElementById("operazioni").value == "----------"){
		alert("Devi selezionare un operazione da eseguire");
		return;
	}
	if(document.getElementById("operazioni").value == "cambiopassword"){
		window.open("set_nuova_password.php","_self");
	}
	
	if(document.getElementById("operazioni").value == "link"){
		alert("Sezione in allestimento!");
		//window.open("link/operazioni.php","_self");
	}
}


function apri_cambia_password(){
	
	if(document.getElementById("nuovapassword").value == "" ){
		alert("Devi inserire la nuova password!");
		return;
	}
	expr = /\W/;
	var nuovapassword = document.getElementById("nuovapassword").value;
	if(expr.test(nuovapassword)){
		alert("Hai immesso dei caratteri non validi nella casella 'Nuova password' !");
		document.getElementById("nuovapassword").value = "";
		document.getElementById("nuovapassword").focus();
		return;
	}
	var confermapassword = document.getElementById("confermapassword").value;
	if(expr.test(confermapassword)){
		alert("Hai immesso dei caratteri non validi nella casella 'Conferma password' !");
		document.getElementById("confermapassword").value = "";
		document.getElementById("confermapassword").focus();
		return;
	}
	
	if(document.getElementById("nuovapassword").value != document.getElementById("confermapassword").value){
		alert("Il campo 'Nuova password' e 'Conferma password' devono essere uguali!");
		document.getElementById("nuovapassword").value = "";
		document.getElementById("confermapassword").value = "";
		document.getElementById("nuovapassword").focus();
		return;
	}
	
	window.open("cambia_password.php?password=" + nuovapassword,"_self");
}


function apri_admin(){
	if(document.getElementById("username").value == "" ){
		alert("Non hai inserito la tua username");
		document.getElementById("username").focus();
		return;
	}
	
	if(document.getElementById("password").value == "" ){
		alert("Non hai inserito la tua password");
		document.getElementById("password").focus();
		return;
	}
	
	var username = document.getElementById("username").value;
	var password = document.getElementById("password").value;
	
	window.open("admin.php?user=" + username + "&pwd=" + password,"_self");
}


function apri_operazioni_admin(){
	
	if(document.getElementById("operazioni").value == "seleziona" || document.getElementById("operazioni").value == "----------"){
		alert("Devi selezionare un operazione da eseguire");
		return;
	}
	
	if(document.getElementById("operazioni").value == "utenti"){
		alert("Servizio in allestimento");
		return;
	}
	
	window.open("../amministrazione/menu_operazioni_news.php","_self");
}


function apri_operazioni_admin_news(){
	
	if(document.getElementById("operazioni").value == "seleziona" || document.getElementById("operazioni").value == "----------"){
		alert("Devi selezionare un operazione da eseguire");
		return;
	}
	if(document.getElementById("operazioni").value == "inserisci"){
		window.location.reload("inserisci_news.php");
	}
	if(document.getElementById("operazioni").value == "cancella"){
		window.location.reload("cancella_news.php");
	}
}


function registra_news(){
	
	if(document.getElementById("titolo").value == ""){
		alert("Devi inserire il titolo della news");
		document.getElementById("titolo").focus();
		return;
	}
	
	if(document.getElementById("testo").value == ""){
		alert("Devi inserire il testo della news");
		document.getElementById("testo").focus();
		return;
	}
	
	if(document.getElementById("link").value == ""){
		alert("Devi inserire il link della news");
		document.getElementById("link").focus();
		return;
	}
	
	var titolo = document.getElementById("titolo").value;
	var testo = document.getElementById("testo").value;
	var link = document.getElementById("link").value;
	
	window.open("registra_news.php?titolo=" + escape(titolo) + "&testo=" + escape(testo) + "&link=" + escape(link),"_self");
	
}


function cancella_news(){
	var collezione =  document.getElementsByName("id_record");
	var id = 0;
	
	for (i = 0; i < collezione.length; i++){
		if(collezione[i].checked == true){
			
			id = collezione[i].value;
		}
	}
	
	window.open("elimina_news.php?id=" + id,"_self");
	
}


function apri_cancella_news(){
		window.location.reload("cancella_news.php");
}

function apri_home_utente(){
		window.open(root + "utente/operazioni_utente.php","_self");
}


function apri_check_registrati(){
		if(document.getElementById("email").value == ""){
			alert("Devi inserire l'indirizzo di email al quale inviare la password!");
			document.getElementById("email").focus();
			return;
		}
		if(document.getElementById("username").value == ""){
			alert("Devi inserire la username!");
			document.getElementById("username").focus();
			return;
		}
		expr = /\W/;
		var username = document.getElementById("username").value;
		if(expr.test(username)){
			alert("Hai immesso dei caratteri non validi nella casella 'Username' !");
			document.getElementById("username").value = "";
			document.getElementById("username").focus();
			return;
		}
		var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		var email = document.getElementById("email").value;
		if(!filter.test(email)){
			alert("Hai immesso dei caratteri non validi nella casella 'E-mail' !");
			document.getElementById("email").value = "";
			document.getElementById("email").focus();
			return;
		}
		
		var nome = document.getElementById("nome").value;
		var cognome = document.getElementById("cognome").value;
		var citta = document.getElementById("citta").value;
		var eta = document.getElementById("eta").value;
		var professione = document.getElementById("professione").value;
		var stringa = "nome=" + nome + "&cognome=" + cognome + "&citta=" + citta + "&eta=" + eta + "&professione=" + professione + "&email=" + email + "&username=" + username;
		window.open("riepilogo_registra_utente.php?" + stringa,"riepilogo","top=0, left=0, menubar=no, status=no, toolbar=no, location=no, scrollbar=no, resizable=no, width=350, height=300");
}


function registra_utente(){
	var nome = document.getElementById("nome").value;
	var cognome = document.getElementById("cognome").value;
	var citta = document.getElementById("citta").value;
	var eta = document.getElementById("eta").value;
	var professione = document.getElementById("professione").value;
	var email = document.getElementById("email").value;
	var username = document.getElementById("username").value;
	var stringa = "nome=" + nome + "&cognome=" + cognome + "&citta=" + citta + "&eta=" + eta + "&professione=" + professione + "&email=" + email + "&username=" + username;
	window.open("registra_utente.php?" + stringa,"_self");
}

function esito_iscrizione(esito){
	if(esito == "1"){
		apri_home();
	}
	if(esito == "0"){
		apri_registrati();
	}
}


function apri_richiedi_password(){
		var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		var email = document.getElementById("email").value;
		if(!filter.test(email)){
			alert("Hai immesso dei caratteri non validi nella casella 'E-mail' !");
			document.getElementById("email").value = "";
			document.getElementById("email").focus();
			return;
		}
		window.open("memo_password.php?email=" + email,"_self");
}


function apri_operazioni(){
		window.open("operazioni_admin.php","_self");
}


function apri_operazioni_news(){
		window.open("menu_operazioni_news.php","_self");
}


function apri_inserisci_news(){
		window.location.reload("inserisci_news.php");
}


function apri_msg(){
		alert("Sezione in allestimento!");
}


<!-- fine amministrazione & gestione -->


<!-- pagini comuni -->


function apri_mappa_int(mittente){
		window.open(root + "mappa.php?mittente=" + mittente,"_self");
}


function apri_termini_condizioni_int(){
		window.open("../termini_condizioni.php","_self");
}


function apri_privacy_int(){
		window.open("../privacy.php","_self");
}


<!-- fine pagini comuni -->


<!-- home page -->


function apri_chi_siamo(){
		window.open("chi_siamo.php","_self");
}


function apri_obiettivi(){
		window.open("obiettivi.php","_self");
}


function apri_partnership(){
		window.open("partnership.php","_self");
}


function apri_news(){
		window.location.reload("news.php");
}


function apri_registrati(){
		window.open("registrati.php","_self");
}


function apri_contattaci(){
		window.open("contattaci.php","_self");
}


function apri_ricordami_password(){
		window.open("ricordami_password.php","_self");
}


function apri_termini_condizioni(mittente){
		window.open(root + "termini_condizioni.php?mittente=" + mittente,"_self");
}


function apri_privacy(mittente){
		window.open(root + "privacy.php?mittente=" + mittente,"_self");
}


function apri_mappa(mittente){
		window.open(root + "mappa.php?mittente=" + mittente,"_self");
}


function apri_legge(){
		window.open("legge.php","legge","top=0, left=0, menubar=no, status=no, toolbar=no, location=no, scrollbars=yes, resizable=no, width=350, height=400");
}


function apri_magicpc(){
		window.open("http://www.magicpc.it","magicpc","top=0, left=0, menubar=yes, status=yes, toolbar=yes, location=yes, scrollbars=yes, resizable=yes, width=800, height=550");
}

function apri_link(link){
		window.open(link,"news_window","top=0, left=0, menubar=yes, status=yes, toolbar=yes, location=yes, scrollbars=yes, resizable=yes, width=800, height=550");
}


<!-- fine home -->


<!-- tecnologie -->


function apri_office_automation(){
		window.open(root + "tecnologie/office_automation.php","_self");
}


function apri_app_intranet(){
		window.open(root + "tecnologie/app_intranet.php","_self");
}


function apri_app_internet(){
		window.open(root + "tecnologie/app_internet.php","_self");
}


function apri_html_dhtml(){
		window.open(root + "tecnologie/html_dhtml.php","_self");
}


function apri_macro_flash(){
		window.open(root + "tecnologie/macro_flash.php","_self");
}


<!-- fine tecnologie -->


<!-- operazioni su finestre -->


function apri_home(){
		
		window.open(root + "home.php","_self");
}


function apri_office_automation_mappa(){
		window.open("tecnologie/office_automation.php","_self");
}


function apri_app_intranet_mappa(){
		window.open("tecnologie/app_intranet.php","_self");
}


function apri_app_internet_mappa(){
		window.open("tecnologie/app_internet.php","_self");
}


function apri_html_dhtml_mappa(){
		window.open("tecnologie/html_dhtml.php","_self");
}


function apri_macro_flash_mappa(){
		window.open("tecnologie/macro_flash.php","_self");
}


<!-- fine operazioni su finestre -->


<!-- finestre advertisement -->

function apri_marchio(){
		window.open(root + "advertisement/marchio.php","_self");
}

function apri_logotipo(){
		window.open(root + "advertisement/logotipo.php","_self");
}

function apri_audio(){
		window.open(root + "advertisement/audio.php","_self");
}

function apri_colori(){
		window.open(root + "advertisement/colori.php","_self");
}

function apri_biglietto(){
		window.open(root + "advertisement/biglietto.php","_self");
}

function apri_carta_intestata(){
		window.open(root + "advertisement/carta_intestata.php","_self");
}

function apri_presentazioni(){
		window.open(root + "advertisement/presentazione.php","_self");
}

function apri_brochure(){
		window.open(root + "advertisement/brochure.php","_self");
}

function apri_raimbow(){
		window.open(root + "advertisement/raimbow.php","raimbow","top=280, left=310, menubar=no, status=no, toolbar=no, location=no, scrollbars=no, resizable=no, width=145, height=280");
}

function apri_font_1(){
		window.open(root + "advertisement/font_1.php","_self");
}

function apri_font_2(){
		window.open(root + "advertisement/font_2.php","_self");
}

function apri_font_3(){
		window.open(root + "advertisement/font_3.php","_self");
}

function apri_font_4(){
		window.open(root + "advertisement/font_4.php","_self");
}

function apri_font_5(){
		window.open(root + "advertisement/font_5.php","_self");
}

function apri_biglietto_img(){
		window.open(root + "advertisement/biglietto_img.php","biglietto","top=150, left=150, menubar=no, status=no, toolbar=no, location=no, scrollbars=no, resizable=no, width=205, height=380");
}

function apri_logo(){
		window.open(root + "advertisement/logo.php","logo","top=280, left=310, menubar=no, status=no, toolbar=no, location=no, scrollbars=no, resizable=no, width=230, height=150");
}

<!-- fine advertisememnt -->


<!-- finestre infrastructure -->

function apri_networking(){
		window.open(root + "infrastructure/networking.php","_self");
}

function apri_sicurezza(){
		window.open(root + "infrastructure/sicurezza.php","_self");
}

function apri_consulenza(){
		window.open(root + "infrastructure/consulenza.php","_self");
}

function apri_assistenza_tecnica(){
		window.open(root + "infrastructure/assistenza_tecnica.php","_self");
}

<!-- fine infrastructure -->


<!-- finestre showroom -->

function apri_prezzobasso(){
		window.open(root + "showroom/prezzobasso.php","_self");
}

function apri_magicpc(){
		window.open(root + "showroom/magicpc.php","_self");
}

function apri_otticavellini(){
		window.open(root + "showroom/otticavellini.php","_self");
}

function apri_numeroutile(){
		window.open(root + "showroom/numeroutile.php","_self");
}

function apri_progetti(){
		window.open(root + "showroom/progetti.php","_self");
}

function apri_siti_commerciali(){
		window.open(root + "showroom/siti_commerciali.php","_self");
}

function apri_siti_aziendali(){
		window.open(root + "showroom/siti_aziendali.php","_self");
}

function apri_siti_informativi(){
		window.open(root + "showroom/siti_informativi.php","_self");
}

function apri_siti_vetrina(){
		window.open(root + "showroom/siti_vetrina.php","_self");
}
<!-- fine showroom -->

<!-- effetti testo -->

function change_color(obj){
		obj.style.backgroundColor = "#999999";
		obj.style.color = "#ffffff";
}


function reset_color(obj){
		obj.style.backgroundColor = "#ece9d8";
		obj.style.color = "#000000";
}
	
function incrementa(file){
		var objiframe = document.getElementById("incrementa");
		objiframe.setAttribute("src","incrementa.php?file=" + file);
		setTimeout("aggiorna()",5000);
}
	
function aggiorna(){
		location.reload(true);
}
<!-- fine effetti testo -->

<!-- finestre showroom -->

function apri_prezzobasso(){
		window.open(root + "showroom/prezzobasso.php","_self");
}

function apri_magicpc(){
		window.open(root + "showroom/magicpc.php","_self");
}

function apri_otticavellini(){
		window.open(root + "showroom/otticavellini.php","_self");
}

function apri_siti_commerciali(){
		window.open(root + "showroom/siti_commerciali.php","_self");
}

function apri_siti_aziendali(){
		window.open(root + "showroom/siti_aziendali.php","_self");
}

function apri_siti_intranet(){
		window.open(root + "showroom/siti_intranet.php","_self");
}

function apri_siti_vetrina(){
		window.open(root + "showroom/siti_vetrina.php","_self");
}
<!-- fine showroom -->


<!-- finestre link -->

function apri_sviluppo(){
		window.open(root + "link/sviluppo.php","_self");
}

function apri_grafica_tutorial(){
		window.open(root + "link/grafica_tutorial.php","_self");
}

function apri_sistemi(){
		window.open(root + "link/sistemi.php","_self");
}

function apri_motori(){
		window.open(root + "link/motori.php","_self");
}

function apri_driver(){
		window.open(root + "link/driver.php","_self");
}

<!-- fine link -->