/**************************************************************

	Script	: Image Menu Activator
	Version	: 2.2
	Authors	: Samuel Birch
	Desc	: 
	Licence	: Open Source MIT Licence
	
	
	The code below activates the script and allows optional values to be placed.
	It can be inserted directly on the web page, but linking to external js files is a cleaner, preferred technique.
	
	Options include:
	
	onOpen		a function to execute when an item is clicked open. If there is an href within the li then that is passed to the function.

	onClose		same as above but when clicked closed.

	openWidth	width in px of the items when rolled over. default: 200

	transition	default: Fx.Transitions.quadOut

	duration	the length of the transition. default: 400

	open		the id or index of the item to open on start. default: null

	border		a px value to tweak the widths when an item is open. default: 0 

**************************************************************/

window.addEvent('domready', function(){
				var myMenu = new ImageMenu($$('#imageMenu a'),
				{openWidth:267, border:2, duration:300});
			});