/*	Expanding Menus for Indexhibit *		uses jquery * * 	-- Version: One open at a time -- * *	Created by Ross Cairns  Mar 2008*/var last;function expandingMenu(num) {	var speed = 200;		var item_title = $("#menu ul").eq(num).children(":first");	var items = $("#menu ul").eq(num).children().filter(function (index) { return index > 0; });		/* hide items if not active */	if (items.is(".active") == false) {		items.hide();	}		/* add click functions + pointer to title */	item_title.css({cursor:"pointer"}).click(		function () {			items.show(speed).animate({easing:"linear"});			if (last != undefined && last != items) {				last.hide(speed).animate({easing:"linear"});			}			last = items;		}	)}