function renderBlockAK(hash, selectorTeaserBlock, selectorTeaserBlockHide)
{
if (eval('rotatorData_' + hash)) {
if (selectorTeaserBlockHide != undefined && selectorTeaserBlockHide != '') {
var style = $("");
style.html(selectorTeaserBlockHide + '{display: none !important;}")');
style.appendTo('head');
}
var offsetMainDiv = $(selectorTeaserBlock).offset();
$('#' + hash).offset({
left: offsetMainDiv.left,
top: offsetMainDiv.top
}).css('zIndex', 9999);
if ($(selectorTeaserBlock).hasClass('teaserBlockWrapper')) { // внутренний блок
var text = $('.bannerTitle', $(selectorTeaserBlock).parent());
var a = $('')
.attr('href', $(selectorTeaserBlock + ' a').attr('href'))
.attr('target', '_blank')
.html(text.html());
text.html('');
a.appendTo(text);
}
} else {
$('#' + hash).hide();
}
}