	
    
    
    var doomready = new Object();
	
	doomready = {
		add: function(fn) {
			if (doomready.loaded) return fn();
			var observers = doomready.observers;
			if (!observers) observers = doomready.observers = [];
			observers[observers.length] = fn; // Arraypush is not supported by Mac IE 5
			if (doomready.callback) return;
			doomready.callback = function() {
				if (doomready.loaded) return;
				doomready.loaded = true;
				if (doomready.timer) {
					clearInterval(doomready.timer);
					doomready.timer = null;
				}
				var observers = doomready.observers;
				for (var i = 0, length = observers.length; i < length; i++) {
					var fn = observers[i];
					observers[i] = null;
					fn(); // make 'this' as window
				}
				doomready.callback = doomready.observers = null;
			};
	
			var ie = !!(window.attachEvent && !window.opera);
			var webkit = navigator.userAgent.indexOf('AppleWebKit/') > -1;
			if (document.readyState && webkit) { // Apple WebKit (Safari, OmniWeb, ...)
				doomready.timer = setInterval(function() {
					var state = document.readyState;
					if (state == 'loaded' || state == 'complete') {
						doomready.callback();
					}
				}, 50);
			}
			else if (document.readyState && ie) { // Windows IE
				var src = (window.location.protocol == 'https:') ? '://0' : 'javascript:void(0)';
				document.write(
					'<script type="text/javascript" defer="defer" src="' + src + '" ' +
					'onreadystatechange="if (this.readyState == \'complete\') doomready.callback();"' +
					'><\/script>');
			}
			else {
				if (window.addEventListener) { // for Mozilla browsers, Opera 9
					document.addEventListener("DOMContentLoaded", doomready.callback, false);
					window.addEventListener("load", doomready.callback, false); // Fail safe
				}
				else if (window.attachEvent) {
				window.attachEvent('onload', doomready.callback);
				}
				else { // Legacy browsers (e.g. Mac IE 5)
					var fn = window.onload;
					window.onload = function() {
						doomready.callback();
						if (fn) fn();
					}
				}
			}
		}
	}

/*-- spam protection --*/

	function getAdr(prefix, postfix, text) {
		document.write('<a href="mailto:' + prefix + '@' + postfix + '">' + (text ? text.replace(/&quot;/g, '"').replace(/%EMAIL%/, prefix + '@' + postfix) : prefix + '@' + postfix) + '</a>');
	}

/*-- swap image --*/

	function swapImage(element, newimage) {
		var oldsrc = element.src;
		element.src = newimage;
		if (!element.onmouseout) {
			element.onmouseout = function () {
				swapImage(this, oldsrc);
			}
		}
	}

/*-- hover --*/

	function init_hover() {
		var tags = new Array('tr', 'a', 'li');
		for(t=0; t<tags.length; t++) {
			var eles = document.getElementsByTagName(tags[t]);
			for(var i = 0; i < eles.length; i++) {
				eles[i].onmouseover = function() { addClass(this, 'hover'); }
				eles[i].onmouseout = function() { removeClass(this, 'hover'); }			
			}
		}
	}

	doomready.add(function() {
		init_hover();
	});

/*-- focus --*/

	function init_focus() {
		var tags = new Array('input','button','textarea');
		for(t=0; t<tags.length; t++) {
			var eles = document.getElementsByTagName(tags[t]);
			for(i=0; i<eles.length; i++) {
				eles[i].oldonfocus = eles[i].onfocus;
				eles[i].oldonblur = eles[i].onblur;
				eles[i].onfocus = function() { addClass(this, 'focus'); if(this.oldonfocus) this.oldonfocus(); }
				eles[i].onblur = function() { removeClass(this, 'focus'); if(this.oldonblur) this.oldonblur(); }
			}
		}
	}

	doomready.add(function() {
		init_focus();
	});

/*-- add/remove class --*/

	function addClass(obj, newclass) {
		if(obj.className.indexOf(newclass) == -1)
			obj.className += " " + newclass;
	}
	
	function removeClass(obj, oldclass) {
		var classes = obj.className.split(' ');
		for(i=0; i<classes.length; i++) {
			if(classes[i].indexOf(oldclass) > -1)
				classes[i] = "";
		}
		obj.className = classes.join(' ');
	}

/*-- getElementsByClassName --*/

	function getElementsByClassName(strClass, strTag, objContElm) {
		strTag = strTag || "*";
		objContElm = objContElm || document;
		var objColl = objContElm.getElementsByTagName(strTag);
		if (!objColl.length &&  strTag == "*" &&  objContElm.all) objColl = objContElm.all;
		var arr = new Array();
		var delim = strClass.indexOf('|') != -1  ? '|' : ' ';
		var arrClass = strClass.split(delim);
		for (var i = 0, j = objColl.length; i < j; i++) {
			var arrObjClass = objColl[i].className.split(' ');
			if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
			var c = 0;
			comparisonLoop:
			for (var k = 0, l = arrObjClass.length; k < l; k++) {
				for (var m = 0, n = arrClass.length; m < n; m++) {
					if (arrClass[m] == arrObjClass[k]) c++;
					if (( delim == '|' && c == 1) || (delim == ' ' && c == arrClass.length)) {
						arr.push(objColl[i]);
						break comparisonLoop;
					}
				}
			}
		}
		return arr;
	}





/*-- validform --*/

	var custom_required_text = new Object();
	function init_forms() {
		var content = document.getElementById('content');
		if(content) {
			var forms = content.getElementsByTagName('form');
			for(f=0; f<forms.length; f++) {
				init_form(forms[f]);
			}
		}
		var email_empfaenger;
		var inputs = document.getElementsByTagName('*');
		for(i=0; i < inputs.length; i++) {
			if(inputs[i].name) {
				if(inputs[i].name == 'email_empfaenger') {
					email_empfaenger = inputs[i];
				}
			}
		}
		if(email_empfaenger) {
			if(email_empfaenger.tagName.toLowerCase() == 'select') {
				var options = email_empfaenger.getElementsByTagName('option');
				for(o=0; o<options.length; o++) {
					options[o].value = options[o].value.replace('+at+', '@');
				}
			}
			else {
				email_empfaenger.value = email_empfaenger.value.replace('+at+', '@');
			}
		}
	}

	function init_form(form) {
		var required = getElementsByClassName('required', '*', form);
		for(i=0; i<required.length; i++) {
			required[i].oldformonblur = required[i].onblur;
			required[i].onblur = function() {
				validate(this);
				if(this.oldformonblur)
					this.oldformonblur();
			}
		}
		form.onsubmit = function() {
			var doSubmit = true;
			var list = new Array();
			var required = getElementsByClassName('required', '*', this);
			for(v=0; v<required.length; v++) {
				if(! validate(required[v])) {
					doSubmit = false;
					list.push(required[v]);
				}
			}
			var checkboxeles = getElementsByClassName('required_checkbox', '*', this);
			for(i=0; i<checkboxeles.length; i++) {
				valid = false;
				checkboxes = checkboxeles[i].getElementsByTagName('input');
				for(c=0; c<checkboxes.length; c++) {
					if(checkboxes[c].type == 'checkbox') {
						checkboxeles[i].name = checkboxes[c].name; // we need the name to check for custom_required_texts
						if(checkboxes[c].checked)
							valid = true;
					}
				}
	
				if(valid == false) {
					doSubmit = false;
					set_msg(checkboxeles[i], label_valid_checkbox);
					list.push(checkboxeles[i]);
				} 
				else {
					clear_msg(checkboxeles[i]);
				}
			}
			var radioeles = getElementsByClassName('required_radio', '*', this);
			for(i=0; i<radioeles.length; i++) {
				valid = false;
				radios = radioeles[i].getElementsByTagName('input');
				for(c=0; c<radios.length; c++) {
					if(radios[c].type == 'radio') {
						radioeles[i].name = radios[c].name; // we need the name to check for custom_required_texts
						if(radios[c].checked)
							valid = true;
					}
				}
	
				if(valid == false) {
					doSubmit = false;
					set_msg(radioeles[i], label_valid_radio);
					list.push(radioeles[i]);
				} 
				else {
					clear_msg(radioeles[i]);
				}
			}

		if(doSubmit == false)
			show_error(list);
			return doSubmit;
		}
	}

	function validate(el) {
		var valid = true;
		clear_msg(el);
		switch(el.type) {
			case 'text':
			case 'textarea':
			case 'select-one':
				if(el.value != '') {
					if(el.className.indexOf('email') > -1) {
						var regEmail = /^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/;
						if(el.value.toUpperCase().match(regEmail)){
							valid = true;
						}
						else {
							valid = false;
							set_msg(el, label_valid_email);
						}
					}
					if(el.className.indexOf('number') > -1) {
						if(el.value == Math.round(el.value)) {
							valid = true;
						}
						else {
							valid = false;
							set_msg(el, label_valid_postal_code);
						}
					}
				}
				else {
					valid = false;
					set_msg(el);
				}
				break;
		}
	
		return valid;
	}

	function set_msg(el, msg) {
		if(msg == undefined) {
			msg = el.parentNode.getElementsByTagName('span')[0].innerHTML.replace(' *', '') + ' ' + label_valid_required;
		}

		if(custom_required_text[el.name])
			msg = custom_required_text[el.name];

		el.errorMessage = msg;
		if(el.parentNode.className.indexOf('error') == -1)
			el.parentNode.className += ' error';
	}

	function clear_msg(el) {
		var classes = el.parentNode.className.split(' ');
		for(i=0; i<classes.length; i++) {
			if(classes[i].indexOf('error') > -1)
				classes[i] = "";
		}
		el.parentNode.className = classes.join(' ');
		el.errorMessage = "";
	}

	function show_error(list) {
		errorlist = '<ul>';
		for(i=0; i<list.length; i++) {
			el = list[i];
			if(el.errorMessage != undefined)
				errorMessage = el.errorMessage;
			else
				var errorMessage = el.parentNode.getElementsByTagName('span')[0].innerHTML.replace(' *', '') + ' ' + label_valid_required;
	
			errorlist += '<li>' + errorMessage + '</li>';
		};
		errorlist += '</ul>';
	
		var validationMessage = document.getElementById('validationMessage');
		validationMessage.innerHTML = '<h2 title="' + label_valid_error + '">' + label_valid_error + '</h2>' + errorlist;
		document.location.href = '#validationMessage';
	}

	doomready.add(function() {
		init_forms();
	});


/*-- search --*/

	function init_search() {
		if (document.getElementById('search')) {
			var search_string = label_form_value;
			var searchinput = document.getElementById('fld_search');
			searchinput.search_string = search_string;
			var searchform = document.getElementById('search');
			searchinput.onfocus = function(e) {
				if (this.value == this.search_string) {
					this.value = '';
				}
			}
			searchinput.onblur = function(e) {
				if (this.value == '') {
					this.value = this.search_string;
				}
			}
		}
	}

	doomready.add(function() {
		init_search();
	});

/*-- filter/sort selection --*/

	// Function for the special objects: Veranstaltungen, Presse, Offene Stellen, ...

	function init_selection() {
		var form_selections_obj = document.getElementById('form_selections');
		if (form_selections_obj) {
			form_selections_obj.getElementsByTagName('button')[0].style.display = 'none';
			selects = form_selections_obj.getElementsByTagName('select');
			for(i=0; i<selects.length; i++) {
				selects[i].onchange = form_selections_change;
			}
		}
	}
	
	function form_selections_change() {
		urlparm = '?';
		selects = document.getElementById('form_selections').getElementsByTagName('select');
		for(i=0; i<selects.length; i++) {
			urlparm += selects[i].name + '=' + selects[i].value;
			if (i!=selects.length-1) {
				urlparm += '&';
			}
		};
		location.href=urlparm;
	}

	doomready.add(function() {
		init_selection();
	});

/*-- alternativ x-menu --*/

	var navImagesNormal = new Array();
	var navImagesHover = new Array();
	function init_nav() {
		if(document.getElementById('nav')) {
			var nav = document.getElementById('nav');
			var lis = nav.getElementsByTagName('li');
			for(var i = 0; i < lis.length; i++) {
				if(lis[i].parentNode.id == 'nav') {
					lis[i].number = i;
					lis[i].onmouseover = function() {
						addClass(this, 'hover');
						var img = this.getElementsByTagName('img');
						if(img[0] && navImagesHover[this.number])
							img[0].src = navImagesHover[this.number];
					}
					lis[i].onmouseout = function() {
						removeClass(this, 'hover');
						var img = this.getElementsByTagName('img');
						if(img[0] && navImagesNormal[this.number])
							img[0].src = navImagesNormal[this.number];
					}
					var img = lis[i].getElementsByTagName('img');
					if(img[0] && img[0].onmouseover) {
						navImagesNormal[i] = img[0].src;
						img[0].onmouseover();
						navImagesHover[i] = img[0].src;
						img[0].onmouseout();
						img[0].onmouseover = function() {};
						img[0].onmouseout = function() {};
					}
					var anchors = lis[i].getElementsByTagName('A');
					for(j=0; j<anchors.length; j++) {
						anchors[j].title = '';
					}
				}
			}
		}
	}

	doomready.add(function() {
		init_nav();
	});

/*-- display elements onmouseover --*/

	var hover_links = new Array();
	hover_links.push(new Array('fontchange', 'fontsize'));
	// To add more links, follow the same pattern
	// hoverLinks.push(new Array('linkid', 'elementid'));

	function init_show_elements() {
		for (i = 0; i < hover_links.length; i++) {
			var link = document.getElementById(hover_links[i][0]);
			if (link) {
				link.el = document.getElementById(hover_links[i][1]);
				if (link.el) {
					link.onmouseover = function() {
						this.el.style.display = 'block';
					};
					link.onmouseout = function() {
						this.el.style.display = 'none';
					}
					link.onclick = function() {
						return false;
					}
				}
			}
		}
	}

	doomready.add(function() {
		init_show_elements();
	});

/*-- fader --*/

	// more info: atikon-forum -> tutorials

	var faderQueue = new Array();
	var faderInterval;

	function fader(options) {
		var obj = options.obj;
		var inout = options.inorout;
		var maxopacity = options.maxopacity;
		var alphastep = options.alphastep;
		var oncomplete = options.oncomplete;

		obj.oncomplete = oncomplete;
		obj.alphastep = alphastep;
		obj.maxopacity = maxopacity;
		if(!obj.currentopacity) {
			if(inout == 'in') {
				obj.currentopacity = 0;
				opacity(obj, 0);
			}
			else {
				obj.currentopacity = maxopacity;
				opacity(obj, maxopacity);
			}
		}
		obj.fade = inout;
		obj.style.display = 'block';

		faderQueue.push(obj);
		if(!faderInterval) {
			faderInterval = window.setInterval('darthFader()', 20);
		}
	}

	function darthFader() {
		if(faderQueue.length > 0) {
			for(i=0; i<faderQueue.length; i++) {
				var obj = faderQueue[i];

				if(obj.fade == 'in') {
					obj.currentopacity += obj.alphastep;
					opacity(obj, obj.currentopacity);

					if(obj.currentopacity >= obj.maxopacity) {
						if(obj.oncomplete) {
							obj.oncomplete(obj);
						}
						faderQueue.splice(i, 1); // remove object from queue
					}
				}
				else {
					if(obj.currentopacity > obj.alphastep) // don't go less than 0
						obj.currentopacity = 0;
					else
						obj.currentopacity -= obj.alphastep;

					opacity(obj, obj.currentopacity);

					if(obj.currentopacity <= 0 ) {
						obj.style.display = 'none';
						if(obj.oncomplete) {
							obj.oncomplete(obj);
						}
						faderQueue.splice(i, 1); // remove object from queue
					}
				}
			}

			if(faderQueue.length <= 0) {
				window.clearInterval(faderInterval);
				faderInterval = undefined;
			}
		}
	}

	function opacity(obj, value) {
		if(value < 0)
			value = 0;
		if(value > 1)
			value = 1;

		obj.style.opacity = value;
		obj.style.filter = 'alpha(opacity=' + value*100 + ')';
	}

/*-- check resolution --*/

	var check_resolution_elements = new Array();
	check_resolution_elements.push(new Array('client_login', '0', '595'));

	function check_resolution() {
		for (i = 0; i < check_resolution_elements.length; i++) {
			var id = document.getElementById(check_resolution_elements[i][0]);
			if (id) {
				var size = check_resolution_elements[i][1];
				var px = check_resolution_elements[i][2];
				if (size == 1) {
					var viewport = document.body.offsetWidth;
				}
				else {
					var viewport = document.body.offsetHeight;
				}
				if (viewport < px) {
					id.style.display='none';
				}
				else {
					id.style.display='block';
				}
			}
		}
	}

	window.onresize = function() {
	    check_resolution();
	}

	doomready.add(function() {
		check_resolution();
	});





  // startpage
  function hideflash() {
      $("#start-top-container").animate({bottom: "264px"}, 1500);
      $(".startpage #nav_main").animate({top: "351px"}, 1500);
      $("#blue_container").animate({height:"193px"}, 1500);
      
      $('.startportal').fadeIn(1500, function() {
        $('#start_flash').fadeOut('slow');      
      });

  }




//  _____________________________
// /               
// |      KARTENPOPUP
// \_____________________________
//
  
  jQuery.fn.fadeToggle = function(speed, easing, callback) {return this.animate({opacity: 'toggle'}, speed, easing, callback);};
  
  function init_mappopup() {
    if($('.mappopup').length > 0) {
      $('.mappointer').click(function() {
        var thispopupinfo = $(this).next();
        var thisli = $(this).parent();
        $("#mapcontent li").not(thisli).removeClass("topofall");
        $('.mappopupinfo').not(thispopupinfo).fadeOut();
       
        thisli.addClass("topofall");
        thispopupinfo.fadeToggle();
        return false;
    	});
    }
    $('.closemappopup a').click(function(){$(this).parent().parent().fadeOut();});
  }
  doomready.add(function() {
  	init_mappopup();
  });
  
//  _____________________________
// /               
// |      TEAMPOPUP
// \_____________________________
//


  function init_bpgpopupdiv() {
    $("body script").remove();
    $("#pageoverlay").css({"height":$(window).height()});
    $('.entity_link').click(function() {
      $('#overlayinfo').html( $(this).next().html() );
      $('#overlayinfo').css({marginLeft:'-'+($('#overlayinfo').outerWidth()/2)+'px', marginTop:'-'+($('#overlayinfo').outerHeight()/2)+'px'});
      $('#overlayinfo').fadeIn();      
      $('#pageoverlay').css({"display":"block", "opacity":0}).animate({opacity: "0.4"}).click(function() { bpgpopupclose() });
      $('.bpgintclose').click(function() {bpgpopupclose();return false;});

      return false;
    }    );
    
  }
  function bpgpopupclose() {
    $('#pageoverlay').fadeOut();
    $('#overlayinfo').fadeOut();
  }
  $(window).scroll(function() {$("#pageoverlay").css({"top": $(window).scrollTop() + "px"});});
  
  doomready.add(function() {
  	init_bpgpopupdiv();
  	init_bpgpopupdiv2();
  });


  function init_bpgpopupdiv2() {
    $("body script").remove();
    $("#pageoverlay").css({"height":$(window).height()});
    $('.entity_link2').click(function() {
      $('#overlayinfo').html( $(this).next().html() );
      $('#overlayinfo').css({marginLeft:'-'+($('#overlayinfo').outerWidth()/2)+'px', marginTop:'-'+($('#overlayinfo').outerHeight()/2)+'px'});
      $('#overlayinfo').fadeIn();      
      $('#pageoverlay').css({"display":"block", "opacity":0}).animate({opacity: "0.4"}).click(function() { bpgpopupclose() });
      $('.bpgintclose').click(function() {bpgpopupclose();return false;});

      return false;
    }    );
    
  }
  

    

/*-- datev unternehmen online --*/

    // DATEV ad video
    function init_DATEV_ad_video(){
        if(!$('#datev_ad_video').length)
            return;
        var flashvars = {};
        flashvars.minutes = 0;
        flashvars.seconds = 49;
        flashvars.movieurl = datev_ad_video;
        flashvars.introimageurl = datev_ad_intro;
        flashvars.videotitle = 'Illona Mayer, Gastronomin';
        flashvars.autoplay = 1;
        flashvars.startfullscreen = 1;
        var attributes = {}, params = {};
        params.allowfullscreen = "true";
        params.wmode = "transparent";
        swfobject.embedSWF(datev_videoplayer, "datev_ad_video", datev_ad_width, datev_ad_height, "9.0.0", '', flashvars, params, attributes);
    }

    // DATEV demovideos
    function init_DATEV_demo_video(){
        var demovideo = '.datev .demovideo';
        if(!$(demovideo).length)
            return;
        $(demovideo).live('click', function(){
            var height = this.rel.split(',')[1];
            var width = this.rel.split(',')[0];
            window.open(this.href, '', 'dependent=yes,height=' + height + ',location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,width=' + width);
            return false;
        });
    }

    // DATEV slideshow
    function init_DATEV_slideshow(){
        var demovideo = '.datev .slideshow .demovideo',
            demovideos = '.datev .slideshow .demovideos';
        if(!$(demovideos).length)
            return;
        // Create slideshow buttons etc.
        var width = 0,
            demovideolinks = $(demovideo);
        demovideolinks.each(function(){
            width = width + $(this).outerWidth(true);
            $(this).clone().appendTo($(demovideos));
        });
        var slideshow_box = $(demovideos).css({
            'width': width*2
        }).wrap(
            $('<div>').addClass('slideshow_box')
        );
        $(slideshow_box).after(
            prev = $('<a>').attr({
                'class': 'btn previous',
                'href': '#',
                'title': 'Vorriges Video'
            }).text('Vorriges Video'),
            next = $('<a>').attr({
                'class': 'btn next',
                'href': '#',
                'title': 'N�chstes Video'
            }).text('N�chstes Video')
        ).wrap(      
            $('<div>').addClass('slideshow_videos')
        );
        // Next and previous image
        $(prev).unbind().click(function(){
            if(!$(demovideos).is(':animated')){
                var currentMarginLeft = parseInt($(demovideos).css('margin-left'));
                if($(demovideos).css('margin-left') == 'auto') // IE fix
                    currentMarginLeft = 0;
                if(currentMarginLeft == 0){
                    currentMarginLeft = 0-width;
                    $(demovideos).css('margin-left', currentMarginLeft);
                }
                var newMarginLeft = currentMarginLeft + $(demovideo).outerWidth(true);
                $(demovideos).animate({
                    'margin-left': newMarginLeft
                });
            }
            return false;
        });
        $(next).unbind().click(function(){
            var currentMarginLeft = parseInt($(demovideos).css('margin-left'));
            if($(demovideos).css('margin-left') == 'auto')
                currentMarginLeft = 0;
            var newMarginLeft = currentMarginLeft - $(demovideo).outerWidth(true);
            if(!$(demovideos).is(':animated')){
                $(demovideos).animate({
                    'margin-left': newMarginLeft
                }, function() {
                    if(Math.abs(newMarginLeft) >= width)
                        $(demovideos).css('margin-left', 0);
                });
            }
            return false;
        });
    }

    // DATEV product menu
    function init_DATEV_product_menu(){
        var product = '.datev.slidemenu',
            menu = '.datev.slidemenu .menu';
        if(!$(menu).length)
            return;

        var menuPosition = $(menu).offset().top,
            maxOffset = $(product).outerHeight(true) - $(menu).outerHeight(true);
        
        $(window).scroll(function(){           
            if(menuPosition >= $(window).scrollTop()) {
                $(menu).stop().animate( {'top':0}, 'fast' );
            }
            if(maxOffset >= (($(window).scrollTop() - menuPosition) + 20) && menuPosition <= $(window).scrollTop()) {            
                $(menu).stop().animate(
                    {'top': ($(window).scrollTop() - menuPosition) + 20}, 'fast'
                );
            }
        });
    }

    // DATEV analysis overview
    function init_DATEV_analysis_overview(){
        var overview = '.datev.analysis_online .accordion';
        if(!$(overview).length)
            return;
        $('.text', overview).hide();
        $('li', overview).each(function(){
            var li = this
            if($('ul', li).length){
                ul = $('> ul', li).css('cursor', 'default').remove();
                atext = $(li).text();
                $(li).toggle(function(){
                    $(this).addClass('open').removeClass('close').children('ul').show();
                }, function(){
                    $(this).addClass('close').removeClass('open').children('ul').hide();
                }).addClass('close').css('cursor', 'pointer').html(
                    $('<a>').attr('href', '#').text(atext).after(ul.hide())
                );
            }
        });
        $('.header', overview).click(function(){
            var el = this;
            if($(el).next('.text').length){
                $(el).next('.text').slideToggle('slow', function(){
                    if(!$(el).next('.text').is(':visible'))
                        $(el).parent('.entry').addClass('close').removeClass('open');
                });
                $(el).parent('.entry').addClass('open').removeClass('close');
                $(el).parent('.entry').siblings('.entry:visible').addClass('close').removeClass('open').children('.text').slideUp('slow');
            }
            return false;
        }).not('.notext').css('cursor', 'pointer').not('.notext').wrapInner(
            $('<a>').attr('href', '#')
        );
    }
    
/*-- DOM -- */

	$(function(){
	    init_DATEV_ad_video();
        init_DATEV_slideshow();
        init_DATEV_demo_video();
        init_DATEV_product_menu();
        init_DATEV_analysis_overview();

  });
  
  
  
  
  
  
  
  
  
  

