Arnowt,
$(function ()
{
function floatBlock(el) {
this.el = el;
var init = false;
this.run = (function (a)
{
return function() {
alert(a.el+' | '+init); //!!!!!!!!!!!!!!!!!!!!!
if(init!=true) {init = true; $(window).resize(a.run);}
}
}
)(this)
this.run();
}
new floatBlock('QWERT')
}
)