
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)}

// effect = "Alpha(style=0,opacity=85)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "";

timegap=500						// The time delay for menus to remain visible
followspeed=5					// Follow Scrolling speed
followrate=40					// Follow Scrolling Rate
suboffset_top=10;			// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

MenuStyle1=[					// Menu Text Properties Array
"ffffff",							// Off Font Color
"336666",							// Off Back Color
"ffffff",							// On Font Color
"fb7907",							// On Back Color
"000000",							// Border Color
12,										// Font Size
"normal",							// Font Style
"bold",								// Font Weight
"verdana,arial,helvetica,sans-serif",	// Font Face
2,										// Padding
,											// Sub Menu Image
,											// 3D Border & Separator
,											// 3D High Color
,											// 3D Low Color
];

/*
addmenu(menu=[				// This is the array that contains your menu properties and details
"samplemenu",					// Menu items Name
76,										// Top X position
307,									// Left Y postion
160,									// Width
1,										// Border Width
,											// Screen Position - here you can use "center;left;right;middle;top;bottom"
MenuStyle1,						// Properties Array - this is set higher up, as above
,											// Always Visible - allows the menu item to be visible at all time
,											// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
effect,								// Filter - Text variable for setting transitional effects on menu activation
,											// Follow Scrolling - Tells the menu item to follow the user down the screen
, 										// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,											// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,											// Position of sub image left:center:right:middle:top:bottom
,											// Show an image on top menu bars indicating a sub menu exists below
,											// Reserved for future use
,											// Reserved for future use
,											// Reserved for future use
,											// Reserved for future use
,											// Reserved for future use
,											// Reserved for future use
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar",
"Menu Item 1","firstitem.html",,,1,
"Menu Item 2","seconditem.html",,,1,
"Menu Item 3","thirditem.html",,,1,
"Menu Item 4","fourthitem.html",,,1
]);
*/

// Set some default values
var commonY = 0;
// If it's the admin pages, set Y to correct position
if (location.pathname.indexOf("/admin") != -1) {
	commonY = 107;
}
// If it's the home page, set Y to correct position
else {
	if ((location.pathname.indexOf("index.html") != -1) || (location.pathname.length < 8)) {
		commonY = 107;
	}
	// Otherwise, set Y for the rest of the pages
	else {
		commonY = 107;
	}
}

addmenu(menu=["main",commonY,441,170,1,,MenuStyle1,,,effect,,,,,,,,,,,,
,"&nbsp;&nbsp;Request A Quote","quote.htm",,,1
,"&nbsp;&nbsp;Website Prices","pricing.htm",,,1
,"&nbsp;&nbsp;Web Tools","submit.html",,,1
,"&nbsp;&nbsp;Contact Us","contact.htm",,,1
,"&nbsp;&nbsp;Table Of Contents","contents.htm",,,1
,"&nbsp;&nbsp;Home","index.htm",,,1
]);

addmenu(menu=["services",commonY,503,140,1,,MenuStyle1,,,effect,,,,,,,,,,,,
,"&nbsp;&nbsp;Our Services","services.htm",,,1
,"&nbsp;&nbsp;Vacation Rentals","siteprosvacationrentals.htm",,,1
,"&nbsp;&nbsp;Web Design","design.htm",,,1
,"&nbsp;&nbsp;Web Tools","submit.html",,,1
,"&nbsp;&nbsp;Web Hosting","host.htm",,,1
,"&nbsp;&nbsp;Site Promotion","submit.htm",,,1
,"&nbsp;&nbsp;Web Templates","templates.htm",,,1
,"&nbsp;&nbsp;Free Templates","freetemps.htm",,,1
,"&nbsp;&nbsp;Graphics & Logos","logo.htm",,,1
]);

addmenu(menu=["portfolio",commonY,587,120,1,,MenuStyle1,,,effect,,,,,,,,,,,,
,"&nbsp;&nbsp;Web Templates","freetemps.htm",,,1
,"&nbsp;&nbsp;Logo Design","logo.htm",,,1
,"&nbsp;&nbsp;Client Websites","portfolio.htm",,,1
,"&nbsp;&nbsp;Shopping Carts","shoppingcarts.htm",,,1
]);

addmenu(menu=["contact",commonY,625,150,1,,MenuStyle1,,,effect,,,,,,,,,,,,
,"&nbsp;&nbsp;Customer Support","support.htm",,,1
,"&nbsp;&nbsp;Request A Quote","quote.htm",,,1
,"&nbsp;&nbsp;Contact Us","contact.htm",,,1
]);

dumpmenus();