	var oc=0;
	var oc_pl = 100;

	function fadeIn_logo() {
		document.getElementById('logo').style.filter="Alpha(opacity="+oc+", finishopacity=0, style=0)";	
		//document.getElementById('logo').style.padding="0px "+oc_pl+" 0px 0px";
		ff_oc = oc/100;
		document.getElementById('logo').style.opacity=ff_oc;		
		//document.getElementById('image').style.-moz-opacity="0.5";			
		if(oc_pl > 0){
			oc_pl = oc_pl-2;
		}
		if(oc!=100) setTimeout('oc++;oc_pl;fadeIn_logo()',20);
		
	}
	
	function fadeIn_img() {
		document.getElementById('galerie_img').style.filter="Alpha(opacity="+oc+", finishopacity=0, style=0)";	
		//document.getElementById('logo').style.padding="0px "+oc_pl+" 0px 0px";
		ff_oc = oc/100;
		document.getElementById('galerie_img').style.opacity=ff_oc;		
		//document.getElementById('image').style.-moz-opacity="0.5";			
		if(oc_pl > 0){
			oc_pl = oc_pl-2;
		}
		if(oc!=100) setTimeout('oc++;oc_pl;fadeIn_img()',5);
		
	}

	
	function popup_gallery(gallery_id, img) 
	{
		  if(gallery_id == ""){
			gallery_id = "%";
		  }
		  
		  if(img == ""){
			img = "%";
		  }
										  
		  MeinFenster = window.open("../popup_gallery.php?bild="+img+"&g="+gallery_id, "popup_gallery", "width=815,height=670,left=50, top=50, scrollbars=yes");
		  MeinFenster.focus();
	}
	
	function popup_kunst_1()
	{
		 MeinFenster = window.open("../popup_image.php?bild=kunst_strohmer.jpg", "popup_gallery", "width=650,height=430,left=50, top=50, scrollbars=yes");
		 MeinFenster.focus();
	}
	
	function popup_kunst_2()
	{
		 MeinFenster = window.open("../popup_image.php?bild=kunst_lepanto_2.jpg", "popup_gallery", "width=650,height=430,left=50, top=50, scrollbars=yes");
		 MeinFenster.focus();
	}
	
	function transparent_thumb(element_id){

			//alert(element_id);
			document.getElementById(element_id).style.filter="Alpha(opacity=75, finishopacity=0, style=0)";
			document.getElementById(element_id).style.opacity=0.75;		
		
	}

	function transparent_thumb_out(element_id){
			
			//alert(element_id);
			document.getElementById(element_id).style.filter="Alpha(opacity=100, finishopacity=0, style=0)";
			document.getElementById(element_id).style.opacity=1;		
		
	}
