//fade image

function slideSwitch() {
    var $active = $('#propslideshow img.active');

    if ( $active.length == 0 ) $active = $('#propslideshow img:last');

    var $next =  $active.next().length ? $active.next()
        : $('#propslideshow img:first');

    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 5000 );
});



//colorbox
 $(document).ready(function(){
			$(".example5 a").colorbox({width:'920', height:'800'});
			$(".exampleb a").colorbox({width:'920', height:'800', iframe:true});
		});



