menunum=0;
menus=new Array();
_d=document;

function addmenu()
{menunum++;
menus[menunum]=menu;
}

function dumpmenus()
{mt="<script language=javascript>";
for(a=1;a<menus.length;a++)
{mt+=" menu"+a+"=menus["+a+"];"}
mt+="<\/script>";
_d.write(mt)
}

timegap=300				// The time delay for menus to remain visible
followspeed=10			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top= 0;		// Sub menu offset Top position 
suboffset_left= 0;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy",					// Mouse Off Font Color
"ffffff",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"4b0082",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
6,						// Menu Item Padding
,			            // Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"ffffff",			        	// 3D High Color
"ffffff",			        	// 3D Low Color
,				    // Current Page Item Font Color (leave this blank to disable)
,					    // Current Page Item Background Color (leave this blank to disable)
"images/arrowdn.gif",	// Top Bar image (Leave this blank to disable)
,			        	// Menu Header Font Color (Leave blank if headers are not needed)
"ffffff",				// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
63,			    	// Menu Top - The Top position of the menu in pixels
210,				// Menu Left - The Left position of the menu in pixels
,					// 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"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the 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
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

,"Home&nbsp;","http://www.dolphinshipping.net",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;About&nbsp;us&nbsp;","show-menu=aboutus",,"About us",1
,"&nbsp;Branches&nbsp;&nbsp;","show-menu=branches",,"Branches",1
,"&nbsp;Services&nbsp;&nbsp;","show-menu=services",,"Services & Activities",1
,"&nbsp;Informations&nbsp;&nbsp;","show-menu=information",,"Informations & News",1
,"&nbsp;Contact&nbsp;&nbsp;","show-menu=contact",,"Contacts & Personalities",1
])

	addmenu(menu=["aboutus",
	,,145,1,"",style1,,"left",,,,,,,,,,,,,
	,"&nbsp;Letter of CEO","http://www.dolphinshipping.net/letter.html",,,1
	
	,"&nbsp;Daily Prayer","http://www.dolphinshipping.net/dailyprayer.html",,,1
      ,"&nbsp;Company Profile","http://www.dolphinshipping.net/companyprofile.html",,,1	
	,"&nbsp;Health, Safety and Environment","http://www.dolphinshipping.net/Healthy.html",,,1
	,"&nbsp;Quality assurance system","http://www.dolphinshipping.net/Quality.html",,,1
	])

	addmenu(menu=["branches",
	,,130,1,"",style1,,"left",,,,,,,,,,,,,
	,"Headquarter","http://www.dolphinshipping.net/headquarter.html",,,1
	,"Branches","http://www.dolphinshipping.net/branches.html",,,1
	
	])
	
	addmenu(menu=["services",,,160,1,,style1,0,"left",,0,,,,,,,,,,,
	,"Tramp ship & Liner Agency Services","http://www.dolphinshipping.net/trampservice.html",,,1
	,"Harbour & Sea Operations ","http://www.dolphinshipping.net/trampservice.html",,,1
	,"Canvassing and Marketing","http://www.dolphinshipping.net/trampservice.html",,,1
	,"Marine Insurance","http://www.dolphinshipping.net/insurance.html",,,1
	,"ISM Implementation","http://www.dolphinshipping.net/ism.html",,,1
	,"Offshore & Diving and Salvage Services","http://www.dolphinshipping.net/offshore.html",,,1
      ,"Alliance","http://www.dolphinshipping.net/alliance.html",,,1	
	])
	
	addmenu(menu=["information",
	,,160,1,"",style1,,"",,,,,,,,,,,,,
	,"Specification of the Major Iranian Ports", "http://www.dolphinshipping.net/specification.html",,,1
	,"Restrictions of Iranian Ports", "http://www.dolphinshipping.net/restriction.html",,,1
	,"Major Iranian Offshore Projects", "http://www.dolphinshipping.net/offshoreprojects.html",,,1
	,"History of Oil and Offshore exploration in Iran", "http://www.dolphinshipping.net/historyoil.html",,,1
	,"Offshore Platforms in Persian Gulf", "http://www.dolphinshipping.net/persiangulf.html",,,1
	,"Offshore Platforms in Caspian Sea", "http://www.dolphinshipping.net/caspiansea.html",,,1
	])	

	addmenu(menu=["contact",
	,,105,1,,style1,0,"left",,0,,,,,,,,,,,
	,"Info","mailto:info@dolphinshipping.net",,"",1
	,"Bord of Directors","http://www.dolphinshipping.net/directors.html",,"",1
	,"Quotion","http://www.dolphinshipping.net/qoute.html",,"",1
	])	

dumpmenus()
