    ms = '<di'+'v id="dummyLayer"  s'+'tyle="LEFT:0px; POSITION:absolute; TOP:0px;  Z-INDEX:50; ';
    ms += 'clip:rect(0px 1px 1px 0px); WIDTH:1px; HEIGHT:1px;"></div>';

    for(i=0;i<menus.length;i++)
        ms += menus[i].getHTML();

    document.write(ms);

    setTimeout("prep_menus()",250);

    /////////////////////////////////////////////////////////////
    // store layer-dimension for netscape4 resizing-bug-fix
    /////////////////////////////////////////////////////////////

    if (document.layers) {
        start_width = document.layers["layer0"].document.width;
        start_height = document.layers["layer0"].document.height;
    }

    //////////////////////////////////////////////////////
    // store layer-dimension for opera resizing-bug-fix
    //////////////////////////////////////////////////////

    else if( window.innerWidth && window.innerHeight ) {
         start_width = window.innerWidth;
         start_height = window.innerHeight;
         opera_resize();
    }
	
	function aktuell(url)
	{window.open(url,'aktuell','dependent=no,toolbar=no,location=no,directories=no,status=no,menobar=no,scrollbars=yes,width=300,height=300');}
	
	function lesefenster(url)
	{window.open(url,'lesefenster','dependent=no,toolbar=no,location=no,directories=no,status=no,menobar=no,scrollbars=yes,width=500,height=500');}
   
   function fenster(url)
   {window.open(url,'fenster','dependent=no,toolbar=no,location=no,directories=no,status=no,menobar=no,scrollbars=yes,width=640,height=240');}

//SCHALTER SICHTBAR UND UNSICHTBAR

var quotes = {
	state: 'visible',
	toggleall: function() {
		if (this.state == 'hidden') {
			this.showall();
		} else {
			this.hideall();
		}
	},
	showall: function() {
		this.state = 'visible';			
		$('#toggleswitch').text('Alle ausblenden');
		$('div.quote').each(function(idx, element){
			quotes.show(element);
		});		
	},
	hideall: function() {
		this.state = 'hidden';
		$('#toggleswitch').text('Alle einblenden');
		$('div.quote').each(function(idx, element){
			quotes.hide(element);
		});		
	},
	toggle: function(linkelement) {
		var element = $(linkelement).parent().parent();
		if ($(element).find('blockquote').css('display') == 'none') {
			this.show(element);
		} else {
			this.hide(element);			
		}
	},
	show: function(element) {
		$(element).find('blockquote').fadeIn('fast');
		$(element).find('a[name=citeview]').text('ausblenden');
	},
	hide: function(element) {
		$(element).find('blockquote').fadeOut('fast');
		$(element).find('a[name=citeview]').text('einblenden');
	}
}

$(document).ready(function(){
	quotes.hideall();
});

