<!--

var tmp_pos = [109,37,80,56,70,80,70,60];

var IE = document.all
var NS = document.layers
var NS6 = (!IE && document.getElementById)

var m_arrMenu = [];

var m_selected = 0;
var m_numMenus = 8;
var m_timerID = 0;

function navinit() {

	//var xpos = 92;
	
	for (var i = 1; i < m_numMenus+1; i++) {

		m_arrMenu[i] = new Object;

		if (document.all) {
			m_arrMenu[i].e = document.all["divMenu"+i];
			m_arrMenu[i].ei = document.all["divMenuItem"+i];
			//m_arrMenu[i].width = m_arrMenu[i].e.offsetWidth;
		}
		else if (document.layers) {
			m_arrMenu[i].e = document.layers["divMenu"+i];
			m_arrMenu[i].ei = document.layers["divMenuItem"+i];
			m_arrMenu[i].e.style = m_arrMenu[i].e;
			m_arrMenu[i].ei.style = m_arrMenu[i].ei;
			//m_arrMenu[i].width = m_arrMenu[i].e.document.width;
		}
		else if (!document.all && document.getElementById) {
			m_arrMenu[i].e = document.getElementById("divMenu"+i);
			m_arrMenu[i].ei = document.getElementById("divMenuItem"+i);
		}
	}
}

function m_showMenu(id, onoff) {

	m_clearTimeout();

	visOn = (NS) ? "show" : "visible";
	visOff = (NS) ? "hide" : "hidden";

	if (m_selected > 0 && m_selected != id)
		m_arrMenu[m_selected].ei.style.visibility = visOff;

	m_arrMenu[id].ei.style.visibility = onoff ? visOn : visOff;
	m_selected = id;
	
}

function m_clearTimeout() {
	clearTimeout(m_timerID);
	m_timerID = 0;
}

function m_hide() {
	if (!m_timerID)
		m_timerID = setTimeout("m_showMenu(m_selected, 0);", 600);
}

function m_show() {
	m_clearTimeout();
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_jumpMenu2(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}
function MM_effectBlind(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoBlind(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}

function printPage() {
focus();
if (window.print) {
jetztdrucken = confirm('Seite drucken ?');
if (jetztdrucken) window.print();
   }
}







var browserInfo = navigator.userAgent;

// variable to check if Java Web Start is installed
var jwsInstalled = 0;

// Microsoft VM?
var msvmInstalled = 0;

// Sun VM?
var sunvmInstalled = 0;

// Java überhaupt?
var javaInstalled = 0;

// variable to check if client is MSIE
isIE = "false";

// If we are using 
if(navigator.mimeTypes && navigator.mimeTypes.length)
{
  var flag = navigator.mimeTypes['application/x-java-jnlp-file'];

  if(flag)
  {
	jwsInstalled = 1;
  }
}
else
{
  isIE = "true";
}

// We are using another browser, not MSIE
// Opera, Mozilla, Firefox, etc...
if(isIE == "false")
{
	javaEnabled = window.navigator.javaEnabled();
	
  if(javaEnabled)
  {
	javaVendor = java.lang.System.getProperty("java.vendor");
	if(javaVendor.indexOf("Sun ") != -1 || javaVendor.IndexOf("sun ") != -1)
	{
	  sunvmInstalled = 1;
	}
  }
}
// Our client is using MSIE
else
{
  // check if ActiveX objects can be created
  try
  {
	// Create Sun Java plugin ActiveX object
	var pluginObject = new ActiveXObject("JavaPlugin");
	// Create Java Web Start ActiveX object
	var jwsObject = new ActiveXObject("JavaWebStart.isInstalled");
  }
  // they cannot be created
  catch(e)
  {
	// Sun Java plugin and Java Web Start not installed
	sunvmInstalled = 0;
	jwsInstalled = 0;
  }

  // Sun Java VM object successfully created?
  if(pluginObject)
  {
	// Yep! We have the Sun Java VM plugin installed
	sunvmInstalled = 1;
  }

  // Java Web Start object successfully created?
  if(jwsObject)
  {
	// Yep! We have Java Web Start installed
	jwsInstalled = 1;
  }

  // Minimal Code Hack
  // All versions of Windows up to 2000 have Microsoft VM installed by default
  // No official Microsoft VM is distributed for Windows XP and above
  // Users of Windows XP and above will be required to install the Sun Virtual Machine
  var UserAgent = navigator.userAgent;

  if(UserAgent.indexOf("Windows 95") != -1 || UserAgent.indexOf("Windows 98") != -1 || UserAgent.indexOf("Windows NT 5.0") != -1)
  {
	msvmInstalled = 1;
  }
}

if(msvmInstalled == 1 || sunvmInstalled == 1)
  {
	javaInstalled = 1;
  }

//-->
