 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;
	}

var sendmailWin;
	
	function sendmail(theHref) {
		if (sendmailWin != null) {
			if (sendmailWin.closed == true) {
				sendmailWin = window.open(theHref,'Sendmail','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=441,height=540,top=50,left=50');
			} else {
				sendmailWin.location.href = theHref;
				sendmailWin.focus();
			}
		} else {
			sendmailWin = window.open(theHref,'Sendmail','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=441,height=540,top=50,left=50');
		}
		return;
	}

var viewProfileWin;
	
	function viewProfile(theHref) {
		if (viewProfileWin != null) {
			if (viewProfileWin.closed == true) {
				viewProfileWin = window.open(theHref,'ViewProfile','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=auto,width=299,height=500,top=50,left=50');
			} else {
				viewProfileWin.location.href = theHref;
				viewProfileWin.focus();
			}
		} else {
			viewProfileWin = window.open(theHref,'ViewProfile','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=299,height=500,top=50,left=50');
		}
		return;
	}

var printWin;
	
	function print(theHref) {
		if (printWin != null) {
			if (printWin.closed == true) {
				printWin = window.open(theHref,'print','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=657,height=500,top=50,left=50');
			} else {
				printWin.location.href = theHref;
				printWin.focus();
			}
		} else {
			printWin = window.open(theHref,'print','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=657,height=500,top=50,left=50');
		}
		return;
	}
	
var anfahrtWin;
	
	function anfahrt(theHref) {
		if (anfahrtWin != null) {
			if (anfahrtWin.closed == true) {
				anfahrtWin = window.open(theHref,'anfahrt','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=620,height=593,top=50,left=50');
			} else {
				anfahrtWin.location.href = theHref;
				anfahrtWin.focus();
			}
		} else {
			anfahrtWin = window.open(theHref,'anfahrt','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=620,height=593,top=50,left=50');
		}
		return;
	}
	
var downloadWin;
	
	function download(theHref) {
		if (downloadWin != null) {
			if (downloadWin.closed == true) {
				downloadWin = window.open(theHref,'download','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=20,height=20,top=50,left=50');
			} else {
				downloadWin.location.href = theHref;
				downloadWin.focus();
			}
		} else {
			downloadWin = window.open(theHref,'download','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=20,height=20,top=50,left=50');
		}
		return;
	}
	
var virtuellWin;
	
	function virtuell(theHref) {
		if (virtuellWin != null) {
			if (virtuellWin.closed == true) {
				virtuellWin = window.open(theHref,'virtuell','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=468,height=478,top=50,left=50');
			} else {
				virtuellWin.location.href = theHref;
				virtuellWin.focus();
			}
		} else {
			virtuellWin = window.open(theHref,'virtuell','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=468,height=478,top=50,left=50');
		}
		return;
	}
	
	
var messageWin;
	
	function message(theHref) {
		if (messageWin != null) {
			if (messageWin.closed == true) {
				messageWin = window.open(theHref,'message','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=auto,width=440,height=286,top=50,left=50');
			} else {
				messageWin.location.href = theHref;
				messageWin.focus();
			}
		} else {
			messageWin = window.open(theHref,'message','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=auto,width=440,height=286,top=50,left=50');
		}
		return;
	}
	
var webcamWin;
	
	function webcam(theHref) {
		if (webcamWin != null) {
			if (webcamWin.closed == true) {
				webcamWin = window.open(theHref,'Picture','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=720,height=730,top=50,left=50');
			} else {
				webcamWin.location.href = theHref;
				webcamWin.focus();
			}
		} else {
			webcamWin = window.open(theHref,'Picture','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=720,height=730,top=50,left=50');
		}
		return;
	}
	

var presse_registerWin;
	
	function presse_register(theHref) {
		if (presse_registerWin != null) {
			if (presse_registerWin.closed == true) {
				presse_registerWin = window.open(theHref,'PresseRegistrierung','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=440,height=700,top=50,left=50');
			} else {
				presse_registerWin.location.href = theHref;
				presse_registerWin.focus();
			}
		} else {
			presse_registerWin = window.open(theHref,'PresseRegistrierung','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=440,height=700,top=50,left=50');
		}
		return;
	}
	
	
var sightboardWin;
	
	function sightboard(theHref) {
		if (sightboardWin != null) {
			if (sightboardWin.closed == true) {
				sightboardWin = window.open(theHref,'sightboard','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=985,height=499,top=50,left=50');
			} else {
				sightboardWin.location.href = theHref;
				sightboardWin.focus();
			}
		} else {
			sightboardWin = window.open(theHref,'sightboard','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=no,width=985,height=499,top=50,left=50');
		}
		return;
	}


var AnfragePrintWin;
	
	function AnfragePrint(theHref) {
		if (AnfragePrintWin != null) {
			if (AnfragePrintWin.closed == true) {
				AnfragePrintWin = window.open(theHref,'AnfragePrint','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=620,height=550,top=50,left=50');
			} else {
				AnfragePrintWin.location.href = theHref;
				AnfragePrintWin.focus();
			}
		} else {
			AnfragePrintWin = window.open(theHref,'AnfragePrint','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=620,height=550,top=50,left=50');
		}
		return;
	}
	
	
	
var FensterOeffnen;
 
function FensterOeffnen (Adresse) {
  NeuesFenster = window.open(Adresse, "MySIDW","height=650,width=1000");
  NeuesFenster.focus();
}

