/**
 * powered by Artur N. Yusupov
 * mailto: pe3udent[at]yandex[dot]ru
 * url:    http://www.netcat.ru/buy/partners/usupov.html
 */

function overblow() {
	var box = $$('wrapper');
	var _width = window.getWidth();
	var _height = window.getHeight();
	if (_width > 1260) width = '1260px';
	else if (_width < 1000) width = '1000px';
	else width = _width + 'px';
	box.setStyle('width', width);
}

window.addEvent( 'domready', function() { overblow(); }); 
window.addEvent( 'resize', function() { overblow(); }); 