 function flash_detection(required, max)
		{
			var required_version = required;
			var max_version = max;
			var available_version = 0;

			 if(typeof(navigator.plugins["Shockwave Flash"]) == "object")
			{
				var description = navigator.plugins["Shockwave Flash"].description;
				available_version = description.substr(16, (description.indexOf(".", 16) - 16));
			}
			 else  if(typeof(ActiveXObject) == "function")
			{
				 for(var i = 2; i < (max_version + 1); i ++)
				{
					try
					{
						 if(typeof(new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + i)) == "object")
						{
							available_version = i;
						}
				   }
				   catch(error)
				   {
				   }
				}
			}
			return [available_version, required_version];
		}
			
var bildgalerieWin;
	
	function bildgalerie(theHref) {
		if (bildgalerieWin != null) {
			if (bildgalerieWin.closed == true) {
				bildgalerieWin = window.open(theHref,'Picture','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=441,height=590,top=50,left=50');
			} else {
				bildgalerieWin.location.href = theHref;
				bildgalerieWin.focus();
			}
		} else {
			bildgalerieWin = window.open(theHref,'Picture','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=441,height=590,top=50,left=50');
		}
		return;
	}

