//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////


effect = "Fade(duration=0.2);Alpha(style=0,opacity=95);"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=3;	// Sub menu offset Top position 
suboffset_left=-1;	// Sub menu offset Left position
closeOnClick = true

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.
"F1F1D5",			// Mouse Off Font Color
"006666",			// Mouse Off Background Color
"FFFF00",			// Mouse On Font Color
"006666",			// Mouse On Background Color
"D8D889",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial ",	// Font Name
2,					// Menu Item Padding
,					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"eeeeee",			// 3D High Color
"eeeeee",			// 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)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
"D8D889",			// Menu Item Separator Color
]



if (window.screen.width==1024){
	wd=420;
	}
else if (window.screen.width==1280){	
	wd=558;
}
else if (window.screen.width==1680){	
	wd=758;
}
else if (window.screen.width==1440){	
	wd=638;
}
else if (window.screen.width==800){	
	wd=307;
}
else{
	wd=0;
	}


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
75,					// Menu Top - The Top position of the menu in pixels
wd,					// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
,					// 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)
,					// 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
					//,"&nbsp;&nbsp;Home&nbsp;&nbsp;","index.asp",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;Categories&nbsp;&nbsp;","show-menu=Categories","#","",1 
,"&nbsp;&nbsp;Collections&nbsp;&nbsp;","show-menu=Collections","#","",1 




])

	addmenu(menu=["Categories",,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;New&nbsp;Items&nbsp;&nbsp;","Products.asp?parentcatg=New%20Items",,"",1
	,"&nbsp;&nbsp;Accent Furniture&nbsp;&nbsp;","show-menu=Accent Furniture","#","",1
	,"&nbsp;&nbsp;Bedroom&nbsp;&nbsp;","show-menu=Bedroom","#","",1
	,"&nbsp;&nbsp;Case Goods&nbsp;&nbsp;","Products.asp?parentcatg=Case%20Goods",,"",1
	,"&nbsp;&nbsp;Dining Room&nbsp;&nbsp;","show-menu=Dining Room","#","",1
	,"&nbsp;&nbsp;Home Accessories&nbsp;&nbsp;","Products.asp?parentcatg=Home%20Accessories",,"",1
	,"&nbsp;&nbsp;Home Office&nbsp;&nbsp;","show-menu=Home Office","#","",1
	,"&nbsp;&nbsp;Living Room&nbsp;&nbsp;","show-menu=Living Room","#","",1
	,"&nbsp;&nbsp;Occasional Chairs&nbsp;&nbsp;","Products.asp?parentcatg=Occasional%20Chairs",,"",1
	,"&nbsp;&nbsp;CLEARANCE SALE&nbsp;&nbsp;","Products.asp?parentcatg=CLEARANCE%20SALE",,"",1
	])
	
	addmenu(menu=["Bedroom",,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;Armoires/ Wardrobes&nbsp;&nbsp;","products.asp?parentcatg=Armoires/Wardrobes&id=56&from=Bedroom&fromid=1&nested=",,,1
	,"&nbsp;&nbsp;Beds&nbsp;&nbsp;","products.asp?parentcatg=Beds&id=52&from=Bedroom&fromid=1&nested=",,,1
	,"&nbsp;&nbsp;Dressers/ Chests&nbsp;&nbsp;","products.asp?parentcatg=Dressers/Chests&id=54&from=Bedroom&fromid=1&nested=",,,1
	,"&nbsp;&nbsp;Mirrors/ Cheval Mirrors&nbsp;&nbsp;","products.asp?parentcatg=Mirrors/%20Cheval%20Mirrors&id=64&from=Bedroom&fromid=1&nested=",,,1
	,"&nbsp;&nbsp;Nightstands&nbsp;&nbsp;","products.asp?parentcatg=Nightstands&id=53&from=Bedroom&fromid=1&nested=",,,1
	,"&nbsp;&nbsp;Stools/ Benches&nbsp;&nbsp;","products.asp?parentcatg=Stools/%20Benches&id=65&from=Bedroom&fromid=1&nested=",,,1
	,"&nbsp;&nbsp;Vanities&nbsp;&nbsp;","products.asp?parentcatg=Vanities&id=55&from=Bedroom&fromid=1&nested=",,,1
	])
	
	addmenu(menu=["Dining Room",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;Chairs & Stools&nbsp;&nbsp;","products.asp?parentcatg=Chairs/Stools&id=69&from=Dining%20Room&fromid=2&nested=",,,1
	,"&nbsp;&nbsp;Dining Tables&nbsp;&nbsp;","products.asp?parentcatg=Dining%20tables&id=66&from=Dining%20Room&fromid=2&nested=",,,1
	,"&nbsp;&nbsp;Display Cabinets&nbsp;&nbsp;","products.asp?parentcatg=Display%20Cabinets&id=73&from=Dining%20Room&fromid=2&nested=",,,1
	,"&nbsp;&nbsp;Sideboards&nbsp;&nbsp;","products.asp?parentcatg=Sideboards&id=72&from=Dining%20Room&fromid=2&nested=",,,1
	])
	
	addmenu(menu=["Living Room",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;Coffee Tables&nbsp;&nbsp;","products.asp?parentcatg=Coffee%20Tables&id=74&from=Living%20Room&fromid=3&nested=",,,1
	,"&nbsp;&nbsp;Console Tables&nbsp;&nbsp;","products.asp?parentcatg=Console%20Tables&id=76&from=Living%20Room&fromid=3&nested=",,,1
	,"&nbsp;&nbsp;End Tables&nbsp;&nbsp;","products.asp?parentcatg=End%20Tables&id=77&from=Living%20Room&fromid=3&nested=",,,1
	,"&nbsp;&nbsp;Sofa Tables&nbsp;&nbsp;","products.asp?parentcatg=Sofa%20Tables&id=75&from=Living%20Room&fromid=3&nested=",,,1
	,"&nbsp;&nbsp;TV Stands&nbsp;&nbsp;","products.asp?parentcatg=TV%20Stands&id=78&from=Living%20Room&fromid=3&nested=",,,1
	])
	
	addmenu(menu=["Home Office",,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;Bookshelves&nbsp;&nbsp;","products.asp?parentcatg=Bookshelves&id=82&from=Home%20Office&fromid=4&nested=",,,1
	,"&nbsp;&nbsp;Credenzas&nbsp;&nbsp;","products.asp?parentcatg=Credenzas&id=81&from=Home%20Office&fromid=4&nested=",,,1
	,"&nbsp;&nbsp;Desks&nbsp;&nbsp;","products.asp?parentcatg=Desks&id=79&from=Home%20Office&fromid=4&nested=",,,1
	,"&nbsp;&nbsp;Office Chairs&nbsp;&nbsp;","products.asp?parentcatg=Office%20Chairs&id=80&from=Home%20Office&fromid=4&nested=",,,1
	])
	
	addmenu(menu=["Accent Furniture",,,190,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;Benches&nbsp;&nbsp;","products.asp?parentcatg=Benches&id=88&from=Accent%20Furniture&fromid=5&nested=",,,1
	,"&nbsp;&nbsp;Hall Tables&nbsp;&nbsp;","products.asp?parentcatg=Hall%20Tables&id=84&from=Accent%20Furniture&fromid=5&nested=",,,1
	,"&nbsp;&nbsp;Hall Trees&nbsp;&nbsp;","products.asp?parentcatg=Hall%20Trees&id=85&from=Accent%20Furniture&fromid=5&nested=",,,1
	,"&nbsp;&nbsp;Magazine Racks&nbsp;&nbsp;","products.asp?parentcatg=Magazine%20Racks&id=89&from=Accent%20Furniture&fromid=5&nested=",,,1
	,"&nbsp;&nbsp;Miscellaneous&nbsp;&nbsp;","products.asp?parentcatg=Miscellaneous&id=90&from=Accent%20Furniture&fromid=5&nested=",,,1
	,"&nbsp;&nbsp;Occasional Tables&nbsp;&nbsp;","products.asp?parentcatg=Occasional%20Tables&id=86&from=Accent%20Furniture&fromid=5&nested=",,,1
	,"&nbsp;&nbsp;Pedestals&nbsp;&nbsp;","products.asp?parentcatg=Pedestals&id=87&from=Accent%20Furniture&fromid=5&nested=",,,1
	,"&nbsp;&nbsp;Wine Tables/ Wine Racks&nbsp;&nbsp;","products.asp?parentcatg=Wine%20Tables/%20Wine%20Racks&id=83&from=Accent%20Furniture&fromid=5&nested=",,,1
	])

	addmenu(menu=["Collections",,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;&nbsp;Ancient Mariner&nbsp;&nbsp;","bycollection.asp?name=Ancient+Mariner",,"",1		
	,"&nbsp;&nbsp;Arthur&nbsp;&nbsp;","bycollection.asp?name=Arthur","#","",1
	,"&nbsp;&nbsp;Beidermier&nbsp;&nbsp;","bycollection.asp?name=Beidermier","#","",1
	,"&nbsp;&nbsp;Campaign&nbsp;&nbsp;","bycollection.asp?name=Campaign",,"",1
	,"&nbsp;&nbsp;Chippendale&nbsp;&nbsp;","bycollection.asp?name=Chippendale",,"",1
	,"&nbsp;&nbsp;Colonial&nbsp;&nbsp;","bycollection.asp?name=Colonial","#","",1
	,"&nbsp;&nbsp;Empire&nbsp;&nbsp;","bycollection.asp?name=Empire","#","",1
	,"&nbsp;&nbsp;Federation&nbsp;&nbsp;","bycollection.asp?name=Federation",,"",1	
	,"&nbsp;&nbsp;French&nbsp;&nbsp;","bycollection.asp?name=French",,"",1
	,"&nbsp;&nbsp;Minstrel&nbsp;&nbsp;","bycollection.asp?name=Minstrel",,"",1	
	,"&nbsp;&nbsp;Oasis&nbsp;&nbsp;","bycollection.asp?name=Oasis","#","",1
	,"&nbsp;&nbsp;Philip&nbsp;&nbsp;","bycollection.asp?name=Philip",,"",1
	,"&nbsp;&nbsp;Plantation&nbsp;&nbsp;","bycollection.asp?name=Plantation",,"",1
	,"&nbsp;&nbsp;Plato&nbsp;&nbsp;","bycollection.asp?name=Plato",,"",1
	,"&nbsp;&nbsp;Sir Thomas&nbsp;&nbsp;","bycollection.asp?name=Sir+Thomas","#","",1
	,"&nbsp;&nbsp;Sleigh&nbsp;&nbsp;","bycollection.asp?name=Sleigh",,"",1
	,"&nbsp;&nbsp;Textures&nbsp;&nbsp;","bycollection.asp?name=Textures",,"",1
	,"&nbsp;&nbsp;Victorian&nbsp;&nbsp;","bycollection.asp?name=Victorian","#","",1
])

	
dumpmenus()
