function PlaceButtons() {
	var buttons = $('.sliderarea a');
	buttons.each(function(i) {				  
		var name = $(this).attr('id');
		var landing = $(this).attr('href');
		var off_url = "url(img/home/" + name + "_off.gif)";
		var on_url = "url(img/home/" + name + "_on.gif)";
		$(this).css({'textIndent':'-999em'});		
		$(this).parent().append('<div class="off"></div><div class="on"></div>');
		$(this).parent().find('.on').css({'backgroundImage':on_url});
		$(this).parent().find('.off').css({'backgroundImage':off_url});
		$(this).parent().hover(
			function () {
				$(this).find('.on').stop();
				$(this).find('.off').stop();
				$(this).find('.off').animate({left:'81px', opacity:0}, {duration:500});
				$(this).find('.on').animate({left:'81px', opacity:1}, {duration:500});
			}, 
			function () {
				$(this).find('.on').stop();
				$(this).find('.off').stop();
				$(this).find('.on').animate({left:'0px', opacity:0}, {duration:500});
				$(this).find('.off').animate({left:'0px', opacity:1}, {duration:500});
			}
		);
		$(this).parent().click(function () { 
      		window.location.href = landing;
    	});
	});
}

