//$(document).ready(function(){

	$('#APNavigation td[class$="_Td"]').mousemove(function(){
		$(this).find('div').css('display','block');
	});

	var six25 = 0;
	var one55 = 0;
	
	$('div[class^="ap"]').each(function(){
		if($(this).width()=="625"){
			six25 = 1;
			if($(this).css('float')=="left"){
				$(this).css({
					'width':'585px',
					'margin-bottom':'30px'
				});
				if($(this).parent().width()=='624'){
					$(this).parent().css('width','auto');
				};
			}
		} else if(($(this).width()=="155")&&(one55==0)){
			one55 = 1;
			$(this).css({
				'width' : '165px',
				'padding-left' : '10px'
			}).next().css('display','none');
		}
	});

	$('.hdl_combo ul li a').each(function(){
		var firstLink = $(this).attr('href').replace(/APBusinessNews/,'BusinessNews');
		firstLink = firstLink.replace(/APEntertainmentNews/,'EntertainmentNews');
		firstLink = firstLink.replace(/APHealth/,'Health');
		firstLink = firstLink.replace(/APPolitics/,'Politics');
		firstLink = firstLink.replace(/APScience/,'Science');
		firstLink = firstLink.replace(/APSports/,'Sports');
		firstLink = firstLink.replace(/APWorldNews/,'WorldNews');
		firstLink = firstLink.replace(/APUSNews/,'USNews');
		firstLink = firstLink.replace(/APOdd/,'Offbeat');
		$(this).attr('href',firstLink);
	});
	
	$('div.ap_PhotoGalTsr div.ap_frmHt').css('line-height','auto');

//});