$(document).ready(function() {
	$(".wwd-extra").hide();
	$("#whatwedo ul li").click(function (event){
		//alert ('hi - ');
		$(".wwd-extra").slideUp(600);
		//alert (406 - ($('#whatwedo').height()));

		//$(".wwd-extra").slideUp(600);
		if($(this).children(".wwd-extra").is(':hidden')){
		//	$('#whatwedo').animate({
		//		marginTop:"52px"
		//	}, 500, 'linear');
		$(this).children(".wwd-extra").slideToggle(600);
		$(this).children(".content").fadeIn(600);

			//$(this).children(".wwd-bottom").css('margin-top','-45px');
		} else {
			//$('#whatwedo').animate({
			//		marginTop:"112px"
			//	}, 600, 'linear');
		}
	});

    $("#whatwedo ul li").hover(function (event){
        $(this).children('.wwd-title').stop().animate({"paddingLeft": "25px"}, "fast");
    },

    function(event){
         $(this).children('.wwd-title').stop().animate({"paddingLeft": "20px"}, "fast");
    }
    );

    $("#news-hd").hover(function (event){
        $(this).stop().animate({"paddingLeft": "15px"}, "fast");
    },

    function(event){
         $(this).stop().animate({"paddingLeft": "10px"}, "fast");
    }
    );

});


$(document).ready(function(){

	$("#content #home-col2 #news .content ul li").click(function(){
    	window.location=$(this).find("a").attr("href");return false;
	});

}); //close doc ready

