

window.addEvent('domready', function(){

	$('topmenus').addEvents({
		'mouseenter': function(){

			this.set('tween', {
				duration: 6000,
				transition: Fx.Transitions.Elastic.easeOut // This could have been also 'bounce:out'
			}).tween('height', '125px');
		},
		'mouseleave': function(){

			this.set('tween', {}).tween('height', '20px');
		}
	});
});


window.addEvent('domready', function(){

	$('topmenus2').addEvents({
		'mouseenter': function(){

			this.set('tween', {
				duration: 6000,
				transition: Fx.Transitions.Elastic.easeOut // This could have been also 'bounce:out'
			}).tween('height', '125px');
		},
		'mouseleave': function(){

			this.set('tween', {}).tween('height', '20px');
		}
	});
});



function openWindow(fi,width,height) {
  var remote = window.open(fi,"remote","resize=no,status=0,scrollbars=yes,menubar=0,directories=0,toolbar=0,width=" + width + ",height=" + height);

 // remote.focus();  // do not uncomment - causes error in IE 3.0!

}

// end Helpers -->


window.addEvent('domready', function() {
 
	/**
	 * That CSS selector will find all <a> elements with the
	 * class boxed
	 *
	 * The example loads the options from the rel attribute
	 */
	SqueezeBox.assign($$('a.boxed'), {
		parse: 'rel'
	});
 
});

