function m_over(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="white";
	x.event.srcElement.style.color = "#338cd9";
	x.event.srcElement.style.cursor = "hand";
}

function m_out(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="#338cd9";
	x.event.srcElement.style.color = "white";
	x.event.srcElement.style.cursor = "default";
}

function a_over(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="#338cd9";
	x.event.srcElement.style.color = "white";
	x.event.srcElement.style.cursor = "hand";
}

function a_out(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="white";
	x.event.srcElement.style.color = "#338cd9";
	x.event.srcElement.style.cursor = "default";
}

function m_click(dest) 
{
	window.navigate(dest);
}


function n_over(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="#338cd9";
	x.event.srcElement.style.color = "white";
	x.event.srcElement.style.cursor = "hand";
}

function n_out(x) 
{
	if(x == null)
		x= window;
	x.event.srcElement.style.background="white";
	x.event.srcElement.style.color = "#338cd9";
	x.event.srcElement.style.cursor = "default";
}

function handleMouseover() {
	eSrc = window.event.srcElement;
	eSrcTag=eSrc.tagName.toUpperCase();
	//if (eSrcTag == "A") eSrc.style.textDecoration = "underline";
}

function handleMouseout() {
	eSrc = window.event.srcElement;
	eSrcTag=eSrc.tagName.toUpperCase();
	//if (eSrcTag == "A") eSrc.style.textDecoration = "";
}

function openDialogGrafici(URL)
{
	 myWin = window.open(URL,'test','resizable=no,status=no,toolbar=no,location=no,width=600,height=360');
}

function openDialogReport(URL)
{
	 myWin = window.open(URL,'test','resizable=yes,status=no,toolbar=yes,location=no,scrollbars=yes,width=530,height=580');
}

document.onmouseover=handleMouseover;
document.onmouseout=handleMouseout;

window.onload=window_onload;

function window_onload()
{
	//var title = top.document.all("title");
	
	//if (title != null)
	//{
	//	title.filters[0].Apply(); 
	//	title.innerHTML = document.title; 
	//	title.filters[0].Play(); 
	//}	
}
