$(document).ready(function(){
	topContentBigTarget();
});

function topContentBigTarget(){
	$('.sidecol .panel,.linklist .item').each(function(i){
		var strAnchor=$(this).find('a');

		if(strAnchor.length){
			var strHref=$(strAnchor).attr('href');
			var strNewWindow=$(strAnchor).attr('onclick');
			$(strAnchor).attr('onclick','');
		}

		if(strHref!=undefined){
			$(this).hover(function(){
				$(this).addClass('over');
			},function(){
				$(this).removeClass('over');
			});

			$(this).click(function(){
				if(strNewWindow!=undefined){
					window.open(strHref);
					return false;
				}else{
					window.location=strHref;
				}
			});
		}
	});
}
