// JavaScript Document


<!--
// -----------------------------------------------------------------------------
// Globale Variablen
// Erforderliche Hauptversion von Flash
var requiredMajorVersion = 8;
// Erforderliche Unterversion von Flash
var requiredMinorVersion = 0;
// Erforderliche Flash-Revision
var requiredRevision = 12;
// -----------------------------------------------------------------------------
// -->

function abCub() {

if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
	alert("Diese Seite erfordert die Datei „AC_RunActiveContent.js“.");
} else {
	var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	if(hasRightVersion) {  // sofern eine akzeptable Version ermittelt wurde
		// Flash-Film einbetten
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,12,0',
			'width', '262',
			'height', '328',
			'src', 'abCub',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'transparent',
			'devicefont', 'false',
			'id', 'abCub',
			'bgcolor', '#ffffff',
			'name', 'abCub',
			'menu', 'true',
			'allowScriptAccess','sameDomain',
			'allowFullScreen','false',
			'movie', 'abCub',
			'salign', ''
			); //end AC code
	} else {  // Flash ist veraltet, oder das Plug-In wurde nicht ermittelt
    var alternateContent = 'Alternativer HTML-Inhalt sollte hier platziert werden. '
  	+ 'Für diesen Inhalt ist der Adobe Flash Player erforderlich. '
   	+ '<a href=http://www.macromedia.com/go/getflash/>Flash installieren</a>';
    document.write(alternateContent);  // Nicht aus Flash stammenden Inhalt einfügen
    }
}
}
///////////////////////////////////////////////////////////////////
// PANORAMA//
function panorama() {
	if (AC_FL_RunContent == 0) {
		alert("Diese Seite erfordert die Datei \"AC_RunActiveContent.js\".");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '405',
			'height', '270',
			'src', 'panorama',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'panorama',
			'bgcolor', '#a89577',
			'name', 'panorama',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'panorama',
			'salign', ''
			); //end AC code
	}
}
