function switchTeaserDescription(phase) {

	teaserElem = document.getElementById("phase" + phase + "Teaser");
	teaserMoreElem = document.getElementById("phase" + phase + "TeaserMore");
	descriptionElem = document.getElementById("phase" + phase + "Description");
	descriptionLessElem = document.getElementById("phase" + phase + "DescriptionLess");

	if(teaserElem.style.display != "none")
	{
		teaserElem.style.display = "none";
	}
	else
	{
		teaserElem.style.display = "block";

	}

	if(descriptionElem.style.display != "none")
	{
		descriptionElem.style.display = "none";
                descriptionLessElem.style.display = "none";
                teaserMoreElem.style.display="block"; 	
		//document.getElementById("cdiv"+phase).style.height=($("#cdiv"+phase).height()-$("#phase"+phase+"Description").height())+"px";	
		document.getElementById("cdiv"+phase).style.height="111px";	
        }
	else
	{
		descriptionElem.style.display = "block";
                descriptionLessElem.style.display = "block";
		teaserMoreElem.style.display="none";
		//document.getElementById("cdiv"+phase).style.height=$("#phase"+phase+"Description").height()+$("#cdiv"+phase).height()+"px";
                document.getElementById("cdiv"+phase).style.height=$("#phase"+phase+"Description").height()+$("#header"+phase).height()+$("#phase"+phase+"Teaser").height()+"px";
	}
}

