
jQuery.noConflict();

jQuery(function($){

// Photos by jQuery lightBox plugin @author Leandro Vieira Pinho - http://leandrovieira.com
	$('#mini-log-house .items .item-fig a').lightBox(); 
	$('#mini-log-store .items .item-fig a').lightBox(); 
	$('.gallery-house ul a').lightBox(); 
	$('.gallery-store ul a').lightBox();

	$('.blog-detail-gallery-m a').lightBox();
	$('.blog-detail-gallery-s a').lightBox();
	

//rollover
	$('img,input[type=image]').set_rollovers({ hover_extension: '_ov' });
	
// 
  $('a[href$=".pdf"]').addClass("pdf");


//backtotop
  $('a[href*=#]').click(function() {
	  var $target = $(this.hash);
	  $target = $target.length && $target
	  || $('[name=' + this.hash.slice(1) +']');
	  if ($target.length) {
		var targetOffset = $target.offset().top;
		$('html,body')
		.animate({scrollTop: targetOffset}, 500);
	   return false;
	  }
  });
  
// mini-log.information for TOP page
  $('#latest-entries').innerfade({ speed: 'slow', timeout: 6400, type: 'random', containerheight: '1.52em' });

// bookmark for TOP page
  $('#sbm_icon a , #tooltip_sbm').hover(
    function(){
      $('#tooltip_sbm').css({visibility:"visible"});
      //$('#tooltip_sbm').fadeIn("fast");
    },
    function(){
      $('#tooltip_sbm').css({visibility:"hidden"});
      //$('#tooltip_sbm').fadeOut("fast");
    }
    );

});


