$(document).ready(function() {
	$('.button').bind('mouseover', function() {
		$(this).css('background-color', '#a5a9cd');
	});
	$('.button').bind('mouseout', function() {
		$(this).css('background-color', '#bbbed9');
	});	if ($('#iWantThisPhoto').length == 1) {
		$('#iWantThisPhoto').bind('click', function() {
			var autorId = $(this).attr('autorId');
			$('#iWantThisPhoto').after('Ваше желание учтено. Фотоальбомы добавляются в порядке очереди желаний. Спасибо, что помогаете сделать систему Akkords.Service лучше.');
			$('#iWantThisPhoto').remove();			$.post('/ajax/wanted.php?id=photo', {autor: autorId}, function() {});
		});
	}
	if ($('#iWantThisStory').length == 1) {		$('#iWantThisStory').bind('click', function() {			var autorId = $(this).attr('autorId');
			$('#iWantThisStory').after('Ваше желание учтено. Истории исполнителей добавляются в порядке очереди желаний. Спасибо, что помогаете сделать систему Akkords.Service лучше.');
			$('#iWantThisStory').remove();
			$.post('/ajax/wanted.php?id=story', {autor: autorId}, function() {});
		});
	}
	if ($('#iWantThisGTP').length == 1) {		$('#iWantThisGTP').bind('click', function() {			var songId = $(this).attr('songId');
			$('#iWantThisGTP').after('Ваше желание учтено. GTP добавляются в порядке очереди желаний. Спасибо, что помогаете сделать систему Akkords.Service лучше.');
			$('#iWantThisGTP').remove();
			$.post('/ajax/wanted.php?id=gtp', {song: songId}, function() {});
		});
	}

	$('div.akkords-global-news').bind('mouseover', function() {		$(this).addClass('akkords-global-news-overed');
	}).bind('mouseout', function() {		$(this).removeClass('akkords-global-news-overed');
	});
});
