﻿
$(document).ready(function(){
    if ($(".projectImages").length > 0) {
        $('.projectImages a').lightBox({
            overlayBgColor: '#000000',
            overlayOpacity: 0.6,
            imageLoading: 'images/loading.gif',
            imageBtnClose: 'images/close.gif',
            imageBtnPrev: 'images/prev.gif',
            imageBtnNext: 'images/next.gif',
            containerResizeSpeed: 550,
            txtImage: 'Image',
            txtOf: 'of'   
        });
    }
    
    if ($('#ulSlideshow').length > 0) {
        $('#ulSlideshow').innerfade({
            speed: 'slow',
            timeout: 3500,
            type: 'random',
            containerheight: 'auto'
        });  
    }    
});
