/*****************************************************************

 Fichier de variables de Agestis 2004
 Générer automatiquemant par Agestis (http://www.agestis.com)
 Le 22/07/2010 par Aricia - damien

******************************************************************/


var NoOffFirstLineMenus=9;
var largeurcell=170;
var t="";
var isDHTML=0;var isID=0;var isAll=0;var isLayers=0;
if(document.getElementById){
	isID=1;isDHTML=1;
}else{
	if(document.all){
		isAll=1;isDHTML=1;
	}else{
		browserVersion = parseInt(navigator.appVersion);
		if((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)){
			isLayers=1;isDHTML=1;
		}
	}
}

function findDOM(objectID, withStyle){
	if (withStyle == 1){
		if (isID){
			return (document.getElementById(objectID).style);
		}else{
			if (isAll){
				return (document.all[objectID].style);
			}else{
				if (isLayers){
					return (document.layers[objectID]);
				}
			}
		}
	}else{
		if (isID){
			return (document.getElementById(objectID));
		}else{
			if (isAll){
				return (document.all[objectID]);
			}else{
				if (isLayers){
					return (document.layers[objectID]);
				}
			}
		}
	}
} 

var exist=false;var Tble_Display=false;var ms = navigator.appVersion.indexOf("MSIE");var ie=document.all && (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >4);var ns6=document.getElementById&&!document.all;

var IsCompatible;

// permet de tester le navigateur en compatibilité du calcul de largeur
if(ns6||ie){
	document.write("<table id='tableTest' border='0' style='visibility:hidden' cellpadding='0' cellspacing='0' bgcolor='yellow'>"
		+"<tr><td>"
		+"<img id='Imgtest' name='Imgtest' src='/images/t1px.gif' width='100%' height='1' border='0'>"
		+"</td></tr>"
		+"<tr><td id='TdTest'>texte de test - ne rien changer ici</td></tr>"
		+"</table>");
	var MyTestTble = findDOM('tableTest',0);
	var MyTestImg = findDOM('Imgtest',0);
	var Img = parseInt(MyTestImg.width+0);
	MyTestTble.style.visibility=''; MyTestTble.style.display='none';
	IsCompatible=true;
}
// fin du test

function calc_larg(tab_menu) {
	if (IsCompatible) {
		if(exist && Tble_Display==false){
			Tble_Display=true;Tble_Calc.style.display='';
		}
		var lmax=0;
		if (!exist) {
			document.write("<table id='TbleCalc' border='1' style='visibility:hidden' cellpadding='0' cellspacing='0' bgcolor='yellow'>"
				+"<tr><td id='TdCalc'><img id='ImgCalc' src='/images/t1px.gif' width='100%;' height='1'></td></tr>"
				+"<tr><td id='TdFt'></td></tr>"
				+"</table>");
			exist=true; Tble_Display=true;
		}
		Img_Calc=findDOM('ImgCalc', 0);Td_Calc=findDOM('TdCalc', 0);Td_Ft=findDOM('TdFt', 0);Tble_Calc=findDOM('TbleCalc', 0);
		for (var i=0 ; i<tab_menu.length ; i++){
			str_txt="<font style='font-family:"+FontFamily+";font-size:"+FontSize+"pt;";
			if (FontBold!=0){str_txt=str_txt+"font-weight: bold ;";}
			if (FontItalic!=0){str_txt=str_txt+" font-style: italic;";}
			str_txt+="'>"+tab_menu[i]+"</font>";
			Td_Ft.innerHTML=str_txt;
			if(Td_Calc.offsetWidth>0){
				if (Td_Calc.offsetWidth>lmax){lmax=Td_Calc.offsetWidth;}
			}else{
				if (Img_Calc.width>lmax){lmax=Img_Calc.width;}
			}
		}
		Tble_Calc.style.display='none'; Tble_Display=false;
		return (lmax+(LeftPaddng*2)+20);
	}else {
		return DftLrgCell2;
	}
}

var LSBC = "#F5F6F0";
var HSBC = "#CCCCCC";
var FSLC = "#44469b";
var FSHC = "#44469b";
var BSC = "#CCCCCC";
var MTCt = "left";


Menu1=new Array("Accueil","/affiche.asp?arbo=1&num=1","/skins/standard/images/bt.jpg",0,20,largeurcell,"","","","","","",-1,-1,-1,"","outil de gestion de sites en ligne, simple et intuitif pour mettre à jour à tout moment votre site Internet sans connaissances techniques.");

Intitules="Edition du contenu|Droits administrateurs|Gestion des arborescences|Gestionnaire de fichiers|Espace admin perso|Fonction de recherche|Plan de site automatique";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu2_2_1=new Array(t[0],"/affiche.asp?arbo=1&num=27","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Edition du contenu d'Agestis");
Menu2_2_2=new Array(t[1],"/affiche.asp?arbo=1&num=28","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Droits des administrateurs d'Agestis");
Menu2_2_3=new Array(t[2],"/affiche.asp?arbo=1&num=29","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Gestion des arborescences d'Agestis");
Menu2_2_4=new Array(t[3],"/affiche.asp?arbo=1&num=30","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Gestionnaire de fichiers d'Agestis");
Menu2_2_5=new Array(t[4],"/affiche.asp?arbo=1&num=31","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Espace admin perso d'Agestis");
Menu2_2_6=new Array(t[5],"/affiche.asp?arbo=1&num=32","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Fonction de recherche d'Agestis");
Menu2_2_7=new Array(t[6],"/plan.asp","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Plan du site Agestis");


Intitules="Vue d'ensemble|Fonctions|Avantages|Technologie";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu2_1=new Array(t[0],"/affiche.asp?arbo=1&num=23","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Vue d'ensemble d'Agestis");
Menu2_2=new Array(t[1],"","",7,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"");
Menu2_3=new Array(t[2],"/affiche.asp?arbo=1&num=25","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Avantages d'Agestis");
Menu2_4=new Array(t[3],"/affiche.asp?arbo=1&num=26","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"La technologie d'Agestis");

Menu2=new Array("A propos d'Agestis","","/skins/standard/images/bt.jpg",4,20,largeurcell,"","","","","","",-1,-1,-1,"","");
Menu3=new Array("Notre société","/affiche.asp?arbo=1&num=3","/skins/standard/images/bt.jpg",0,20,largeurcell,"","","","","","",-1,-1,-1,"","La société Aricia");
Menu4=new Array("Revendeurs","/affiche.asp?arbo=1&num=5","/skins/standard/images/bt.jpg",0,20,largeurcell,"","","","","","",-1,-1,-1,"","Revendeurs d'Agestis");
Menu5=new Array("Demo","javascript:NewWin=window.open('http://demo.agestis.com/affiche.asp?arbo=1&num=1','NWin');window['NewWin'].focus()","/skins/standard/images/bt.jpg",0,20,largeurcell,"","","","","","",-1,-1,-1,"","Démonstration");
Menu6=new Array("Faq","/affiche.asp?arbo=1&num=7","/skins/standard/images/bt.jpg",0,20,largeurcell,"","","","","","",-1,-1,-1,"","Questions fréquemment posées");

Intitules="Administrations - Institutions|Tourisme|Hébergements - Restaurants|Sports - Loisirs - Salons|Economie - Industrie - Services|Commerce électronique|Associations - Autres";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu7_1=new Array(t[0],"/affiche.asp?arbo=1&num=41","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Nos références dans le domaine des administrations.");
Menu7_2=new Array(t[1],"/affiche.asp?arbo=1&num=37","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Nos références dans le domaine du tourisme");
Menu7_3=new Array(t[2],"/affiche.asp?arbo=1&num=38","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Nos références dans le domaine de l'hébergement et de la restauration");
Menu7_4=new Array(t[3],"/affiche.asp?arbo=1&num=39","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Nos références dans le domaine du sport et des loisirs");
Menu7_5=new Array(t[4],"/affiche.asp?arbo=1&num=40","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Nos références dans le domaine de l'économie, de l'industrie et des services");
Menu7_6=new Array(t[5],"/affiche.asp?arbo=1&num=42","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Nos références dans le domaine du commerce électronique");
Menu7_7=new Array(t[6],"/affiche.asp?arbo=1&num=43","",0,20,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Nos références dans le domaine des associations.");

Menu7=new Array("Références","","/skins/standard/images/bt.jpg",7,20,largeurcell,"","","","","","",-1,-1,-1,"","");
Menu8=new Array("Contact","/affiche.asp?arbo=1&num=9","/skins/standard/images/bt.jpg",0,20,largeurcell,"","","","","","",-1,-1,-1,"","Contacter Aricia");
Menu9=new Array("L'écriture Web","/affiche.asp?arbo=1&num=34","/skins/standard/images/bt.jpg",0,20,largeurcell,"","","","","","",-1,-1,-1,"","Mettre à jour le contenu d'un site web");


