/*!
 * jQuery JavaScript
 */

$(function () {
	$('img,input[type=image]').each(function () {
		var ofSrc = $(this).attr('src');
		var ovSrc = ofSrc.replace('_o.', '_ov.');
		$(this).hover(function () {
			$(this).attr('src', ovSrc);
		}, function () {
			$(this).attr('src', ofSrc);
		});
		$(window).unload(function () {
			$(this).attr('src', ofSrc);
		});
	});
});

$(function() {
	$(".w244 li:last-child").css({"padding-top":"8px"});
});	

$(function () {
    $('div.boxLink').click(function () {
        var boxLink = $(this).find('a');
        if (boxLink.attr('target') == '_blank') {
            window.open(boxLink.attr('href'));
        }
        else window.location = boxLink.attr('href');
        return false;
    });
    $('div.boxLink').hover(function () {
        $(this).addClass('hover');
    }, function () {
        $(this).removeClass('hover');
    });
});



