function GetCSS(nav_app) {
var vers = navigator.appVersion;
vers = vers.substring(0,1);

if (vers <= 4 && navigator.appName=="Netscape") {
return '<link rel="stylesheet" type="text/css" href="/C/' + nav_app + '-2.css">';
} else {
return '<link rel="stylesheet" type="text/css" href="/C/' + nav_app + '-1.css">';
}

if (document.layers) {
var startbreite = window.innerWidth;
var starthoehe = window.innerHeight;
}

}

function StylesLost() {
if (document.layers && window.innerWidth != startbreite || window.innerHeight != starthoehe) {
location.reload();
}
}

function redirect(form) {
if ((form.selectedIndex==0) || (form.options[form.selectedIndex].value==0)) null;
else {
var Ergebnis = form.options[form.selectedIndex].value.search(/http:.+/);
if(Ergebnis != -1) window.open(form.options[form.selectedIndex].value,"Neu");
else self.location=form.options[form.selectedIndex].value.replace('/www_mdr_de','');
}
}

function floating_frame(js_url,js_width,js_height,js_pos_x,js_pos_y,js_center_p,js_scrollbar_p,js_menu_p,js_tools_p,js_status_p) {
if(js_center_p=='yes') {
js_window_width=screen.width;
js_window_height=screen.height;
js_new_pos_x=parseInt(js_window_width)-parseInt(js_width);
js_new_pos_y=parseInt(js_window_height)-parseInt(js_height);
js_new_pos_x=js_new_pos_x/2;
js_new_pos_y=js_new_pos_y/2;
popup_win=window.open(js_url,'Popup','left='+js_new_pos_x+',top='+js_new_pos_y+',width='+js_width+',height='+js_height+',locationbar=no,buttons=no,status='+js_status_p+',menubar='+js_menu_p+',scrollbars='+js_scrollbar_p+',resizable=yes');
} else {
popup_win=window.open(js_url,'Popup','left='+js_pos_x+',top='+js_pos_y+',width='+js_width+',height='+js_height+',locationbar=no,buttons=no,status='+js_status_p+',menubar='+js_menu_p+',scrollbars='+js_scrollbar_p+',resizable=yes');
}
return false;
}

function picture_popup(img_tag,js_width,js_height,js_bu, js_copyright) {

s_source1 = /#§#/g;
s_source2 = /#%#/g;
s_replace1 = "'";
s_replace2 = '"';
js_bu=js_bu.replace(s_source1, s_replace1);
js_bu=js_bu.replace(s_source2, s_replace2);

win_width = parseInt(js_width)+30;
if (win_width < 435) win_width = 435;
t1_width = win_width - 10;
t_width = parseInt(js_width);
if (t_width < 405) t_width = 405;
win_height = parseInt(js_height)+160;

js_popup=window.open('','','width='+win_width+',height='+win_height+',scrollbars=no,buttons=no,statusbar=no,location=no,resizable=no');
js_popup.document.writeln('<html><head><meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"><title>MDR.DE zoom</title>');
var js_block = '<';
js_block = js_block + 'script language="JavaScript">var vers = navigator.appVersion; vers = vers.substring(0,1);baba=5; if (vers <= 4 && navigator.appName=="Netscape") {document.write("<link rel=stylesheet type=text/css href=/C/680-2.css")';
js_block = js_block + ';} ';
js_block = js_block + ' else {document.write("<link rel=stylesheet type=text/css href=/C/680-1.css>")';
js_block = js_block + ';} ';
js_block = js_block + '</scr';
js_block = js_block + 'ipt>';
js_popup.document.writeln(js_block);
js_popup.document.writeln('</head> <body OnBlur="self.close()" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">');
js_popup.document.writeln('<table width="'+t1_width+'" align="center" border="0" cellpadding="0" cellspacing="0"><tr><td height="5" colspan="3"><img src="/IS/spacer.gif" width="1" height="5"></td></tr><tr><td width="10"><img src="/IS/spacer.gif" width="10" height="1"></td><td width="'+t_width+'">');
js_popup.document.writeln('<table width="'+t_width+'" border="0" cellpadding="0" cellspacing="0"><tr><td width="'+t_width+'" class="PicHeadBg"><img src="/IS/head_picture.gif" width="405" height="50"></td></tr><tr><td height="10"><img src="/IS/spacer.gif" width="1" height="10"></td></tr><tr><td align="center"><img src="'+img_tag+'" width="'+js_width+'" height="'+js_height+'"></td></tr><tr><td><div class="Bildtext">' + js_bu + '</div></td></tr><tr><td class="TDotLine"><img src="/IS/spacer.gif" width="1" height="1"></td></tr><tr><td class="BildLegende"> Rechte: '+js_copyright+'</td></tr></table>');
js_popup.document.writeln('</td><td width="10"><img src="/IS/spacer.gif" width="10" height="1"></td></tr></table></body></html>');
js_popup.resizeTo(win_width, win_height);
js_popup.focus();

}

function print_popup(js_url,js_width,js_height) {
print_window=window.open(js_url,'print_window','width='+js_width+',height='+js_height+',scrollbars=yes,toolbar=no,menubar=no,statusbar=no,location=no,resizable=yes');
}

function open_article (js_url) {
window.opener.location.href=js_url;
window.opener.focus();
self.close();
}

function navpic(name, state) {
switch(state) {
case 0:
document.images[name].src='/IS/spacer.gif';
break;
case 1:
document.images[name].src='/IS/weitern.gif';
break;
case 2:
document.images[name].src='/IS/ard_na_menupfeil.gif';
break;
default:
document.images[name].src='/IS/spacer.gif';
break;
}
}

function navparent(number, level) {
document.getElementById('td1_' + number).className = 'mselect' + level;
document.getElementById('td2_' + number).className = 'mselect' + level;
document.getElementById('a' + number).className = 'mselect' + level;
document.getElementById('line_' + number).className = 'mline' + eval(level +1);
document.getElementById('last_' + number).className = 'mline' + eval(level +1);
}


function open_rules() {
 
 win = window.open('','rules','scrollbars=yes,resizable=yes,width=468,height=390');
 win.document.write('<html><head><title>Regeln für das Forum</title></head><style>.big {font-family: Verdana, Arial, Helvetica; font-size: 14px;}; td {font-family: Verdana, Arial, Helvetica; font-size: 12px;}; .link { font-family: Verdana, Arial, Helvetica; font-size: 12px; color: black; text-decoration: none; }.link:hover { text-decoration: underline; }</style><body><table width=100% border=0 cellpadding=0 cellspacing=0><tr><td align=\"left\"><span class=\"big\"><b>Forum-Regeln</b></span><br><br>');
 win.document.write('Im Forum veröffentlichte Beiträge geben die Meinung des Autors, nicht die Meinung der Redaktion wieder. Eine Ausnahme bilden Beiträge, die von der Redaktion verfasst wurden.<br><br>');
 win.document.write('Das Forum ist ein Teil des Online-Angebotes des Mitteldeutschen Rundfunks (MDR).<br><br>');
 win.document.write('Es soll für Jedermann als Plattform zur freien und auch kritischen Diskussion offen stehen. Auch bei unterschiedlichen Standpunkten sollte jedoch zu Gunsten eines <b>offenen und freundschaftlichen Diskussionsklimas</b> ein fairer und sachlicher Ton gewahrt werden.<br><br>');
 win.document.write('Im Interesse aller Teilnehmer bitten wir Sie deshalb, Folgendes zu beachten:<br><br>');
 win.document.write('Die Redaktion behält sich vor, Beiträge mit <b>ehrverletzendem, jugendgefährdendem, links- oder rechtsradikalem bzw. sonstigem strafbaren Inhalt</b> ohne vorherige Information des Verfassers <b>zu löschen</b>. Gleiches gilt für Inhalte <b>werblichen und / oder werbenden Charakters</b> und bei Verstößen gegen die Grundprinzipien der <b>\"Netikette\"</b>.<br>');
 win.document.write('Sollten Sie vor uns auf Beiträge stoßen, die Ihnen in dieser Hinsicht fragwürdig erscheinen, sind wir für jeden Hinweis an den <b><a href=\"mailto:webmaster@mdr.de\" class=\"link\">Forumsmoderator</a></b> dankbar.<br><br>');
 win.document.write('Das <b>Copyright</b> für die Beiträge, soweit sie urheberrechtsschutzfähig sind, verbleibt grundsätzlich beim Verfasser. Mit der Teilnahme am Forum gibt der Verfasser dem MDR jedoch das Recht, seinen jeweiligen Beitrag zeitlich unbegrenzt auf den Seiten seines Internet-Angebotes zu speichern und Dritten auf Abruf zugänglich zu machen.<br><br>');
 win.document.write('Wir wünschen Ihnen viel Spaß bei der Diskussion in unserem Forum.</td></tr><tr><td height=10></td></tr></table></body></html>');
 win.focus();
 
 }



var g_textfarbe = '#000000';
var g_leuchtfarben = new Array('#E0E0D7','#E0E0D7','#E0E0D7','#E0E0D7','#E0E0D7');
var div1;
var div2;
var srchwords;



function google_it(begriffe){
 begriffe = begriffe.replace(/\"/g,"");
 var begriffe_array = begriffe.split(' ');
 var col = 0;
 for(var i=0; i<begriffe_array.length; i++){
 if (begriffe_array[i].length > 1) {
 google_leucht(begriffe_array[i], document.body,g_leuchtfarben[col]);
 col = (col == g_leuchtfarben.length-1)?0:col+1;
 }
 }
}
function google_check() {
 var goAhead = 0;
 var suchmuster = "";
 var thekey = "q";

 suchmuster = /google\./i;
 if (suchmuster.exec(document.referrer) != null) {
 goAhead = 1;
 }
 suchmuster = /altavista\./i;
 if (suchmuster.exec(document.referrer) != null) {
 goAhead = 1;
 }
 suchmuster = /brisbane\.t-online\./i;
 if (suchmuster.exec(document.referrer) != null) {
 goAhead = 1;
 }
 suchmuster = /search\.ard\./i;
 if (suchmuster.exec(document.referrer) != null) {
 thekey = "words";
 goAhead = 1;
 }
 suchmuster = /mdr\.de/i;
 if (suchmuster.exec(document.referrer) != null) {
 
 
thekey = "words";
 goAhead = 1;
 
 
 }
 suchmuster = /yahoo\./i;
 if (suchmuster.exec(document.referrer) != null) {
 thekey = "p";
 goAhead = 1;
 }


 if (goAhead == 1) {
 var url_array = document.referrer.split('?');
 if (url_array[1]){
 var theparameters = replace(url_array[1],';','\&');
 var arg_array = theparameters.split('&');
 for(var i=0; i<arg_array.length; i++){
 var schluessel = arg_array[i].split('=');
 var searchwords = trim(google_unescape(unescape(schluessel[1])));
 if (schluessel[0] == thekey && searchwords.length > 2){
 google_it(searchwords);
 return;
 }
 }
 }
 }
}
function google_unescape(instring){
 srchwords = unescape(instring.replace(/\+/g,' '));
 
 return unescape(instring.replace(/\+/g,' '));
}
function google_leucht(begriff, behaelter, color) {
 var begriff_klein = begriff.toLowerCase();
 for(var i=0; i<behaelter.childNodes.length; i++){
 var knoten = behaelter.childNodes[i];
 if (knoten.nodeType == 3){
 var angaben = knoten.data;
 var angaben_klein = angaben.toLowerCase();
 if (angaben_klein.indexOf(begriff_klein) != -1){
 var neuer_knoten = document.createElement('SPAN');
 knoten.parentNode.replaceChild(neuer_knoten,knoten);
 var ergebnis;
 while((ergebnis = angaben_klein.indexOf(begriff_klein)) != -1){
 neuer_knoten.appendChild(document.createTextNode(angaben.substr(0,ergebnis)));
 neuer_knoten.appendChild(google_knoten(document.createTextNode(angaben.substr(ergebnis,begriff.length)),color));
 angaben = angaben.substr(ergebnis + begriff.length);
 angaben_klein = angaben_klein.substr(ergebnis + begriff.length);
 }
 neuer_knoten.appendChild(document.createTextNode(angaben));
 }
 } else {
 google_leucht(begriff, knoten, color);
 }
 }
}
function google_knoten(child, color) {
 var knoten = document.createElement("SPAN");
 knoten.className = 'AddDark';
 knoten.appendChild(child);
 return knoten;
}

function replace(string,text,by) {
// Replaces text with by in string
 var strLength = string.length, txtLength = text.length;
 if ((strLength == 0) || (txtLength == 0)) return string;

 var i = string.indexOf(text);
 if ((!i) && (text != string.substring(0,txtLength))) return string;
 if (i == -1) return string;

 var newstr = string.substring(0,i) + by;

 if (i+txtLength < strLength)
 newstr += replace(string.substring(i+txtLength,strLength),text,by);

 return newstr;
}

function trim(strText) { 
 // this will get rid of leading spaces 
 while (strText.substring(0,1) == ' ') 
 strText = strText.substring(1, strText.length);

 // this will get rid of trailing spaces 
 while (strText.substring(strText.length-1,strText.length) == ' ')
 strText = strText.substring(0, strText.length-1);

 return strText;
} 
function println(s) { document.write(s); } 

/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

function download_popup(linkurl) {
js_popup=window.open('','','width=300,height=200,scrollbars=no,buttons=no,statusbar=no,location=no,resizable=no');
js_popup.document.writeln('<html><head><meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"><title>MDR.DE Download</title>');
js_popup.document.writeln('</head> <body OnBlur="self.close()" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">');
js_popup.document.writeln('<div style="padding:10<br>px; font-family: Verdana, Arial; font-size: 12 px;">Das Herunterladen ist im ersten Versuch fehlgeschlagen.<br> Versuchen Sie bitte alternativ diese Datei mit der rechten Maustaste zu speichern:<br><br><div align="center"><a href="'+linkurl+'">Datei zum Herunteladen</a></div></div>');
js_popup.document.writeln('</body></html>');
js_popup.resizeTo(300, 200);
js_popup.focus();
}

