function show(imgsrc) {
		/*$("#imgbig").attr({ 
          src: "../gfx/desc1.gif",
          title: "",
          alt: ""
        });
		sshow(imgsrc);*/
		
		$("#imgbig").attr({ 
          //src: "img/big/"+imgsrc,
		  src: imgsrc,
          title: "",
          alt: ""
        });
		
	$("#status").html("Bild wird geladen ...");
	$("#status").show();
	
	$("#imgbig").load(function() {
		$("#status").hide();
	  sshow(imgsrc);
	});
}

function sshow(imgsrc) {
	

	
	//$("#imgbig").fadeOut();
	
	//$("#imgbig").css("visibility","visible");
	//$("#imgbig").show("normal");
	$("#imgbig").fadeIn("normal");
	$("#details").css("padding-top","10px");
	//$("#footer").fadeOut("fast");
	//$("#imgbig").css("z-index","33");
	//$("#content").css("visibility","hidden");
	//$("#content").hide("normal");
	$("#content").fadeOut("fast",function() {
		$("#footer").css("position","absolute");
		$("#footer").css("top",195+20+$("#imgbig").height()+"px");
		//$("#footer").fadeIn("fast");
	});
	
	$("#imgbig").click(function () {
		//$(this).css("visibility","hidden");
		//$(this).hide("normal");
		$(this).fadeOut("fast");
		$("#details").css("padding-top","0");
		//$(this).css("z-index","3");
		//$("#content").css("visibility","visible");
		//$("#content").show("normal");
		$("#content").fadeIn("normal",function() {
			$("#imgbig").attr({ 
			  src: "",
			  title: "",
			  alt: ""
			});
			//$("#footer").fadeIn("fast");
		});
		//$("#content").css("z-index","33");
		$("#footer").css("position","relative");
		$("#footer").css("top",0);
	});

}

$(document).ready(function () {
	h=$("#content").height();
	$("#status").css("top",195+(h/2)+"px");
    $("#status").hide();
});

function getURL(url) {
	window.location.href = url;
}


