$(document).ready(function(){				
		$('.topNav li').last().addClass('lastTopNav');
		$('ul li a:contains("Login")').attr('target', '_blank');
			$('<span class="navArrow" />').appendTo($('#navigation li.current-menu-item'));
	$('.navArrow').css('left', $('#navigation li.current-menu-item').width()/2+2);
		$('.footerNav li').last().addClass('bg-none');
		$("#slider").sudoSlider({
				numeric:true,
				fade: true, 
				auto: true,
				pause: 5000
			});
        $('.newsPostInner img').height('44');
        $('.newsPostInner img').width('55');	
		
});

window.onload = function(){

	//$(".contTxt .border-img img").each(
   //     function(i) {
   //         $(this).wrap('<span class="border" style="width: '+$(this).width()+'px;"></span>');
   //         var w = $(this).width()-10;
   //         var h = $(this).height()-10;
   //         $(this).after('<span style="width: '+w+'px; height: '+h+'px;"></span>');
	//					if($(this).css('float')=='left'){$(this).parent().css('float','left'); $(this).parent().css('marginRight','11px');}
//						if($(this).css('float')=='right'){$(this).parent().css('float','right'); $(this).parent().css('marginLeft','11px');}
	//					if($(this).hasClass('aligncenter')){$(this).parent().css('margin','0 auto 10px auto'); }
   //     }
   // );
	//  $(".contTxt span.border span").css('opacity', '0.4');
		
}
