/** comnex.net combined. timestamp: 1316532755 */
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'>alle</option>");if(parentVal=="")
$("#"+child).val(childVal).attr('selected','selected');$('#'+child).trigger("change");$('#'+child).focus();});}
$(document).ready(function(){$('ul.sf-menu').superfish();$(".kolumnen-latest-content-wrapper").hide();$(".meistgelesen-latest-content-wrapper").hide();$("#blogs-latest-header").toggleClass("active");$("#blogs-latest-header").click(function(){$(".meistgelesen-latest-content-wrapper").hide();$(".kolumnen-latest-content-wrapper").hide();$(".blogs-latest-content-wrapper").show();$("#blogs-latest-header").addClass("active");$("#kolumnen-latest-header").removeClass("active");$("#meistgelesen-latest-header").removeClass("active");});$("#kolumnen-latest-header").click(function(){$(".blogs-latest-content-wrapper").hide();$(".meistgelesen-latest-content-wrapper").hide();$(".kolumnen-latest-content-wrapper").show();$("#kolumnen-latest-header").addClass("active");$("#blogs-latest-header").removeClass("active");$("#meistgelesen-latest-header").removeClass("active");});$("#meistgelesen-latest-header").click(function(){$(".blogs-latest-content-wrapper").hide();$(".kolumnen-latest-content-wrapper").hide();$(".meistgelesen-latest-content-wrapper").show();$("#meistgelesen-latest-header").addClass("active");$("#blogs-latest-header").removeClass("active");$("#kolumnen-latest-header").removeClass("active");});makeSublist('selLand','selGebiet',"","",true,true);if($("#land :selected").text()=="Österreich"){$(".bundesland").fadeIn("fast");}
$("#land").change(function(){if($("#land :selected").text()=="Österreich"){$(".bundesland").fadeIn("fast");}else{$(".bundesland").fadeOut("hide");}});});
