/**
 * Mootools class
 * Big Background
 *
 * @author anders fly
**/

var BigBackground = new Class({
	Implements: [Options, Events],
	options: {
		container: '',
	},
	initialize: function(options) {
		this.setOptions(options);
		if (this.options.container != '') {
			this.initBackground(this.options.container);
		}	
	},
	initBackground: function(container) {
		
		var body = $$('body');
		var backHeight = parseInt(body.getStyle('height'))+150;
		if (backHeight < 800) backHeight = 800;
		
		container.setStyle('height',backHeight);
	},
	
});
