var keleteo = {};

keleteo = function ()
{
	var pub = {};

	pub.init = function ()
	{
                $('.footerHover').footerHover ();
                
                $( ".flash-message" ).dialog({
			modal: true,
                        buttons: {
                            "Ok": function() {
                                $( this ).dialog( "close" );
                            }
                        }
                });


	}

	return pub;

}();

$("a[rel=gallery]").fancybox({
        'transitionIn'		: 'elastic',
        'transitionOut'		: 'none',
        'titlePosition' 	: 'over',
        'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
                return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
        }
});

