/* si la 'page courante' est appelée hors de son contexte, c'est-à-dire hors de son frame parent, alors la page Main.htm est appelée avec la 'page courante' comme paramètre*/

//alert("Redirige avec location = " + self.location);
//ORIGINAL CODE WAS: if (top == self) {location.replace("main.htm?" + self.location)};


//MODIFIED CODE-DM:10/11/03 
//To manage the fact that page could also be called from the Default page
// and from the Header (topframe)
// and from the Footer (bottomframe) -- 30/12/03:Privacy Policy
//Data frame in default.htm is called 'defaultmainframe'
//Data frame in main.htm is called 'mainFrame'
if (top == self) {
	location.replace("main.htm?" + self.location);
	};
if (self.name =="defaultmainframe") {
		location.replace("main.htm?" + self.location);
		};
if (self.name =="topframe") {
		location.replace("main.htm?" + self.location);
		};
if (self.name =="bottomframe") {
		location.replace("main.htm?" + self.location);
		};