        if ((navigator.userAgent.indexOf("Mac") != -1))  
                        document.write("<link rel='stylesheet' href='/css/mac_ie.css'>")  
if ((navigator.userAgent.indexOf("Linux") != -1))  
                        document.write("<link rel='stylesheet' href='/css/pc.css'>")     
if (navigator.userAgent.indexOf('Win') != -1){  
                        if (navigator.appName.indexOf('Netscape') != -1) { 
                                document.write("<link rel='stylesheet' href='/css/pc.css'>") 
                                } 
                                else {  
                                        document.write("<link rel='stylesheet' href='/css/pc_ie.css'>") 
                                } 
                        } 

function oggi()
{
	var  d  = new Date ();
	var gs  = d.getDay();
	var gg  = d.getDate();
	var mm  = d.getMonth()+1;
	var aa  = d.getFullYear();
	var hh  = d.getHours();
	var min = d.getMinutes();
	
	var giorni = new Array("Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato");
	var mesi = new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto","Settembre",
						"Ottobre","Novembre","Dicembre");

	if (gg < 10)
		gg = "0"+gg;

	if (mm < 10)
		mm = "0"+mm;

	if (hh < 10)
		hh = "0"+hh;

	if (min < 10)
		min = "0"+min;

	document.write (giorni[gs]+ " " +gg+" "+mesi[mm-1]+" "+aa+"  " +hh+ ":" +min);
	


}

  var bookmarkurl="http://www.umbriaonline.com";
  var bookmarktitle="Umbria Online";

  function addbookmark(){
     if (document.all)
        window.external.AddFavorite(bookmarkurl,bookmarktitle);
     else
        alert("ATTENZIONE: questa funzionalità è attiva solo con browsers di tipo Internet Explorer; " +
              "se si utilizza un browser Netscape è possibile aggiungere velocemente l'indirizzo ai " +
              "preferiti utilizzando la combinazione di tasti CTRL + D");
  }
	function proponi(){
window.open('popposta.phtml','','menubar=no,location=no,toolbar=no,status=no,scrollbars=yes,resizable=no,width=450,height=400')
}

function images(nome, wid, hei){
window.open('/images/'+nome,'','menubar=no,location=no,toolbar=no,status=no,scrollbars=auto,resizable=no,width='+wid+', height='+hei)
}

function popitup(url)
{
	newwindow=window.open(url,'name','menubar=no,location=no,toolbar=no,status=no,scrollbars=yes');
	if (window.focus) {newwindow.focus()}
}
function imgpopitup(url)
{
	newwindow=window.open(url,'name','height=399,width=320');
	if (window.focus) {newwindow.focus()}
}


var messaggio="Copyright © SCG Business Consulting Sas - Tutti i Diritti Riservati.";
function clicca(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(messaggio);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(messaggio);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=clicca;
 

