');
}
if ( njj1 == true ) {
document.write('');
}
/*
document.write('');
*/
// -----------------------------------------
var bis = 0;
var bis2 = 0;
var bis3 = "";
var bis4 = "";
var bis5 = "";
var bis6 = "";
var bis7 = "";
var bis8 = "";
var bis20 = true;
// -----------------------------------------
var rrr_1 = new Image(); rrr_1.src = "http://marcfiasse.com/editeurs/bourse/images/b1.png";
var rrr_2 = new Image(); rrr_2.src = "http://marcfiasse.com/editeurs/bourse/images/b2.png";
var rrr_3 = new Image(); rrr_3.src = "http://marcfiasse.com/editeurs/bourse/images/b3.png";
var rrr_4 = new Image(); rrr_4.src = "http://marcfiasse.com/editeurs/bourse/images/c1.png";
var rrr_5 = new Image(); rrr_5.src = "http://marcfiasse.com/editeurs/bourse/images/c2.png";
var rrr_6 = new Image(); rrr_6.src = "http://marcfiasse.com/editeurs/bourse/images/c3.png";
var rrr_7 = new Image(); rrr_7.src = "http://marcfiasse.com/editeurs/bourse/images/d1.png";
var rrr_8 = new Image(); rrr_8.src = "http://marcfiasse.com/editeurs/bourse/images/d2.png";
var rrr_9 = new Image(); rrr_9.src = "http://marcfiasse.com/editeurs/bourse/images/d3.png";
var rrr_10 = new Image(); rrr_10.src = "http://marcfiasse.com/editeurs/bourse/images/e1.png";
var rrr_11 = new Image(); rrr_11.src = "http://marcfiasse.com/editeurs/bourse/images/e2.png";
var rrr_12 = new Image(); rrr_12.src = "http://marcfiasse.com/editeurs/bourse/images/e3.png";
var rrr_13 = new Image(); rrr_13.src = "http://marcfiasse.com/editeurs/bourse/images/f1.png";
var rrr_14 = new Image(); rrr_14.src = "http://marcfiasse.com/editeurs/bourse/images/f2.png";
var rrr_15 = new Image(); rrr_15.src = "http://marcfiasse.com/editeurs/bourse/images/f3.png";
var rrr_16 = new Image(); rrr_16.src = "http://marcfiasse.com/editeurs/bourse/images/g1.png";
var rrr_17 = new Image(); rrr_17.src = "http://marcfiasse.com/editeurs/bourse/images/g2.png";
var rrr_18 = new Image(); rrr_18.src = "http://marcfiasse.com/editeurs/bourse/images/g3.png";
var rrr_19 = new Image(); rrr_19.src = "http://marcfiasse.com/editeurs/bourse/images/h1.png";
var rrr_20 = new Image(); rrr_20.src = "http://marcfiasse.com/editeurs/bourse/images/h2.png";
var rrr_21 = new Image(); rrr_21.src = "http://marcfiasse.com/editeurs/bourse/images/h3.png";
var rrr_22 = new Image(); rrr_22.src = "http://marcfiasse.com/editeurs/bourse/images/i1.png";
var rrr_23 = new Image(); rrr_23.src = "http://marcfiasse.com/editeurs/bourse/images/i2.png";
var rrr_24 = new Image(); rrr_24.src = "http://marcfiasse.com/editeurs/bourse/images/i3.png";
var rrr_50 = new Image(); rrr_50.src = "http://marcfiasse.com/editeurs/bourse/images/ajax-loader.gif";
var rrr_51 = new Image(); rrr_51.src = "http://marcfiasse.com/editeurs/bourse/images/rien.png";
var rrr_52 = new Image(); rrr_52.src = "http://marcfiasse.com/editeurs/bourse/images/vvv.png";
var rrr_53 = new Image(); rrr_53.src = "http://marcfiasse.com/editeurs/bourse/images/www.png";
var rrr_54 = new Image(); rrr_54.src = "http://marcfiasse.com/editeurs/bourse/images/xxx.png";
var rrr_55 = new Image(); rrr_55.src = "http://marcfiasse.com/editeurs/bourse/images/yyy.png";
var rrr_56 = new Image(); rrr_56.src = "http://marcfiasse.com/editeurs/bourse/images/zzz.png";
var rrr_57 = new Image(); rrr_57.src = "http://marcfiasse.com/editeurs/bourse/images/uuu.png";
// var rrr_50 = new Image(); rrr_50.src = "http://marcfiasse.com/editeurs/bourse/images/gif-load2.gif";
// var rrr_60 = new Image(); rrr_60.src = "http://marcfiasse.com/editeurs/bourse/images/x1.png";
// var rrr_61 = new Image(); rrr_61.src = "http://marcfiasse.com/editeurs/bourse/images/x2.png";
// var rrr_62 = new Image(); rrr_62.src = "http://marcfiasse.com/editeurs/bourse/images/x3.png";
// var rrr_63 = new Image(); rrr_63.src = "http://marcfiasse.com/editeurs/bourse/images/y1.png";
// var rrr_64 = new Image(); rrr_64.src = "http://marcfiasse.com/editeurs/bourse/images/y2.png";
// var rrr_65 = new Image(); rrr_65.src = "http://marcfiasse.com/editeurs/bourse/images/y3.png";
var rer_1 = new Image(); rer_1.src = "http://marcfiasse.com/editeurs/bourse/images/res.png";
var rer_2 = new Image(); rer_2.src = "http://marcfiasse.com/editeurs/bourse/images/res1.png";
// -------------------------------------------------------------
// Swap imagettes
// -------------------------------------------------------------
function swap(name, sub) {
document[name].src = eval(sub + '.src');
}
// -------------------------------------------------------------
// mais quelle est votre définition écran ?
var wi=0;
var wiii=0;
wi=(screen.width);
if ( wi < 1024 ) { wiii=1; alert('\n\n\nInformation pour une meilleure visualisation !\n\n\nLa résolution écran doit être supérieure à 1024 pxls. de largeur !\t\t\n\n\n'); }
if ( wi >= 1024 && wi < 1280 ) { wiii=2; }
if ( wi >= 1280 && wi < 1400 ) { wiii=4; }
if ( wi >= 1400 && wi < 1920 ) { wiii=5; }
if ( wi >= 1920 ) { wiii=6; }
var hi=0;
var hiii=0;
hi=(screen.height);
if ( hi < 420 ) { hiii=0;
// alert('\n\n\nInformation pour une meilleure visualisation !\n\n\nLa résolution écran doit être supérieure à 420 pxls. de hauteur !\t\t\n\n\n');
}
if ( hi >= 420 && hi < 600 ) { hiii=1; }
if ( hi >= 600 && hi < 900 ) { hiii=2; }
if ( hi >= 900 && hi < 1024 ) { hiii=3; }
if ( hi >= 1024 && hi < 1080 ) { hiii=4; }
if ( hi >= 1080 ) { hiii=5; }
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
var index0 = "";
var index1 = "EURUSD";
var index2 = "GBPUSD";
var index3 = "GBPJPY";
var index4 = "AUDUSD";
var index5 = "EURJPY";
var index6 = "EURAUD";
var index7 = "EURCAD";
var index8 = "GBPAUD";
var index9 = "GBPCHF";
var index10 = "INDEX:USDB";
var index11 = "GBPNZD";
var index12 = "AUDCHF";
var index13 = "USDCAD";
var index14 = "EURNZD";
var index15 = "NZDCHF";
var index16 = "USDJPY";
var index17 = "USDCHF";
var index18 = "AUDJPY";
var index19 = "GBPCAD";
var index20 = "NZDUSD";
var index21 = "USDRUB";
var index22 = "USDZAR";
var index23 = "EURNOK";
var index24 = "EURGBP";
var index25 = "USDNOK";
var index26 = "EURCHF";
var index27 = "EURTRY";
var index28 = "USDTRY";
var index29 = "NZDJPY";
var index30 = "CADJPY";
var index31 = "EURSEK";
var index32 = "USDHKD";
var index33 = "USDSGD";
var index34 = "AUDNZD";
var index35 = "USDSEK";
var index36 = "USDMXN";
var index37 = "";
var index38 = "AAPL";
var index39 = "C";
var index40 = "GS";
var index41 = "TWTR";
var index42= "GOOG";
var index43 = "MA";
var index44 = "WYNN";
var index45 = "BOE";
var index46 = "WB";
var index47 = "BIDU";
var index48 = "BAC";
var index49 = "AMZN";
var index50 = "LVS";
var index51 = "NFLX";
var index52 = "IBM";
var index53 = "F";
var index54 = "XOM";
var index55 = "KO";
var index56 = "SBUX";
var index57 = "EBAY";
var index58 = "MCD";
var index59 = "FB";
var index60= "MSFT";
var index61 = "CAT";
var index62 = "DIS";
var index63 = "PFE";
var index64 = "GM";
var index65 = "AIG";
var index66 = "WMX";
var index67 = "JPM";
var index68 = "GRPN";
var index69 = "LNKD";
var index70 = "";
var index71 = "XAGUSD";
var index72 = "AMEX:CORN";
var index73 = "CBOT:ZW1!";
var index74 = "XAUUSD";
var index75 = "EUREX:KR1!";
var index76 = "USDWTI";
var index77 = "USDBRO";
var index78 = "ICEUSA:SB1!";
var index79 = "ICEUSA:KC1!";
var index80 = "XPTUSD";
var index81 = "FX:COPPER";
var index82 = "";
var index83 = "NASDAQ:VOD";
var index84 = "FRA:SIE";
var index85 = "NASDAQ:YHOO";
var index86 = "";
var index87 = "EURONEXT:PROX";
var index88 = "FRA:BMW";
var index89 = "";
var index90 = "";
var index91 = "";
var index92 = "";
var index93 = "";
var index94 = "";
var index95 = "";
var index96 = "";
var index97 = "";
var index98 = "";
var index99 = "";
var index100 = "";
var index101 = "";
var index102 = "";
var index103 = "";
var index104 = "";
var index105 = "";
var index106 = "";
var index107 = "";
var index108 = "";
var index109 = "";
var index110 = "";
var index111 = "";
var index112 = "";
var index113 = "";
var index114 = "";
var index115 = "";
var index116 = "";
var index117 = "";
var index118 = "";
var index119 = "";
var index120 = "";
var index121 = "";
var index122 = "";
var index123 = "";
var index124 = "";
var index125 = "";
// -------------------------------------------------------------
// Initialisation du cookie
// -------------------------------------------------------------
// --------------------- Cookie
// >>>>>>>> Début de l'initialisation du cookie
// l'initialisation du cookie est issue à l'origine du site de Jean Claude Bellamy : http://www.bellamyjc.org/fr/cookies.html
// script modifié par Marc Fiasse http://marcfiasse.com/
// window.status='Patientez un moment, s.v.p.';
// DateExp est une chaine date d'expiration du cookie
var dateExp = "Sat, 08-Jan-2095 08:00:00 GMT";
// Les cookies créés ici n'existeront plus après dateExp
var cookieTrouve = false;
var debut = 0;
var fin = 0;
var ch = document.cookie;
var i = 0;
function newCookie(name,value) {
document.cookie = name+"="+value+"; expires="+dateExp;
}
// Lecture d'un cookie
// Retourne une chaine vide si le cookie n'existe pas
// Structure de construction d'un cookie "nom1=datacookie1; nom2=datacookie2; nom3=datacookie3"
function getCookie(nameCookie) {
// analyse la chaine "namecookie" en comparaison avec "document.cookie" : s'il y a au minimum 2 cookies
// car le premier "document.cookie" ne sera pas analysé ici, puisque il n'y aura pas de point-virgule espace au début du fichier cookie
// Script de Jean Claude modifié par Marc, car, en rapport du script original, il y avait parfois confusion entre 2 noms de cookie !
// ex : Si le nom du cookie était "prenom" et "nom" dans cet ordre dans le fichier,
// la recherche "nom" allait s'arrêter à "prenom" ... parce que la chaine caractère "nom" est bien contenus dans la chaine de caractère de "prenom"
// la condiiton où il faut le signe "égal" à la fin et un "; " au début sélectionne le bon nom de cookie, toujours...
// la seconde condition teste le premier cookie si le 1er balayage n'a rien trouvé.
cookieTrouve = false; debut = 0; fin = 0; i = 2;
ch = document.cookie;
while ( i <= ch.length ) {
debut = i;
fin = debut+nameCookie.length;
if ( ch.substring(debut,fin) == nameCookie && ch.substring(fin,fin+1) == "=" && ch.substring(debut-2,debut) == "; " ) {
cookieTrouve = true;
break;
}
i++;
}
// analyse la chaine "namecookie" en comparaison avec "document.cookie" sur
// le premier "document.cookie" sans le point-virgule espace au début du fichier cookie
// TEST
// var gtp = true;
if ( cookieTrouve == false ) {
// TEST
// gtp=false;
cookieTrouve = false; debut = 0; fin = 0; i = 0;
ch = document.cookie;
while ( i <= ch.length ) {
debut = i;
fin = debut+nameCookie.length;
if ( ch.substring(debut,fin) == nameCookie && ch.substring(fin,fin+1) == "=" && ( ch.charAt(0) == nameCookie.charAt(0) ) ) {
cookieTrouve = true;
break;
}
i++;
}
}
// TEST
// alert('seconde condition = '+gtp+'\netat cookie trouvé = '+cookieTrouve+'\nposition debut = '+debut+'\npostition fin = '+fin+'\nnom trouve = '+ch.substring(debut,fin))
// si le cookie est trouvé, on a la position et on lit maintenant la donnée, puis, on la retourne.
if ( cookieTrouve == true ) {
debut = fin + 1;
fin = document.cookie.indexOf(";",debut);
if ( fin < debut )
fin = document.cookie.length;
return document.cookie.substring(debut,fin);
}
return "";
}
// Suppression d'un cookie
function DeleteCookie(name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
// This cookie is history
var cval = getCookie(name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
// >>>>>>>> Fin de l'initialisation du cookie
// -------------------------------------------------------------
var hohoho = getCookie('hor');
if ( hohoho ) { // alert('Horloge parlante indisponible'); DeleteCookie('hor');
}
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
var casc = false; // mode cascade
if ( graphe3 == true ) { casc = true; }
if ( casc == true && ( hiii < 5 || wiii < 6 ) ) { casc = false; top.window.location.href="graphe.htm?m=2"; }
// ---------
var orl = false;
var orl1 = getCookie('hor');
if ( !orl1 || orl1 == "" ) { orl = false; }
if ( orl1 == "0" ) { orl = false; }
if ( orl1 == "1" ) { orl = true; }
// ---------
var drrr2 = 0;
var drrr = getCookie('drr');
var wik = 0;
if ( !drrr || drrr == "" ) { drrr2 = 0; wik = 0; }
if ( drrr == "1" ) { drrr2 = 1; wik = 1; }
if ( drrr == "0" ) { drrr2 = 0; wik = 0; }
if ( wik == 1 ) { wiii = 0; }
if ( drrr2 == 1 && casc == true ) { top.window.location.href="graphe.htm?m=2"; }
if ( wik == 1 ) { wiii = 0; }
// ---------
var drap = 0;
var drapo = getCookie('drap');
if ( !drapo || drapo == "" ) { drap = 0; }
if ( drapo == "1" ) { drap = 1; }
if ( drapo == "0" ) { drap = 0; }
// if ( drap == 0 && ( graphe3 == true || graphe2 == true )) { top.window.location.href="graphe.htm"; }
// ---------
var top1=1;
var top2=2;
var top3=3;
var top4=4;
var top5=5;
var top6=6;
if ( avance == 6 ) { top1 = top1 + 6; top2 = top2 + 6; top3 = top3 + 6; top4 = top4 + 6; top5 = top5 + 6; top6 = top6 + 6; }
if ( avance == 12 ) { top1 = top1 + 12; top2 = top2 + 12; top3 = top3 + 12; top4 = top4 + 12; top5 = top5 + 12; top6 = top6 + 12; }
if ( avance == 18 ) { top1 = top1 + 18; top2 = top2 + 18; top3 = top3 + 18; top4 = top4 + 18; top5 = top5 + 18; top6 = top6 + 18; }
if ( avance == 24 ) { top1 = top1 + 24; top2 = top2 + 24; top3 = top3 + 24; top4 = top4 + 24; top5 = top5 + 24; top6 = top6 + 24; }
if ( avance == 30 ) { top1 = top1 + 30; top2 = top2 + 30; top3 = top3 + 30; top4 = top4 + 30; top5 = top5 + 30; top6 = top6 + 30; }
if ( avance == 36 ) { top1 = top1 + 36; top2 = top2 + 36; top3 = top3 + 36; top4 = top4 + 36; top5 = top5 + 36; top6 = top6 + 36; }
var toop1 = getCookie('optie1');
var toop2 = getCookie('optie2');
var toop3 = getCookie('optie3');
var toop4 = getCookie('optie4');
var toop5 = getCookie('optie5');
var toop6 = getCookie('optie6');
if ( avance == 0 ) { top1 = toop1; }
if ( avance == 0 ) { top2 = toop2; }
if ( avance == 0 ) { top3 = toop3; }
if ( avance == 0 ) { top4 = toop4; }
if ( avance == 0 ) { top5 = toop5; }
if ( avance == 0 ) { top6 = toop6; }
if ( !top1 || top1 == "" ) { top1 = 1;
if ( avance == 6 ) { top1 = top1 + 6; }
if ( avance == 12 ) { top1 = top1 + 12; }
if ( avance == 18 ) { top1 = top1 + 18; }
if ( avance == 24 ) { top1 = top1 + 24; }
if ( avance == 30 ) { top1 = top1 + 30; }
if ( avance == 36 ) { top1 = top1 + 36; }
}
if ( !top2 || top2 == "" ) { top2 = 2;
if ( avance == 6 ) { top2 = top2 + 6; }
if ( avance == 12 ) { top2 = top2 + 12; }
if ( avance == 18 ) { top2 = top2 + 18; }
if ( avance == 24 ) { top2 = top2 + 24; }
if ( avance == 30 ) { top2 = top2 + 30; }
if ( avance == 36 ) { top2 = top2 + 36; }
}
if ( !top3 || top3 == "" ) { top3 = 3;
if ( avance == 6 ) { top3 = top3 + 6; }
if ( avance == 12 ) { top3 = top3 + 12; }
if ( avance == 18 ) { top3 = top3 + 18; }
if ( avance == 24 ) { top3 = top3 + 24; }
if ( avance == 30 ) { top3 = top3 + 30; }
if ( avance == 36 ) { top3 = top3 + 36; }
}
if ( !top4 || top4 == "" ) { top4 = 4;
if ( avance == 6 ) { top4 = top4 + 6; }
if ( avance == 12 ) { top4 = top4 + 12; }
if ( avance == 18 ) { top4 = top4 + 18; }
if ( avance == 24 ) { top4 = top4 + 24; }
if ( avance == 30 ) { top4 = top4 + 30; }
if ( avance == 36 ) { top4 = top4 + 36; }
}
if ( !top5 || top5 == "" ) { top5 = 5;
if ( avance == 6 ) { top5 = top5 + 6; }
if ( avance == 12 ) { top5 = top5 + 12; }
if ( avance == 18 ) { top5 = top5 + 18; }
if ( avance == 24 ) { top5 = top5 + 24; }
if ( avance == 30 ) { top5 = top5 + 30; }
if ( avance == 36 ) { top5 = top5 + 36; }
}
if ( !top6 || top6 == "" ) { top6 = 6;
if ( avance == 6 ) { top6 = top6 + 6; }
if ( avance == 12 ) { top6 = top6 + 12; }
if ( avance == 18 ) { top6 = top6 + 18; }
if ( avance == 24 ) { top6 = top6 + 24; }
if ( avance == 30 ) { top6 = top6 + 30; }
if ( avance == 36 ) { top6 = top6 + 36; }
}
if ( topy1 >= 0 && avance == 0 ) { top1 = topy1; }
if ( topy2 >= 0 && avance == 0 ) { top2 = topy2; }
if ( topy3 >= 0 && avance == 0 ) { top3 = topy3; }
if ( topy4 >= 0 && avance == 0 ) { top4 = topy4; }
if ( topy5 >= 0 && avance == 0 ) { top5 = topy5; }
if ( topy6 >= 0 && avance == 0 ) { top6 = topy6; }
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
var indi = 0;
var op1, op2, op3, op4, op5, op6;
var oop1, oop2, oop3, oop4, oop5, oop6;
var flag55 = true;
// -----------------------------------------
function envoi_d() { appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
envoi(1); }
// -----------------------------------------
function envoi_g() { appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
envoi(2); }
// -----------------------------------------
function envoi_r() { appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
envoi(10); }
// -----------------------------------------
var razio = 0;
var confirm1 = true;
// -----------------------------------------
function razo(razio) {
if ( razio == 0 ) {
confirm1 = confirm(" Vous allez effacer le cookie \n\n Voulez-vous continuer ? \n\n");
if ( confirm1 == true ) {
DeleteCookie('optie1');
DeleteCookie('optie2');
DeleteCookie('optie3');
DeleteCookie('optie4');
DeleteCookie('optie5');
DeleteCookie('optie6');
DeleteCookie('drap');
DeleteCookie('dsel');
DeleteCookie('drr');
DeleteCookie('gr2');
DeleteCookie('det1');
DeleteCookie('hor');
DeleteCookie('option');
document.getElementById('form_1').option1.selectedIndex=0;
document.getElementById('form_1').option2.selectedIndex=0;
document.getElementById('form_1').option3.selectedIndex=0;
document.getElementById('form_1').option4.selectedIndex=0;
document.getElementById('form_1').option5.selectedIndex=0;
document.getElementById('form_1').option6.selectedIndex=0;
top1=1;
top2=2;
top3=3;
top4=4;
top5=5;
top6=6;
drap=0;
comptgg1 = 1, comptgg2 = 2, comptgg3 = 3, comptgg4 = 4; // pour init
if ( ( ( graphe2 == true && wiii >= 6 && hiii >= 5 ) || casc == true ) && orl == true ) {
avance_eff(1);
avance_eff(2);
avance_eff(3);
avance_eff(4);
}
if ( ( ( graphe2 == true && wiii >= 6 && hiii >= 5 ) || casc == true ) && orl == true ) {
avance_bas(1);
avance_bas(2);
avance_bas(3);
avance_bas(4);
}
appel0();
orl=false;
wik=0;
drrr2=0;
renvoi();
if ( casc == false ) {
document.getElementById('id_00').className='afficher';
}
if ( casc == true ) {
document.getElementById('id_00b').className='afficher2';
}
casc=false;
setTimeout('top.window.location.href="graphe.htm"',1000);
return false;
} else {
return false;
}
}
if ( razio == 1 ) {
document.getElementById('form_1').option1.selectedIndex=1;
document.getElementById('form_1').option2.selectedIndex=2;
document.getElementById('form_1').option3.selectedIndex=3;
document.getElementById('form_1').option4.selectedIndex=4;
document.getElementById('form_1').option5.selectedIndex=5;
document.getElementById('form_1').option6.selectedIndex=6;
DeleteCookie('optie1');
DeleteCookie('optie2');
DeleteCookie('optie3');
DeleteCookie('optie4');
DeleteCookie('optie5');
DeleteCookie('optie6');
// DeleteCookie('drap');
DeleteCookie('dsel');
// DeleteCookie('drr');
// DeleteCookie('gr2');
// DeleteCookie('det1');
// DeleteCookie('hor');
// DeleteCookie('option');
top1=1;
top2=2;
top3=3;
top4=4;
top5=5;
top6=6;
drap=0;
// renvoi();
appel00();
if ( graphe == true || graphe2 == true ) { setTimeout('top.window.location.href="graphe.htm?m=2"',1000); }
}
}
// -----------------------------------------
var tiy = "";
function redir() {
if ( avance == 6 ) { tiy = "&a=6"; }
if ( avance == 12 ) { tiy = "&a=12"; }
if ( avance == 18 ) { tiy = "&a=18"; }
if ( avance == 24 ) { tiy = "&a=24"; }
if ( avance == 30 ) { tiy = "&a=30"; }
if ( avance == 36 ) { tiy = "&a=36"; }
if ( modei6 != "" && njj1 == false ) { tiy="&i6="+modei6; }
if ( modei5 != "" && njj1 == false ) { tiy="&i5="+modei5; }
if ( modei4 != "" && njj1 == false ) { tiy="&i4="+modei4; }
if ( modei3 != "" && njj1 == false ) { tiy="&i3="+modei3; }
if ( modei2 != "" && njj1 == false ) { tiy="&i2="+modei2; }
if ( modei1 != "" && njj1 == true ) { tiy="&i1="+modei1; }
if ( modei2 != "" && njj1 == true ) { tiy=tiy+"&i2="+modei2; }
if ( modei3 != "" && njj1 == true ) { tiy=tiy+"&i3="+modei3; }
if ( modei4 != "" && njj1 == true ) { tiy=tiy+"&i4="+modei4; }
if ( modei5 != "" && njj1 == true ) { tiy=tiy+"&i5="+modei5; }
if ( modei6 != "" && njj1 == true ) { tiy=tiy+"&i6="+modei6; }
if ( graphe == true ) { setTimeout('top.window.location.href="graphe.htm"',500); }
if ( graphe2 == true ) { setTimeout('top.window.location.href="graphe.htm?m=2"',500); }
if ( graphe3 == true ) { setTimeout('top.window.location.href="graphe.htm?m=3'+tiy+'"',500); }
}
// -----------------------------------------
function razip() {
if ( drap == 0 ) {
document.getElementById('form_1').option1.selectedIndex=0;
document.getElementById('form_1').option2.selectedIndex=0;
document.getElementById('form_1').option3.selectedIndex=0;
document.getElementById('form_1').option4.selectedIndex=0;
document.getElementById('form_1').option5.selectedIndex=0;
document.getElementById('form_1').option6.selectedIndex=0;
}
}
// -----------------------------------------
function envoi(indi) {
op1 = document.getElementById('form_1').option1.selectedIndex;
op2 = document.getElementById('form_1').option2.selectedIndex;
op3 = document.getElementById('form_1').option3.selectedIndex;
op4 = document.getElementById('form_1').option4.selectedIndex;
op5 = document.getElementById('form_1').option5.selectedIndex;
op6 = document.getElementById('form_1').option6.selectedIndex;
// ---
oop1 = op1;
if ( indi == 1 ) { op1++; op1++; op1++; op1++; op1++; op1++; }
if ( indi == 2 ) { op1--; op1--; op1--; op1--; op1--; op1--; }
// if ( ( op1 == 21 || op1 == 54 || op1 == 65 || op1 == 69 ) && indi == 1 ) { op1++; op2++; op3++; op4++; op5++; op6++; }
// if ( ( op1 == 21 || op1 == 54 || op1 == 65 || op1 == 69 ) && indi == 2 ) { op1--; }
if ( ( op1 < 1 || op1 > lim ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
// ---
oop2 = op2;
if ( indi == 1 ) { op2++; op2++; op2++; op2++; op2++; op2++; }
if ( indi == 2 ) { op2--; op2--; op2--; op2--; op2--; op2--; }
// if ( ( op2 == 21 || op2 == 54 || op2 == 65 || op2 == 69 ) && indi == 1 ) { op2++; op3++; op4++; op5++; op6++; }
// if ( ( op2 == 21 || op2 == 54 || op2 == 65 || op2 == 69 ) && indi == 2 ) { op1--; op2--; }
if ( ( op1 < 1 || op1 > lim ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op2 < 2 || op2 > lim-1 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
// ---
oop3 = op3;
if ( indi == 1 ) { op3++; op3++; op3++; op3++; op3++; op3++; }
if ( indi == 2 ) { op3--; op3--; op3--; op3--; op3--; op3--; }
// if ( ( op3 == 21 || op3 == 54 || op3 == 65 || op3 == 69 ) && indi == 1 ) { op3++; op4++; op5++; op6++; }
// if ( ( op3 == 21 || op3 == 54 || op3 == 65 || op3 == 69 ) && indi == 2 ) { op1--; op2--; op3--; }
if ( ( op1 < 1 || op1 > lim ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op2 < 2 || op2 > lim-1 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op3 < 3 || op3 > lim-2 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
// ---
oop4 = op4;
if ( indi == 1 ) { op4++; op4++; op4++; op4++; op4++; op4++; }
if ( indi == 2 ) { op4--; op4--; op4--; op4--; op4--; op4--; }
// if ( ( op4 == 21 || op4 == 54 || op4 == 65 || op4 == 69 ) && indi == 1 ) { op4++; op5++; op6++; }
// if ( ( op4 == 21 || op4 == 54 || op4 == 65 || op4 == 69 ) && indi == 2 ) { op1--; op2--; op3--; op4--; }
if ( ( op1 < 1 || op1 > lim ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op2 < 2 || op2 > lim-1 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op3 < 3 || op3 > lim-2 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op4 < 4 || op4 > lim-3 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
// ---
oop5 = op5;
if ( indi == 1 ) { op5++; op5++; op5++; op5++; op5++; op5++; }
if ( indi == 2 ) { op5--; op5--; op5--; op5--; op5--; op5--; }
// if ( ( op5 == 21 || op5 == 54 || op5 == 65 || op5 == 69 ) && indi == 1 ) { op5++; op6++; }
// if ( ( op5 == 21 || op5 == 54 || op5 == 65 || op5 == 69 ) && indi == 2 ) { op1--; op2--; op3--; op4--; op5--; }
if ( ( op1 < 1 || op1 > lim ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op2 < 2 || op2 > lim-1 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op3 < 3 || op3 > lim-2 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op4 < 4 || op4 > lim-3 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op5 < 5 || op5 > lim-4 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
// ---
oop6 = op6;
if ( indi == 1 ) { op6++; op6++; op6++; op6++; op6++; op6++; }
if ( indi == 2 ) { op6--; op6--; op6--; op6--; op6--; op6--; }
// if ( ( op6 == 21 || op6 == 54 || op6 == 65 || op6 == 69 ) && indi == 1 ) { op6++; }
// if ( ( op6 == 21 || op6 == 54 || op6 == 65 || op6 == 69 ) && indi == 2 ) { op1--; op2--; op3--; op4--; op5--; op6--; }
if ( ( op1 < 1 || op1 > lim ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op2 < 2 || op2 > lim-1 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op3 < 3 || op3 > lim-2 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op4 < 4 || op4 > lim-3 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op5 < 5 || op5 > lim-4 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
if ( ( op6 < 6 || op6 > lim-5 ) && ( indi == 1 || indi == 2 ) ) { op1 = oop1; op2 = oop2; op3 = oop3; op4 = oop4; op5 = oop5; op6 = oop6; flag55 = false; }
// ---
newCookie('optie1',op1);
newCookie('optie2',op2);
newCookie('optie3',op3);
newCookie('optie4',op4);
newCookie('optie5',op5);
newCookie('optie6',op6);
// ---
document.getElementById('form_1').option1.selectedIndex=op1;
document.getElementById('form_1').option2.selectedIndex=op2;
document.getElementById('form_1').option3.selectedIndex=op3;
document.getElementById('form_1').option4.selectedIndex=op4;
document.getElementById('form_1').option5.selectedIndex=op5;
document.getElementById('form_1').option6.selectedIndex=op6;
if ( indi == 11 ) {
appelons_off();
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
DeleteCookie('dsel');
setTimeout('top.window.location.href="graphe.htm?m=2"',100);
return false; }
if ( indi == 12 ) {
appelons_off();
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="graphe.htm?m=2"',100);
return false; }
if ( indi == 10 ) {
DeleteCookie('dsel');
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="graphe.htm?m=3"',100);
return false; }
if ( indi == 15 ) {
// DeleteCookie('dsel');
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="graphe.htm?m=2"',100);
return false; }
if ( indi == 16 ) {
// DeleteCookie('dsel');
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="graphe.htm?m=3"',100);
return false; }
if ( indi == 33 ) {
DeleteCookie('dsel');
// alert('option en construction');
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="http://marcfiasse.com/editeurs/bourse/graphe.htm?m=3"+bis3+bis4+bis5+bis6+bis7+bis8',20);
if ( bis4 != "" ) { setTimeout('window.open("http://cloud-1.ovh/bourse/graphe.htm?m=3"+bis4, "win1", "status=yes, location=yes, directories=yes, menubar=yes, toolbar=yes, scrollbars=yes, resizable=yes, top=100, left=100, width=800, height=600")',30);
}
if ( bis5 != "" ) { setTimeout('window.open("http://cloud-2.ovh/bourse/graphe.htm?m=3"+bis5, "win2", "status=yes, location=yes, directories=yes, menubar=yes, toolbar=yes, scrollbars=yes, resizable=yes, top=100, left=100, width=800, height=600")',40);
}
if ( bis6 != "" ) { setTimeout('window.open("http://cloud-3.ovh/bourse/graphe.htm?m=3"+bis6, "win3", "status=yes, location=yes, directories=yes, menubar=yes, toolbar=yes, scrollbars=yes, resizable=yes, top=100, left=100, width=800, height=600")',50);
}
if ( bis7 != "" ) { setTimeout('window.open("http://cloud-4.ovh/bourse/graphe.htm?m=3"+bis7, "win4", "status=yes, location=yes, directories=yes, menubar=yes, toolbar=yes, scrollbars=yes, resizable=yes, top=100, left=100, width=800, height=600")',60);
}
if ( bis8 != "" ) { setTimeout('window.open("http://cloud-5.ovh/bourse/graphe.htm?m=3"+bis8, "win5", "status=yes, location=yes, directories=yes, menubar=yes, toolbar=yes, scrollbars=yes, resizable=yes, top=100, left=100, width=800, height=600")',70);
}
return false;
}
if ( flag55 == false ) { razo(1); }
flag55 = true;
if ( ( indi == 5 || indi == 1 || indi == 2 ) && casc == true ) {
DeleteCookie('dsel');
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="graphe.htm?m=3"',100);
return false; }
if ( casc == false ) { appel00(); }
if ( indi == 6 ) {
appel00();
// DeleteCookie('dsel');
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="graphe.htm?m=2"',100);
return false; }
if ( indi == 7 ) {
appel00();
appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
setTimeout('top.window.location.href="graphe.htm?m=2"',100);
return false; }
if ( ( indi == 5 || indi == 1 || indi == 2 ) && casc == false ) {
DeleteCookie('dsel');
setTimeout('top.window.location.href="graphe.htm?m=2"',100);
} else { setTimeout('top.window.location.href="graphe.htm"',100); }
}
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
var direc = 1;
function envoi_m1(direc) {
if ( direc == 2 ) { appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
newCookie('drr',0); setTimeout('top.window.location.href="graphe.htm?m=2"',100);
} else { newCookie('drr',0); setTimeout('top.window.location.href="graphe.htm"',100); }
}
function envoi_m2(direc) {
if ( direc == 2 ) { appel0();
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
newCookie('drr',1);
setTimeout('top.window.location.href="graphe.htm?m=2"',100);
} else { newCookie('drr',1); setTimeout('top.window.location.href="graphe.htm"',100); }
}
// -----------------------------------------
var opp1,opp2,opp3,opp4,opp5,opp6;
var ra=1;
// -----------------------------------------
function test(ra) {
newCookie('dsel',ra);
opp1 = document.getElementById('form_1').option1.selectedIndex;
opp2 = document.getElementById('form_1').option2.selectedIndex;
opp3 = document.getElementById('form_1').option3.selectedIndex;
opp4 = document.getElementById('form_1').option4.selectedIndex;
opp5 = document.getElementById('form_1').option5.selectedIndex;
opp6 = document.getElementById('form_1').option6.selectedIndex;
if ( top1 != opp1 || top2 != opp2 || top3 != opp3 || top4 != opp4 || top5 != opp5 || top6 != opp6 ) {
if ( graphe == true ) {
appel0();
appel00();
envoi(0);
}
if ( graphe2 == true ) {
appel0();
appel00();
envoi(7);
}
if ( graphe3 == true ) {
appel0();
// appel00();
envoi(7);
}
}
}
// -----------------------------------------
function renvoi() {
if ( drap == 1 ) {
document.getElementById('form_1').option1.selectedIndex=top1;
document.getElementById('form_1').option2.selectedIndex=top2;
document.getElementById('form_1').option3.selectedIndex=top3;
document.getElementById('form_1').option4.selectedIndex=top4;
document.getElementById('form_1').option5.selectedIndex=top5;
document.getElementById('form_1').option6.selectedIndex=top6;
}
}
// -----------------------------------------
var selet = "1";
var sele = 1;
selet = getCookie('dsel');
if ( !selet || selet == "" ) { sele = 1; }
if ( selet == "1" ) { sele = 1; }
if ( selet == "2" ) { sele = 2; }
if ( selet == "3" ) { sele = 3; }
if ( selet == "4" ) { sele = 4; }
if ( selet == "5" ) { sele = 5; }
if ( selet == "6" ) { sele = 6; }
// -----------------------------------------
function appel() {
if ( sele == 1 && casc == false ) { appel1(); }
if ( sele == 2 && casc == false ) { appel2(); }
if ( sele == 3 && casc == false ) { appel3(); }
if ( sele == 4 && casc == false ) { appel4(); }
if ( sele == 5 && casc == false ) { appel5(); }
if ( sele == 6 && casc == false ) { appel6(); }
}
var colori = 0;
// -----------------------------------------
function appel9(colori) {
document.getElementById('id_p').className='masquer';
if ( casc == false ) { document.getElementById('id_0').className='masquer'; }
if ( casc == true ) { document.getElementById('id_0b').className='masquer2'; }
if ( casc == false ) { document.getElementById('id_00').className='masquer'; }
if ( casc == true ) { document.getElementById('id_00b').className='masquer2'; }
colori = 0;
if ( colori == 0 ) {
document.getElementById('tdd100').style.backgroundColor = "#D9DADB";
document.getElementById('tdd101').style.backgroundColor = "#D9DADB";
}
if ( colori == 1 ) {
document.getElementById('tdd100').style.backgroundColor = "#FFC0C0";
document.getElementById('tdd101').style.backgroundColor = "#FFC0C0";
}
if ( colori == 2 ) {
document.getElementById('tdd100').style.backgroundColor = "#B1B3FB";
document.getElementById('tdd101').style.backgroundColor = "#B1B3FB";
}
if ( colori == 3 ) {
document.getElementById('tdd100').style.backgroundColor = "#FDF097";
document.getElementById('tdd101').style.backgroundColor = "#FDF097";
}
if ( colori == 4 ) {
document.getElementById('tdd100').style.backgroundColor = "#A9EBA9";
document.getElementById('tdd101').style.backgroundColor = "#A9EBA9";
}
if ( colori == 5 ) {
document.getElementById('tdd100').style.backgroundColor = "#FD89AF";
document.getElementById('tdd101').style.backgroundColor = "#FD89AF";
}
if ( colori == 6 ) {
document.getElementById('tdd100').style.backgroundColor = "#FFAE73";
document.getElementById('tdd101').style.backgroundColor = "#FFAE73";
}
document.getElementById('id_1').className='masquer';
document.getElementById('id_2').className='masquer';
document.getElementById('id_3').className='masquer';
document.getElementById('id_4').className='masquer';
document.getElementById('id_5').className='masquer';
document.getElementById('id_6').className='masquer';
document.getElementById('id_p').className='masquer';
if ( casc == false ) { document.getElementById('id_0').className='afficher'; }
if ( casc == true ) { document.getElementById('id_0b').className='afficher2'; }
if ( casc == false ) { document.getElementById('id_00').className='masquer'; }
if ( casc == true ) { document.getElementById('id_00b').className='masquer2'; }
}
// -----------------------------------------
var trick1 = 0, trick2 = 0, trick3 = 0;
var comptgg1 = 1, comptgg2 = 2, comptgg3 = 3, comptgg4 = 4; // pour init
function avance_eff(trick3) {
if ( trick3 == 1 ) {
document.getElementById('horloge1').className='masquer';
document.getElementById('horloge2').className='masquer';
document.getElementById('horloge3').className='masquer';
document.getElementById('horloge4').className='masquer';
document.getElementById('horloge5').className='masquer';
document.getElementById('horloge6').className='masquer';
document.getElementById('horloge7').className='masquer';
document.getElementById('horloge8').className='masquer';
document.getElementById('horloge9').className='masquer';
document.getElementById('horloge10').className='masquer';
document.getElementById('horloge11').className='masquer';
document.getElementById('horloge12').className='masquer';
document.getElementById('horloge13').className='masquer'; }
if ( trick3 == 2 ) {
document.getElementById('horloge21').className='masquer';
document.getElementById('horloge22').className='masquer';
document.getElementById('horloge23').className='masquer';
document.getElementById('horloge24').className='masquer';
document.getElementById('horloge25').className='masquer';
document.getElementById('horloge26').className='masquer';
document.getElementById('horloge27').className='masquer';
document.getElementById('horloge28').className='masquer';
document.getElementById('horloge29').className='masquer';
document.getElementById('horloge30').className='masquer';
document.getElementById('horloge31').className='masquer';
document.getElementById('horloge32').className='masquer';
document.getElementById('horloge33').className='masquer'; }
if ( trick3 == 3 ) {
document.getElementById('horloge41').className='masquer';
document.getElementById('horloge42').className='masquer';
document.getElementById('horloge43').className='masquer';
document.getElementById('horloge44').className='masquer';
document.getElementById('horloge45').className='masquer';
document.getElementById('horloge46').className='masquer';
document.getElementById('horloge47').className='masquer';
document.getElementById('horloge48').className='masquer';
document.getElementById('horloge49').className='masquer';
document.getElementById('horloge50').className='masquer';
document.getElementById('horloge51').className='masquer';
document.getElementById('horloge52').className='masquer';
document.getElementById('horloge53').className='masquer'; }
if ( trick3 == 4 ) {
document.getElementById('horloge61').className='masquer';
document.getElementById('horloge62').className='masquer';
document.getElementById('horloge63').className='masquer';
document.getElementById('horloge64').className='masquer';
document.getElementById('horloge65').className='masquer';
document.getElementById('horloge66').className='masquer';
document.getElementById('horloge67').className='masquer';
document.getElementById('horloge68').className='masquer';
document.getElementById('horloge69').className='masquer';
document.getElementById('horloge70').className='masquer';
document.getElementById('horloge71').className='masquer';
document.getElementById('horloge72').className='masquer';
document.getElementById('horloge73').className='masquer'; }
}
// -----------------------------------------
function avance_bas(trick1) {
if ( trick1 == 1 ) {
avance_eff(1);
comptgg1++;
if ( comptgg1 == 14 ) { comptgg1 = 1; }
if ( comptgg1 == 1 ) { document.getElementById('horloge1').className='afficher'; }
if ( comptgg1 == 2 ) { document.getElementById('horloge2').className='afficher'; }
if ( comptgg1 == 3 ) { document.getElementById('horloge3').className='afficher'; }
if ( comptgg1 == 4 ) { document.getElementById('horloge4').className='afficher'; }
if ( comptgg1 == 5 ) { document.getElementById('horloge5').className='afficher'; }
if ( comptgg1 == 6 ) { document.getElementById('horloge6').className='afficher'; }
if ( comptgg1 == 7 ) { document.getElementById('horloge7').className='afficher'; }
if ( comptgg1 == 8 ) { document.getElementById('horloge8').className='afficher'; }
if ( comptgg1 == 9 ) { document.getElementById('horloge9').className='afficher'; }
if ( comptgg1 == 10 ) { document.getElementById('horloge10').className='afficher'; }
if ( comptgg1 == 11 ) { document.getElementById('horloge11').className='afficher'; }
if ( comptgg1 == 12 ) { document.getElementById('horloge12').className='afficher'; }
if ( comptgg1 == 13 ) { document.getElementById('horloge13').className='afficher'; }
}
if ( trick1 == 2 ) {
avance_eff(2);
comptgg2++;
if ( comptgg2 == 14 ) { comptgg2 = 1; }
if ( comptgg2 == 1 ) { document.getElementById('horloge21').className='afficher'; }
if ( comptgg2 == 2 ) { document.getElementById('horloge22').className='afficher'; }
if ( comptgg2 == 3 ) { document.getElementById('horloge23').className='afficher'; }
if ( comptgg2 == 4 ) { document.getElementById('horloge24').className='afficher'; }
if ( comptgg2 == 5 ) { document.getElementById('horloge25').className='afficher'; }
if ( comptgg2 == 6 ) { document.getElementById('horloge26').className='afficher'; }
if ( comptgg2 == 7 ) { document.getElementById('horloge27').className='afficher'; }
if ( comptgg2 == 8 ) { document.getElementById('horloge28').className='afficher'; }
if ( comptgg2 == 9 ) { document.getElementById('horloge29').className='afficher'; }
if ( comptgg2 == 10 ) { document.getElementById('horloge30').className='afficher'; }
if ( comptgg2 == 11 ) { document.getElementById('horloge31').className='afficher'; }
if ( comptgg2 == 12 ) { document.getElementById('horloge32').className='afficher'; }
if ( comptgg2 == 13 ) { document.getElementById('horloge33').className='afficher'; }
}
if ( trick1 == 3 ) {
avance_eff(3);
comptgg3++;
if ( comptgg3 == 14 ) { comptgg3 = 1; }
if ( comptgg3 == 1 ) { document.getElementById('horloge41').className='afficher'; }
if ( comptgg3 == 2 ) { document.getElementById('horloge42').className='afficher'; }
if ( comptgg3 == 3 ) { document.getElementById('horloge43').className='afficher'; }
if ( comptgg3 == 4 ) { document.getElementById('horloge44').className='afficher'; }
if ( comptgg3 == 5 ) { document.getElementById('horloge45').className='afficher'; }
if ( comptgg3 == 6 ) { document.getElementById('horloge46').className='afficher'; }
if ( comptgg3 == 7 ) { document.getElementById('horloge47').className='afficher'; }
if ( comptgg3 == 8 ) { document.getElementById('horloge48').className='afficher'; }
if ( comptgg3 == 9 ) { document.getElementById('horloge49').className='afficher'; }
if ( comptgg3 == 10 ) { document.getElementById('horloge50').className='afficher'; }
if ( comptgg3 == 11 ) { document.getElementById('horloge51').className='afficher'; }
if ( comptgg3 == 12 ) { document.getElementById('horloge52').className='afficher'; }
if ( comptgg3 == 13 ) { document.getElementById('horloge53').className='afficher'; }
}
if ( trick1 == 4 ) {
avance_eff(4);
comptgg4++;
if ( comptgg4 == 14 ) { comptgg4 = 1; }
if ( comptgg4 == 1 ) { document.getElementById('horloge61').className='afficher'; }
if ( comptgg4 == 2 ) { document.getElementById('horloge62').className='afficher'; }
if ( comptgg4 == 3 ) { document.getElementById('horloge63').className='afficher'; }
if ( comptgg4 == 4 ) { document.getElementById('horloge64').className='afficher'; }
if ( comptgg4 == 5 ) { document.getElementById('horloge65').className='afficher'; }
if ( comptgg4 == 6 ) { document.getElementById('horloge66').className='afficher'; }
if ( comptgg4 == 7 ) { document.getElementById('horloge67').className='afficher'; }
if ( comptgg4 == 8 ) { document.getElementById('horloge68').className='afficher'; }
if ( comptgg4 == 9 ) { document.getElementById('horloge69').className='afficher'; }
if ( comptgg4 == 10 ) { document.getElementById('horloge70').className='afficher'; }
if ( comptgg4 == 11 ) { document.getElementById('horloge71').className='afficher'; }
if ( comptgg4 == 12 ) { document.getElementById('horloge72').className='afficher'; }
if ( comptgg4 == 13 ) { document.getElementById('horloge73').className='afficher'; }
}
}
// -----------------------------------------
function avance_haut(trick2) {
if ( trick2 == 1 ) {
avance_eff(1);
comptgg1--;
if ( comptgg1 == 0 ) { comptgg1 = 13; }
if ( comptgg1 == 1 ) { document.getElementById('horloge1').className='afficher'; }
if ( comptgg1 == 2 ) { document.getElementById('horloge2').className='afficher'; }
if ( comptgg1 == 3 ) { document.getElementById('horloge3').className='afficher'; }
if ( comptgg1 == 4 ) { document.getElementById('horloge4').className='afficher'; }
if ( comptgg1 == 5 ) { document.getElementById('horloge5').className='afficher'; }
if ( comptgg1 == 6 ) { document.getElementById('horloge6').className='afficher'; }
if ( comptgg1 == 7 ) { document.getElementById('horloge7').className='afficher'; }
if ( comptgg1 == 8 ) { document.getElementById('horloge8').className='afficher'; }
if ( comptgg1 == 9 ) { document.getElementById('horloge9').className='afficher'; }
if ( comptgg1 == 10 ) { document.getElementById('horloge10').className='afficher'; }
if ( comptgg1 == 11 ) { document.getElementById('horloge11').className='afficher'; }
if ( comptgg1 == 12 ) { document.getElementById('horloge12').className='afficher'; }
if ( comptgg1 == 13 ) { document.getElementById('horloge13').className='afficher'; }
}
if ( trick2 == 2 ) {
avance_eff(2);
comptgg2--;
if ( comptgg2 == 0 ) { comptgg2 = 13; }
if ( comptgg2 == 1 ) { document.getElementById('horloge21').className='afficher'; }
if ( comptgg2 == 2 ) { document.getElementById('horloge22').className='afficher'; }
if ( comptgg2 == 3 ) { document.getElementById('horloge23').className='afficher'; }
if ( comptgg2 == 4 ) { document.getElementById('horloge24').className='afficher'; }
if ( comptgg2 == 5 ) { document.getElementById('horloge25').className='afficher'; }
if ( comptgg2 == 6 ) { document.getElementById('horloge26').className='afficher'; }
if ( comptgg2 == 7 ) { document.getElementById('horloge27').className='afficher'; }
if ( comptgg2 == 8 ) { document.getElementById('horloge28').className='afficher'; }
if ( comptgg2 == 9 ) { document.getElementById('horloge29').className='afficher'; }
if ( comptgg2 == 10 ) { document.getElementById('horloge30').className='afficher'; }
if ( comptgg2 == 11 ) { document.getElementById('horloge31').className='afficher'; }
if ( comptgg2 == 12 ) { document.getElementById('horloge32').className='afficher'; }
if ( comptgg2 == 13 ) { document.getElementById('horloge33').className='afficher'; }
}
if ( trick2 == 3 ) {
avance_eff(3);
comptgg3--;
if ( comptgg3 == 0 ) { comptgg3 = 13; }
if ( comptgg3 == 1 ) { document.getElementById('horloge41').className='afficher'; }
if ( comptgg3 == 2 ) { document.getElementById('horloge42').className='afficher'; }
if ( comptgg3 == 3 ) { document.getElementById('horloge43').className='afficher'; }
if ( comptgg3 == 4 ) { document.getElementById('horloge44').className='afficher'; }
if ( comptgg3 == 5 ) { document.getElementById('horloge45').className='afficher'; }
if ( comptgg3 == 6 ) { document.getElementById('horloge46').className='afficher'; }
if ( comptgg3 == 7 ) { document.getElementById('horloge47').className='afficher'; }
if ( comptgg3 == 8 ) { document.getElementById('horloge48').className='afficher'; }
if ( comptgg3 == 9 ) { document.getElementById('horloge49').className='afficher'; }
if ( comptgg3 == 10 ) { document.getElementById('horloge50').className='afficher'; }
if ( comptgg3 == 11 ) { document.getElementById('horloge51').className='afficher'; }
if ( comptgg3 == 12 ) { document.getElementById('horloge52').className='afficher'; }
if ( comptgg3 == 13 ) { document.getElementById('horloge53').className='afficher'; }
}
if ( trick2 == 4 ) {
avance_eff(4);
comptgg4--;
if ( comptgg4 == 0 ) { comptgg4 = 13; }
if ( comptgg4 == 1 ) { document.getElementById('horloge61').className='afficher'; }
if ( comptgg4 == 2 ) { document.getElementById('horloge62').className='afficher'; }
if ( comptgg4 == 3 ) { document.getElementById('horloge63').className='afficher'; }
if ( comptgg4 == 4 ) { document.getElementById('horloge64').className='afficher'; }
if ( comptgg4 == 5 ) { document.getElementById('horloge65').className='afficher'; }
if ( comptgg4 == 6 ) { document.getElementById('horloge66').className='afficher'; }
if ( comptgg4 == 7 ) { document.getElementById('horloge67').className='afficher'; }
if ( comptgg4 == 8 ) { document.getElementById('horloge68').className='afficher'; }
if ( comptgg4 == 9 ) { document.getElementById('horloge69').className='afficher'; }
if ( comptgg4 == 10 ) { document.getElementById('horloge70').className='afficher'; }
if ( comptgg4 == 11 ) { document.getElementById('horloge71').className='afficher'; }
if ( comptgg4 == 12 ) { document.getElementById('horloge72').className='afficher'; }
if ( comptgg4 == 13 ) { document.getElementById('horloge73').className='afficher'; }
}
}
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
function appel0() {
document.getElementById('id_p').className='masquer';
// document.getElementById('id_0').className='masquer';
// document.getElementById('id_00').className='masquer';
document.getElementById('id_1').className='masquer';
document.getElementById('id_2').className='masquer';
document.getElementById('id_3').className='masquer';
document.getElementById('id_4').className='masquer';
document.getElementById('id_5').className='masquer';
document.getElementById('id_6').className='masquer';
document.getElementById('id_pb1').className='masquer';
document.getElementById('id_pb2').className='masquer';
document.getElementById('id_pb3').className='masquer';
document.getElementById('id_pb4').className='masquer';
document.getElementById('id_pb5').className='masquer';
document.getElementById('id_pb6').className='masquer';
if ( casc == false ) { document.getElementById('id_0').className='masquer'; }
if ( casc == true ) { document.getElementById('id_0b').className='masquer2'; }
if ( casc == false ) { document.getElementById('id_00').className='masquer'; }
if ( casc == true ) { document.getElementById('id_00b').className='masquer2'; }
document.getElementById('id_p').className='masquer';
document.getElementById('tdd100').style.backgroundColor = "#D9DADB";
document.getElementById('tdd101').style.backgroundColor = "#D9DADB";
}
// -----------------------------------------
function appelons_off() {
appel0();
document.getElementById('tdd101').style.backgroundColor = "#D9DADB";
document.getElementById('tdd100').style.backgroundColor = "#D9DADB";
}
// -----------------------------------------
function appelons() {
if ( casc == true && drap == 1 ) {
appel0();
if ( ftpoo1 == true ) { document.getElementById('id_1').className='afficher';} else { document.getElementById('id_1').className='masquer'; document.getElementById('id_pb1').className='afficher'; }
if ( ftpoo2 == true ) { document.getElementById('id_2').className='afficher';} else { document.getElementById('id_2').className='masquer'; document.getElementById('id_pb2').className='afficher'; }
if ( ftpoo3 == true ) { document.getElementById('id_3').className='afficher';} else { document.getElementById('id_3').className='masquer'; document.getElementById('id_pb3').className='afficher'; }
if ( ftpoo4 == true ) { document.getElementById('id_4').className='afficher';} else { document.getElementById('id_4').className='masquer'; document.getElementById('id_pb4').className='afficher'; }
if ( ftpoo5 == true ) { document.getElementById('id_5').className='afficher';} else { document.getElementById('id_5').className='masquer'; document.getElementById('id_pb5').className='afficher'; }
if ( ftpoo6 == true ) { document.getElementById('id_6').className='afficher';} else { document.getElementById('id_6').className='masquer'; document.getElementById('id_pb6').className='afficher'; }
document.getElementById('tdd101').style.backgroundColor = "#D9DADB";
document.getElementById('tdd100').style.backgroundColor = "#D9DADB";
}
}
// -----------------------------------------
var valuev = "000000";
function vhange(valuev) {
if ( ( ( graphe2 == true && wiii >= 6 && hiii >= 5 ) || casc == true ) && orl == true ) {
document.getElementById('tbb1').style.backgroundColor = "#"+valuev;
document.getElementById('tbb2').style.backgroundColor = "#"+valuev;
document.getElementById('tbb3').style.backgroundColor = "#"+valuev;
document.getElementById('tbb4').style.backgroundColor = "#"+valuev;
document.getElementById('tbb5').style.backgroundColor = "#"+valuev;
document.getElementById('tbb6').style.backgroundColor = "#"+valuev;
document.getElementById('tbb7').style.backgroundColor = "#"+valuev;
document.getElementById('tbb8').style.backgroundColor = "#"+valuev;
}
}
// -----------------------------------------
function appel1() {
if ( drap == 1 && casc == false ) {
appel0();
if ( ftpoo1 == true ) { document.getElementById('id_1').className='afficher'; document.getElementById('tdd101').style.backgroundColor = "#FFC0C0"; vhange("FFC0C0"); document.getElementById('tdd100').style.backgroundColor = "#FFC0C0";
} else {
document.getElementById('id_p').className='afficher'; }
}
if ( drap == 1 && casc == true ) {
appel0();
if ( ftpoo1 == true ) {
envoi(7); }
}
}
function appel2() {
if ( drap == 1 && casc == false ) {
appel0();
if ( ftpoo2 == true ) { document.getElementById('id_2').className='afficher'; document.getElementById('tdd101').style.backgroundColor = "#B1B3FB"; vhange("B1B3FB"); document.getElementById('tdd100').style.backgroundColor = "#B1B3FB";
} else {
document.getElementById('id_p').className='afficher'; }
}
if ( drap == 1 && casc == true ) {
appel0();
if ( ftpoo2 == true ) {
envoi(7); }
}
}
function appel3() {
if ( drap == 1 && casc == false ) {
appel0();
if ( ftpoo3 == true ) { document.getElementById('id_3').className='afficher'; document.getElementById('tdd101').style.backgroundColor = "#FDF097"; vhange("FDF097"); document.getElementById('tdd100').style.backgroundColor = "#FDF097";
} else {
document.getElementById('id_p').className='afficher'; }
}
if ( drap == 1 && casc == true ) {
appel0();
if ( ftpoo3 == true ) {
envoi(7); }
}
}
function appel4() {
if ( drap == 1 && casc == false ) {
appel0();
if ( ftpoo4 == true ) { document.getElementById('id_4').className='afficher'; document.getElementById('tdd101').style.backgroundColor = "#A9EBA9"; vhange("A9EBA9"); document.getElementById('tdd100').style.backgroundColor = "#A9EBA9";
} else {
document.getElementById('id_p').className='afficher'; }
}
if ( drap == 1 && casc == true ) {
appel0();
if ( ftpoo4 == true ) {
envoi(7); }
}
}
function appel5() {
if ( drap == 1 && casc == false ) {
appel0();
if ( ftpoo5 == true ) { document.getElementById('id_5').className='afficher'; document.getElementById('tdd101').style.backgroundColor = "#FD89AF"; vhange("FD89AF"); document.getElementById('tdd100').style.backgroundColor = "#FD89AF";
} else {
document.getElementById('id_p').className='afficher'; }
}
if ( drap == 1 && casc == true ) {
appel0();
if ( ftpoo5 == true ) {
envoi(7); }
}
}
function appel6() {
if ( drap == 1 && casc == false ) {
appel0();
if ( ftpoo6 == true ) { document.getElementById('id_6').className='afficher'; document.getElementById('tdd101').style.backgroundColor = "#FFAE73"; vhange("FFAE73"); document.getElementById('tdd100').style.backgroundColor = "#FFAE73";
} else {
document.getElementById('id_p').className='afficher'; }
}
if ( drap == 1 && casc == true ) {
appel0();
if ( ftpoo6 == true ) {
envoi(7); }
}
}
// -----------------------------------------
function appel00() {
appel0();
if ( casc == false ) {
document.getElementById('id_0').className='afficher';
}
if ( casc == true ) {
document.getElementById('id_0b').className='afficher2';
}
}
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
var ind1 = "EURUSD";
var ind2 = "EURUSD";
var ind3 = "EURUSD";
var ind4 = "EURUSD";
var ind5 = "EURUSD";
var ind6 = "EURUSD";
// --
if ( top1 == 1 ) { ind1 = index1; }
if ( top1 == 2 ) { ind1 = index2; }
if ( top1 == 3 ) { ind1 = index3; }
if ( top1 == 4 ) { ind1 = index4; }
if ( top1 == 5 ) { ind1 = index5; }
if ( top1 == 6 ) { ind1 = index6; }
if ( top1 == 7 ) { ind1 = index7; }
if ( top1 == 8 ) { ind1 = index8; }
if ( top1 == 9 ) { ind1 = index9; }
if ( top1 == 10 ) { ind1 = index10; }
if ( top1 == 11 ) { ind1 = index11; }
if ( top1 == 12 ) { ind1 = index12; }
if ( top1 == 13 ) { ind1 = index13; }
if ( top1 == 14 ) { ind1 = index14; }
if ( top1 == 15 ) { ind1 = index15; }
if ( top1 == 16 ) { ind1 = index16; }
if ( top1 == 17 ) { ind1 = index17; }
if ( top1 == 18 ) { ind1 = index18; }
if ( top1 == 19 ) { ind1 = index19; }
if ( top1 == 20 ) { ind1 = index20; }
if ( top1 == 21 ) { ind1 = index21; }
if ( top1 == 22 ) { ind1 = index22; }
if ( top1 == 23 ) { ind1 = index23; }
if ( top1 == 24 ) { ind1 = index24; }
if ( top1 == 25 ) { ind1 = index25; }
if ( top1 == 26 ) { ind1 = index26; }
if ( top1 == 27 ) { ind1 = index27; }
if ( top1 == 28 ) { ind1 = index28; }
if ( top1 == 29 ) { ind1 = index29; }
if ( top1 == 30 ) { ind1 = index30; }
if ( top1 == 31 ) { ind1 = index31; }
if ( top1 == 32 ) { ind1 = index32; }
if ( top1 == 33 ) { ind1 = index33; }
if ( top1 == 34 ) { ind1 = index34; }
if ( top1 == 35 ) { ind1 = index35; }
if ( top1 == 36 ) { ind1 = index36; }
if ( top1 == 37 ) { ind1 = index37; }
if ( top1 == 38 ) { ind1 = index38; }
if ( top1 == 39 ) { ind1 = index39; }
if ( top1 == 40 ) { ind1 = index40; }
if ( top1 == 41 ) { ind1 = index41; }
if ( top1 == 42 ) { ind1 = index42; }
if ( top1 == 43 ) { ind1 = index43; }
if ( top1 == 44 ) { ind1 = index44; }
if ( top1 == 45 ) { ind1 = index45; }
if ( top1 == 46 ) { ind1 = index46; }
if ( top1 == 47 ) { ind1 = index47; }
if ( top1 == 48 ) { ind1 = index48; }
if ( top1 == 49 ) { ind1 = index49; }
if ( top1 == 50 ) { ind1 = index50; }
if ( top1 == 51 ) { ind1 = index51; }
if ( top1 == 52 ) { ind1 = index52; }
if ( top1 == 53 ) { ind1 = index53; }
if ( top1 == 54 ) { ind1 = index54; }
if ( top1 == 55 ) { ind1 = index55; }
if ( top1 == 56 ) { ind1 = index56; }
if ( top1 == 57 ) { ind1 = index57; }
if ( top1 == 58 ) { ind1 = index58; }
if ( top1 == 59 ) { ind1 = index59; }
if ( top1 == 60 ) { ind1 = index60; }
if ( top1 == 61 ) { ind1 = index61; }
if ( top1 == 62 ) { ind1 = index62; }
if ( top1 == 63 ) { ind1 = index63; }
if ( top1 == 64 ) { ind1 = index64; }
if ( top1 == 65 ) { ind1 = index65; }
if ( top1 == 66 ) { ind1 = index66; }
if ( top1 == 67 ) { ind1 = index67; }
if ( top1 == 68 ) { ind1 = index68; }
if ( top1 == 69 ) { ind1 = index69; }
if ( top1 == 70 ) { ind1 = index70; }
if ( top1 == 71 ) { ind1 = index71; }
if ( top1 == 72 ) { ind1 = index72; }
if ( top1 == 73 ) { ind1 = index73; }
if ( top1 == 74 ) { ind1 = index74; }
if ( top1 == 75 ) { ind1 = index75; }
if ( top1 == 76 ) { ind1 = index76; }
if ( top1 == 77 ) { ind1 = index77; }
if ( top1 == 78 ) { ind1 = index78; }
if ( top1 == 79 ) { ind1 = index79; }
if ( top1 == 80 ) { ind1 = index80; }
if ( top1 == 81 ) { ind1 = index81; }
if ( top1 == 82 ) { ind1 = index82; }
if ( top1 == 83 ) { ind1 = index83; }
if ( top1 == 84 ) { ind1 = index84; }
if ( top1 == 85 ) { ind1 = index85; }
if ( top1 == 86 ) { ind1 = index86; }
if ( top1 == 87 ) { ind1 = index87; }
if ( top1 == 88 ) { ind1 = index88; }
if ( top1 == 89 ) { ind1 = index89; }
if ( top1 == 90 ) { ind1 = index90; }
if ( top1 == 91 ) { ind1 = index91; }
if ( top1 == 92 ) { ind1 = index92; }
if ( top1 == 93 ) { ind1 = index93; }
if ( top1 == 94 ) { ind1 = index94; }
if ( top1 == 95 ) { ind1 = index95; }
if ( top1 == 96 ) { ind1 = index96; }
if ( top1 == 97 ) { ind1 = index97; }
if ( top1 == 98 ) { ind1 = index98; }
if ( top1 == 99 ) { ind1 = index99; }
if ( top1 == 100 ) { ind1 = index100; }
if ( top1 == 101 ) { ind1 = index101; }
if ( top1 == 102 ) { ind1 = index102; }
if ( top1 == 103 ) { ind1 = index103; }
if ( top1 == 104 ) { ind1 = index104; }
if ( top1 == 105 ) { ind1 = index105; }
if ( top1 == 106 ) { ind1 = index106; }
if ( top1 == 107 ) { ind1 = index107; }
if ( top1 == 108 ) { ind1 = index108; }
if ( top1 == 109 ) { ind1 = index109; }
if ( top1 == 110 ) { ind1 = index110; }
if ( top1 == 111 ) { ind1 = index111; }
if ( top1 == 112 ) { ind1 = index112; }
if ( top1 == 113 ) { ind1 = index113; }
if ( top1 == 114 ) { ind1 = index114; }
if ( top1 == 115 ) { ind1 = index115; }
if ( top1 == 116 ) { ind1 = index116; }
if ( top1 == 117 ) { ind1 = index117; }
if ( top1 == 118 ) { ind1 = index118; }
if ( top1 == 119 ) { ind1 = index119; }
if ( top1 == 120 ) { ind1 = index120; }
if ( top1 == 121 ) { ind1 = index121; }
if ( top1 == 122 ) { ind1 = index122; }
if ( top1 == 123 ) { ind1 = index123; }
if ( top1 == 124 ) { ind1 = index124; }
if ( top1 == 125 ) { ind1 = index125; }
// --
if ( top2 == 1 ) { ind2 = index1; }
if ( top2 == 2 ) { ind2 = index2; }
if ( top2 == 3 ) { ind2 = index3; }
if ( top2 == 4 ) { ind2 = index4; }
if ( top2 == 5 ) { ind2 = index5; }
if ( top2 == 6 ) { ind2 = index6; }
if ( top2 == 7 ) { ind2 = index7; }
if ( top2 == 8 ) { ind2 = index8; }
if ( top2 == 9 ) { ind2 = index9; }
if ( top2 == 10 ) { ind2 = index10; }
if ( top2 == 11 ) { ind2 = index11; }
if ( top2 == 12 ) { ind2 = index12; }
if ( top2 == 13 ) { ind2 = index13; }
if ( top2 == 14 ) { ind2 = index14; }
if ( top2 == 15 ) { ind2 = index15; }
if ( top2 == 16 ) { ind2 = index16; }
if ( top2 == 17 ) { ind2 = index17; }
if ( top2 == 18 ) { ind2 = index18; }
if ( top2 == 19 ) { ind2 = index19; }
if ( top2 == 20 ) { ind2 = index20; }
if ( top2 == 21 ) { ind2 = index21; }
if ( top2 == 22 ) { ind2 = index22; }
if ( top2 == 23 ) { ind2 = index23; }
if ( top2 == 24 ) { ind2 = index24; }
if ( top2 == 25 ) { ind2 = index25; }
if ( top2 == 26 ) { ind2 = index26; }
if ( top2 == 27 ) { ind2 = index27; }
if ( top2 == 28 ) { ind2 = index28; }
if ( top2 == 29 ) { ind2 = index29; }
if ( top2 == 30 ) { ind2 = index30; }
if ( top2 == 31 ) { ind2 = index31; }
if ( top2 == 32 ) { ind2 = index32; }
if ( top2 == 33 ) { ind2 = index33; }
if ( top2 == 34 ) { ind2 = index34; }
if ( top2 == 35 ) { ind2 = index35; }
if ( top2 == 36 ) { ind2 = index36; }
if ( top2 == 37 ) { ind2 = index37; }
if ( top2 == 38 ) { ind2 = index38; }
if ( top2 == 39 ) { ind2 = index39; }
if ( top2 == 40 ) { ind2 = index40; }
if ( top2 == 41 ) { ind2 = index41; }
if ( top2 == 42 ) { ind2 = index42; }
if ( top2 == 43 ) { ind2 = index43; }
if ( top2 == 44 ) { ind2 = index44; }
if ( top2 == 45 ) { ind2 = index45; }
if ( top2 == 46 ) { ind2 = index46; }
if ( top2 == 47 ) { ind2 = index47; }
if ( top2 == 48 ) { ind2 = index48; }
if ( top2 == 49 ) { ind2 = index49; }
if ( top2 == 50 ) { ind2 = index50; }
if ( top2 == 51 ) { ind2 = index51; }
if ( top2 == 52 ) { ind2 = index52; }
if ( top2 == 53 ) { ind2 = index53; }
if ( top2 == 54 ) { ind2 = index54; }
if ( top2 == 55 ) { ind2 = index55; }
if ( top2 == 56 ) { ind2 = index56; }
if ( top2 == 57 ) { ind2 = index57; }
if ( top2 == 58 ) { ind2 = index58; }
if ( top2 == 59 ) { ind2 = index59; }
if ( top2 == 60 ) { ind2 = index60; }
if ( top2 == 61 ) { ind2 = index61; }
if ( top2 == 62 ) { ind2 = index62; }
if ( top2 == 63 ) { ind2 = index63; }
if ( top2 == 64 ) { ind2 = index64; }
if ( top2 == 65 ) { ind2 = index65; }
if ( top2 == 66 ) { ind2 = index66; }
if ( top2 == 67 ) { ind2 = index67; }
if ( top2 == 68 ) { ind2 = index68; }
if ( top2 == 69 ) { ind2 = index69; }
if ( top2 == 70 ) { ind2 = index70; }
if ( top2 == 71 ) { ind2 = index71; }
if ( top2 == 72 ) { ind2 = index72; }
if ( top2 == 73 ) { ind2 = index73; }
if ( top2 == 74 ) { ind2 = index74; }
if ( top2 == 75 ) { ind2 = index75; }
if ( top2 == 76 ) { ind2 = index76; }
if ( top2 == 77 ) { ind2 = index77; }
if ( top2 == 78 ) { ind2 = index78; }
if ( top2 == 79 ) { ind2 = index79; }
if ( top2 == 80 ) { ind2 = index80; }
if ( top2 == 81 ) { ind2 = index81; }
if ( top2 == 82 ) { ind2 = index82; }
if ( top2 == 83 ) { ind2 = index83; }
if ( top2 == 84 ) { ind2 = index84; }
if ( top2 == 85 ) { ind2 = index85; }
if ( top2 == 86 ) { ind2 = index86; }
if ( top2 == 87 ) { ind2 = index87; }
if ( top2 == 88 ) { ind2 = index88; }
if ( top2 == 89 ) { ind2 = index89; }
if ( top2 == 90 ) { ind2 = index90; }
if ( top2 == 91 ) { ind2 = index91; }
if ( top2 == 92 ) { ind2 = index92; }
if ( top2 == 93 ) { ind2 = index93; }
if ( top2 == 94 ) { ind2 = index94; }
if ( top2 == 95 ) { ind2 = index95; }
if ( top2 == 96 ) { ind2 = index96; }
if ( top2 == 97 ) { ind2 = index97; }
if ( top2 == 98 ) { ind2 = index98; }
if ( top2 == 99 ) { ind2 = index99; }
if ( top2 == 100 ) { ind2 = index100; }
if ( top2 == 101 ) { ind2 = index101; }
if ( top2 == 102 ) { ind2 = index102; }
if ( top2 == 103 ) { ind2 = index103; }
if ( top2 == 104 ) { ind2 = index104; }
if ( top2 == 105 ) { ind2 = index105; }
if ( top2 == 106 ) { ind2 = index106; }
if ( top2 == 107 ) { ind2 = index107; }
if ( top2 == 108 ) { ind2 = index108; }
if ( top2 == 109 ) { ind2 = index109; }
if ( top2 == 110 ) { ind2 = index110; }
if ( top2 == 111 ) { ind2 = index111; }
if ( top2 == 112 ) { ind2 = index112; }
if ( top2 == 113 ) { ind2 = index113; }
if ( top2 == 114 ) { ind2 = index114; }
if ( top2 == 115 ) { ind2 = index115; }
if ( top2 == 116 ) { ind2 = index116; }
if ( top2 == 117 ) { ind2 = index117; }
if ( top2 == 118 ) { ind2 = index118; }
if ( top2 == 119 ) { ind2 = index119; }
if ( top2 == 120 ) { ind2 = index120; }
if ( top2 == 121 ) { ind2 = index121; }
if ( top2 == 122 ) { ind2 = index122; }
if ( top2 == 123 ) { ind2 = index123; }
if ( top2 == 124 ) { ind2 = index124; }
if ( top2 == 125 ) { ind2 = index125; }
// --
if ( top3 == 1 ) { ind3 = index1; }
if ( top3 == 2 ) { ind3 = index2; }
if ( top3 == 3 ) { ind3 = index3; }
if ( top3 == 4 ) { ind3 = index4; }
if ( top3 == 5 ) { ind3 = index5; }
if ( top3 == 6 ) { ind3 = index6; }
if ( top3 == 7 ) { ind3 = index7; }
if ( top3 == 8 ) { ind3 = index8; }
if ( top3 == 9 ) { ind3 = index9; }
if ( top3 == 10 ) { ind3 = index10; }
if ( top3 == 11 ) { ind3 = index11; }
if ( top3 == 12 ) { ind3 = index12; }
if ( top3 == 13 ) { ind3 = index13; }
if ( top3 == 14 ) { ind3 = index14; }
if ( top3 == 15 ) { ind3 = index15; }
if ( top3 == 16 ) { ind3 = index16; }
if ( top3 == 17 ) { ind3 = index17; }
if ( top3 == 18 ) { ind3 = index18; }
if ( top3 == 19 ) { ind3 = index19; }
if ( top3 == 20 ) { ind3 = index20; }
if ( top3 == 21 ) { ind3 = index21; }
if ( top3 == 22 ) { ind3 = index22; }
if ( top3 == 23 ) { ind3 = index23; }
if ( top3 == 24 ) { ind3 = index24; }
if ( top3 == 25 ) { ind3 = index25; }
if ( top3 == 26 ) { ind3 = index26; }
if ( top3 == 27 ) { ind3 = index27; }
if ( top3 == 28 ) { ind3 = index28; }
if ( top3 == 29 ) { ind3 = index29; }
if ( top3 == 30 ) { ind3 = index30; }
if ( top3 == 31 ) { ind3 = index31; }
if ( top3 == 32 ) { ind3 = index32; }
if ( top3 == 33 ) { ind3 = index33; }
if ( top3 == 34 ) { ind3 = index34; }
if ( top3 == 35 ) { ind3 = index35; }
if ( top3 == 36 ) { ind3 = index36; }
if ( top3 == 37 ) { ind3 = index37; }
if ( top3 == 38 ) { ind3 = index38; }
if ( top3 == 39 ) { ind3 = index39; }
if ( top3 == 40 ) { ind3 = index40; }
if ( top3 == 41 ) { ind3 = index41; }
if ( top3 == 42 ) { ind3 = index42; }
if ( top3 == 43 ) { ind3 = index43; }
if ( top3 == 44 ) { ind3 = index44; }
if ( top3 == 45 ) { ind3 = index45; }
if ( top3 == 46 ) { ind3 = index46; }
if ( top3 == 47 ) { ind3 = index47; }
if ( top3 == 48 ) { ind3 = index48; }
if ( top3 == 49 ) { ind3 = index49; }
if ( top3 == 50 ) { ind3 = index50; }
if ( top3 == 51 ) { ind3 = index51; }
if ( top3 == 52 ) { ind3 = index52; }
if ( top3 == 53 ) { ind3 = index53; }
if ( top3 == 54 ) { ind3 = index54; }
if ( top3 == 55 ) { ind3 = index55; }
if ( top3 == 56 ) { ind3 = index56; }
if ( top3 == 57 ) { ind3 = index57; }
if ( top3 == 58 ) { ind3 = index58; }
if ( top3 == 59 ) { ind3 = index59; }
if ( top3 == 60 ) { ind3 = index60; }
if ( top3 == 61 ) { ind3 = index61; }
if ( top3 == 62 ) { ind3 = index62; }
if ( top3 == 63 ) { ind3 = index63; }
if ( top3 == 64 ) { ind3 = index64; }
if ( top3 == 65 ) { ind3 = index65; }
if ( top3 == 66 ) { ind3 = index66; }
if ( top3 == 67 ) { ind3 = index67; }
if ( top3 == 68 ) { ind3 = index68; }
if ( top3 == 69 ) { ind3 = index69; }
if ( top3 == 70 ) { ind3 = index70; }
if ( top3 == 71 ) { ind3 = index71; }
if ( top3 == 72 ) { ind3 = index72; }
if ( top3 == 73 ) { ind3 = index73; }
if ( top3 == 74 ) { ind3 = index74; }
if ( top3 == 75 ) { ind3 = index75; }
if ( top3 == 76 ) { ind3 = index76; }
if ( top3 == 77 ) { ind3 = index77; }
if ( top3 == 78 ) { ind3 = index78; }
if ( top3 == 79 ) { ind3 = index79; }
if ( top3 == 80 ) { ind3 = index80; }
if ( top3 == 81 ) { ind3 = index81; }
if ( top3 == 82 ) { ind3 = index82; }
if ( top3 == 83 ) { ind3 = index83; }
if ( top3 == 84 ) { ind3 = index84; }
if ( top3 == 85 ) { ind3 = index85; }
if ( top3 == 86 ) { ind3 = index86; }
if ( top3 == 87 ) { ind3 = index87; }
if ( top3 == 88 ) { ind3 = index88; }
if ( top3 == 89 ) { ind3 = index89; }
if ( top3 == 90 ) { ind3 = index90; }
if ( top3 == 91 ) { ind3 = index91; }
if ( top3 == 92 ) { ind3 = index92; }
if ( top3 == 93 ) { ind3 = index93; }
if ( top3 == 94 ) { ind3 = index94; }
if ( top3 == 95 ) { ind3 = index95; }
if ( top3 == 96 ) { ind3 = index96; }
if ( top3 == 97 ) { ind3 = index97; }
if ( top3 == 98 ) { ind3 = index98; }
if ( top3 == 99 ) { ind3 = index99; }
if ( top3 == 100 ) { ind3 = index100; }
if ( top3 == 101 ) { ind3 = index101; }
if ( top3 == 102 ) { ind3 = index102; }
if ( top3 == 103 ) { ind3 = index103; }
if ( top3 == 104 ) { ind3 = index104; }
if ( top3 == 105 ) { ind3 = index105; }
if ( top3 == 106 ) { ind3 = index106; }
if ( top3 == 107 ) { ind3 = index107; }
if ( top3 == 108 ) { ind3 = index108; }
if ( top3 == 109 ) { ind3 = index109; }
if ( top3 == 110 ) { ind3 = index110; }
if ( top3 == 111 ) { ind3 = index111; }
if ( top3 == 112 ) { ind3 = index112; }
if ( top3 == 113 ) { ind3 = index113; }
if ( top3 == 114 ) { ind3 = index114; }
if ( top3 == 115 ) { ind3 = index115; }
if ( top3 == 116 ) { ind3 = index116; }
if ( top3 == 117 ) { ind3 = index117; }
if ( top3 == 118 ) { ind3 = index118; }
if ( top3 == 119 ) { ind3 = index119; }
if ( top3 == 120 ) { ind3 = index120; }
if ( top3 == 121 ) { ind3 = index121; }
if ( top3 == 122 ) { ind3 = index122; }
if ( top3 == 123 ) { ind3 = index123; }
if ( top3 == 124 ) { ind3 = index124; }
if ( top3 == 125 ) { ind3 = index125; }
// --
if ( top4 == 1 ) { ind4 = index1; }
if ( top4 == 2 ) { ind4 = index2; }
if ( top4 == 3 ) { ind4 = index3; }
if ( top4 == 4 ) { ind4 = index4; }
if ( top4 == 5 ) { ind4 = index5; }
if ( top4 == 6 ) { ind4 = index6; }
if ( top4 == 7 ) { ind4 = index7; }
if ( top4 == 8 ) { ind4 = index8; }
if ( top4 == 9 ) { ind4 = index9; }
if ( top4 == 10 ) { ind4 = index10; }
if ( top4 == 11 ) { ind4 = index11; }
if ( top4 == 12 ) { ind4 = index12; }
if ( top4 == 13 ) { ind4 = index13; }
if ( top4 == 14 ) { ind4 = index14; }
if ( top4 == 15 ) { ind4 = index15; }
if ( top4 == 16 ) { ind4 = index16; }
if ( top4 == 17 ) { ind4 = index17; }
if ( top4 == 18 ) { ind4 = index18; }
if ( top4 == 19 ) { ind4 = index19; }
if ( top4 == 20 ) { ind4 = index20; }
if ( top4 == 21 ) { ind4 = index21; }
if ( top4 == 22 ) { ind4 = index22; }
if ( top4 == 23 ) { ind4 = index23; }
if ( top4 == 24 ) { ind4 = index24; }
if ( top4 == 25 ) { ind4 = index25; }
if ( top4 == 26 ) { ind4 = index26; }
if ( top4 == 27 ) { ind4 = index27; }
if ( top4 == 28 ) { ind4 = index28; }
if ( top4 == 29 ) { ind4 = index29; }
if ( top4 == 30 ) { ind4 = index30; }
if ( top4 == 31 ) { ind4 = index31; }
if ( top4 == 32 ) { ind4 = index32; }
if ( top4 == 33 ) { ind4 = index33; }
if ( top4 == 34 ) { ind4 = index34; }
if ( top4 == 35 ) { ind4 = index35; }
if ( top4 == 36 ) { ind4 = index36; }
if ( top4 == 37 ) { ind4 = index37; }
if ( top4 == 38 ) { ind4 = index38; }
if ( top4 == 39 ) { ind4 = index39; }
if ( top4 == 40 ) { ind4 = index40; }
if ( top4 == 41 ) { ind4 = index41; }
if ( top4 == 42 ) { ind4 = index42; }
if ( top4 == 43 ) { ind4 = index43; }
if ( top4 == 44 ) { ind4 = index44; }
if ( top4 == 45 ) { ind4 = index45; }
if ( top4 == 46 ) { ind4 = index46; }
if ( top4 == 47 ) { ind4 = index47; }
if ( top4 == 48 ) { ind4 = index48; }
if ( top4 == 49 ) { ind4 = index49; }
if ( top4 == 50 ) { ind4 = index50; }
if ( top4 == 51 ) { ind4 = index51; }
if ( top4 == 52 ) { ind4 = index52; }
if ( top4 == 53 ) { ind4 = index53; }
if ( top4 == 54 ) { ind4 = index54; }
if ( top4 == 55 ) { ind4 = index55; }
if ( top4 == 56 ) { ind4 = index56; }
if ( top4 == 57 ) { ind4 = index57; }
if ( top4 == 58 ) { ind4 = index58; }
if ( top4 == 59 ) { ind4 = index59; }
if ( top4 == 60 ) { ind4 = index60; }
if ( top4 == 61 ) { ind4 = index61; }
if ( top4 == 62 ) { ind4 = index62; }
if ( top4 == 63 ) { ind4 = index63; }
if ( top4 == 64 ) { ind4 = index64; }
if ( top4 == 65 ) { ind4 = index65; }
if ( top4 == 66 ) { ind4 = index66; }
if ( top4 == 67 ) { ind4 = index67; }
if ( top4 == 68 ) { ind4 = index68; }
if ( top4 == 69 ) { ind4 = index69; }
if ( top4 == 70 ) { ind4 = index70; }
if ( top4 == 71 ) { ind4 = index71; }
if ( top4 == 72 ) { ind4 = index72; }
if ( top4 == 73 ) { ind4 = index73; }
if ( top4 == 74 ) { ind4 = index74; }
if ( top4 == 75 ) { ind4 = index75; }
if ( top4 == 76 ) { ind4 = index76; }
if ( top4 == 77 ) { ind4 = index77; }
if ( top4 == 78 ) { ind4 = index78; }
if ( top4 == 79 ) { ind4 = index79; }
if ( top4 == 80 ) { ind4 = index80; }
if ( top4 == 81 ) { ind4 = index81; }
if ( top4 == 82 ) { ind4 = index82; }
if ( top4 == 83 ) { ind4 = index83; }
if ( top4 == 84 ) { ind4 = index84; }
if ( top4 == 85 ) { ind4 = index85; }
if ( top4 == 86 ) { ind4 = index86; }
if ( top4 == 87 ) { ind4 = index87; }
if ( top4 == 88 ) { ind4 = index88; }
if ( top4 == 89 ) { ind4 = index89; }
if ( top4 == 90 ) { ind4 = index90; }
if ( top4 == 91 ) { ind4 = index91; }
if ( top4 == 92 ) { ind4 = index92; }
if ( top4 == 93 ) { ind4 = index93; }
if ( top4 == 94 ) { ind4 = index94; }
if ( top4 == 95 ) { ind4 = index95; }
if ( top4 == 96 ) { ind4 = index96; }
if ( top4 == 97 ) { ind4 = index97; }
if ( top4 == 98 ) { ind4 = index98; }
if ( top4 == 99 ) { ind4 = index99; }
if ( top4 == 100 ) { ind4 = index100; }
if ( top4 == 101 ) { ind4 = index101; }
if ( top4 == 102 ) { ind4 = index102; }
if ( top4 == 103 ) { ind4 = index103; }
if ( top4 == 104 ) { ind4 = index104; }
if ( top4 == 105 ) { ind4 = index105; }
if ( top4 == 106 ) { ind4 = index106; }
if ( top4 == 107 ) { ind4 = index107; }
if ( top4 == 108 ) { ind4 = index108; }
if ( top4 == 109 ) { ind4 = index109; }
if ( top4 == 110 ) { ind4 = index110; }
if ( top4 == 111 ) { ind4 = index111; }
if ( top4 == 112 ) { ind4 = index112; }
if ( top4 == 113 ) { ind4 = index113; }
if ( top4 == 114 ) { ind4 = index114; }
if ( top4 == 115 ) { ind4 = index115; }
if ( top4 == 116 ) { ind4 = index116; }
if ( top4 == 117 ) { ind4 = index117; }
if ( top4 == 118 ) { ind4 = index118; }
if ( top4 == 119 ) { ind4 = index119; }
if ( top4 == 120 ) { ind4 = index120; }
if ( top4 == 121 ) { ind4 = index121; }
if ( top4 == 122 ) { ind4 = index122; }
if ( top4 == 123 ) { ind4 = index123; }
if ( top4 == 124 ) { ind4 = index124; }
if ( top4 == 125 ) { ind4 = index125; }
// --
if ( top5 == 1 ) { ind5 = index1; }
if ( top5 == 2 ) { ind5 = index2; }
if ( top5 == 3 ) { ind5 = index3; }
if ( top5 == 4 ) { ind5 = index4; }
if ( top5 == 5 ) { ind5 = index5; }
if ( top5 == 6 ) { ind5 = index6; }
if ( top5 == 7 ) { ind5 = index7; }
if ( top5 == 8 ) { ind5 = index8; }
if ( top5 == 9 ) { ind5 = index9; }
if ( top5 == 10 ) { ind5 = index10; }
if ( top5 == 11 ) { ind5 = index11; }
if ( top5 == 12 ) { ind5 = index12; }
if ( top5 == 13 ) { ind5 = index13; }
if ( top5 == 14 ) { ind5 = index14; }
if ( top5 == 15 ) { ind5 = index15; }
if ( top5 == 16 ) { ind5 = index16; }
if ( top5 == 17 ) { ind5 = index17; }
if ( top5 == 18 ) { ind5 = index18; }
if ( top5 == 19 ) { ind5 = index19; }
if ( top5 == 20 ) { ind5 = index20; }
if ( top5 == 21 ) { ind5 = index21; }
if ( top5 == 22 ) { ind5 = index22; }
if ( top5 == 23 ) { ind5 = index23; }
if ( top5 == 24 ) { ind5 = index24; }
if ( top5 == 25 ) { ind5 = index25; }
if ( top5 == 26 ) { ind5 = index26; }
if ( top5 == 27 ) { ind5 = index27; }
if ( top5 == 28 ) { ind5 = index28; }
if ( top5 == 29 ) { ind5 = index29; }
if ( top5 == 30 ) { ind5 = index30; }
if ( top5 == 31 ) { ind5 = index31; }
if ( top5 == 32 ) { ind5 = index32; }
if ( top5 == 33 ) { ind5 = index33; }
if ( top5 == 34 ) { ind5 = index34; }
if ( top5 == 35 ) { ind5 = index35; }
if ( top5 == 36 ) { ind5 = index36; }
if ( top5 == 37 ) { ind5 = index37; }
if ( top5 == 38 ) { ind5 = index38; }
if ( top5 == 39 ) { ind5 = index39; }
if ( top5 == 40 ) { ind5 = index40; }
if ( top5 == 41 ) { ind5 = index41; }
if ( top5 == 42 ) { ind5 = index42; }
if ( top5 == 43 ) { ind5 = index43; }
if ( top5 == 44 ) { ind5 = index44; }
if ( top5 == 45 ) { ind5 = index45; }
if ( top5 == 46 ) { ind5 = index46; }
if ( top5 == 47 ) { ind5 = index47; }
if ( top5 == 48 ) { ind5 = index48; }
if ( top5 == 49 ) { ind5 = index49; }
if ( top5 == 50 ) { ind5 = index50; }
if ( top5 == 51 ) { ind5 = index51; }
if ( top5 == 52 ) { ind5 = index52; }
if ( top5 == 53 ) { ind5 = index53; }
if ( top5 == 54 ) { ind5 = index54; }
if ( top5 == 55 ) { ind5 = index55; }
if ( top5 == 56 ) { ind5 = index56; }
if ( top5 == 57 ) { ind5 = index57; }
if ( top5 == 58 ) { ind5 = index58; }
if ( top5 == 59 ) { ind5 = index59; }
if ( top5 == 60 ) { ind5 = index60; }
if ( top5 == 61 ) { ind5 = index61; }
if ( top5 == 62 ) { ind5 = index62; }
if ( top5 == 63 ) { ind5 = index63; }
if ( top5 == 64 ) { ind5 = index64; }
if ( top5 == 65 ) { ind5 = index65; }
if ( top5 == 66 ) { ind5 = index66; }
if ( top5 == 67 ) { ind5 = index67; }
if ( top5 == 68 ) { ind5 = index68; }
if ( top5 == 69 ) { ind5 = index69; }
if ( top5 == 70 ) { ind5 = index70; }
if ( top5 == 71 ) { ind5 = index71; }
if ( top5 == 72 ) { ind5 = index72; }
if ( top5 == 73 ) { ind5 = index73; }
if ( top5 == 74 ) { ind5 = index74; }
if ( top5 == 75 ) { ind5 = index75; }
if ( top5 == 76 ) { ind5 = index76; }
if ( top5 == 77 ) { ind5 = index77; }
if ( top5 == 78 ) { ind5 = index78; }
if ( top5 == 79 ) { ind5 = index79; }
if ( top5 == 80 ) { ind5 = index80; }
if ( top5 == 81 ) { ind5 = index81; }
if ( top5 == 82 ) { ind5 = index82; }
if ( top5 == 83 ) { ind5 = index83; }
if ( top5 == 84 ) { ind5 = index84; }
if ( top5 == 85 ) { ind5 = index85; }
if ( top5 == 86 ) { ind5 = index86; }
if ( top5 == 87 ) { ind5 = index87; }
if ( top5 == 88 ) { ind5 = index88; }
if ( top5 == 89 ) { ind5 = index89; }
if ( top5 == 90 ) { ind5 = index90; }
if ( top5 == 91 ) { ind5 = index91; }
if ( top5 == 92 ) { ind5 = index92; }
if ( top5 == 93 ) { ind5 = index93; }
if ( top5 == 94 ) { ind5 = index94; }
if ( top5 == 95 ) { ind5 = index95; }
if ( top5 == 96 ) { ind5 = index96; }
if ( top5 == 97 ) { ind5 = index97; }
if ( top5 == 98 ) { ind5 = index98; }
if ( top5 == 99 ) { ind5 = index99; }
if ( top5 == 100 ) { ind5 = index100; }
if ( top5 == 101 ) { ind5 = index101; }
if ( top5 == 102 ) { ind5 = index102; }
if ( top5 == 103 ) { ind5 = index103; }
if ( top5 == 104 ) { ind5 = index104; }
if ( top5 == 105 ) { ind5 = index105; }
if ( top5 == 106 ) { ind5 = index106; }
if ( top5 == 107 ) { ind5 = index107; }
if ( top5 == 108 ) { ind5 = index108; }
if ( top5 == 109 ) { ind5 = index109; }
if ( top5 == 110 ) { ind5 = index110; }
if ( top5 == 111 ) { ind5 = index111; }
if ( top5 == 112 ) { ind5 = index112; }
if ( top5 == 113 ) { ind5 = index113; }
if ( top5 == 114 ) { ind5 = index114; }
if ( top5 == 115 ) { ind5 = index115; }
if ( top5 == 116 ) { ind5 = index116; }
if ( top5 == 117 ) { ind5 = index117; }
if ( top5 == 118 ) { ind5 = index118; }
if ( top5 == 119 ) { ind5 = index119; }
if ( top5 == 120 ) { ind5 = index120; }
if ( top5 == 121 ) { ind5 = index121; }
if ( top5 == 122 ) { ind5 = index122; }
if ( top5 == 123 ) { ind5 = index123; }
if ( top5 == 124 ) { ind5 = index124; }
if ( top5 == 125 ) { ind5 = index125; }
// --
if ( top6 == 1 ) { ind6 = index1; }
if ( top6 == 2 ) { ind6 = index2; }
if ( top6 == 3 ) { ind6 = index3; }
if ( top6 == 4 ) { ind6 = index4; }
if ( top6 == 5 ) { ind6 = index5; }
if ( top6 == 6 ) { ind6 = index6; }
if ( top6 == 7 ) { ind6 = index7; }
if ( top6 == 8 ) { ind6 = index8; }
if ( top6 == 9 ) { ind6 = index9; }
if ( top6 == 10 ) { ind6 = index10; }
if ( top6 == 11 ) { ind6 = index11; }
if ( top6 == 12 ) { ind6 = index12; }
if ( top6 == 13 ) { ind6 = index13; }
if ( top6 == 14 ) { ind6 = index14; }
if ( top6 == 15 ) { ind6 = index15; }
if ( top6 == 16 ) { ind6 = index16; }
if ( top6 == 17 ) { ind6 = index17; }
if ( top6 == 18 ) { ind6 = index18; }
if ( top6 == 19 ) { ind6 = index19; }
if ( top6 == 20 ) { ind6 = index20; }
if ( top6 == 21 ) { ind6 = index21; }
if ( top6 == 22 ) { ind6 = index22; }
if ( top6 == 23 ) { ind6 = index23; }
if ( top6 == 24 ) { ind6 = index24; }
if ( top6 == 25 ) { ind6 = index25; }
if ( top6 == 26 ) { ind6 = index26; }
if ( top6 == 27 ) { ind6 = index27; }
if ( top6 == 28 ) { ind6 = index28; }
if ( top6 == 29 ) { ind6 = index29; }
if ( top6 == 30 ) { ind6 = index30; }
if ( top6 == 31 ) { ind6 = index31; }
if ( top6 == 32 ) { ind6 = index32; }
if ( top6 == 33 ) { ind6 = index33; }
if ( top6 == 34 ) { ind6 = index34; }
if ( top6 == 35 ) { ind6 = index35; }
if ( top6 == 36 ) { ind6 = index36; }
if ( top6 == 37 ) { ind6 = index37; }
if ( top6 == 38 ) { ind6 = index38; }
if ( top6 == 39 ) { ind6 = index39; }
if ( top6 == 40 ) { ind6 = index40; }
if ( top6 == 41 ) { ind6 = index41; }
if ( top6 == 42 ) { ind6 = index42; }
if ( top6 == 43 ) { ind6 = index43; }
if ( top6 == 44 ) { ind6 = index44; }
if ( top6 == 45 ) { ind6 = index45; }
if ( top6 == 46 ) { ind6 = index46; }
if ( top6 == 47 ) { ind6 = index47; }
if ( top6 == 48 ) { ind6 = index48; }
if ( top6 == 49 ) { ind6 = index49; }
if ( top6 == 50 ) { ind6 = index50; }
if ( top6 == 51 ) { ind6 = index51; }
if ( top6 == 52 ) { ind6 = index52; }
if ( top6 == 53 ) { ind6 = index53; }
if ( top6 == 54 ) { ind6 = index54; }
if ( top6 == 55 ) { ind6 = index55; }
if ( top6 == 56 ) { ind6 = index56; }
if ( top6 == 57 ) { ind6 = index57; }
if ( top6 == 58 ) { ind6 = index58; }
if ( top6 == 59 ) { ind6 = index59; }
if ( top6 == 60 ) { ind6 = index60; }
if ( top6 == 61 ) { ind6 = index61; }
if ( top6 == 62 ) { ind6 = index62; }
if ( top6 == 63 ) { ind6 = index63; }
if ( top6 == 64 ) { ind6 = index64; }
if ( top6 == 65 ) { ind6 = index65; }
if ( top6 == 66 ) { ind6 = index66; }
if ( top6 == 67 ) { ind6 = index67; }
if ( top6 == 68 ) { ind6 = index68; }
if ( top6 == 69 ) { ind6 = index69; }
if ( top6 == 70 ) { ind6 = index70; }
if ( top6 == 71 ) { ind6 = index71; }
if ( top6 == 72 ) { ind6 = index72; }
if ( top6 == 73 ) { ind6 = index73; }
if ( top6 == 74 ) { ind6 = index74; }
if ( top6 == 75 ) { ind6 = index75; }
if ( top6 == 76 ) { ind6 = index76; }
if ( top6 == 77 ) { ind6 = index77; }
if ( top6 == 78 ) { ind6 = index78; }
if ( top6 == 79 ) { ind6 = index79; }
if ( top6 == 80 ) { ind6 = index80; }
if ( top6 == 81 ) { ind6 = index81; }
if ( top6 == 82 ) { ind6 = index82; }
if ( top6 == 83 ) { ind6 = index83; }
if ( top6 == 84 ) { ind6 = index84; }
if ( top6 == 85 ) { ind6 = index85; }
if ( top6 == 86 ) { ind6 = index86; }
if ( top6 == 87 ) { ind6 = index87; }
if ( top6 == 88 ) { ind6 = index88; }
if ( top6 == 89 ) { ind6 = index89; }
if ( top6 == 90 ) { ind6 = index90; }
if ( top6 == 91 ) { ind6 = index91; }
if ( top6 == 92 ) { ind6 = index92; }
if ( top6 == 93 ) { ind6 = index93; }
if ( top6 == 94 ) { ind6 = index94; }
if ( top6 == 95 ) { ind6 = index95; }
if ( top6 == 96 ) { ind6 = index96; }
if ( top6 == 97 ) { ind6 = index97; }
if ( top6 == 98 ) { ind6 = index98; }
if ( top6 == 99 ) { ind6 = index99; }
if ( top6 == 100 ) { ind6 = index100; }
if ( top6 == 101 ) { ind6 = index101; }
if ( top6 == 102 ) { ind6 = index102; }
if ( top6 == 103 ) { ind6 = index103; }
if ( top6 == 104 ) { ind6 = index104; }
if ( top6 == 105 ) { ind6 = index105; }
if ( top6 == 106 ) { ind6 = index106; }
if ( top6 == 107 ) { ind6 = index107; }
if ( top6 == 108 ) { ind6 = index108; }
if ( top6 == 109 ) { ind6 = index109; }
if ( top6 == 110 ) { ind6 = index110; }
if ( top6 == 111 ) { ind6 = index111; }
if ( top6 == 112 ) { ind6 = index112; }
if ( top6 == 113 ) { ind6 = index113; }
if ( top6 == 114 ) { ind6 = index114; }
if ( top6 == 115 ) { ind6 = index115; }
if ( top6 == 116 ) { ind6 = index116; }
if ( top6 == 117 ) { ind6 = index117; }
if ( top6 == 118 ) { ind6 = index118; }
if ( top6 == 119 ) { ind6 = index119; }
if ( top6 == 120 ) { ind6 = index120; }
if ( top6 == 121 ) { ind6 = index121; }
if ( top6 == 122 ) { ind6 = index122; }
if ( top6 == 123 ) { ind6 = index123; }
if ( top6 == 124 ) { ind6 = index124; }
if ( top6 == 125 ) { ind6 = index125; }
// --
var ftpoo1 = true;
var ftpoo2 = true;
var ftpoo3 = true;
var ftpoo4 = true;
var ftpoo5 = true;
var ftpoo6 = true;
// MODIF POINT
if ( top1 == 0 || top1 == 37 || top1 == 70 || top1 == 82 || top1 == 86 || top1 > 88 ) { ftpoo1 = false; }
if ( top2 == 0 || top2 == 37 || top2 == 70 || top2 == 82 || top2 == 86 || top2 > 88 ) { ftpoo2 = false; }
if ( top3 == 0 || top3 == 37 || top3 == 70 || top3 == 82 || top3 == 86 || top3 > 88 ) { ftpoo3 = false; }
if ( top4 == 0 || top4 == 37 || top4 == 70 || top4 == 82 || top4 == 86 || top4 > 88 ) { ftpoo4 = false; }
if ( top5 == 0 || top5 == 37 || top5 == 70 || top5 == 82 || top5 == 86 || top5 > 88 ) { ftpoo5 = false; }
if ( top6 == 0 || top6 == 37 || top6 == 70 || top6 == 82 || top6 == 86 || top6 > 88 ) { ftpoo6 = false; }
var wio = 1204;
var hio = 460;
if ( wiii < 6 && hiii < 2 ) { wio = 1204; hio = 401; } // 405 - 4
if ( wiii >= 6 && hiii < 2 ) { wio = 1856; hio = 401; } // 405 - 4
if ( wiii < 6 && hiii >= 2 && hiii < 3 ) { wio = 1204; hio = 456; } // 460 - 4
if ( wiii >= 6 && hiii >= 2 && hiii < 3 ) { wio = 1856; hio = 456; } // 460 - 4
if ( wiii < 6 && hiii >= 3 && hiii < 4 ) { wio = 1204; hio = 586; } // 590 - 4
if ( wiii >= 6 && hiii >= 3 && hiii < 4 ) { wio = 1856; hio = 586; } // 590 - 4
if ( wiii < 6 && hiii >= 4 && hiii < 5 ) { wio = 1204; hio = 696; } // 700 - 4
if ( wiii >= 6 && hiii >= 4 && hiii < 5 ) { wio = 1856; hio = 696; } // 700 - 4
if ( wiii < 6 && hiii >= 5 ) { wio = 1204; hio = 764; } // 768 - 4
if ( wiii >= 6 && hiii >= 5 ) { wio = 1854; hio = 764; } // 768 - 4
var det11 = false;
var det12 = false;
var det0 = 0;
var det0;
det0 = getCookie('det1');
if ( !det0 || det0 == "" ) { det0 = 0; }
if ( det0 == 1 ) { det11 = true; }
if ( det0 == 0 ) { det11 = false; }
if ( wiii >= 6 && hiii >= 5 && casc == true ) { wio = 617; hio = 379; det11 = false; }
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
var bisi1 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
var bisi2 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
var bisi3 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
var bisi4 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
var bisi5 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
var bisi6 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
var bierre = new Array("ide0","ide1","ide2","ide3","ide4","ide5","ide6","ide7","ide8","ide9","ide10","ide11","ide12","ide13","ide14","ide15","ide16","ide17","ide18","ide19","ide20","ide21","ide22","ide23","ide24","ide25","ide26","ide27","ide28","ide29","ide30","ide31","ide32","ide33","ide34","ide35","ide36","ide37","ide38","ide39","ide40","ide41","ide42","ide43","ide44","ide45","ide46","ide47","ide48","ide49","ide50","ide51","ide52","ide53","ide54","ide55","ide56","ide57","ide58","ide59","ide60","ide61","ide62","ide63","ide64","ide65","ide66","ide67","ide68","ide69","ide70","ide71","ide72","ide73","ide74","ide75","ide76","ide77","ide78","ide79","ide80","ide81","ide82","ide83","ide84","ide85","ide86","ide87","ide88","ide89","ide90","ide91","ide92","ide93","ide94","ide95","ide96","ide97","ide98","ide99","ide100","ide101","ide102","ide103","ide104","ide105","ide106","ide107","ide108","ide109","ide110","ide111","ide112","ide113","ide114","ide115","ide116","ide117","ide118","ide119","ide120","ide121","ide122","ide123","ide124","ide125");
var rzz = 0;
var rtu = 0;
var passt = true;
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
// MODIF POINT
function remisezero(rzz) {
if ( rzz == 3 || rzz == 2 || rzz == 1 || rzz == 0 ) {
for ( rtu=0; rtu < lim; rtu++ ) {
if ( rtu == 0 || rtu == 37 || rtu == 70 || rtu == 82 || rtu == 86 || rtu > 88 ) { passt = false; }
if ( passt == true) { swap(bierre[rtu],'rrr_51'); }
passt = true;
}
bis2=0;
bis3 = "";
bis4 = "";
bis5 = "";
bis6 = "";
bis7 = "";
bis8 = "";
bis20=false;
bisi1 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
bisi2 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
bisi3 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
bisi4 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
bisi5 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
bisi6 = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
}
if ( rzz == 0 ) {
modei1=""; modei2=""; modei3="";modei4=""; modei5=""; modei6="";
}
}
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
var bisi30 = new Array(0,0,0,0,0,0,0,0,0);
var mml=0;
var mlm=0;
var mln=0;
//---------------------
function tilt(bis) {
// -----
// MODIF POINT
if ( bis2 >= 30 && bis2 < 36 ) {
if ( bis == 0 || bis == 37 || bis == 70 || bis == 82 || bis == 86 || bis > 88 ) { bis2++; bis8 = bis + ',' + bis8; passt = false; }
if ( passt == true && bisi1[bis] == 0 && bisi2[bis] == 0 && bisi3[bis] == 0 && bisi4[bis] == 0 && bisi5[bis] == 0 && bisi6[bis] == 0 ) { swap(bierre[bis],'rrr_57'); bis2++; bisi1[bis] = 1; bisi2[bis] = 1; bisi3[bis] = 1; bisi4[bis] = 1; bisi5[bis] = 1; bisi6[bis] = 1; bis8 = bis + ',' + bis8; passt = false; }
passt = true;
}
if ( bis2 >= 24 && bis2 < 30 ) {
if ( bis == 0 || bis == 37 || bis == 70 || bis == 82 || bis == 86 || bis > 88 ) { bis2++; bis7 = bis + ',' + bis7; passt = false; }
if ( passt == true && bisi1[bis] == 0 && bisi2[bis] == 0 && bisi3[bis] == 0 && bisi4[bis] == 0 && bisi5[bis] == 0 ) { swap(bierre[bis],'rrr_56'); bis2++; bisi1[bis] = 1; bisi2[bis] = 1; bisi3[bis] = 1; bisi4[bis] = 1; bisi5[bis] = 1; bis7 = bis + ',' + bis7; passt = false; }
passt = true;
}
if ( bis2 >= 18 && bis2 < 24 ) {
if ( bis == 0 || bis == 37 || bis == 70 || bis == 82 || bis == 86 || bis > 88 ) { bis2++; bis6 = bis + ',' + bis6; passt = false; }
if ( passt == true && bisi1[bis] == 0 && bisi2[bis] == 0 && bisi3[bis] == 0 && bisi4[bis] == 0 ) { swap(bierre[bis],'rrr_55'); bis2++; bisi1[bis] = 1; bisi2[bis] = 1; bisi3[bis] = 1; bisi4[bis] = 1; bis6 = bis + ',' + bis6; }
passt = true;
}
if ( bis2 >= 12 && bis2 < 18 ) {
if ( bis == 0 || bis == 37 || bis == 70 || bis == 82 || bis == 86 || bis > 88 ) { bis2++; bis5 = bis + ',' + bis5; passt = false; }
if ( passt == true && bisi1[bis] == 0 && bisi2[bis] == 0 && bisi3[bis] == 0 ) { swap(bierre[bis],'rrr_54'); bis2++; bisi1[bis] = 1; bisi2[bis] = 1; bisi3[bis] = 1; bis5 = bis + ',' + bis5; }
passt = true;
}
if ( bis2 >= 6 && bis2 < 12 ) {
if ( bis == 0 || bis == 37 || bis == 70 || bis == 82 || bis == 86 || bis > 88 ) { bis2++; bis4 = bis + ',' + bis4; passt = false; }
if ( passt == true && bisi1[bis] == 0 && bisi2[bis] == 0 ) { swap(bierre[bis],'rrr_53'); bis2++; bisi1[bis] = 1; bisi2[bis] = 1; bis4 = bis + ',' + bis4; }
passt = true;
}
if ( bis2 >= 0 && bis2 < 6 ) {
if ( bis == 0 || bis == 37 || bis == 70 || bis == 82 || bis == 86 || bis > 88 ) { bis2++; bis3 = bis + ',' + bis3; passt = false; }
if ( passt == true && bisi1[bis] == 0 ) { swap(bierre[bis],'rrr_52'); bis2++; bisi1[bis] = 1; bis3 = bis + ',' + bis3; }
passt = true;
}
}
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
function apppage() {
// alert(bis2);
if ( bis8.length > 0 && bis7.length > 0 && bis6.length > 0 && bis5.length > 0 && bis4.length > 0 && bis3.length > 0 ) {
bis3 = bis3.substring(0,bis3.length-1);
bis3 = "&i1=" + bis3;
//--
mml=0; mlm=0;
for ( mml=0; mml 0 && bis6.length > 0 && bis5.length > 0 && bis4.length > 0 && bis3.length > 0 ) {
bis3 = bis3.substring(0,bis3.length-1);
bis3 = "&i1=" + bis3;
//--
mml=0; mlm=0;
for ( mml=0; mml 0 && bis5.length > 0 && bis4.length > 0 && bis3.length > 0 ) {
bis3 = bis3.substring(0,bis3.length-1);
bis3 = "&i1=" + bis3;
//--
mml=0; mlm=0;
for ( mml=0; mml 0 && bis4.length > 0 && bis3.length > 0 ) {
bis3 = bis3.substring(0,bis3.length-1);
bis3 = "&i1=" + bis3;
//--
mml=0; mlm=0;
for ( mml=0; mml 0 && bis3.length > 0 && bis5.length <= 0 ) {
bis3 = bis3.substring(0,bis3.length-1);
bis3 = "&i1=" + bis3;
//--
mml=0; mlm=0;
for ( mml=0; mml 0 && ( bis4.length <= 0 || bis5.length <= 0 ) ) {
bis3 = bis3.substring(0,bis3.length-1);
bis3 = "&i1=" + bis3;
//--
mml=0; mlm=0;
for ( mml=0; mml= 0 ) { topy1 = topy[0]; }
if ( topy[1] >= 0 ) { topy2 = topy[1]; }
if ( topy[2] >= 0 ) { topy3 = topy[2]; }
if ( topy[3] >= 0 ) { topy4 = topy[3]; }
if ( topy[4] >= 0 ) { topy5 = topy[4]; }
if ( topy[5] >= 0 ) { topy6 = topy[5]; }
if ( topy6 >= 0 && avance == 0 ) { tilt(topy6); }
if ( topy5 >= 0 && avance == 0 ) { tilt(topy5); }
if ( topy4 >= 0 && avance == 0 ) { tilt(topy4); }
if ( topy3 >= 0 && avance == 0 ) { tilt(topy3); }
if ( topy2 >= 0 && avance == 0 ) { tilt(topy2); }
if ( topy1 >= 0 && avance == 0 ) { tilt(topy1); }
if ( njj5 == false ) { setTimeout('fenn1();',6000); }
}
}
if ( modei2 != "" && njj1 == true ) {
temp = 0;
topy = new Array(-1,-1,-1,-1,-1,-1);
temp = modei2.split(',');
tyi=0; topy1 = -1; topy2 = -1; topy3 = -1; topy4 = -1; topy5 = -1; topy6 = -1;
tyi = temp.length;
if ( tyi == 6 ) {
di_boucle();
if ( topy[0] >= 0 ) { topy1 = topy[0]; }
if ( topy[1] >= 0 ) { topy2 = topy[1]; }
if ( topy[2] >= 0 ) { topy3 = topy[2]; }
if ( topy[3] >= 0 ) { topy4 = topy[3]; }
if ( topy[4] >= 0 ) { topy5 = topy[4]; }
if ( topy[5] >= 0 ) { topy6 = topy[5]; }
if ( topy6 >= 0 && avance == 0 ) { tilt(topy6); }
if ( topy5 >= 0 && avance == 0 ) { tilt(topy5); }
if ( topy4 >= 0 && avance == 0 ) { tilt(topy4); }
if ( topy3 >= 0 && avance == 0 ) { tilt(topy3); }
if ( topy2 >= 0 && avance == 0 ) { tilt(topy2); }
if ( topy1 >= 0 && avance == 0 ) { tilt(topy1); }
}
}
if ( modei3 != "" && njj1 == true ) {
temp = 0;
topy = new Array(-1,-1,-1,-1,-1,-1);
temp = modei3.split(',');
tyi=0; topy1 = -1; topy2 = -1; topy3 = -1; topy4 = -1; topy5 = -1; topy6 = -1;
tyi = temp.length;
if ( tyi == 6 ) {
di_boucle();
if ( topy[0] >= 0 ) { topy1 = topy[0]; }
if ( topy[1] >= 0 ) { topy2 = topy[1]; }
if ( topy[2] >= 0 ) { topy3 = topy[2]; }
if ( topy[3] >= 0 ) { topy4 = topy[3]; }
if ( topy[4] >= 0 ) { topy5 = topy[4]; }
if ( topy[5] >= 0 ) { topy6 = topy[5]; }
if ( topy6 >= 0 && avance == 0 ) { tilt(topy6); }
if ( topy5 >= 0 && avance == 0 ) { tilt(topy5); }
if ( topy4 >= 0 && avance == 0 ) { tilt(topy4); }
if ( topy3 >= 0 && avance == 0 ) { tilt(topy3); }
if ( topy2 >= 0 && avance == 0 ) { tilt(topy2); }
if ( topy1 >= 0 && avance == 0 ) { tilt(topy1); }
}
}
if ( modei4 != "" && njj1 == true ) {
temp = 0;
topy = new Array(-1,-1,-1,-1,-1,-1);
temp = modei4.split(',');
tyi=0; topy1 = -1; topy2 = -1; topy3 = -1; topy4 = -1; topy5 = -1; topy6 = -1;
tyi = temp.length;
if ( tyi == 6 ) {
di_boucle();
if ( topy[0] >= 0 ) { topy1 = topy[0]; }
if ( topy[1] >= 0 ) { topy2 = topy[1]; }
if ( topy[2] >= 0 ) { topy3 = topy[2]; }
if ( topy[3] >= 0 ) { topy4 = topy[3]; }
if ( topy[4] >= 0 ) { topy5 = topy[4]; }
if ( topy[5] >= 0 ) { topy6 = topy[5]; }
if ( topy6 >= 0 && avance == 0 ) { tilt(topy6); }
if ( topy5 >= 0 && avance == 0 ) { tilt(topy5); }
if ( topy4 >= 0 && avance == 0 ) { tilt(topy4); }
if ( topy3 >= 0 && avance == 0 ) { tilt(topy3); }
if ( topy2 >= 0 && avance == 0 ) { tilt(topy2); }
if ( topy1 >= 0 && avance == 0 ) { tilt(topy1); }
}
}
if ( modei5 != "" && njj1 == true ) {
temp = 0;
topy = new Array(-1,-1,-1,-1,-1,-1);
temp = modei5.split(',');
tyi=0; topy1 = -1; topy2 = -1; topy3 = -1; topy4 = -1; topy5 = -1; topy6 = -1;
tyi = temp.length;
if ( tyi == 6 ) {
di_boucle();
if ( topy[0] >= 0 ) { topy1 = topy[0]; }
if ( topy[1] >= 0 ) { topy2 = topy[1]; }
if ( topy[2] >= 0 ) { topy3 = topy[2]; }
if ( topy[3] >= 0 ) { topy4 = topy[3]; }
if ( topy[4] >= 0 ) { topy5 = topy[4]; }
if ( topy[5] >= 0 ) { topy6 = topy[5]; }
if ( topy6 >= 0 && avance == 0 ) { tilt(topy6); }
if ( topy5 >= 0 && avance == 0 ) { tilt(topy5); }
if ( topy4 >= 0 && avance == 0 ) { tilt(topy4); }
if ( topy3 >= 0 && avance == 0 ) { tilt(topy3); }
if ( topy2 >= 0 && avance == 0 ) { tilt(topy2); }
if ( topy1 >= 0 && avance == 0 ) { tilt(topy1); }
}
}
if ( modei6 != "" && njj1 == true ) {
temp = 0;
topy = new Array(-1,-1,-1,-1,-1,-1);
temp = modei6.split(',');
tyi=0; topy1 = -1; topy2 = -1; topy3 = -1; topy4 = -1; topy5 = -1; topy6 = -1;
tyi = temp.length;
if ( tyi == 6 ) {
di_boucle();
if ( topy[0] >= 0 ) { topy1 = topy[0]; }
if ( topy[1] >= 0 ) { topy2 = topy[1]; }
if ( topy[2] >= 0 ) { topy3 = topy[2]; }
if ( topy[3] >= 0 ) { topy4 = topy[3]; }
if ( topy[4] >= 0 ) { topy5 = topy[4]; }
if ( topy[5] >= 0 ) { topy6 = topy[5]; }
if ( topy6 >= 0 && avance == 0 ) { tilt(topy6); }
if ( topy5 >= 0 && avance == 0 ) { tilt(topy5); }
if ( topy4 >= 0 && avance == 0 ) { tilt(topy4); }
if ( topy3 >= 0 && avance == 0 ) { tilt(topy3); }
if ( topy2 >= 0 && avance == 0 ) { tilt(topy2); }
if ( topy1 >= 0 && avance == 0 ) { tilt(topy1); }
}
}
document.getElementById('id_barre1').className='afficher';
document.getElementById('id_barre2').className='afficher';
document.getElementById('id_barre3').className='afficher';
}
// -----------------------------------------
// -----------------------------------------
// Script de Marc Fiasse
// Tous droits réservés
// -----------------------------------------
// -----------------------------------------
// -->
Options : sélection de 6, 12, 18, 24, 30 ou 36 graphiques. |
|
Infos / Aide |
|
|
L'actualité des marchés |
|
|
Analyses bourse et finance |
|
|
Les chroniques économiques et financières |
|
|
Calendrier économique |
|
|
Autres Fils RSS |
|
|
Actualités et Analyse Bourse |
|
|
Analyses Devises et Indices |
|
|
Agenda boursier / Calendrier |
|
|
Forex : Statistiques et informations |
|
|
Actualités sur ... |
|
|
Actualités sur ... |
|
|
Actualités sur ... |
|
|
Centralcharts.com |
|
|
RSS sur Tribuforex.fr |
|
|
RSS sur Tribuforex.fr |
|
|
Traduction, Horaires, Conférences ... |
|
|
DailyFX.com ... |
|
|
Infos du site : PrixDuBaril.com ... |
|
|
|
|
Le Cookie est effacé !
Patientez un moment ...
|
Sorry ...
Pas de graphique disponible !
|
|