// JavaScript Document
$(function () {
	//$(".recent_projects_box_des").hide();
    $("div.btd-left a").click(function () {
        var x = $(this).attr("className");
        if (x == "btd1-s") {
            $(".btd1-s").hide();
            $('div#one').animate({
                'height': "350px"
            }, 1500);
        }
        if (x == "btd1-h") {
            $('div#one').animate({
                'height': "140px"
            }, 1500);
            $(".btd1-s").show();

        }
        if (x == "btd2-s") {
            $(".btd2-s").hide();
            $('div#two').animate({
                'height': "250px"
            }, 1500);
        }
        if (x == "btd2-h") {
            $('div#two').animate({
                'height': "140px"
            }, 1500);
            $(".btd2-s").show();
        }
        if (x == "btd3-s") {
            $(".btd3-s").hide();
            $('div#three').animate({
                'height': "330px"
            }, 1500);
        }
        if (x == "btd3-h") {
            $('div#three').animate({
                'height': "140px"
            }, 1500);
            $(".btd3-s").show();

        }		
		
        return false;
    });
	/*$("#recent_projects_box1").mouseover(function () { $(".recent_projects_box_des").hide();$('#recent_des1').fadeIn(300);	},function(){$('#recent_des1').hide(300);});
	$("#recent_projects_box2").mouseover(function () { $(".recent_projects_box_des").hide();$('#recent_des2').fadeIn(300);	},function(){$('#recent_des1').hide(300);});
	$("#recent_projects_box3").mouseover(function () { $(".recent_projects_box_des").hide();$('#recent_des3').fadeIn(300);	},function(){$('#recent_des1').hide(300);});
	$(".recent_projects_boxes").mouseout(function () { $(".recent_projects_box_des").hide();});*/
    return false;
});
