/*flash*/
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var fl = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('fl = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
	
function mf(f,x,w,h,bg,e) {
	if (fl){
		var specialchar = new Array('&amp;','ä','&auml;','ö','&ouml;','ü','&uuml;','Ä','Ö','Ü','ß','á','à','â','ã','é','è','ê','ú','ù','û','ó','ò','ô','í','ì','î');
		var specialcharutf8 = new Array('%26','%C3%A4','%C3%A4','%C3%B6','%C3%B6','%C3%BC','%C3%BC','%C3%84','%C3%96','%C3%9C','%C3%9F','%C3%A0','%C3%A1','%C3%A2','%C3%A9','%C3%A8','%C3%AA','%C3%BA','%C3%B9','%C3%BB','%C3%B3','%C3%B2','%C3%B4','%C3%AD','%C3%AC','%C3%AE');
		for (i=0;i<specialchar.length;i++){
			x = x.replace(specialchar[i], specialcharutf8[i]);
		}
		
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
		document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+w+'" height="'+h+'">');
		if (f=="flash/main_movie.swf"){
			document.write('<param name="movie" value="'+f+''+x+'"><param name="bgcolor" value="'+bg+'"><param name="quality" value="high"><param name="scale" value="noscale"><param name="wmode" value="transparent"><param name="align" value="left">');		
		} else {
			document.write('<param name="movie" value="'+f+''+x+'"><param name="bgcolor" value="'+bg+'"><param name="quality" value="high"><param name="scale" value="noscale"><param name="wmode" value="transparent">');	
		}
		document.write('<embed src="'+f+''+x+'" quality="high" scale="noscale" width="'+w+'" height="'+h+'" bgcolor="'+bg+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent">');
		document.write('</object>');
	} else {
		if (f=="flash/main_movie.swf"){
			document.write("<img src=\"images\/img_main.jpg\" border=0 width=755 height=258>");
		} else {
			x = x.replace("?txt=","");
			//document.write("<b>"+x+"</b>");		
		}
	}
}

//ncm smooth transition slideshow
var slideShowSpeed = 6000
var crossFadeDuration = 3
var Pic = new Array() // don't touch this

//bildchen
Pic[0] = '/images/slide/1.jpg'; 
Pic[1] = '/images/slide/2.jpg'; 
Pic[2] = '/images/slide/3.jpg'; 
Pic[3] = '/images/slide/4.jpg'; 
Pic[4] = '/images/slide/5.jpg'; 
Pic[5] = '/images/slide/6.jpg'; 
Pic[6] = '/images/slide/7.jpg'; 
Pic[7] = '/images/slide/8.jpg'; 
Pic[8] = '/images/slide/9.jpg';
Pic[9] = '/images/slide/10.jpg';
Pic[10] = '/images/slide/11.jpg';
Pic[11] = '/images/slide/12.jpg';

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
 preLoad[i] = new Image()
 preLoad[i].src = Pic[i]
}

function runSlideShow(){
 if (document.all){
 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()
 }
 j = j + 1
 if (j > (p-1)) j=0
 t = setTimeout('runSlideShow()', slideShowSpeed)
}