function be() {

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

}

function calcpos() {

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


this.busy=0;

}
