Так вы имеете ввиду?
<script type="text/javascript">
if (jQuery.cookie('choice') == null) {
setTimeout(function(){get_fb();}, 0);
}
function get_fb(){
$.ajax({
url:'http://union-experts.ru/webinar/do-nachala.png',
type:'HEAD',
async: false,
error:
function(){
jQuery.cookie('choice', '1');
setTimeout(function(){get_fb();}, 10000);
},
success:
function(){
jQuery( ".main" ).hide();
}
});
}
</script>