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 = 220;
browserleft = 35;
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_right=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
14, // 5- Font Size
"bold", // 6- Font Style
"bold", // 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
14, // Font Size
"bold", // Font Style
"bold", // Font Weight
"Verdana, Arial, Helvetica, sans-serif, 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
14, // Font Size
"bold", // Font Style
"bold", // Font Weight
"Verdana, Arial, Helvetica, sans-serif", // Font
3, // Padding
, // Sub Menu Image
, // 3D Border & Separator
"cccccc", // 3D High Color
"000000" // 3D Low Color
]
hlp1=["666666","cccccc","000000","ff99ff","666666",14,"italic","bold","verdana,helvetica",12,,,"cccccc","000000"]
hlp2=["666666","aaaaaa","000000","ff9933","666666",14,"bold","bold","Verdana, Arial, Helvetica, sans-serif",12,,,"cccccc","000000"]
hlp3=["ffffff","999999","000000","ff9933","666666",14,"bold","bold","Verdana, Arial, Helvetica, sans-serif",12,,,"cccccc","000000"]
hlp4=["ffffff","cccccc","000000","ff9933","666666",14,"bold","bold","Verdana, Arial, Helvetica, sans-serif",12,,,"cccccc","000000"]
hlp5=["ffffff","000000","000000","ff9933","666666",14,"bold","bold","Verdana, Arial, Helvetica, sans-serif",12,,,"cccccc","000000"]
menu1=[ // This is the array that contains your menu properties and details
browserTop, //0- Top
browserleft, //1- right
, //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: right, LEFT 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","#","Logement, associations, cafétéria ...",1,
"","#",,,1,
"
","show-menu7","#","Recherche mémoires thèses ...",1,
"","#",,,1,
"
","show-menu8","#","internationalisation, cours offerts sur Internet ...",1,
"","#",,,1,
"
","show-menu9","#","stages, emplois, liste diplômés ...",1
]
menu2=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
" المهام","admissionar.asp",,,1,
" هيكلـة المركـز ","organisation.htm",,,1,
"لمراجع القانونية و الترتيبية","jurd.htm",,,1,
" الموارد","resourses.htm",,,1,
"طاقة الاستيعاب","capacite.htm",,,1
]
menu3=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
" المستفيــدون","admission.htm#Bénificaires",,,1,
" نـوع الاعاقــة ","admission.htm#HANDICAP",,,1,
" شروط القبول ","admission.htm#condition",,,1,
" ملف القبول ","admission.htm#dossier",,,1
]
menu4=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
"الاستقبال","autre.htm",,,1,
"المتابعةالطبيّة","autre.htm",,,1,
"الإحاطةالنفسية","autre.htm",,,1,
"الخدمات الاجتماعية","autre.htm",,,1,
"العـلاج الطبيعـي","autre.htm",,,1,
"تحسين المستوىالمعرفي","autre.htm",,,1
]
menu5=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
"التكويـن القصيـر","formation.htm#courte",,,1,
"التكوين المهني الطويل بالورشات","formation.htm#longue",,,1
]
menu6=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
"الإعلامية و المكتبية","ateliers.htm",,,1,
"الالكترونيك","ateliers.htm",,,1,
"تـصليـح و صـيانـةأجهـزةالاعلاميـة","ateliers.htm",,,1,
"صناعة الخشب","ateliers.htm",,,1,
"النقش علىالنحاس و الفضة","ateliers.htm",,,1,
"صناعة المصوغ","ateliers.htm",,,1,
"صناعة الجلد","ateliers.htm",,,1,
"الخياطة","ateliers.htm",,,1,
"التطريز بالحـاسوب","ateliers.htm",,,1,
"الفـسيـفـســـاء","ateliers.htm",,,1
]
menu7=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
"المساعــدة على اقامــة مشــروع","reinsertion.htm",,,1,
"أمثلة","suivi.asp",,,1
]
//Not in use
menu8=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
"التعـاون الـفني الوطني و الدولي","cooperation.htm",,,1
]
//Not in use
menu9=[
0,145,150,0,"",prop2,,"right",effect,,,,,,,
"طالبي شغل","offre_emploi.asp",,,1
]