addr1 = "dieteticienne" ;
addr2 = "@club-" ;
addr3 = "internet.fr" ;
addr4 = addr1+addr2+addr3 ;

/// Affichage bannières rotation
// Copyright Frank Milard - http://www.asaisir.com/a-la-page
// Vous pouvez utiliser ou modifier ce script librement
// sous reserve de laisser le copyright visible

function ImgMakeArray() {
	for(i=0;i<ImgMakeArray.arguments.length; i++) this[i] = ImgMakeArray.arguments[i];
	this.length = ImgMakeArray.arguments.length;
}

function PubCreate (UrlImg,UrlLink) {
	this.UrlImg  = UrlImg;
	this.UrlLink = UrlLink;
}

// Variables a configurer /////////////////

var PauseTime = 20;

Pub = new ImgMakeArray (
new PubCreate ("http://fderad.club.fr/pubdieta.jpg","http://fderad.club.fr/tamago.htm"),
new PubCreate ("http://fderad.club.fr/pubmenu0.gif","http://fderad.club.fr/abotest.php3"),
new PubCreate ("http://fderad.club.fr/pubcs.gif","http://fderad.club.fr/consult.php3"),
new PubCreate ("http://fderad.club.fr/pubbouti.jpg","http://fderad.club.fr/boutique.htm"),
new PubCreate ("http://fderad.club.fr/pubvege.jpg","http://fderad.club.fr/tables/aae.htm")
);

///////////////////////////////////////////

var CurrentPub = 0;

function PubLoaded () {
	if (document.images != null) window.setTimeout("PubChange()",PauseTime*12000);
}
function PubChange () {
	if (++CurrentPub == Pub.length) CurrentPub=0;
        document['Pub'].src = Pub[CurrentPub].UrlImg;
}
function PubJump () {
   window.location.href=Pub[CurrentPub].UrlLink;
}


///////////////////////////////////////////

// recharge la page dans son cadre d'accueil http://fderad.club.fr/dietetique/index.php
var match = /fderad.club.fr\/dietetique\/index.php/.test(parent.document.location.href)
if (!match) {
//redirection apparente - document.location.href='http://fderad.club.fr/dietetique/index.php?thecontent="'+document.location.href+'"' ;
//alert('opération de maintenance en cours - '+parent.document.location);
var mystr=""+parent.document.location+"";
if (mystr=="") {mystr="index.htm";}
finalgo=mystr.substr(31,mystr.length);
document.write("<form name='redir' action='http://fderad.club.fr/dietetique/index.php' method='post' target=_top><input type=hidden name=thecontent value='http://www.logidiet.com/dietetique-pratique/"+finalgo+"'></form>");
document.redir.submit();
}



