/** comnex.net combined. timestamp: 1282381126 */
function hideElementById(id){document.getElementById(id).style.display='none';}
function showElementById(id,type){if(!type){var type='block';}
document.getElementById(id).style.display=type;}
function hideElement(node){node.style.display='none';}
function showElement(node,type){if(!type){var type='block';}
node.style.display=type;}
function makeSublist(parent,child,childVal,parentVal,keineAngabeParent,keineAngabeChild){$("body").append("<select style='display:none' id='"+parent+child+"'></select>");$('#'+parent+child).html($("#"+child+" option"));var parentValue=$('#'+parent).attr('value');$('#'+child).html($("#"+parent+child+" .sub_"+parentValue).clone());if(keineAngabeParent)
$('#'+parent).prepend("<option value='' selected='selected'>alle</option>");if(keineAngabeChild)
$('#'+child).prepend("<option value='' selected='selected'>alle</option>");childVal=(typeof childVal=="undefined")?"":childVal;$("#"+child).val(childVal).attr('selected','selected');parentVal=(typeof parentVal=="undefined")?"":parentVal;$("#"+parent).val(parentVal).attr('selected','selected');$('#'+parent).change(function(){var parentValue=$('#'+parent).attr('value');$('#'+child).html($("#"+parent+child+" .sub_"+parentValue).clone());$('#'+child).prepend("<option value='' selected='selected'>Keine Angabe</option>");if(parentVal=="")
$("#"+child).val(childVal).attr('selected','selected');$('#'+child).trigger("change");$('#'+child).focus();});}
$(document).ready(function(){$('ul.sf-menu').superfish();$(".meistgelesen-latest-content-wrapper").hide();$("#kolumnen-latest-header").toggleClass("active");$("#kolumnen-latest-header").click(function(){$(".meistgelesen-latest-content-wrapper").hide();$(".kolumnen-latest-content-wrapper").show();$("#meistgelesen-latest-header, #kolumnen-latest-header").toggleClass("active");});$("#meistgelesen-latest-header").click(function(){$(".kolumnen-latest-content-wrapper").hide();$(".meistgelesen-latest-content-wrapper").show();$("#meistgelesen-latest-header, #kolumnen-latest-header").toggleClass("active");});makeSublist('selLand','selGebiet',"","",true,true);});