function be() {

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

}

function calcpos() {

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


$("#ge").css("top",Math.max(0,Math.floor(50*($(window).height())/100-($("#ge").height())*50/100+0.5+(-15)))+"px");


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


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


$("#df").css("top",Math.max(0,Math.floor($("#ge").position().top+100*($("#ge").height())/100-($("#df").height())*100/100+0.5+(60)))+"px");


this.busy=0;

}
