// JavaScript Document

<!--  initialize the slideshow when the DOM is ready -->

$(document).ready(function() {

    $('#slideshow').cycle({

		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...

		speed: 1000,

		timeout:0

	});

	$('#home-button').click(function() {
	$('#slideshow').cycle(0);

	return false;

    })

	$('#property-btn').click(function() {
    $('#slideshow').cycle(1);
	return false;

    })

	$('#open_house').click(function() {

    $('#slideshow').cycle(2);

	return false;

    });

	$('#community').click(function() {
    $('#slideshow').cycle(3);

	return false;

    })

	$('#omaha').click(function() {

    $('#slideshow').cycle(4);

	return false;

    });

	$('#profile').click(function() {

    $('#slideshow').cycle(5);

	return false;

    })

	/*$('#new_construction').click(function() {

    $('#slideshow').cycle(6);

	return false;

    });
    */

	$('#information').click(function() {

    $('#slideshow').cycle(6);

	return false;

    });

	$('#contact').click(function() {

    $('#slideshow').cycle(7);

	return false;

    });

	$('#list_property').click(function() {

    $('#slideshow').cycle(8);

	return false;

    });
	
	$('#search').click(function() {

    $('#slideshow').cycle(9);

	return false;

    });

});

