$(document).ready(function(){  
$("#kjcombody").hide();
$(".hidetext").hide();
$(".footerdown").hide();
$("#exifinfo").animate({"opacity": "0"}, "fast");
$(".op2 a").animate({"opacity": "0.2"}, "fast");

$("#commbot").click(function(){
 $("#photoindex").slideToggle("fast");
 $("#kjcombody").slideToggle("slow");
});
$("#commbot2").click(function(){
 $("#photoindex").slideToggle("fast");
 $("#kjcombody").slideToggle("slow");
});
$("#photo").hover(
function() {
$("#exifinfo").stop().animate({"opacity": "0.9"}, "slow");
},
function() {
$("#exifinfo").stop().animate({"opacity": "0"}, "slow");
});

$(".op2").hover(
function() {
$(this).children("a").stop().animate({"opacity": "1"}, "slow");
},
function() {
$(this).children("a").stop().animate({"opacity": "0.2"}, "slow");
});
// create custom animation algorithm for jQuery called "bouncy" 
$.easing.bouncy = function (x, t, b, c, d) { 
    var s = 1.70158; 
    if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; 
    return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; 
} 
 
// create custom tooltip effect for jQuery Tooltip 
$.tools.tooltip.addEffect("bouncy", 
 
    // opening animation 
    function(done) { 
        this.getTip().animate({top: '-=5'}, 100, 'bouncy', done).show(); 
    }, 
 
    // closing animation 
    function(done) { 
        this.getTip().animate({top: '+=5'}, 100, 'bouncy', function()  { 
            $(this).hide(); 
            done.call(); 
        }); 
    } 
);


    $(".menu1 a[title]").tooltip({tip: '#kjtip', effect: 'bouncy'}); 
	


$(document).bind("contextmenu",function(e){
              return false;
       }); 



});