
$(function()
{$('li a.open').mouseover(function()
{$(this).parent().find('div').show();as.action($(this).parent().find('a:first').text()+':toggle:icon mouseover:open');$(this).unbind('mouseover');});$('li a.open').parent().find('a:first').mouseover(function()
{$(this).parent().find('div').show();as.action($(this).text()+':toggle:link mouseover:open');$(this).unbind('mouseover');});$('li a.open').click(function()
{if($(this).parent().find('div').css('display')=='none')
{$(this).parent().find('div').show();as.action($(this).parent().find('a:first').text()+':toggle:icon click:open');}
else
{$(this).parent().find('div').hide();as.action($(this).parent().find('a:first').text()+':toggle:icon click:dicht');}});$('li div.link_info p input.code').focus(function()
{$(this).select();as.action($(this).parent().parent().parent().find('a:first').text()+':code click');});$('div.feed_product').mouseover(function()
{hide_feed_product_layers();var id=$(this).attr('id').substring(13);$("div#feed_product_"+id+"_border").show();$("div#feed_product_"+id+"_underlay").show();$("div#feed_product_"+id+"_overlay").show();});$('div.feed_product_underlay').mouseout(function()
{hide_feed_product_layers();});$('div.feed_product_border').mouseout(function()
{hide_feed_product_layers();});$('body').click(function()
{hide_feed_product_layers();});function hide_feed_product_layers()
{$('div.feed_product_border').hide();$('div.feed_product_underlay').hide();$('div.feed_product_overlay').hide();}
if(document.location.toString().match('#'))
{id=get_anchor(document.location.toString());if(id)
{highlight_block(id);}}});function highlight_block(id)
{var highest_block_position=10000;var highlight_blok_title=id.substring(0,id.lastIndexOf('_'));$('.contentblock_highlight').remove();$("h2[id^='"+highlight_blok_title+"']").each(function()
{if($('#'+$(this).attr('id')).parent().parent().attr('class')=='contentblock')
{var h2_id=$(this).attr('id');var highlight_block=$(this).parent().parent().clone();$('div.row_wide div.column:last').after('<div class="contentblock_highlight" id="contentblock_highlight_'+h2_id+'"></div>').after('<div class="clear" id="testclear"></div>');$('#contentblock_highlight_'+h2_id).css('left',($('#'+h2_id).offset().left)-6);$('#contentblock_highlight_'+h2_id).css('top',($('#'+h2_id).offset().top)-6);$('#contentblock_highlight_'+h2_id).html(highlight_block);if($('#'+h2_id).offset().top<=highest_block_position)
{highest_block_position=$('#'+h2_id).offset().top;}}});if(highest_block_position!=10000)
{setTimeout("window.scrollTo(0, "+highest_block_position+" - 35);",100);}}
function get_anchor(href)
{var anchor=false;if(href.match('#'))
{anchor=href.split('#')[1];}
return anchor;}