var ApplicationBase = function()
{
    
    var _self;
    
    var _bindEvents = function()
    {
	
	};
    
    var _buildCorners = function() {
/*        jQuery('.corners15').corner("round 15px").parent().css('padding', '5px 5px 5px 5px').corner("round 15px");
        jQuery('.corners10').corner("round 10px").parent().css('padding', '5px 5px 5px 5px').corner("round 15px");
        jQuery('.corners5').corner("round 5px").parent().css('padding', '5px 5px 5px 5px').corner("round 15px");
*/    };

    var _checkHeights = function() {
        if (jQuery('#frontpage_lifts_blog_container').length != 0) {
            blog_height = jQuery('#frontpage_lifts_blog_container').height();
            photos_height = jQuery('#frontpage_lifts_photos_container').height();

            if (blog_height > photos_height) {
                jQuery('#frontpage_lifts_photos_container').height(blog_height);
            }
            if (photos_height > blog_height) {
                jQuery('#frontpage_lifts_blog_container').height(photos_height);
            }

            about_height = jQuery('#frontpage_lifts_about_container').height();
            links_height = jQuery('#frontpage_lifts_links_container').height();

            if (about_height > links_height) {
                jQuery('#frontpage_lifts_links_container').height(about_height);
            } else if (links_height > about_height) {
                jQuery('#frontpage_lifts_about_container').height(links_height);
            }
        }
    };

    return {
        init: function()
        {
            _buildCorners();

            _checkHeights();
			
            _self = this;
        },

    };
};

jQuery.application = new ApplicationBase();
