function getNames()
{
	LinksPreparation = document.getElementById('PreparationLinks');
	ImagePreparation = document.getElementById('PreparationImage');
	
	LinksCeremony = document.getElementById('CeremonyLinks');
	ImageCeremony = document.getElementById('CeremonyImage');
	
	LinksReception = document.getElementById('ReceptionLinks');
	ImageReception = document.getElementById('ReceptionImage');
}

function ShowPreparation(id)
{	
	getNames();
	if (LinksPreparation.style.display == 'none')
	{		
		ImagePreparation.style.display = 'none';
		LinksPreparation.style.display = '';
		HideCeremony();
		HideReception();
	}
}

function HidePreparation(id)
{
	getNames();
	if (LinksPreparation.style.display == '')
	{
		ImagePreparation.style.display = '';
		LinksPreparation.style.display = 'none';
	}
}


function ShowCeremony(id)
{
	getNames();
	if (LinksCeremony.style.display == 'none')
	{
		ImageCeremony.style.display = 'none';
		LinksCeremony.style.display = '';
		HidePreparation();
		HideReception();
	}
}

function HideCeremony(id)
{
	getNames();
	if (LinksCeremony.style.display ==  '')
	{
		ImageCeremony.style.display = '';
		LinksCeremony.style.display = 'none';
	}
}

function ShowReception(id)
{
	getNames();
	if (LinksReception.style.display == 'none')
	{
		ImageReception.style.display = 'none';
		LinksReception.style.display = '';
		HidePreparation();
		HideCeremony();
	}
}

function HideReception(id)
{
	getNames();
	if (LinksReception.style.display ==  '')
	{
		ImageReception.style.display = '';
		LinksReception.style.display = 'none';
	}
}
