// JavaScript Document

	function firstMove()
	{
		new Effect.Morph($('footer'),{ 
		style: 'height: 44px',
		delay: 2,
		duration: 0.8
		});	
	}
	window.onload = firstMove;
	
	function move()
	{
		if( $("footer").offsetHeight >= "192" )
		{
			new Effect.Morph($('footer'),{ 
			style: 'height: 44px',
			duration: 0.3
			});	
			$('servicearea').src = "/fileadmin/templates/images/up.png";
		}
		else
		{
			new Effect.Morph($('footer'),{ 
			style: 'height: 192px',
			duration: 0.3
			});	
			$('servicearea').src = "/fileadmin/templates/images/down.png";
		}
	}
	
	/*
	getFlashMovieObject(movieName) //find the flashmovie
	{
		
	  // check if not ie
	  if (navigator.appName.indexOf("Microsoft Internet")==-1)
	  {
		if (document.embeds && document.embeds[movieName])
		{
		  return document.embeds[movieName]; 
		}
	  }
	  else // is ie
	  {
		return parent.document.getElementById(movieName);
	  }
	  
	}			
	
	////FUNCTIONS 4 FLASH			
	function enableGallery ( galleryValue ) { //this is sent to the flashmovie		
	
			if ( getFlashMovieObject(flashMovieId) ) {
					getFlashMovieObject(flashMovieId).SetVariable( enableGallery , "" + galleryValue );				
			}
	}
	*/