$(function(){
	$.clearOnFocus({});
	
	$(window).bind('load', function(){
		// align partner images to top
		$('.imgContainer > img').each(function(){
			var wrap_size = $(this).parent().innerHeight();
			var imag_size = $(this).attr('height');
			
			var margin    = Math.floor((wrap_size - imag_size) / 2) - 10;
			
			if(margin > 0){
				$(this).css({ 'marginTop': Math.floor(margin) + 'px' });
			}
		});
	});		
	
	// newsTools effects
	$.scroller({
		selectorId: 'js_scrollNews-'		
	});	
});
