<!-- Original:  CodeLifter.com (support@codelifter.com) -->
<!-- Web Site:  http://www.codelifter.com -->
<!-- Edited by Rainer Wagner http://www.crash-design.net -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

// Begin SlideShow

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 4000;
// Duration of crossfade (seconds)
var crossFadeDuration = 2;
// How many pics?
var p = 17;

// the script
var t;
var j = 0;
var preLoad = new Array();
for (i = 0; i < p; i++) {
	preLoad[i] = new Image();
	preLoad[i].src = 'images/bild_slideshow'+[i]+'.jpg';
}

function runSlideShow() {
	if (document.all) {
		document.images.SlideShow.style.filter="blendTrans(duration=2)";
		document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
		document.images.SlideShow.filters.blendTrans.Apply();
	}
	document.images.SlideShow.src = preLoad[j].src;
	if (document.all) {
		document.images.SlideShow.filters.blendTrans.Play();
	}
	// random image
	j = Math.random();
	j *= p-1;
	j = Math.ceil(j);
	t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End SlideShow

// Begin DropDownMenu JS only for IE
function loadTopMenu() 
{	
if (document.all&&document.getElementById) 
	{		
	menunavParent = document.getElementById("navoben");	
		for (x=0; x < menunavParent.childNodes.length; x++) 
 		{		
		menunode = menunavParent.childNodes[x];
  		  	if (menunode.nodeName=="LI")
			{			
        		menunode.onmouseover=function() {				
            	this.className+=" over";			
            	}			
            	menunode.onmouseout=function() {				
            	this.className=this.className.replace(" over", "");
	  			}
        	}
		}
	}
}
// End DropDownMenu
function init() {
	loadTopMenu();
	runSlideShow();
}