$(document).ready(
	function(){
		
		$(".promo-inside").hover(function(){
			$(this).css('background-image','url(/uploads/images/core/bg_promo_over.gif)');
			$(this).css('cursor', 'pointer');
			$(this).click(function() {
        		window.location = $('a', this).attr('href');
			});
		}, function(){
			$(this).css('background', 'transparent');
		});
		
		$(".promo-inside-left").hover(function(){
			$(this).css('background-image','url(/uploads/images/core/bg_promo_over.gif)');
			$('.promo-inside-left').corner("tl bl 5px");
			$(this).css('cursor', 'pointer');
			$(this).click(function() {
        		window.location = $('a', this).attr('href');
			});
		}, function(){
			$(this).css('background', 'transparent');
		});
		
		$(".promo-inside-right").hover(function(){
			$(this).css('background-image','url(/uploads/images/core/bg_promo_over.gif)');
			$('.promo-inside-right').corner("tr br 5px");
			$(this).css('cursor', 'pointer');
			$(this).click(function() {
        		window.location = $('a', this).attr('href');
			});
		}, function(){
			$(this).css('background', 'transparent');
		});
			
				
		 opts = {
               distances : [40,40,40,40,40,40],
               leftShifts : [-22,-22,-22,-22,-22,-22,-22],
               bubbleTimes : [500,500,500,500,500,500,500],
               hideDelays : [0,0,0,0,0,0,0],
               bubbleWidths : [67,67,67,67,67,67,67],
               bubbleImagesPath : "/uploads/images/core",
               msieFix : true,
               msiePop : true
            };
            $('.coda_bubble').codaBubble(opts);	
			
				$('.news-container').vTicker({
   					speed: 1500,
   					pause: 5000,
   					showItems: 3,
   					animation: 'fade',
   					mousePause: true,
   					direction: 'up'
				});
			
			
	}
);


