var Auto={};Auto.ad_just=function(c){var f=c.std_dom||{};var e=c.just_dom||{};var b=c.uper_dom||{};var a=c.lineHeight||0;var d=c.next_dom||{};var g=c.stepk||1;$(document).ready(function(){var i=$(f).height();if($.browser.version=="6.0"&&$.browser.msie){$(e).css({border:"1px solid #fff"});var h=$(b).height()-$(e).height();$(e).css({border:"0px"})}else{var h=$(b).height()-$(e).height()}if(i<=h){return false}$(e).css({height:i-h+"px",overflow:"hidden","z-index":"9"});var j=Math.floor((i-h)/a);if((i-h)%a<a/2+6){j--}j=Math.round((j+1)*g)-1;if(j>0){$(e).children(":gt("+j+")").hide()}if(d){$(d).css({position:"relative","z-index":999});$(e).mouseover(function(){$(this).children(":gt("+j+")").show();$(this).css({overflow:"visible",height:$(this).attr("scrollHeight")+"px"})}).mouseout(function(){$(this).children(":gt("+j+")").hide();$(this).css({height:i-h+"px",overflow:"hidden","z-index":"9"})})}})};
