function pully(pull) {
indirizzo = (pull.elenco.options[pull.elenco.selectedIndex].value);
window.open(indirizzo);
}
var preferiti="http://www.digart.net";
var titolo="digart.net";
function InserisciPreferiti()
{
if(document.all)
window.external.AddFavorite(preferiti,titolo);
}


function testt(n, d) { //v3.0
  var p,i,x;  
  if(!d) d=document; 
  if((p=n.indexOf("?"))>0&&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<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=testo2(n,d.layers[i].document);
return x;
}

function tes(objName,x,newText) { 

  var obj = testt(objName); 
  if (obj) obj.value = newText;
}


var testo2="visibility: hidden"

function traduci(tipo) 
{
if (tipo!=1)
 {
  window.open("http://translate.google.com/translate_c?hl=" + cbotraduci.options[cbotraduci.selectedIndex].value + "&sl=it&u=" + document.location, "google");
 }
 else
 {
  window.open("http://translate.google.com/translate_c?hl=en&sl=it&u=" + document.location, "google");
 }
}

function open_window(url) 
{
mywin = window.open(url,'window','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=386,height=300');
}


function Controlla()
{
if (document.CDOEMAIL.Address.value=="")
{
alert("E' necessario inserire Una E-Mail");
return false;
}
else 
if  (document.CDOEMAIL.Address.value.indexOf("@") == -1 )
{
alert("E-Mail non valida ");
return false;
}
return true;
}


function openWindow(url) {
  popupWin = window.open(url,'new_page','width=400,height=400')
}

function SetStatus() {
window.status = "digart.net";
setTimeout("SetStatus()", 100);
}

function down(url) {
window.open(url,'url','width=380,height=110')
}
