/*
*    Document   : custom
*   Created on : Sep 2, 2011, 12:06:14 PM
*    Author     : ClarkT AKA Clark T
*    Web        : http://www.th3fallen.com
*    Copyright  : 2011
*/

$(document).ready(function() {
    
    $.fn.cycle.defaults = { 
        after:         null,   // transition callback (scope set to element that was shown) 
        before:        null,   // transition callback (scope set to element to be shown) 
        delay:         0,      // additional delay (in ms) for first transition (hint: can be negative) 
        fit:           0,      // force slides to fit container 
        fx:           'fade',  // name of transition function 
        height:       'auto',  // container height 
        metaAttr:     'cycle', // data- attribute that holds the option data for the slideshow 
        next:          null,   // id of element to use as click trigger for next slide 
        pause:         0,      // true to enable "pause on hover" 
        prev:          null,   // id of element to use as click trigger for previous slide 
        timeout:       4000,   // milliseconds between slide transitions (0 to disable auto advance) 
        speed:         1000,   // speed of the transition (any valid fx speed value) 
        slideExpr:     null,   // expression for selecting slides (if something other than all children is required) 
        sync:          1,      // true if in/out transitions should occur simultaneously 
 
        // the following options let you create transitions other than fade 
        cssBefore:     {},     // properties that define the initial state of the slide before transitioning in 
        cssAfter:      {},     // properties that defined the state of the slide after transitioning out 
        animIn:        {},     // properties that define how the slide animates in 
        animOut:       {}      // properties that define how the slide animates out 
    }; 
    
    $('#slides ul').cycle({ 
    prev:   '#prev', 
    next:   '#next', 
    timeout: 4000 
});

    $("a.fancybox").fancybox({
        'transitionIn'	:	'elastic',
        'transitionOut'	:	'elastic',
        'speedIn'		:	600, 
        'speedOut'		:	200, 
        'overlayShow'	:	true,
        'hideOnContentClick': true,
        'titlePosition'  : 'inside',
        'type' : 'image'
    });
    

    
});


