function getStyleObject(objectId) { // checkW3C DOM, then MSIE 4, then NN 4. // if(document.getElementById && document.getElementById(objectId)) { return document.getElementById(objectId).style; } else if (document.all && document.all(objectId)) { return document.all(objectId).style; } else if (document.layers && document.layers[objectId]) { return document.layers[objectId]; } else { return false; } } function changeObjectVisibility(objectId, newVisibility) { // first get a reference to the cross-browser style object // and make sure the object exists var styleObject = getStyleObject(objectId); if(styleObject) { styleObject.visibility = newVisibility; return true; } else { // we couldn't find the object, so we can't change its visibility return false; } } function go() { box = document.FORM.SForm; codice = document.FORM.codice.value; destination = box.options[box.selectedIndex].value; if (destination) location.href = destination + '&codice=' + codice; } function CSClickReturn () { var bAgent = window.navigator.userAgent; var bAppName = window.navigator.appName; if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0)) return true; // dont follow link else return false; // dont follow link } CSStopExecution = false; function CSAction(array) { return CSAction2(CSAct, array); } function CSAction2(fct, array) { var result; for (var i=0;i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i= 0){ document.hidden_params.subject.value = escape(document.hidden_params.oggetto.value); document.hidden_params.body.value = "Navigando su Internet ho trovato un sito interessante che parla, in maniera chiara, di ansia e di depressione. \n\r Penso che ti possa interessare e perci˜ te lo segnalo. \n\r Lo trovi a questo indirizzo: " + link + " \n\r\n\r Cordialmente win."; formManager('hidden_params','submit()'); } else { document.location.href="mailto:?body=Navigando su Internet ho trovato un sito interessante che parla, in maniera chiara, di ansia e di depressione.\x0D\x0APenso che ti possa interessare e perci˜ te lo segnalo.\x0D\x0ALo trovi a questo indirizzo: " + link + "\x0D\x0A\x0D\x0ACordialmente.&subject="+escape(eval("findObj('oggetto').value"))+"&"; } }