

/**
 * - Swaps the gallery images on the trip page
 * - Replaces the copyright-text
 */
function gallery_swap( image_link, target_image, target_copyright , copyrightText ) {
	
	// Swaps the gallery images on the trip page
	target_image = document.getElementById( target_image );
	
	var largePath = image_link.href;
	var largeAlt = image_link.title;
	
	target_image.src = largePath;
	target_image.alt = largeAlt;
	

	// Replaces the copyright-text
	target_copyright = document.getElementById( target_copyright );

	if ( copyrightText != '' ) {
		copyrightText = '&copy; ' + copyrightText;
	} else {
		copyrightText = '&nbsp;';
	}
	target_copyright.innerHTML = copyrightText;
	
	return false;
}
