function Destinations( aSubpageArray )
{

	/**
	 * Extern:
	 *
	 * - dojoWrapper {DojoWrapper}
	 * - globalClass {Global}
	 */
	
	/**
	 * Private attributes
	 */
	var largeGallery = false;
	
	var self = this;

	var photoGallery = dojoWrapper.getById("flashcontent");

	
	
	/**
	 * public functions
	 */	
	this.photoGalleryAnimation = function ( aStatus )
	{
		
		
		var height = 0;
		var startPos = 0;
		var endPos = 0;
		
		if ( aStatus == "enlarge" )
		{
			height = 495;
			startPos = 0;
			endPos = -415;
			
			largeGallery = true;
		}
		else
		{
			height = 80;
			startPos = -415;
			endPos = 0;
			
			largeGallery = false;
		}
	
		var properties1 = { height: 
			{
				end: height,
				unit: 'px'
			}
		};
		
		var animation1 = dojoWrapper.animateProperty ( photoGallery, 1000, properties1);
		
		
		var properties2 = { marginTop: 
			{
				start: startPos,
				end: endPos,
				unit: 'px'
			}
		}
		
		var animation2 = dojoWrapper.animateProperty( photoGallery, 1000, properties2 );
		
		animation1.play();
		animation2.play();
	}
	
	this.togglePhotoGallery = function ()
	{
		if ( largeGallery )
		{
			// Reduce gallery
			this.photoGalleryAnimation ();
		}
		else
		{
			// Enlarge gallery
			this.photoGalleryAnimation ( "enlarge" );
		}
	}
	
	this.getButtonCaption = function ()
	{
		if ( largeGallery )
		{
			return "reduce";
		}
		else
		{
			return "enlarge";
		}
		
	}
	
	this.getButtonCaptionHeight = function ()
	{
		return 30;
	}
	
	this.getButtonCaptionColor = function ()
	{
		return "000000";
	}
}