// JavaScript Document

		  function slideSwitch() {
              var $active = $('#slideshow img.active');
              if ( $active.length == 0 ) $active = $('#slideshow img:last');
              var $next =  $active.next().length ? $active.next() : $('#slideshow 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()", 4000 );
          });


$(function(){
	$('#feed').rssfeed('http://yaplog.jp/okinawa-condos/index1_0.rdf',{
		limit: 1
	});
});

$(function() {
	$('#gallery a').lightBox({fixedNavigation:true});
});




  $(function() {
    $("#twitter").getTwitter({
      userName: "coralgarden7",		// ユーザー名
      numTweets: 2,			// 表示件数
      loaderText: "読み込み中...",	// ローディングテキスト
      slideIn: true,			// スライド効果の有無
      showHeading: true,		// 見出し表示の有無
      headingText: "最近のつぶやき",	// 見出しテキスト
      showProfileLink: false		// プロフィールリンク表示の有無
    });
  });
  
  
