//COL DROITE POUR FORUM
function randomBlocDietForum(obj){
    //si c'est la première fois de la journée que l'utilisateur arrive sur pourelles et qu'on à sélectionné un bloc précis
    if(obj && o_sGetCookie('hp_pourelles_diet') == false){
        o_bSetCookie("hp_pourelles_diet","vis","expiresHour=24");
        i2h("minceurBig_forum").style.backgroundImage = "url("+contentDiet[obj]['urlImgFond']+")";                  
        i2h("vtrprgm").innerHTML = contentDiet[obj]['sousTitre'];                   
    }else{
        //bloc aléatoire
        nbrRand=Math.floor(Math.random()*5+1);
        i2h("minceurBig_forum").style.backgroundImage = "url("+contentDiet[nbrRand]['urlImgFond']+")";                  
        i2h("vtrprgm").innerHTML = contentDiet[nbrRand]['sousTitre'];                   
    }
}

ord=Math.random()*10000000000000000;
// debut showroom
document.write('<div>');
document.write('<a href="http://femmes.orange.fr/showroomprive" target="_blank"><img src="http://c.orange.fr/PourElles/Icons/300x85.jpg" alt="" title="" style="border:0;"></a>');
document.write('</div>');
// fin showroom

// debut affichage
document.write('<div id="o_colDroite">');

// debut RM
document.write('<div id="blocPub">');
document.write('<h3 class="titre_pub_droite">publicité</h3>');
document.write('<SCRIPT LANGUAGE="JavaScript" SRC="http://ad.fr.doubleclick.net/adj/woo_rec_1_300x250_femme.hp/;sz=300x250;ord=' + ord + '?" ><\/SCRIPT>');
document.write('</div>');
// fin RM


// debut bloc leDiet
document.write('<div id="minceurBig_forum">');
document.write('<h2><img src="http://femmes.orange.fr/Icons/titre_mincir_leDiet.gif" alt="mincir avec leDiet" title="mincir avec leDiet" />');
document.write('<span id="vtrprgm">votre programme <strong>pour l\'été</strong></span>');
document.write('</h2>');
document.write('<div class="c_sep"></div>');
document.write('<a href="http://lediet.pourelles.orange.fr/index.php?tpl=acces_compte" onclick="return o_ref( this, \'OPourElles_Diet_coldroite_hp\');" class="c_lk_F60">abonnés</a>');
document.write('<form name="minceur" action="http://lediet.pourelles.orange.fr/index.php" method="GET">');
document.write('<input class="input_poids" type="text" value="Poids actuel" name="poids_actuel_kg" size="9" onfocus="if(this.value==\'Poids actuel\'){this.value=\'\'}" onblur="if(this.value==\'\'){this.value=\'Poids actuel\'}" onkeyup="checkNum(this);"><span class="kilo">kg</span><div class="c_sep"></div>');
document.write('<input class="input_poids" type="text" value="souhaité" name="poids_souhaite_kg" size="9" onfocus="if(this.value==\'souhaité\'){this.value=\'\'}" onblur="if (this.value==\'\') {this.value=\'souhaité\'}" onkeyup="checkNum(this);"><span class="kilo">kg</span>');
document.write('<a href="#" class="c_ltl_butt" onclick="document.minceur.submit();return false;" title="valider"><span>valider</span></a><div class="c_sep"></div>');
document.write('</form>');
document.write('</div>');

/*
document.write('<div style="background-image: url(http://femmes.orange.fr/Magic/Icons/121870.jpg);" id="minceurBig_forum">');
document.write('<h2><img src="http://femmes.orange.fr/Icons/titre_mincir_leDiet.gif" alt="mincir avec leDiet" title="mincir avec leDiet"> <span id="vtrprgm">programme <strong>après bébé</strong></span> </h2>');
document.write('<div class="c_sep"></div>');
document.write('<a href="http://lediet.pourelles.orange.fr/index.php?tpl=acces_compte" onclick="return o_ref( this, \'OPourElles_Diet_coldroite_hp\');" class="c_lk_F60">abonnés</a>');
document.write('<form name="minceur" action="http://lediet.pourelles.orange.fr/index.php" method="GET">');
document.write('<input class="input_poids" value="Poids actuel" name="poids_actuel_kg" size="9" onfocus="if(this.value==\'Poids actuel\'){this.value=\'\'}" onblur="if(this.value==\'\'){this.value=\'Poids actuel\'}" onkeyup="checkNum(this);" type="text"><span class="kilo">kg</span><div class="c_sep"></div>');
document.write('<input class="input_poids" value="souhaité" name="poids_souhaite_kg" size="9" onfocus="if(this.value==\'souhaité\'){this.value=\'\'}" onblur="if (this.value==\'\') {this.value=\'souhaité\'}" onkeyup="checkNum(this);" type="text"><span class="kilo">kg</span>');
document.write('<a href="#" class="c_ltl_butt" onclick="document.minceur.submit();return false;" title="valider"><span>valider</span></a><div class="c_sep"></div>');
document.write('</form>');
document.write('</div>');
*/
// fin bloc leDiet

// fin affichage
document.write('</div>');

var contentDiet = new Array();
contentDiet[1] = new Array();
document.write('<script type="text/javascript" src="http://femmes.orange.fr/Js/pourelles.js"><\/script>');
contentDiet[1]['urlImgFond'] = "http://femmes.orange.fr/Magic/Icons/121870.jpg";
contentDiet[1]['sousTitre'] = "programme <strong>après bébé</strong>";

contentDiet[2] = new Array();
contentDiet[2]['urlImgFond'] = "http://femmes.orange.fr/Magic/Icons/121871.jpg";
contentDiet[2]['sousTitre'] = "programme <strong>45 ans</strong>";

contentDiet[3] = new Array();
contentDiet[3]['urlImgFond'] = "http://femmes.orange.fr/Magic/Icons/121872.jpg";
contentDiet[3]['sousTitre'] = "programme <strong>anti celullite</strong>";

contentDiet[4] = new Array();
contentDiet[4]['urlImgFond'] = "http://femmes.orange.fr/Magic/Icons/121873.jpg";
contentDiet[4]['sousTitre'] = "programme <strong>express</strong>";

contentDiet[5] = new Array();
contentDiet[5]['urlImgFond'] = "http://femmes.orange.fr/Magic/Icons/100530.jpg";
contentDiet[5]['sousTitre'] = "programme <strong>liberté</strong>";

o_onLoadPush("randomBlocDietForum()");



