function updateOptionsImage( id )
{
	$('optionsImage').src = optionsImages.get( id );
}


function updateOptionsDescription( id )
{
	$('optionsDescription').update( '<span><strong>Description:</strong></span>' + optionsDescription.get( id ) );
}

function updateOptionsTitle( id )
{
	$('optionsImage').alt = optionsTitle.get( id );
	$('optionsImage').title = optionsTitle.get( id );
}

function updatePrice( id )
{
	selectedOptionID = id;
	totalNormalPrice = normalPrice + optionsNormalPrice.get( id );
	totalMemberPrice = memberPrice + optionsMemberPrice.get( id );
	
	if( id == 0 )
	{
		$('optionNormalPriceSpan').hide();
		$('optionMemberPriceSpan').hide();
	}
	else
	{
		$('optionNormalPriceSpan').update( "+ " + optionsNormalPrice.get( id ).toFixed( 2 ) + "<br />" );
		$('optionNormalPriceSpan').show();
		
		$('optionMemberPriceSpan').update( "+ " + optionsMemberPrice.get( id ).toFixed( 2 ) + "<br />" );
		$('optionMemberPriceSpan').show();
	}	
}

function updateOptions( id )
{
	updateOptionsImage( id );
	updateOptionsTitle( id );
	updateOptionsDescription( id );
	updatePrice( id );
	
}
