function be() {

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

}

function calcpos() {

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


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


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


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


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


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

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

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

delete topmax;


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


if ($("#h4").height() > $("#j4").height()) {


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

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

calcpos();

}

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

} else {

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

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

calcpos();

}

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

}


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


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


this.busy=0;

}
