function svuota(ID)
 {
 var text = document.getElementById(ID);
 if (text.value == "Nome*" | text.value == "Cognome*" | text.value == "Indirizzo*" | text.value == "Cap*" | text.value == "Email*" | text.value == "Telefono"| text.value == "Telefono*"  | text.value == "nome cognome" | text.value == "indirizzo email")
 text.value = "";
 else
 text.value = text.value
 }

function popola(ID)
 {
 var text = document.getElementById(ID);

 if (ID == "nome" & text.value == "")
 text.value = "Nome*";
 if (ID == "email" & text.value == "")
 text.value = "Email*";
 if (ID == "cognome" & text.value == "")
 text.value = "Cognome*";
 if (ID == "indirizzo" & text.value == "")
 text.value = "Indirizzo*";
 if (ID == "telefono" & text.value == "")
 text.value = "Telefono*";
 if (ID == "telefono2" & text.value == "")
 text.value = "Telefono";
 if (ID == "cap" & text.value == "")
 text.value = "Cap*";
 if (ID == "nome-cognome" & text.value == "")
 text.value = "nome cognome";
 if (ID == "indirizzo-email" & text.value == "")
 text.value = "indirizzo email";
 
 }

function svuotaTXT(ID)
 {
 var text = document.getElementById(ID);
 if (text.innerHTML == "Messaggio*" )
 text.innerHTML = "";
 else
 text.innerHTML = text.innerHTML
 }

function popolaTXT(ID)
 {
 var text = document.getElementById(ID);

 if (ID == "messaggio" & text.innerHTML == "")
 text.innerHTML = "Messaggio*";
 
 }
function scrivi_animazione_piena(movie,w,h) {
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='"+w+"' height='"+h+"' style=margin-left:-3px>");
	document.write("<param name='allowScriptAccess' value='sameDomain' />");
	document.write("<param name='movie' value='"+movie+"'/>");
	document.write("<param name='quality' value='high'/>");
	document.write("<embed src='"+movie+"' width='"+w+"' height='"+h+"' quality='high' name='comicradio' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}
