/**
 * Copyright (c) by Designchuchi
 *
 * Custom javascript functions.
 * Credits and many thanks go out to the jquery team
 * and to Torsten Baldes from http://medienfreunde.com
 * for his nice innerface script.
 *
 * Feel free to look at the code to get some inspiration.
 * Don't steal!
 */

/* settings */
var settings = {
    /* slide settings */
    slide_speed:  '300',
    scroll_speed: 'slow',
    slide_project_speed: 'slow',

    /* innerfade settings */
    speed:            'slow',
    timeout:          3500,
    type:             'random_start',
    containerheight:  '298px'
};

/**
 * Things to do as soon as the document is ready.
 */
$(document).ready(function() {
    /* slide previews */
    $('div.box-home').each(function() {
        var details = $(this).find('div.box-home-text');
        $(this).bind('mouseenter', function() {
           details.slideDown(settings.slide_speed);
        });

        $(this).bind('mouseleave', function() {
           details.slideUp(settings.slide_speed);
        });
    });
});

