'; $('#layer48385BF9BA95AE9F8BB09E2475C9A38F').find('ul.navigation').append(input_height); }(function(){ var layer_id='layer48385BF9BA95AE9F8BB09E2475C9A38F'; var menustyle='hs7'; var contentfunc=function(){ if($("#"+layer_id).is(':visible')){ $("#"+layer_id).find('.wp-article_category_content').each(function(){ var wid = $(this).width(); var liwid = $(this).find('li:eq(0)'); var lipadd = parseInt(liwid.css('padding-right'))+parseInt(liwid.css('padding-left')); if ($.inArray(menustyle, ['hs7','hs9','hs11','hs12']) != -1) { var bwidth = parseInt(liwid.css("borderRightWidth") || '0'); if(bwidth > 0) $('li.wp_subtop', this).width(function(i, h){return h - bwidth - 1}); } if(parseInt(liwid.width())>(wid-lipadd)){ $(this).find('li.wp_subtop').css('width',wid-lipadd); } }); }else{ setTimeout(contentfunc,60); } }contentfunc();})()$(function(){});