QVariant posTop = frame->evaluateJavaScript( "function getTop()" "{" " return $('.main_block:first').position().top;" "}" "getTop();" );