// Transparenz-Filter bei PNG-Bilder für IE 5.5 und IE 6 anwenden
// Aufruf bei $(document).ready() oder mit JS-Code vor </body>:
// <script type="text/javascript">
// fixPng();
// </script>
function fixPng()
{
    if($.browser.msie == true && $.browser.version > 5.5 && $.browser.version < 7.0 && document.body.filters)
    {
        $('img').each(function(){
			if(this.src.match(/\.png$/) != null){
				$(this)
					.css({
						filter: 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+$(this).attr('src')+'\', sizingMethod=\'image\')',
						width: $(this).width()+'px',
						height: $(this).height()+'px'
					})
					.attr('src','images/t3_blank.gif');
			}
        });
	}
}

function initMenu()
{
// 	$('#navigation .mp > a').click(function(){
// 		if($(this).next().is(':visible')) $(this).next().slideUp();
// 		else $(this).next().slideDown();
// 		return false;
// 	});

}


$(document).ready(function(){
	fixPng();
	$('.zoombox').zoombox();
	$('#navigation li.on .subtext').hide();
});

$(window).load(function(){
    $('#navigation li.on .subtext').slideDown();
});


