	var isNetscape = ( navigator.appName == "Netscape" );

	function setLinkCursor( item, isMouseOver ) {
		if ( isMouseOver ) {
			if ( isNetscape )
				item.style.cursor = 'pointer';
			else
				item.style.cursor = 'hand';
		} else
			item.style.cursor = 'hand';
	}
	
function menuItemOnMouseOver( item , color, color2) {
	item.style.color 		= color; 		// changes text color
	item.style.background	= color2;
	
	setLinkCursor( item, true );
}

function menuItemOnMouseOut( item, color , color2) {
	setLinkCursor( item, false );
	item.style.background= color2;
	item.style.color = color;
}


function goToAction( page ) {
	window.location = page;
}

function window_open()
{
	var newWindow;
	var urlstring = 'images/Calendar.htm'
	newWindow = window.open(urlstring,'','height=200,width=280,toolbar=no,minimize=no,status=no,memubar=no,location=no,scrollbars=no')
}
function window_open2()
{
	var newWindow;
	var urlstring = 'images/Calendar2.htm'
	newWindow = window.open(urlstring,'','height=200,width=280,toolbar=no,minimize=no,status=no,memubar=no,location=no,scrollbars=no')
}

function popUp(img){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,10);
  }
}
function viewFoto(img){
  largh=foto1.width+20;
  altez=foto1.height+20;
  stringa="width="+largh+",height="+altez;
  finestra=window.open(img,"img1",stringa);



}

function closeWindow(){

finestra=window.open("Please wait ...","img1",'width=20, height=20');


	if ( finestra != null )
		finestra.close();
}