// JavaScript Document
			//popup
	
			var bildStatus = 0;  
			var bild = "";
			//loading popup
			function showImage(p){
				bild = p;
			alert("show ");
			//loads popup only if it is disabled
				if(bildStatus==0){
			
					$(bild).fadeIn("slow");
					bildStatus = 1;
					alert("in "+bildStatus);
				}
			}
			
			//disabling popup with jQuery magic!
			function disableBild(){
			//disables popup only if it is enabled
			alert("out "+bildStatus);
				if(bildStatus==1){
				
					$(bild).fadeOut("slow");
					$("img").fadeOut("slow");
			
					bildStatus = 0;
				}
			}
			
			
					//centering popup
			function posImage(){
			//request data for centering
				var windowWidth = document.documentElement.clientWidth;
				var windowHeight = document.documentElement.clientHeight;
				var bildHeight = $(bild).height();
				var bildWidth = $(bild).width();
			
			//centering
				//$("#popupContact").css({"position": "absolute","top": windowHeight/2-popupHeight/2,"left": windowWidth/2-popupWidth/2});
				//$("img").css({"height":200,"width":auto});
				$(bild).css({"top":windowHeight/2-bildHeight/2,"left": windowWidth-bildWidth});
			//only need force for IE6
		
			
			}

