var EF_Home = {

	IMAGE_DIR: '/Websites/disegno/templates/EF_new/c/i/',
	
	data: [				
		{
			pic: 'home_feature.jpg'
		},
		{
			pic: 'home_bulb.jpg'
		},
		{
			pic: 'home_leaves.jpg'
		},
		{
			pic: 'home_climber.jpg'
		},
		{
			pic: 'home_rock.jpg'
		}
	],
	
	init: function()
	{
		this.get();
	},	
	
	get: function()
	{		
		var r = Math.floor(Math.random()*(this.data.length));
		var sel = this.data[r];
		document.getElementById('feature').style.background = 'url('+this.IMAGE_DIR+sel.pic+')';	
	}
}