jQuery(window).load(function()
{
function nextFrame()
{
if (!jQuery('iframe.lazyload:eq(0)').attr('src2'))
{
window.setTimeout(function () {
nextFrame();
},2000);
}
else
{
jQuery('iframe.lazyload:eq(0)').each(function (){
console.log('LazyLoad:'+jQuery(this).attr('src2'));
jQuery(this).attr('src',jQuery(this).attr('src2'));
jQuery(this).attr('src2','');
jQuery(this).attr('class','');
jQuery(this).on('load',function (){nextFrame();});
});
}
}
nextFrame();
}
);
jQuery('#fastsearch').on('change',function () {
ref='/tag/cover-'+jQuery(this).val()+'/';
ref=ref.toLowerCase();
ref=ref.replace(/ /g,'-');
window.location.href=ref;
});