function showInfo() {
	if (document.getElementById('feature').childNodes[0].style.display == 'none') {
		$("div#feature div.info-data").slideDown("slow");
	} else if (typeof(window['hideInfoTimer']) == 'number') {
		clearHideTimer();
	}
}
function hideInfo() {
	hideInfoTimer = window.setTimeout(actuallyHideInfo,100);
}

function actuallyHideInfo() {
	$("div#feature div.info-data").slideUp("slow");
}

function clearHideTimer() {
	window.clearTimeout(hideInfoTimer);
	hideInfoTimer = null;
}

$(document).ready(function(){
	$("div#feature div.info-data").hide();
	if (document.getElementById('feature')) {
		 if (document.getElementById('feature').childNodes.length > 0) {
			$("div#feature").bind("mouseover",showInfo).bind("mouseout",hideInfo).bind("mousemove",showInfo);
			$("div#feature *").bind("mouseover",clearHideTimer);
		}
	}
	$('.imageGallery a').lightBox({fixedNavigation:true});
});

