Hi There,

I am fairly new to JavaScript and I am trying to use a floating menu that i got from simplythebest.net on a page layout for an ebay store. The problem is ebay does not allow the eval function to be used for security reasons. I have done many googles and racked my brain and cannot work out how i can remove this eval and replace it with somthing else. Any help would be muchly appreciated.

Thanks alot.

Code JavaScript:
		// global reference to this object
		this.gRef = "ypSlideOutMenu_"+id
		eval(this.gRef+"=this")
 
		// add this menu object to an internal list of all menus
		ypSlideOutMenu.Registry[id] = this