/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
jQuery(function($) {
var winwidth = $(window).width();
if ($(window).width() < 1004) {
/* if (true || $("#col1").css("display") != "none") { */
$("#menue").prependTo("#main");
$("#col1").insertAfter($("#col2")).css("display", "block");
$("#menue").prependTo($("#main"));
// Menüspalte
var men = $("#menue ul");
var menue_disp = $("#menue").css("display");
var men_top = $("#menue .menuetitel a.aktiv");
if ((menue_disp != "none") && (men.length > 0)) {
//$(".menuetitel").css("padding-left","22px");
$("#menue a").each(function() {
var pt = (parseInt($(this).css("padding-top")) + 2) + "px";
var pb = (parseInt($(this).css("padding-bottom")) + 2) + "px";
$(this).css({paddingTop: pt, paddingBottom: pb});
//$("#inhalt").append('
'+pt+'
'+pb);
});
if (men_top.length == 0) {
var mentit = $("#menue .menuetitel");
var mentitel = mentit[0];
$(".menuetitel").css("padding-right", "22px");
$(".menuetitel").css({"padding-right": "22px", position: 'relative'});
$("