<!--
function verif_list(id) {
if (id != 0)
	return true;
}



function PopupCentrer(page,largeur,hauteur,options,nom)
	{
	var top=(screen.height-hauteur)/2;
	var left=(screen.width-largeur)/2;
	window.open(page,nom,"top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}


function changer(ImgName, ImgTitle) 
{
if (ImgName) {
document.image.src = "arts/galerie/img/" + ImgName + ".jpg";
	if (ImgTitle) {
	document.image.title = ImgTitle;
	} else
	document.image.title = '';
}
}


function write_mail(nom, adresse, style_class)
{
			var dom1 = 'temps';
			var dom2 = 'danse14';
			var tld = '.fr';
			var ml = adresse + '@' + dom1 + dom2 + tld;
			
			if ( nom == '' )
				nom = ml;
				
			document.write( '<a href="mai' + 'lto:' + ml + '" class="' + style_class + '">' + nom +'</a>');
}


// Example:
// simplePreload( '01.gif', '02.gif' ); 
function simplePreload()
{ 
  var args = simplePreload.arguments;
  document.imageArray = new Array(args.length);
  for(var i=0; i<args.length; i++)
  {
    document.imageArray[i] = new Image;
    document.imageArray[i].src = args[i];
  }
}

function switchImage(imgName, imgSrc) 
{
  if (document.images)
  {
    if (imgSrc != "none")
    {
      document.images[imgName].src = imgSrc;
    }
  }
}

//-->
