function agrandir() {
  false;
}

function opennewwindow(page, fenetre, hauteur, largeur) {
options='height='+hauteur+',width='+largeur+',left=2, top=2,toolbar=no,scrollbars=yes';
newwindow=window.open(page, '_blank',options); 
}

function affichemaxi(chemin,couleur)
	{
	Imageslim = new Image;
	Imageslim.src = chemin;
	titre='Hamila DutyFree';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0,height=600,width=550,left=10, top=10');
	html = '<HTML><HEAD><TITLE>'+titre+'</TITLE><link href="../../styles/styles.css" rel="stylesheet" type="text/css"><link href="../../styles/style_body.css" rel="stylesheet" type="text/css"></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><table width="100%" height="100%" cellspacing=0 cellpadding=0><tr><td align="center" valign="middle">';
	html =html+'<table border=0 cellspacing=0 cellpadding=0 align=center><tr><td height="60" background="../../images/bg_header.gif"><img src="../../images/logo.gif" width="125" height="38" hspace="15"></td></tr><tr><td class="content_bloc"><table width="100%"  border="0" cellspacing="0" cellpadding="0"><tr><td class="picture_gr"><IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest ></td></tr></table></td></tr>';
	html=html+'<tr><td><table width="100%" cellspacing=0 cellpadding=0><tr><td align="right" height="25" class="footer_pop"><a href="#" onClick="javascript:window.close()" class="link_footer"><img src="../../images/close.gif" width="14" height="9" border="0" align="absmiddle">Fermer</a></td></tr></table></td></tr>';
	html=html+'</table></td></tr></table>';
	html=html+'</BODY></HTML>';
	
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close();
	}

function Verifmail()
{

	adresse = document.mailing.email.value;
	var place = adresse.indexOf("@",1);
	var point = adresse.indexOf(".",place+1);
	if ((place > -1)&&(adresse.length >2)&&(point > 1))
		{
		opennewwindow('mailing_rep.php?email='+document.mailing.email.value+'','mailing','280','520');
		return false;
		}
	else
		{
		alert('Adresse e-mail invalide!!');
        document.mailing.email.focus();
		return false;		
		}
}

function verifSearch(formulaire)
{
if(document.searchform.type.value == "")
 {
alert(' Choisissez votre espace SVP !!');
document.searchform.type.focus();
return false; 
 }

else
return true;
}
