function avadaUpdateToTopPostion(){var a=avadaToTopVars.totop_position.split("_");a=2===a.length?"to-top-"+a[0]+" to-top-"+a[1]:"to-top-"+a[0],jQuery(".to-top-container").attr("class","to-top-container"),jQuery(".to-top-container").addClass(a)}jQuery(document).ready(function(){var a=avadaToTopVars.totop_position.split("_");a=2===a.length?"to-top-"+a[0]+" to-top-"+a[1]:"to-top-"+a[0],jQuery().UItoTop&&(cssua.ua.mobile&&-1!==avadaToTopVars.status_totop.indexOf("mobile")?jQuery().UItoTop({easingType:"easeOutQuart",classes:a,scrollDownOnly:avadaToTopVars.totop_scroll_down_only}):cssua.ua.mobile||jQuery().UItoTop({easingType:"easeOutQuart",classes:a,scrollDownOnly:avadaToTopVars.totop_scroll_down_only})),jQuery(window).on("updateToTopPostion",avadaUpdateToTopPostion)});