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 = "Fade(duration=1);Alpha(style=0,opacity=90);Shadow(color='#cccccc', Direction=135, Strength=5)" // Special effect string for IE5.5 or above 
effect2= "randomdissolve(duration=0.2);Alpha(style=0,opacity=90);Shadow(color='#cccccc', Direction=135, Strength=5)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="width=820,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,status=no,menubar=no,");
	nwin.focus();
}

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=50;		// Sub menu offset Left position

style1=[			// style1 is an array of properties. 

"000000",			// Mouse Off Font Color
"ffffff",			// Mouse Off Background Color
"555500",			// Mouse On Font Color
"#eeeeee",			// Mouse On Background Color
"#A28A2B",			// Menu Border Color 
12,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Arial, Verdana,",		// Font Name
5,				// Menu Item Padding
"arrow.gif",			// Sub Menu Image 
,				// 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)
]
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
130,				// Menu Top - The Top position of the menu in pixels
"offset=-282",	   		// Menu Left - The Left position of the menu in pixels
154,				// Menu Width - Menus width in pixels
1,				// Menu Border Width 
"center",			// Screen Pos. - "center; left; right; middle; top; bottom" or combo "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: left, right or center
effect,				
1,,,,,,,,,,				
,								
,"Home page","index.htm",,,1
,"About us","aboutus.htm",,,1
,"Choosing your ring","choosing.htm",," ",1
,"Ring galleries","show-menu=galleries",," ",1
,"More products & Services","services.htm",,,1
//,"Jewellery","gallery-jewellery.htm",,,1
,"Special offers / discounts","show-menu=offers",,,1
,"Testimonials","testimonials.htm",," ",1
,"Wedding Fayres<br><b><font color=\"#A28A2B\">10% discount</font></b>","events.htm",,,1
,"Useful links","links.htm",," ",1
,"Contact / Find us","show-menu=contact",," ",1
			
		])

addmenu(menu=["galleries",,,150,1,,style1,0,"left",effect2,0,,,,,,,,,,,	
		,"Patterned edge","gallery-patterned-edge.htm",,,1
		,"Patterned","gallery-patterned.htm",,,1
		,"Diamond set","gallery-dia-set.htm",,,1
		,"Two colour","gallery-twocolour-new.htm",,,1
                ,"Shaped Wedding Rings<br>(choose from 3 options)","shaped-options.htm",,,1
		,"Shaped to Fit","gallery-shaped.htm",,,1
		,"Bianco range","gallery-bianco-new.htm",,,1

//,"X-range","gallery-x-range.htm",,,1
//,"Two colour dia set","gallery-twocolour-dia-set.htm",,,1
//,"Diamond set 2","gallery-dia-set2.htm",,,1
//,"Contour designs","gallery-contour.htm",,,1
//,"Bespoke designs","gallery-bespoke.htm",,,1	
										
		])
		
addmenu(menu=["offers",,,130,1,,style1,0,"left",effect2,0,,,,,,,,,,,
		,"<b><font color=\"#A28A2B\">£50 Discount</font></b><br>& Free engraving","contact.htm",,,1
		,"<b><font color=\"#A28A2B\">10% discount</font></b><br> Wedding Fayres","events.htm",,,1
														
		])
		
addmenu(menu=["services",,,170,1,,style1,0,"left",effect2,0,,,,,,,,,,,
		,"Shaped Wedding Rings<br>(choose from 3 options)","shaped-options.htm",,,1
		,"Jewellery","show-menu=sorry",,,1
		,"More Products & Services","services.htm",,,1
												
		])
		
addmenu(menu=["jewellery",,,100,1,,style1,0,"left",effect2,0,,,,,,,,,,,
		,"Pendants","gallery-jewellery1.htm",,,1
		,"Necklaces","gallery-jewellery.htm",,,1
														
		])
		
addmenu(menu=["contact",,,150,1,,style1,0,"left",effect2,0,,,,,,,,,,,
		,"Email us","mailto:enquries@add2attract.com?subject=Enquiry_from_web_site",,,1
		,"Contact / enquiry form","contact.htm",,,1
		,"Locator map","javascript:openwin(\"http://www.streetmap.co.uk/newmap.srf?x=364459&y=171449&z=1&sv=364459,171449&st=4&ar=Y&mapp=newmap.srf&searchp=newsearch.srf&ax=364459&ay=171449\")",,,1
												
		])
		
		addmenu(menu=["sorry",,,140,1,,style1,0,"left",effect2,0,,,,,,,,,,,	
		,"<br><b>&nbsp;&nbsp;Page not quite ready!</b><br><br>","",,,1
										
		])

dumpmenus()
