<!--
function startloading()
{

document.getElementById('loadingDivName').style.display='block';

setTimeout("document.getElementById('loadingDivName').style.display='none';",3000);


}

function followlink(page,subpage,lang)
{
	
xajax_loadpage(page,subpage,lang); 
document.getElementById('loading').style.display='block';
	
	
}

function searchboxFocus(){
document.getElementById("roundsearch").className="searching";
if(document.getElementById("rstext").value=="Ricerca"){
document.getElementById("rstext").value="";
}
}
function searchboxBlur(){
document.getElementById("roundsearch").className="";
if(document.getElementById("rstext").value==""){
document.getElementById("rstext").value="Ricerca";
}
}

function showTip(evt,elem,text)
{

 
 var PosX=(evt.pageX || (window.event.clientX + document.body.scrollLeft));
 var PosY=(evt.pageY || (window.event.clientY+ document.body.scrollTop));
 
 var newDiv = top.document.createElement('div');
 
 newDiv.id = 'toolTip';
 document.getElementsByTagName('body')[0].appendChild(newDiv);
 
 newDiv.innerHTML = "<p><strong><em>"+text+"</em></strong></p>";
 newDiv.style.position='absolute';
 newDiv.style.top=parseInt(PosY+10)+'px';
 newDiv.style.left=parseInt(PosX+10)+'px';
 newDiv.className='tipDiv';

}



function hideTip()
{
 var tip=document.getElementById('toolTip');
 if (tip)
 {
  document.getElementsByTagName('body')[0].removeChild(tip);
 }
}



function openwin(name,address,width,height,top,left)
{

if (top<0 || left<0)
{
 top=Math.round((parseInt(document.body.clientHeight)-parseInt(height))/2);
 left=Math.round((parseInt(document.body.clientWidth)-parseInt(width))/2)
}

return window.open(address,name,'width='+width+',height='+height+',status=no,scrollbars=no,resizable=no,toolbar=no,left='+left+',top='+top);

}




-->