<!--
function rimozione(URL){
var answer = confirm ("Siete sicuri di voler eliminare?")
if (answer)
window.location=URL
}
function domanda(URL,TESTO){
var answer = confirm (TESTO)
if (answer) window.location=URL
}
function domanda_stato_user(URL,TESTO){
var answer = confirm (TESTO)
if (answer) {
  var answer2= confirm("Volete che il sito avvisi l'utente della cambiamento? \n(Ok = Si)  (Annulla = No)")
  if (answer2)  window.location=URL
	else window.location=URL+'&noninviaremail=true'
}


}
function popup(URL) {
  var newwin= window.open(URL,'','width=583,height=530,scrollbars=yes,resizable=yes')
}
function bigpopup(URL) {
  var newbigwin= window.open(URL,'BigPopUp','width =788,height=530,scrollbars=yes,resizable=yes')
}


function adminpage() {
  adminwindow('admin/')
}
function passwordlostpage(url) {
 adminwindow(url)
}
function adminwindow(url) {
  var newwin= window.open(url,'Admin','width=800,height=600,resizable=yes,scrollbars=yes')
}

function inizio_invio_newsletter(URL) {
  var new_window= window.open(URL,'NewsletterInvio','width=583,height=530,scrollbars=no,resizable=no')
  window.location='index.php'
}


function show(id,testo)
{
	el = document.getElementById(id);
	if (el.style.display == 'none')
	{
		el.style.display = '';
		el = document.getElementById('more' + id);
		el.innerHTML = testo;
	} else {
		el.style.display = 'none';
		el = document.getElementById('more' + id);
		el.innerHTML = testo;
	}
}

function writeFlash(movie_url,width,height,id,bgcolor,opaque){
	s = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+id+'" align="middle">';
	s+= '<param name="allowScriptAccess" value="sameDomain" />';
	s+= '<param name="movie" value="'+movie_url+'" />';
	s+= '<param name="quality" value="high" />';
	s+= '<param name="menu" value="false" />';
	s+= '<param name="bgcolor" value="'+bgcolor+'" />';
	s+= '<param name="wmode" value="'+opaque+'" />';
	s+= '<embed src="'+movie_url+'" quality="high" bgcolor="'+bgcolor+'" menu="false" width="'+width+'" height="'+height+'" wmode="'+opaque+'" name="'+id+'" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	s+= '</object>';
	document.write(s);
}

// --> 
