(function(){
	var tos = [];
	addResizeHandler = function(handler){
		tos.push(0);
		var index = tos.length;
		$(window).resize(function(){
			if(tos[index] !== 0)
				clearTimeout(tos[index]);
			tos[index] = setTimeout(handler, 200);
		});
	}
})();
