//GA goals
GATC = {
	addGoals : function (){
		$('a[href*="shopcart"]').bind('click',function(){
	 		 _gaq.push(['_trackPageview','/buy.html']);
			 price = $(this).parent().parent().parent().find('dl.prices span.price').text();
			 pid = $(this).parent().parent().parent().find('.fn').text();
			 fname = $(this).parent().parent().parent().find('.url').text();
	 	 });
  		$('a[href*="send_pro.php"]').bind('click',function(){
	  		_gaq.push(['_trackPageview','/avail.html']);
			price = $(this).parent().parent().parent().find('dl.prices span.price').text();
			 pid = $(this).parent().parent().parent().find('.fn').text();
			 fname = $(this).parent().parent().parent().find('.url').text();
	 	 });
  		$('a[href*="send_pro_price.php"]').bind('click',function(){
	 		 _gaq.push(['_trackPageview','/price.html']);
			price = $(this).parent().parent().parent().find('dl.prices span.price').text();
			 pid = $(this).parent().parent().parent().find('.fn').text();
			 fname = $(this).parent().parent().parent().find('.url').text();
		  });
	}
};
$(document).ready(function(){
	try {
		GATC.addGoals();
	} catch (e) {}
	try {
			$('#serviceMenu li a:contains("Акции")').css({'color':'#e50000'});
			$('#serviceMenu li a:contains("О ценах")').css({'color':'#e50000'});
                        $('.filterCheck input:checked').parent().siblings('a').css({'font-weight':'bold'});
	    } catch (e) {}
	$('marquee').mouseover(function (){
			$(this).attr('scrollamount','0');}).mouseout(function (){
			$(this).attr('scrollamount','1');});
	$('marquee a:even').css('color','#e50000');
});

