// JavaScript Explora Village
function affiche(image,Largeur,Hauteur) 
{
var margeinterne = 40;
var margeexterne = 100;
var w = Largeur + margeinterne;
var h = Hauteur + margeinterne;
window.open(image,'_blank','resizable=yes,scrollbars=yes,menubar=no,location=no,top=' + margeexterne + ',left=' + margeexterne + ',innerWidth=' + w + ',innerHeight=' + h + ',width=' + w + ',height=' + h);
}

function survol(id,on)
{
var i = new Image();
i = document.getElementById(id);
switch (id)
	{
	case "b0" : i.src = (on) ? "bouton0-.gif" : "bouton0.gif"; break;
	case "b1" : i.src = (on) ? "bouton1-.gif" : "bouton1.gif"; break;
	case "b2" : i.src = (on) ? "bouton2-.gif" : "bouton2.gif"; break;
	case "b3" : i.src = (on) ? "bouton3-.gif" : "bouton3.gif"; break;
	case "b4" : i.src = (on) ? "bouton4-.gif" : "bouton4.gif"; break;
	case "email" : i.src = (on) ? "email-.jpg" : "email.jpg"; break;
	case "it" : i.src = (on) ? "it-.gif" : "it.gif"; break;
	case "fr" : i.src = (on) ? "fr-.gif" : "fr.gif"; break;
	case "en" : i.src = (on) ? "en-.gif" : "en.gif"; break;
	}
}

function survolit(id,on)
{
var i = new Image();
i = document.getElementById(id);
switch (id)
	{
	case "b0" : i.src = (on) ? "bouton0it-.gif" : "bouton0it.gif"; break;
	case "b1" : i.src = (on) ? "bouton1-.gif" : "bouton1.gif"; break;
	case "b2" : i.src = (on) ? "bouton2-.gif" : "bouton2.gif"; break;
	case "b3" : i.src = (on) ? "bouton3-.gif" : "bouton3.gif"; break;
	case "b4" : i.src = (on) ? "bouton4it-.gif" : "bouton4it.gif"; break;
	}
}

function survolen(id,on)
{
var i = new Image();
i = document.getElementById(id);
switch (id)
	{
	case "b0" : i.src = (on) ? "bouton0en-.gif" : "bouton0en.gif"; break;
	case "b1" : i.src = (on) ? "bouton1-.gif" : "bouton1.gif"; break;
	case "b2" : i.src = (on) ? "bouton2-.gif" : "bouton2.gif"; break;
	case "b3" : i.src = (on) ? "bouton3-.gif" : "bouton3.gif"; break;
	case "b4" : i.src = (on) ? "bouton4-.gif" : "bouton4.gif"; break;
	}
}

function mel()
{
var eml = "nosybequad" + "@" + "moov" + "." + "mg"; // Il faudrait enlever les espaces accidentels....
var btn = '<img border="0" src="email.jpg" id="email" onMouseOver="survol(this.id,true)" onMouseOut="survol(this.id,false)" title=" Cliquez pour nous contacter par email " width="225" height="36">'
//var ico = '<img border="0" src="emailnew.gif" alt="email" width="30" height="16">';
document.write ('<a ' + 'hr' + 'ef' + '="&#109;a' + 'i&#108;' + '&#116;o:' + eml + '?subject=En provenance de normada.com/explora' + '">' + btn + '</a>');
}
function s1() {document.write('<span style="display: none;">')}
function s2() {document.write('</span>')}

