function $(a){return document.getElementById(a);}function calculateHeight(){var c=($("main_block")?"main_block":"main_block_2");var b=$(c).offsetHeight-$("right_block").offsetHeight;var a=$("right_block").offsetHeight;if($(c).offsetHeight<a){$(c).style.height=a+"px";$(c).style.backgroundColor="#F7FBDE";
}}if(navigator.userAgent.toLowerCase().indexOf("chrome")){window.onload=function(){calculateHeight();};}else{calculateHeight();}function askQuestion(){$("return_question_form").style.display="none";$("ask_question_block").style.display="block";if($("ask_question_block").style.display=="block"){calculateHeight();
}}function showComments(){var c=($("main_block")?"main_block":"main_block_2");var a=$("column_border").offsetTop-$("menu").offsetHeight-$("menu").offsetTop;var b=$(c).offsetHeight;if((b-a)>=50){if(navigator.userAgent.indexOf("MSIE 7.0")!=-1){b=a+180;}else{b=a;}}if($("comment_tree").style.display=="block"){$(c).style.height=b-$("comment_tree").offsetHeight+"px";
$("comment_tree").style.display="none";}else{$("comment_tree").style.display="block";$(c).style.height=$("comment_tree").offsetHeight+b+15+"px";}calculateHeight();}function replyTo(c,b,d){var a=document.forms["leaveReplyForm"].elements["replyToCommentId"];a.value=c;$("reply_to").innerHTML="to "+b;$("leaveReplyDscription").innerHTML=" ( "+d+" )";
}