﻿// JavaScript Document

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
 
//////////////////////////////////// 
// Editable properties START here // 
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=40                 // Follow Scrolling Rate
suboffset_top=1             // Sub menu offset Top position  
suboffset_left=0             // Sub menu offset Left position
PlainStyle=[                  // PlainStyle is an array for the main menu style
"8A701C",                        // Mouse Off Font Color
"0",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)

"C1A650",                     // Mouse On Font Color
"0",                     // Mouse On Background Color
"0",                      // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"arial",                      // Font Name
6,                            // Menu Item Padding or spacing
"",                      // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                      // 3D High Color   
,                     // 3D Low Color
,                     // Current Page Item Font Color (leave this blank to disable)
,                       // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                     // Menu Header Font Color (Leave blank if headers are not needed)
,                     // Menu Header Background Color (Leave blank if headers are not needed)
"",                            // Menu Item Separator Color
]
 

WWE=[                         // WWE is an array the submenu styles
"8A701C",                     // Mouse Off Font Color
"FBDC7E",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"#FFFFFF",                      // Mouse On Font Color  
"8A701C",                     // Mouse On Background Color
"8A701C" ,                      // Menu Border Color
"10",                          // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                       // Font Style (italic or normal)
"normal",                       // Font Weight (bold or normal)
"TAHOMA",                     // Font Name
4,                             // Menu Item Padding or spacing
"",                           // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                     // 3D High Color
,                     // 3D Low Color   
,                     // Current Page Item Font Color (leave this blank to disable)
,                     // Current Page Item Background Color (leave this blank to disable)
,                    // Top Bar image (Leave this blank to disable)
,                     // Menu Header Font Color (Leave blank if headers are not needed)
,                     // Menu Header Background Color (Leave blank if headers are not needed)
"8A701C",             // Menu Item Separator Color
]
 

addmenu(menu=[
"Main",                       // Menu NamE- This is needed in order for this menu to be called
0,                            // Menu Top - The Top position of this menu in pixels
0,                           // Menu Left - The Left position of this menu in pixels
397,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
0,                             // Always VisiblE- allows this menu item to be visible at all time (1=on or 0=off)
,                            // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
,                             // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep AlivE- Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
])



addmenu(menu=[
"Mainmenu",
0,
0,
,
1, 
,
PlainStyle,
1, 
,
, 
0,
1,
0,
,
,
0,
0,
,  
,
0,
,
,"<font color=#66500A>&nbsp;&nbsp;HOME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","index.htm",,,1
,"<font color=#66500A>ABOUT SRO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","show-menu=ABOUTSRO","#",,1
,"<font color=#66500A>PROJECTS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","show-menu=projects","#",,1
,"<font color=#66500A>PROJECT ADVISORS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","show-menu=proadvisors","#",,1
,"<font color=#66500A>RFPQ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","show-menu=rfpq","#",,1
,"<font color=#66500A>NEWS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","show-menu=news","#",,1
,"<font color=#66500A>REGISTER INTEREST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","show-menu=interest","#",,1 
,"<font color=#66500A>LINKS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>","links.htm","",,1 
,"<font color=#66500A>CONTACT US</font>","contacts.htm","",,1
] )  
  
addmenu(menu=[
"ABOUTSRO", 
,
,
125,
1,
, 
WWE,
0, 
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0, 
0,
,
,
0,
0, 
, 
, 
0,
,  
,"Mission","Mission.htm",,,0
,"Vision","vision.htm",,,0 
,"Existing Networks","networks.htm",,,0
//,"ITEM 3","ITEM3.htm",,,0
//,"ITEM4","ITM4.htm",,,0
])  

addmenu(menu=[
"projectday", 
,
,
125,
1,
, 
WWE,
0, 
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0, 
0,
,
,
0,
0, 
, 
, 
0,
,  
,"Project Day Home","projectday.htm",,,0
,"Presentations","projectday-presentation.htm",,,0
,"Attendee List","projectday-list.htm",,,0 
,"Attendee Contact Names","projectday-names.htm",,,0
//,"Question & Answer","#",,,0
,"Gallery","projectday-gallery.htm",,,0
])  


addmenu(menu=[ 
"projects",  
,
, 
150, 
1,
, 
WWE,
0, 
, 
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
, 
, 
0,
,   
,"History","History.htm",,,0 
,"Saudi Landbridge Project","show-menu=subprojects1",,,0
,"Makkah-Madinah Rail Link Project","show-menu=subprojects2",,,0 

//,"ITEM 3","ITEM3.htm",,,0
//,"ITEM4","ITM4.htm",,,0
])   
 
addmenu(menu=[
"subprojects1", 
,
, 
145, 
1,  
, 
WWE,
0,  
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0, 
0,
, 
, 
0, 
,   
,"Overview","overview1.htm",,,0
,"Existing Networks","networks2.htm",,,0 
,"Planned Riyadh-Jeddah Link","riy-jed.htm",,,0 
,"Planned Dammam-Jubail Link","dam-jub.htm",,,0
,"Register Interest","landbridge-register.htm",,,0

//,"ITEM 3","ITEM3.htm",,,0 
//,"ITEM4","ITM4.htm",,,0 
])  
 
 
addmenu(menu=[
"subprojects2", 
,
,
145, 
1,  
, 
WWE,
0,   
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0, 
0,
, 
,  
0, 
,   
,"Overview","overview2.htm",,,0
,"Register Interest","raillink-register.htm",,,0
//,"ITEM 3","ITEM3.htm",,,0 
//,"ITEM4","ITM4.htm",,,0
])  

 

addmenu(menu=[
"ABOUTSRO", 
,
,
140,
1,
, 
WWE,
0, 
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
, 
, 
0,
,  
,"Mission","Mission.htm",,,0
,"Vision","vision.htm",,,0 
,"Existing Networks","networks.htm",,,0
,"Passenger Services","services.htm",,,0 
,"Freight Services","freight.htm",,,0 
,"History","History.htm",,,0 
//,"ITEM 3","ITEM3.htm",,,0
//,"ITEM4","ITM4.htm",,,0
])  

addmenu(menu=[
"RFPQ", 
,
,
125,
1,
, 
WWE,
0, 
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0, 
0,
,
,
0,
0, 
, 
, 
0,
,  
,"RFPQ Home","rfpq-home.htm",,,0
,"Download RFPQ","rfpq-download.htm",,,0 
,"List of RFPQ Recipients","rfpq-recipients.htm",,,0 
,"RFPQ Press Release","rfpq-press_release.htm",,,0
,"RFPQ Response Timetable","rfpq-timetable.htm",,,0
,"RFPQ Q&A's","rfpq-qa.htm",,,0
,"RFPQ Q&A Form","rfpq-qa-form.htm",,,0
//,"ITEM 3","ITEM3.htm",,,0
//,"ITEM4","ITM4.htm",,,0
])  


addmenu(menu=[
"proadvisors", 
,
,
120,  
1,
, 
WWE, 
0, 
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
, 
, 
0,
,    
,"UBS","ubs.htm",,,0
,"NCB","ncb.htm",,,0 
,"SNCFI","sncfi.htm",,,0 
,"Linklaters","laters.htm",,,0 
,"The Law Office Of Abdulaziz Al-Fahd","abdulfahd.htm",,,0 
,"Gulf Hill & Knowlton","h-k.htm",,,0 

//,"ITEM 3","ITEM3.htm",,,0
//,"ITEM4","ITM4.htm",,,0
])  


addmenu(menu=[
"interest",
,
,
130,
1,
,
WWE,
0,  
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0, 
,
,
0,
0,
,
,
0,
,
,"Questions & Comments","pnq.htm",,,0
,"FAQs","show-menu=faqs",,,0 
//,"ITEM3","ITEM3.htm",,,0
//,"ITEM4","show-menu=VancouverNews","test",,0
])


addmenu(menu=[
"faqs", 
,
,
145, 
1,  
, 
WWE,
0,   
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0, 
0,
, 
,  
0, 
,   
,"Saudi Landbridge Project FAQs","slpfaqs.htm",,,0
,"Makkah-Madinah Rail Link FAQs","mmrlfaqs.htm",,,0
//,"ITEM 3","ITEM3.htm",,,0 
//,"ITEM4","ITM4.htm",,,0
])  


addmenu(menu=[
"registerinterest",
,
,
100,
1,
,
WWE,
0, 
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"E-Form","solutions.htm",,,0
//,"ITEM3","ITEM3.htm",,,0
//,"ITEM4","show-menu=VancouverNews","test",,0
])


addmenu(menu=[
"news",
,
,
110,
1,
,
WWE,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Latest News","latestnews.htm",,,0
,"Project Day","show-menu=projectday",,,0
,"News Archive","newsarchive.htm",,,0
,"Presentations","news-presentations.htm",,,0
//,"ITEM3","ITEM3.htm",,,0 
//,"ITEM4","ITEM4.htm",,,0
//,"ITEM5","ITEM5.htm",,,0
])

addmenu(menu=[
"contacts", 
,
,
145,
1, 
,
WWE,
0, 
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Names & Email Address","solutions.htm",,,0
//,"ITEM3","ITEM3.htm",,,0
//,"ITEM4","show-menu=VancouverNews","test",,0
])



addmenu(menu=[
"links",
,
,
150,
1,
,
WWE,
0,
,
"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
, 
,"SRO Website","news.htm",,,0 
,"Saudi Port Authority Website","events.asp",,,0
,"SAGIA","events.asp",,,0
,"The Royal Commision for Jubail and yanbu","events.asp",,,0
]) 
dumpmenus();

