function be() {

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

}

function calcpos() {

if (this.busy) {alert('reentry detected'); return;} this.busy=1;
var minheight=Math.max($("#i").height()+$("#i").position().top,$("#m").height()+$("#m").position().top);

minheight=Math.max(minheight,$("#k").height()+$("#k").position().top);

$("#d").css('min-height',minheight+(40)+"px");


$("#d").css("left",Math.max(0,Math.floor(50*($("#d").offsetParent().width())/100-($("#d").width())*50/100+0.5+(0)))+"px");


$("#f").css("left",Math.max(0,Math.floor(50*($("#f").offsetParent().width())/100-($("#f").width())*50/100+0.5+(0)))+"px");


$("#g").css("left",Math.max(0,Math.floor(50*($("#g").offsetParent().width())/100-($("#g").width())*50/100+0.5+(-250)))+"px");


$("#o").css("left",Math.floor($("#d").position().left+100*($("#d").width())/100+0.5+(2))+"px");


$("#o").height(Math.floor(100*($("#d").height())/100+0.5+(0))+"px");


this.busy=0;

}
