// JavaScript Document




// Google Internal Site Search script II- By JavaScriptKit.com (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

function Gsitesearch(curobj){
var domainroot=curobj.domainroot.value
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}



var checkobj
function Menu(id)
{
    var e = document.getElementById(id);
    var a = document.getElementById("MENU").getElementsByTagName("span");
    if (e.style.display != "Block")
    {
        for (var i=0; i<a.length; i++)
        {
            if (a[i].className == "VOCI")
            {
                a[i].style.display = "None";
            }
        }
        e.style.display = "Block";
    }
    else
    {
        e.style.display = "None";
    }
}

function agreesubmit(el){
checkobj=el
if (document.all||document.getElementById){
	var cim;
	cim = document.getElementById("submit");
	cim.disabled=!checkobj.checked;}
}

function defaultagree(el){
if (!document.all&&!document.getElementById){
if (window.checkobj&&checkobj.checked)
return true
else{alert("Please read/accept terms to submit form")
return false}
}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
	}

function gino() {
	dataora=new Date();
	//document.write("ciao pirla<br>", dataora);
	document.write(dataora.getDate(),"-",dataora.getMonth()+1,"-",dataora.getYear()+1900," Ora:",dataora.getHours(),":",dataora.getMinutes());
}

function pippo(){
	alert("Please read/accept terms to submit form");
}

function indietro(){
		history.go(-1);
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}


