agt = navigator.userAgent.toLowerCase();
win = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
mac = (agt.indexOf("mac")!=-1);
linux = (agt.indexOf("inux")!=-1);
d = document;
ns4 = (d.layers)? true: false;
ns6 = (navigator.userAgent.indexOf("Gecko")!=-1)? true: false;
ns61=(parseInt(navigator.productSub)>=20010726)? true: false;
ns62=(parseInt(navigator.productSub)>=20011128)? true: false;
appVer = navigator.appVersion.toLowerCase();
minor = parseFloat(appVer);
major = parseInt(minor);
iePos = appVer.indexOf('msie');
if (iePos !=-1) {
minor = parseFloat(appVer.substring(iePos+5,appVer.indexOf(';',iePos)))
major = parseInt(minor);
}
ie = (iePos!=-1);
browserTop = 255;
browserLeft = 9;
if(win && ns4)browserTop = 115;
if(mac && ns4)browserTop = 110;
if(mac && ie)browserTop = 95;
if(linux)browserTop = 130;
if(ns6)browserTop = 106;
if(ns61)browserTop = 102;
if(ns62)browserTop = 98;
timegap=500
followspeed=5
followrate=50
suboffset_top=5;
suboffset_left=10;
i = screen.width;
effect = "fade(duration=0.3);Shadow(color='#666666', Direction=135, Strength=6)"
prop1=[ // prop1 is an array of properties you can have as many property arrays as you need
"FFFFFF", // 0- Off Font Color
"0066FF", // 1- Off Back Color
"ffffcc", // 2- On Font Color
"E1E1E1", // 3- On Back Color
"003366", // 4- Border Color
9, // 5- Font Size
"normal", // 6- Font Style
"normal", // 7- Font Weight
"Verdana, Tahoma, Arial, Helvetica, sans-serif", // 8- Font
0, // 9- Padding
, // 10- Sub Menu Image
0, // 11- 3D Border & Separator
"66ffff", // 12- 3D High Color
"000099" // 13- 3D Low Color
]
prop2=[ // prop1 is an array of properties you can have as many property arrays as you need
"FFFFFF", //"000000", Off Font Color
"999898", //"CCCC66", Off Back Color
"CA7E0E", // On Font Color
"E1E1E1", // On Back Color
"FFFFFF", //"003366", Border Color
10, // Font Size
"normal", // Font Style
"normal", // Font Weight
"Verdana, Tahoma, Arial, Helvetica, sans-serif", // Font
5, // Padding
, // Sub Menu Image
, // 3D Border & Separator
"66ffff", // 3D High Color
"000099" // 3D Low Color
]
hlp=[ // hlp is an array of properties you can have as many property arrays as you need
"666666", // Off Font Color
"ffffff", // Off Back Color
"000000", // On Font Color
"ff9933", // On Back Color
"666666", // Border Color
9, // Font Size
"normal", // Font Style
"normal", // Font Weight
"comic sans ms,verdana,helvetica", // Font
3, // Padding
, // Sub Menu Image
, // 3D Border & Separator
"cccccc", // 3D High Color
"000000" // 3D Low Color
]
hlp1=["666666","cccccc","000000","ff99ff","666666",9,"italic","normal","verdana,helvetica",3,,,"cccccc","000000"]
hlp2=["666666","aaaaaa","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,,,"cccccc","000000"]
hlp3=["ffffff","999999","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,,,"cccccc","000000"]
hlp4=["ffffff","cccccc","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,,,"cccccc","000000"]
hlp5=["ffffff","000000","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,,,"cccccc","000000"]
hlp6=["ffffff","000000","000000","ff9933","666666",9,"normal","normal","comic sans ms,verdana,helvetica",3,,,"cccccc","000000"]
menu1=[ // This is the array that contains your menu properties and details
browserTop, //0- Top
browserLeft, //1- left
, //2- Width - **** KEY TO DYNAMIC **** - WH
0, //3- Border Width
, //4- Screen Position - here you can use "center;middle;right"
prop1, //5- Properties Array - this is set higher up, as above
1, //6- Always Visible - allows the menu item to be visible at all time
, //7- Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
, //8- Filter - Text variable for setting transitional effects on menu activation
1, //9- Follow Scrolling - Tells the menu item to follow the user down the screen
0, //10- Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
, //11- Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
, //12- Reserved for future use
, //13- Reserved for future use
, //14- Reserved for future use
"
","show-menu2","#","Présentation",1, // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"","#",,,1,
"
","show-menu3","#","Bénéficiaires, Nature handicap ...",1,
"","#",,,1,
"
","show-menu4","#","centre, écoles, instituts, diplômes préparés, admission, formation, inscription ...",1,
"","#",,,1,
"
","show-menu5","#","Logement, associations, cafétéria ...",1,
"","#",,,1,
"
","show-menu6","#","Recherche mémoires thèses ...",1,
"","#",,,1,
"
","show-menu7","#","internationalisation, cours offerts sur Internet ...",1,
"","#",,,1,
"
","show-menu8","#","internationalisation, cours offerts sur Internet ...",1,
"","#",,,1
]
menu2=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Mission","PRES.asp?dans=bienvenue",,,1,
"Organizational structure","organisation.htm",,,1,
"Ressources","PRES.asp?dans=Ressources",,,1,
"capacity ","capacite.htm",,,1
]
menu3=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Beneficiaries","admission.htm#Bénificaires",,,1,
"Types of disability","admission.htm#HANDICAP",,,1,
"Admission conditions","admission.htm#condition",,,1,
"Admission file","admission.htm#dossier",,,1
]
menu4=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Assessment and orientation","oreintation.htm#APTITUDES ",,,1
]
menu5=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Short-term training","formation.htm#courte",,,1,
"Long-term vocational training ","formation.htm#longue",,,1
]
menu6=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Computing","ateliers.htm",,,1,
"Electronics","ateliers.htm",,,1,
"Computer hardware maintenance","ateliers.htm",,,1,
"Woodwork","ateliers.htm",,,1,
"Brass chiselingand engraing","ateliers.htm",,,1,
"Hand-made jewelry and silver engraving","ateliers.htm",,,1,
"Learther goods","ateliers.htm",,,1,
"Dressmaking","international.htm#etudiants",,,1,
"Chinese and computer-assisted embrodery","ateliers.htm",,,1,
"Mosaic","ateliers.htm",,,1
]
//Not in use
menu7=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Reinstatement","reinsertion.htm",,,1,
"Exemples","suivi.asp",,,1
]
//Not in use
menu8=[
0,0,150,0,"",prop2,,"left",effect,,,,,,,
"Other provided services","autre.htm#Divers",,,1,
"Cooperation and partnership","autre.htm#partenariat",,,1
]