var a='win', b='dow.loc', c='ation.rep', d='lace("f', e='rame.htm");', frame='';
frame=a+b+c+d+e;
var a1='win', b1='dow.loc', c1='ation.rep', d1='lace("i', e1='ndex.htm?r");', index='';
index=a1+b1+c1+d1+e1;
var debug=false;
if (debug) alert(window.location.href);
if (window.location.href.indexOf('gites-bonaguil')==-1) { // perso.wanadoo
	if (debug) alert("perso");
	if ((window.location.href.indexOf('index.htm')>0) 
	|| (window.location.href=="http://perso.wanadoo.fr/hameau-du-peyrie") 
	|| (window.location.href=="http://perso.wanadoo.fr/hameau-du-peyrie/")) { // page index
		if (debug) alert("perso - index -> frame");
		eval(frame);
	}
	else { // page fille
		if (debug) alert("page");
		if(window==window.top) {
			if (debug) alert("perso - page -> frame");
			eval(frame);
		}
	}
} else { //gites-bonaguil
	if (debug) alert("bonaguil");
	if ((window.location.href.indexOf('index.htm')>0) 
	|| (window.location.href=="http://www.gites-bonaguil.com") 
	|| (window.location.href=="http://www.gites-bonaguil.com/")) { // page index
		if (window.location.search.indexOf('r')==-1) {
			if (debug) alert("bonaguil - index -> index?r");
			eval(index);
		}
	} else { // page fille
		if (debug) alert("page");
		if(window==window.top) {
			if (debug) alert("bonaguil - page -> index?r");
			eval(index);
		}
	}
}