window.addEvent('domready', function(){
	$('myProjectsMenu').addEvents({
		'mouseenter': function(){
			// Always sets the duration of the tween to 1000 ms and a bouncing transition
			// And then tweens the height of the element
			this.set('tween', {
				duration: 1000,
				transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			}).tween('height', '140px');
		},
		'mouseleave': function(){
			// Resets the tween and changes the element back to its original size
			this.set('tween', {}).tween('height', '20px');
		}
	});

	// $('myMoreInfoMenu').addEvents({
		// 'mouseenter': function(){
			// // Always sets the duration of the tween to 1000 ms and a bouncing transition
			// // And then tweens the height of the element
			// this.set('tween', {
				// duration: 1000,
				// transition: Fx.Transitions.Bounce.easeOut // This could have been also 'bounce:out'
			// }).tween('height', '105px');
		// },
		// 'mouseleave': function(){
			// // Resets the tween and changes the element back to its original size
			// this.set('tween', {}).tween('height', '20px');
		// }
	// });
	
	
});

function slimbox_real_url( orgImgName)
{
	if( orgImgName != "none")
	{
		fotomotoImgName = orgImgName.substring( 0, (orgImgName.length -1));
		fotomotoImgName = fotomotoImgName + '.fotomoto.jpg' ;
		fotomotoImgName = fotomotoImgName.replace( 'img', 'photos');
	}
	else
	{	
		fotomotoImgName = orgImgName;
	}
	
	// console.log( orgImgName + ' -> ' + fotomotoImgName);

	return fotomotoImgName;
}