function centerBlocks() {

	// Image height fix
	/*var images = $(".block_right_image, .block_left_image");
	for(t=0;t < images.length;t++) {
		
		var parentHeight = $(images[t]).parent().height();
		
		if(($(images[t]).height() + (2*19)) > parentHeight) {
			$(images[t]).parent().height($(images[t]).height() + (2*19));
		}

	}*/
	
	// Table center fix
	/*var tables = $(".block_right_text > table, .block_left_text > table");
	for(t=0;t < tables.length;t++) {
		
		// parent parent height set above fix.
		var parentparentHeight = $(tables[t]).parent().parent().height() - 19;
		$(tables[t]).parent().height(parentparentHeight);
		
		var parentHeight = $(tables[t]).parent().height();
		if($(tables[t]).height() < parentHeight) $(tables[t]).height(parentHeight);
		if($(tables[t]).height() > (parentHeight+30)) $(tables[t]).parent().height($(tables[t]).height() - 30);

	}*/
}

function openGallery(id) {
	window.location.href = "/hddatabase/" + id; 
}