var objName = $(this).attr('id'); var objX = ui.offset.left+15; var objY = ui.offset.top-$('.upline').height()+14; var getPos = array(objName, objX, objY);