function be() {

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

}

function calcpos() {

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


$("#c4").css('min-height',$("#p2").height()+$("#p2").position().top-$("#c4").position().top+(0)+"px");


$("#f4").css("left",Math.floor($("#m2").position().left+0*($("#m2").width())/100+0.5+(10))+"px");


$("#g4").css("left",Math.floor($("#m2").position().left+0*($("#m2").width())/100+0.5+(12))+"px");


$("#h4").css("left",Math.floor($("#m2").position().left+0*($("#m2").width())/100+0.5+(0))+"px");


$("#h4").css("top",Math.floor($("#m2").position().top+100*($("#m2").height())/100+0.5+(2))+"px");


$("#i4").css("left",Math.floor($("#m2").position().left+0*($("#m2").width())/100+0.5+(7))+"px");


$("#i4").css("top",Math.floor($("#m2").position().top+100*($("#m2").height())/100+0.5+(2))+"px");


$("#i4").width(Math.floor(100*($("#m2").width())/100+0.5+(-5))+"px");


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


$("#j4").css("top",Math.floor($("#m2").position().top+100*($("#m2").height())/100+0.5+(2))+"px");


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


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


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


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


$("#l4").height(Math.floor(100*($("#m2").height())/100+0.5+(-10))+"px");


this.busy=0;

}
