// JavaScript Document
var GB_ANIMATION = true;

jQuery(document).ready(function() {
jQuery("div.scrollable_gallery").scrollable({size: 1});
jQuery("div.scrollable").scrollable({size: 3});
jQuery("div.scrollable_blog").scrollable({vertical:true, size:6});
jQuery("div.scrollable_comment").scrollable({vertical:true, size:3});
jQuery("div.scrollable_shop").scrollable({size: 3}); 
jQuery('div.ngg-gallery-thumbnail a, a.preview_link, a.box1,a.box2,a.box3,a.box4, .scrollable_gallery a ').lightBox();
//jQuery('#main-page, #main-page1')
//        .css( {opacity: "0.5"} )
//		.mouseover(function(){
//			jQuery(this).stop().animate({ opacity: "1"}, 450);
//		})
//		.mouseout(function(){
//			jQuery(this).stop().animate({ opacity: "0.5"}, 450);
//		})

//jQuery('#contact_box')
//        .css( {opacity: "0.7"} )
//		.mouseover(function(){
//			jQuery(this).stop().animate({ opacity: "1"}, 550);
//		})
//		.mouseout(function(){
//			jQuery(this).stop().animate({ opacity: "0.7"}, 650);
//		})
jQuery('.box1,.box2,.box3,.box4')
        .css( {opacity: "0.7"} )
		.mouseover(function(){
			jQuery(this).stop().animate({ opacity: "1"}, 1050);
		})
		.mouseout(function(){
			jQuery(this).stop().animate({ opacity: "0.7"}, 950);
		})
		
jQuery("a.greybox").click(function(){
          var t = this.title || jQuery(this).text() || this.href;
          GB_show(t,this.href,540,600);
          return false;
        });
jQuery('#top-nav ul li:first').css('border','none');
});
