function LayerEinblenden(LayerID) {
	
  $("#"+LayerID).animate({
    height: 'toggle',
	show: 'toggle'
  }, 500 );
  

  
}


function LayerEinblendenAbonieren(LayerID) {
	$("#ContentChannelInfo").slideUp(500);
	$("#ContentChannelAbonieren").slideDown(500);
}


function LayerEinblendenInfo(LayerID) {
	$("#ContentChannelInfo").slideDown(500);
	$("#ContentChannelAbonieren").slideUp(500);
}


function PlayerScaleUp(LayerID,LayerHeight) {
	

  $("#"+LayerID).animate({
    height: ''+LayerHeight+'px'
  }, 0 );

/*
  $("#FlashPlayerDropDownContainer").animate({
    top: '-3px'
  }, 0 );
*/
  
  
  
}

function TextLayerToggle(LayerID) {
  $("#"+LayerID).animate({
	show: 'toggle'
  }, 0 );
}


function AjaxLoad(LayerID,url) {
	
	
	$("#"+LayerID).load(url);

/*
 $("#"+LayerID).animate({
    height: 'toggle',
	show: 'toggle'
  }, 1000 );	
	
$("#"+LayerID).load(url, function() {
								  
 $("#"+LayerID+".AjaxLoaderIcon").animate({
	show: 'toggle'
  }, 1000 );								  
					
					

});
*/

}

function AjaxSendMailform(LayerID,url) {
//$("#"+LayerID+".AjaxLoaderIcon").animate({	
	
	
	$("#"+LayerID).load(url);
	
	
	/*, function() {
		 $("#"+LayerID+".AjaxLoaderIcon").animate({
			show: 'toggle'
		  }, 1000 );
		 
	});*/

}




function DropDownLayerContent(pixel,hoehe) {
	
	
	$("#FlashPlayerDropDownContainer").animate({
		height: ''+hoehe+'px'
	}, 500 );
	
	
	$("#FlashPlayerDropDownContainer").slideDown(500);

$("#FlashPlayerDropDownContainerWrap2").css("left", ""+pixel+"px");

/*

	$("#FlashPlayerDropDownContainerWrap2").animate({
		left: ''+pixel+'px',
		
	}, 0 );
*/
}						   


function ContentPlayerDropdownClose () {
	$("#FlashPlayerDropDownContainer").animate({
		height: '0px'
	}, 500 );
	
	//slideUp(500);
}



function AhnlicheBeitragePosition (pixel,display) {

$("#AhnlicheBeitrage").css("left", ""+pixel+"px");

$("#AhnlicheBeitrage").css("display", ""+display+"");

}
