var splash = {
	colorIndex:0,
	interval:0,
	element:null,	
	open:function() {
		winW = document.body.offsetWidth + 20;
		bytefx.move(splash.el1, {x:(winW/2)*(-1),y:0}, 5);
		bytefx.move(splash.el2, {x:(winW),y:0}, 5, function() {
		  splash.wrapper.style.display = 'none';
		});

	},
	start:function(el1, el2, wrapper){
		this.el1 = el1;
		this.el2 = el2;
		this.wrapper = wrapper;
		wrapper.style.display = 'block';
		setTimeout("splash.open();",3000);
	}
};

onload = function() {
	splash.start(document.getElementById('splash_left'), document.getElementById('splash_right'), document.getElementById('splash_wrapper'));
	// document.getElementById('splash_wrapper').style.display = 'block';
};