function be() {

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

}

function calcpos() {

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


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


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


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


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


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

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

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

delete topmax;


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


if ($("#h6").height() > $("#j6").height()) {


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

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

calcpos();

}

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

} else {

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

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

calcpos();

}

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

}


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


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


this.busy=0;

}
