/**
 * @version  1.00
 * @updated  2008/02/01
 */



if ($.browser.safari && $.browser.version < 500) {
	$(window).load(function () {
		photoIndex();
	});
}
else {
	$(document).ready(function () {
		photoIndex();
	});
}

function photoIndex() {
	$("ul.photo-index li:nth-child(4n)").css({'width':'151px'});
	
	var highest = 0;
	$("ul.photo-index li a span.pi-txt").each(function () {
		height = $(this).height();
		if(height > highest) {
			highest = height;
		}
	});
	$("ul.photo-index li a span.pi-txt").height(highest);
}

