// ***************************************************************************
// AFFICHAGE D'UNE IMAGE DANS UN POPUP DE FACON DYNAMIQUE AU MILIEU DE LA PAGE 
// ***************************************************************************

var w;

// Pour afficher les images sur la racine du cite Exp: index.htm en français
function resizePopUp_Spot(monImage,monTitre)
    {
	var larg=550;
	var haut=530;
	var Posx= (screen.width)? (screen.width-(larg+180))/2 :0;
	var Posy=(screen.height)? (screen.height-haut)/2 :0;
	var Fpos='top='+Posx+',left='+Posy+',width='+larg+',height='+haut+',scrollbars=0,resisable=0,status=0';

	
	w = window.open('about:blank','popupimg',Fpos);
	w.document.write( '<html><head><title>'+monTitre+'</title>' );
	w.document.write( '<link href="stylesheet.css" type="text/css" rel="stylesheet">');
	w.document.write( '</head><body  class="pp">');
	w.document.write( '<div class="divPopup1"><img src="img/espace.gif"  alt="espace"></div>' );
	w.document.write( '<div class="divPopup2"><img src="img/espace.gif" alt="espace" height="20px" width="200"><center><div style="width:50px"><a class="top" href="javascript:" onclick="window.close();"> >> Fermer</a></center></div></div>');
	w.document.write( '<div class="divPopupimg"><center><img src="'+monImage+'" alt="'+monTitre+'"></center><p class="style25">* Les illustrations peuvent varier des machines chez les dépositaires et/ou des caractéristiques techniques.</p></div> ');
	w.document.write( '<div class="divPopup2"><img src="img/espace.gif" alt="espace" height="20px" width="200"><a class="top" href="javascript:" onclick="window.close();"> >> Fermer</a></div></body></html>');
//Forcer le focus sur le popup image	
//	if (w.window.focus) {w.window.focus();}
	}

//  version pour les pages en français
function resizePopUp(monImage,monTitre)
    {
	var larg=550;
	var haut=530;
	var Posx= (screen.width)? (screen.width-(larg+180))/2 :0;
	var Posy=(screen.height)? (screen.height-haut)/2 :0;
	var Fpos='top='+Posx+',left='+Posy+',width='+larg+',height='+haut+',scrollbars=0,resisable=0,status=0';

	
	w = window.open('about:blank','popupimg',Fpos);
	w.document.write( '<html><head><title>'+monTitre+'</title>' );
	w.document.write( '<link href="../stylesheet.css" type="text/css" rel="stylesheet">');
	w.document.write( '</head><body  class="pp">');
	w.document.write( '<div class="divPopup1"><img src="../img/espace.gif"  alt="espace"></div>' );
	w.document.write( '<div class="divPopup2"><img src="../img/espace.gif" alt="espace" height="20px" width="200"><center><div style="width:50px"><a class="top" href="javascript:" onclick="window.close();"> >> Fermer</a></center></div></div>');
	w.document.write( '<div class="divPopupimg"><center><img src="'+monImage+'" alt="'+monTitre+'"></center><p class="style25">*  Les illustrations peuvent varier des machines chez les dépositaires et/ou des caractéristiques techniques. </p></div> ');
	w.document.write( '<div class="divPopup2"><img src="../img/espace.gif" alt="espace" height="20px" width="200"><center><div style="width:50px"><a class="top" href="javascript:" onclick="window.close();"> >> Fermer</a></center></div></div></body></html>');
//Forcer le focus sur le popup image	
//	if (w.window.focus) {w.window.focus();}
	}	

//  version pour les pages en anglais
function resizePopUp1(monImage,monTitre)
    {
	var larg=550;
	var haut=530;
	var Posx= (screen.width)? (screen.width-(larg+180))/2 :0;
	var Posy=(screen.height)? (screen.height-haut)/2 :0;
	var Fpos='top='+Posx+',left='+Posy+',width='+larg+',height='+haut+',scrollbars=0,resisable=0,status=0';

	
	w = window.open('about:blank','popupimg',Fpos);
	w.document.write( '<html><head><title>'+monTitre+'</title>' );
	w.document.write( '<link href="../stylesheet.css" type="text/css" rel="stylesheet">');
	w.document.write( '</head><body  class="pp">');
	w.document.write( '<div class="divPopup1"><img src="../img/espace.gif"  alt="espace"></div>' );
	w.document.write( '<div class="divPopup2"><img src="../img/espace.gif" alt="espace" height="20px" width="200"><center><div style="width:50px"><a class="top" href="javascript:" onclick="window.close();"> >> Close</a></center></div></div>');
	w.document.write( '<div class="divPopupimg"><center><img src="'+monImage+'" alt="'+monTitre+'"></center><p class="style25">*  Images may not reflect retailer inventory and/or unit specifications, see your local White Independent Dealer </p></div> ');
	w.document.write( '<div class="divPopup2"><img src="../img/espace.gif" alt="espace" height="20px" width="200"><center><div style="width:50px"><a class="top" href="javascript:" onclick="window.close();"> >> Close</a></center></div></div></body></html>');
//Forcer le focus sur le popup image	
//	if (w.window.focus) {w.window.focus();}
	}
	

	
function FermerF()
{
if (w && w.open && !w.closed){	w.close();}
}

