function be() {

$(document).ready(calcpos); $(window).resize(calcpos);

}

function calcpos() {

if (this.busy) {alert('reentry detected'); return;} this.busy=1;
$("#g8").css("left",Math.max(0,Math.floor(50*($("#g8").offsetParent().width())/100-($("#g8").width())*50/100+0.5+(0)))+"px");


$("#i8").height(Math.max(0,Math.floor($("#a9").position().top+100*($("#a9").height())/100+0.5+(-10))-$("#i8").position().top));


$("#j8").css("top",Math.floor($("#i8").position().top+100*($("#i8").height())/100+0.5+(0))+"px");


$("#k8").css("top",Math.floor($("#j8").position().top+100*($("#j8").height())/100+0.5+(0))+"px");


$("#b9").css("top",Math.floor($("#j8").position().top+100*($("#j8").height())/100+0.5+(-15))+"px");


var topmax=$("#m8").position().top+$("#m8").height()+(-10);

topmax=Math.max(topmax,$("#b9").position().top+$("#b9").height()+(-10));

$("#l8").css("top",topmax+"px");

delete topmax;


$("#k8").height(Math.max(0,Math.floor($("#l8").position().top+0*($("#l8").height())/100+0.5+(0))-$("#k8").position().top));


if ($("#c9").height() > $("#e9").height()) {


if ($("#c9").css("position") == "absolute") {

$("#c9").css("position","relative");

calcpos();

}

$("#e9").css("position","absolute");

} else {

if ($("#e9").css("position") == "absolute") {

$("#e9").css("position","relative");

calcpos();

}

$("#c9").css("position","absolute");

}


$("#g9").css("left",Math.max(0,Math.floor($("#l8").position().left+100*($("#l8").width())/100-($("#g9").width())*100/100+0.5+(0)))+"px");


$("#g9").css("top",Math.max(0,Math.floor($("#l8").position().top+100*($("#l8").height())/100-($("#g9").height())*100/100+0.5+(35)))+"px");


this.busy=0;

}
