function MJ_OpenMenu(MJ)
{
	document.getElementById("MJ_" + MJ).className = "MJ_VisibleLink";
}
function MJ_CloseMenu(MJ)
{
	document.getElementById("MJ_" + MJ).className = "MJ_HiddenLink";
}

function apri(pagina){


window.open(pagina);

}

function apri(pagina){


window.open(pagina);

}

function carica_iframe(pagina,apertura){
        if (apertura == "new"){

        window.open(pagina);

        }
        else
        {
       document.getElementById("iframe").src = pagina;




        }




}

function sivamtime() {
  now=new Date();
  hour=now.getHours();
  min=now.getMinutes();
  sec=now.getSeconds();

if (min<=9) { min="0"+min; }
if (sec<=9) { sec="0"+sec; }
if (hour>12) { hour=hour-12; add="pm"; }
else { hour=hour; add="am"; }
if (hour==12) { add="pm"; }

 document.getElementById("ora").value =((hour<=9) ? "0"+hour : hour) + ":" + min + ":" + sec + " " + add;

setTimeout("sivamtime()", 1000);
}
window.onload = sivamtime;



function start_scrolldelay(){
//alert("esco");
 document.getElementById("marquee").scrollDelay="100";

}

function stop_scrolldelay(){

   document.getElementById("marquee").scrollDelay="2000";
   //alert("entro");

}



function Button1_onclick(nome) {
//alert(nome);
//document.getElementById("Panel1").className = "visibilie";
document.getElementById("Panel1").style.visibility = "visible";
document.getElementById("if1").src=nome;
document.getElementById("if1").style.visibility = "visible";


}

function chiudi(){
document.getElementById("Panel1").style.visibility = "hidden";


}
function chiudi_iframe() {

document.getElementById("if1").style.visibility = "hidden";



}


function iscriviti(){



  window.open("http://www.geoweb.it/iscrizionedebug/iscrizione.asp");



}

function contaclick(id) {


    var objXmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
    objXmlHTTP.Open("POST", "http://ex.geoweb.it/contaclick/aumentaclick.asp?id=" + id, false);
    objXmlHTTP.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");

    objXmlHTTP.Send();
    //risp = objXmlHTTP.responseText; 



}