$(document).ready(function() {
	$('#resource-locator table tr.main td div.overview').hide();
	$('#resource-locator table tr.main td a').attr({href: "javascript:void(0)"});
	$('#resource-locator table tr.main td a').click(function(){
		if($(this).next().is(':visible')){
		//close current window
			$(this).parent().parent().removeClass('on');
			$(this).next().hide();
		}else{
		//close other open windows
		$('#resource-locator table tr.main td').removeClass('on');
		$('#resource-locator table tr.main td a').next().hide();
		$(this).parent().parent().addClass('on');
		$(this).next().show();
		}
	});
 });

function close(uri){
	$("#" + uri).parent().hide();
	$("#" + uri).parent().parent().removeClass('on');
}
