108 lines
2.6 KiB
JavaScript
108 lines
2.6 KiB
JavaScript
//<SCRIPT LANGUAGE="JavaScript">
|
|
//***********************************
|
|
//* Configuration de l'application
|
|
//***********************************
|
|
|
|
//Déclaration des constantes utilisées sur le client
|
|
|
|
var cstAsciiDelete = 8 ;
|
|
|
|
var cstValidModuleList4BDFKeys='|27|37|45|56|28|29|40|81|82|83|85|88|91|92|93|95|98|DE|';
|
|
|
|
var cstRoot = '/FIBEN';
|
|
|
|
// Déclaration de la liste des layers liés au menu
|
|
var arMenuLayers = new Array();
|
|
arMenuLayers[0]='over';
|
|
arMenuLayers[1]='AG';
|
|
arMenuLayers[2]='E';
|
|
arMenuLayers[3]='IB';
|
|
arMenuLayers[4]='DF';
|
|
arMenuLayers[5]='AR';
|
|
arMenuLayers[6]='smdemande';
|
|
arMenuLayers[7]='smoutils';
|
|
arMenuLayers[8]='overmultiple';
|
|
arMenuLayers[9]='D';
|
|
arMenuLayers[10]='smsaa';
|
|
|
|
var arMenuItems = new Array();
|
|
arMenuItems['D'] = new Array();
|
|
arMenuItems['D'][0] = 'DE';
|
|
arMenuItems['D'][1] = 'AN';
|
|
|
|
arMenuItems['AR'] = new Array();
|
|
arMenuItems['AR'][0] = '27';
|
|
arMenuItems['AR'][1] = '37';
|
|
arMenuItems['AR'][2] = '38';
|
|
arMenuItems['AR'][3] = '45';
|
|
arMenuItems['AR'][4] = '70';
|
|
arMenuItems['AR'][5] = '72';
|
|
|
|
arMenuItems['IB'] = new Array();
|
|
arMenuItems['IB'][0] = '28';
|
|
arMenuItems['IB'][1] = '29';
|
|
arMenuItems['IB'][2] = '30';
|
|
arMenuItems['IB'][3] = '40';
|
|
|
|
arMenuItems['E'] = new Array();
|
|
arMenuItems['E'][0] = '27';
|
|
arMenuItems['E'][1] = '41';
|
|
arMenuItems['E'][2] = '45';
|
|
arMenuItems['E'][3] = '51';
|
|
arMenuItems['E'][4] = '52';
|
|
arMenuItems['E'][5] = '54';
|
|
arMenuItems['E'][6] = '56';
|
|
arMenuItems['E'][7] = '57';
|
|
arMenuItems['E'][8] = '58';
|
|
|
|
arMenuItems['DF'] = new Array();
|
|
arMenuItems['DF'][0] = 'VB';
|
|
arMenuItems['DF'][1] = '60';
|
|
arMenuItems['DF'][2] = '62';
|
|
arMenuItems['DF'][3] = '63';
|
|
arMenuItems['DF'][4] = '64';
|
|
arMenuItems['DF'][5] = '68';
|
|
arMenuItems['DF'][6] = '69';
|
|
|
|
arMenuItems['AG'] = new Array();
|
|
arMenuItems['AG'][0] = '27';
|
|
arMenuItems['AG'][1] = '30';
|
|
arMenuItems['AG'][2] = '37';
|
|
arMenuItems['AG'][3] = '57';
|
|
arMenuItems['AG'][4] = '58';
|
|
arMenuItems['AG'][5] = '66';
|
|
arMenuItems['AG'][6] = '67';
|
|
|
|
|
|
//***********************************
|
|
//* Constantes internes
|
|
//***********************************
|
|
|
|
// identifiant Banque de France
|
|
|
|
var cstSiren = 1 ;
|
|
var cstBDFKey = 2 ;
|
|
var cstNothing = false ;
|
|
|
|
// type de confirmation
|
|
|
|
var cstNoConfirm = false ;
|
|
var cstSimpleConfirm = 1 ;
|
|
var cstMultipleConfirm = 2 ;
|
|
var cstAdress = 3 ;
|
|
var cstInformation = 4 ;
|
|
var cstHelp = 5 ;
|
|
var cstContact = 6 ;
|
|
var cstHelpModule = 7 ;
|
|
var cstCotation = 8 ;
|
|
var cstWording = 9 ;
|
|
var cstContrat = 10;
|
|
var cstSiteBDF = 11;
|
|
var cstHelpNavigation = 12;
|
|
var cstFreeInformation = 13;
|
|
var cstSite = 14;
|
|
var cstNumSuc = 15;
|
|
|
|
// saisie multiple
|
|
var cstMaxId = 10 ;
|
|
var cstMaxMod = 10; |