//anfang navi rollover
var active;

function MM_swapImgRestore(action) { //v3.0
	//if(active!=action)
	//{
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  //}
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function variable(action)
{
	active = action;
}

//ende navi rollover

//slidshow
function slideshow(sampleObjectItems){
window.addEvent('domready',function(){	
	
		var nS6 = new noobSlide({
			mode: 'vertical',
			box: $('box6'),
			items: sampleObjectItems,
			size: 360,
			handles: $$('#handles div'),
			handle_event: 'mouseenter',
			
			fxOptions: {
				duration: 700, // !!!!!!!! BOUNCY: 1=AUS! 1000= VOLLGAS
				transition: Fx.Transitions.Back.easeOut,
				wait: false
			},
			onWalk: function(currentItem,currentHandle){
				this.handles.set('opacity',0.3);
				currentHandle.set('opacity',1);
				document.getElementById('info_box').innerHTML = currentItem.title;

			}
		});
	var opt = {
    slides: 'qslide2',
	duration: 800,
	direction: 'v',
    buttons: {next:'go-next',prev:'go-prev'},
    duration: 900, // !!!!!!!! BOUNCY: 1=AUS! 1000= VOLLGAS
				transition: Fx.Transitions.Back.easeOut,
  }
  var scroller = new QScroller('qscroller2',opt);
  scroller.load();	
	
	});
	};
//ende slideshow


	<!-- AJAX -->
	function xmlhttpPost(action, destination) { //--> Ajax Function
		var xmlHttpReq = false; var self = this;
		//--> For Mozilla/Safari
		if (window.XMLHttpRequest) {
			self.xmlHttpReq = new XMLHttpRequest();
		}
		//--> For IE
		else if (window.ActiveXObject) {
			self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
		}
	
		self.xmlHttpReq.open('POST', 'ajax.php', true);
		self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
		self.xmlHttpReq.onreadystatechange = function() {
			if (self.xmlHttpReq.readyState == 4) {
				document.getElementById(destination).innerHTML = self.xmlHttpReq.responseText; //--> Set new Content
				 if(action=="about")
				 {
				 document.getElementById("handli").style.backgroundImage="url(images/halt_li.gif)";
				 document.getElementById("handre").style.backgroundImage="url(images/halt_re.gif)";
				 document.getElementById("illu_slide").innerHTML = '';
				 }else
				 {
				 document.getElementById("handli").style.backgroundImage="url(images/quad_li.gif)";
				 document.getElementById("handre").style.backgroundImage="url(images/quad_re.gif)";
				 document.getElementById("illu_slide").innerHTML = '<img src="images/illu_slideshow.gif" name="illu_slide" border="0">';
				 }
				 var images = document.images;
				 document.getElementById('info_box').innerHTML = "";
				 var sampleObjectItems = new Array();
	
                // Loop through all the images, get title tag as image desc..
                for (var i = 0;i<images.length;i++)
                {
					if(images[i].title != "") {
						sampleObjectItems[i-2]= new Object();	
                       sampleObjectItems[i-2]['title'] = images[i].title;
                        }
                }
				 
				 slideshow(sampleObjectItems);
			}
		}
		self.xmlHttpReq.send('action='+action); //--> Send Ajax Request
	}
	<!-- !!AJAX -->