function AnimationNews(){

  $(".aboutJH-box").mouseenter(function(){
	$(".aboutJH-box h1").animate({marginLeft:'27px'}, 200, "linear", function(){});
	$(".link-box").animate({marginLeft:'12px'}, 500, "linear", function(){});
  }).mouseleave(function() {
	$(".aboutJH-box h1").animate({marginLeft:'15px'}, 200, "linear", function(){});
	$(".link-box").animate({marginLeft:'0'}, 500, "linear", function(){});
  });
  
  //COUNT
    $(".countdown-box").mouseenter(function(){
	$(".countdown-box h1").animate({marginLeft:'27px'}, 200, "linear", function(){});
	$(".countdown-box h2").animate({marginLeft:'27px'}, 200, "linear", function(){});
  }).mouseleave(function() {
	$(".countdown-box h1").animate({marginLeft:'15px'}, 200, "linear", function(){});
	$(".countdown-box h2").animate({marginLeft:'15px'}, 200, "linear", function(){});
  });
  
  //TWETTER
  $(".tweets-box").mouseenter(function(){
	$(".tweets-box h1").animate({marginLeft:'27px'}, 200, "linear", function(){});

  }).mouseleave(function() {
	$(".tweets-box h1").animate({marginLeft:'15px'}, 200, "linear", function(){});
	
  });
}



$(document).ready(function(){
	AnimationNews();	
			$("#slider ul li").css("display","block");	
			$("#slider").easySlider({
				auto: true,
				continuous: true,
				numeric: true
			});
			$("#slider2").easySlider({ 
				numeric: true
			});
			
			$("#twitter").getTwitter({
					userName: "jack_harvey42",
					numTweets: 2,
					loaderText: "Loading tweets...",
					slideIn: true,
					slideDuration: 750,
					showHeading: true,
					headingText: "MY TWEETS",
					showProfileLink: true,
					showTimestamp: true
			});
			
/*			//BOX EFFECT jack_harvey42
	$(".aboutJH-box").css("opacity","0");
	$(".aboutJH-box").css("height","0px");
	
	$(".countdown-box").css("opacity","0");
	$(".countdown-box").css("height","0px");
	
	$(".tweets-box").css("opacity","0");
	$(".tweets-box").css("height","0px");
				
$(".aboutJH-box").animate({
    opacity: 1,
    left: '+=50',
    height: '176px'
  }, 800, function() {
	 		var so = new SWFObject("flash/countdown.swf", "source", "280", "60", "9", "#000000");
		<!--the swf file path,to use absolute path is the better way eg: http://yoursite.com/swf/source.swf-->
		so.addVariable('configPath', 'flash/setup-count.xml');
		so.addParam("wmode", "transparent");
        so.addParam("menu", "false");
		<!--the xml config file path,to use absolute path is the better way eg: http://yoursite.com/files/config.xml-->
		so.write("flashcontent");	 
  // countdown.
$(".countdown-box").animate({
    opacity: 1,
    left: '+=50',
    height: '176px'
  }, 800, function() {
	  
  
   // TWETTER.
$(".tweets-box").animate({
    opacity: 1,
    left: '+=50',
    height: '204px'
}, 800, function() {}); 
   
}); // $(".countdown-box").animate({ 
});//$(".aboutJH-box").animate({*/

	 	var so = new SWFObject("flash/countdown.swf", "source", "280", "60", "9", "#000000");
		<!--the swf file path,to use absolute path is the better way eg: http://yoursite.com/swf/source.swf-->
		so.addVariable('configPath', 'flash/setup-count.xml');
		so.addParam("wmode", "transparent");
        so.addParam("menu", "false");
		<!--the xml config file path,to use absolute path is the better way eg: http://yoursite.com/files/config.xml-->
		so.write("flashcontent");	

});	//$(document).ready(function(){



