// author: Adam Kohout
$(document).ready(function() {
	$('.menu_item_bg a').mouseover(function() {		
		$(this).parent().css('background-color','#6795be');			
	});
	
	$('.menu_item_bg a').mouseout(function() {
		if($(this).parent().hasClass('menuCurrent')) {
			$(this).parent().css('background-color','#6795be');	
		}
		else {
			$(this).parent().css('background-color','#27170b')			
		}
	});

	$('.homepageNewsTop a').mouseover(function() {				
		$(this).parent().css('background-color','#6795be');		
	});
	
	$('.homepageNewsTop a').mouseout(function() {			
		$(this).parent().css('background-color','#27170b');		
	});

	$('.rightSmallPaginator').mouseover(function() {				
		$(this).css('background','#fff url("/images/paginator_small_right_hover.png") 50% 50% no-repeat');		
	});
	
	$('.rightSmallPaginator').mouseout(function() {			
		$(this).css('background','#fff url("/images/paginator_small_right.png") 50% 50% no-repeat');		
	});

	$('.leftSmallPaginator').mouseover(function() {				
		$(this).css('background','#fff url("/images/paginator_small_left_hover.png") 50% 50% no-repeat');		
	});
	
	$('.leftSmallPaginator').mouseout(function() {			
		$(this).css('background','#fff url("/images/paginator_small_left.png") 50% 50% no-repeat');		
	});	
	
        $('.lBoxOpen a').lightBox();   
	
	$('#frmbuyForm-captcha').one('click',function() {		
		$('#frmbuyForm-captcha').val('');
	});

});
