var Datum = new Date();
var tt = Datum.getDate();
var btt = tt+7;
var mM = Datum.getMonth() + 1;
var bmM = mM;
var tage31 = true;
if (mM%2==0) tage31 = false;
if (tage31) {
	if (btt > 31) {
		btt = btt-31;
		bmM++; }
	}
else {
	if (btt > 30) {
		btt = btt-30;
		bmM++;
	}
}

var jjjj = Datum.getFullYear();
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 expandcontent(cid){
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none";
}


/*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');
}
if(fl){
	document.write('<style type="text/css"> h1{display:none;}</style>');
}
function mf(f,x,w,h,bg,e) {
	if (fl){
		var specialchar = new Array('ä','ö','ü','Ä','Ö','Ü','ß');
		var specialcharutf8 = new Array('%C3%A4','%C3%B6','%C3%BC','%C3%84','%C3%96','%C3%9C','%C3%9F');
		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>");	*/
		}
	}
}