
function archiv (select) {
  var wert = select.options[select.options.selectedIndex].value;
  var link = wert.slice(wert.indexOf('"')+1, wert.lastIndexOf('"'));
  var ziel = '/'+link;
  if (wert == "leer") {
    select.form.reset();
    return;
    } 
  else 
         {
       location.href = ziel;
       }
}

function stellen (select) {
  var wert = select.options[select.options.selectedIndex].value;
  var link = wert.split('"')
  var ziel = '/'+link[1];
  if (wert == "leer") {
    select.form.reset();
    return;
    } 
  else 
         {
       location.href = ziel;
       }
}

function preselect() {

}

jQuery(document).ready(function() { 

	
var hoehe_right = $('.main-subcontent').height();
var hoehe_left = $('.main-left').height();

if($('.subside').length > 0) {
  if(hoehe_right > hoehe_left) {
    $('.nav_und_content').height(hoehe_right-30);
  }
}
else {
  if(hoehe_right > hoehe_left) {
    $('.nav_und_content').height(hoehe_right-290);
  }  
}
      
/*End document ready*/
});  



