function deleteph( id, al )	{	Check = confirm("Wollen Sie dieses Bild wirklich löschen?");	if (Check == true)	{	  window.location.replace('index.php?p=galleryedit&delete=1&alid='+ al +'&phid=' + id);	}}function deletevi( id )	{	Check = confirm("Wollen Sie dieses Video wirklich löschen?");	if (Check == true)	{	  window.location.replace('index.php?p=videoedit&delete=1&id=' + id);	}}function deleteal( id, titel )	{	Check = confirm("Wollen Sie das Album \"" + titel+ "\" wirklich löschen?  \nACHTUNG: Alle darin enthaltenen Bilder werden auch gelöscht!");	if (Check == true)	{	  window.location.replace('index.php?p=galleryedit&delete=2&alid='+ id);	}}function preview( id , art, alpha ) {	var fadeout2;	var fadein;	var fadeout;	if(art==1)	{		document.getElementById("preview" + id).style.display = "block";		if( alpha < 100)	{			document.getElementById("preview" + id).style.filter = "Alpha(opacity="+alpha+")";			//document.getElementById("preview" + id).style.-moz-opacity = "0.75";			malpha = alpha / 100;			document.getElementById("preview" + id).style.opacity = malpha;			//alert(alpha);			alpha = alpha * 1.2;			fadein = setTimeout("preview(\""+ id +"\",\"1\",\""+alpha+"\")",10);		}	}	if(art==2)	{		fadeout2 = setTimeout("preview(\""+ id +"\",\"3\",\""+alpha+"\")",1);	}	if(art==3)	{		//clearTimeout(fadein);		if( alpha > 1)	{			document.getElementById("preview" + id).style.filter = "Alpha(opacity="+alpha+")";			//document.getElementById("preview" + id).style.-moz-opacity = "0.75";			malpha = alpha / 100;			document.getElementById("preview" + id).style.opacity = malpha;			//alert(alpha);			alpha = alpha * 0.8;			fadeout = setTimeout("preview(\""+ id +"\",\"3\",\""+alpha+"\")",10);		}		if( alpha < 3)	{			document.getElementById("preview" + id).style.display = "none";		}	}}
