$(function() {

	Currel = $('.logo').attr('rel');

        $.imgpreload([Currel + '/images/body_bg.jpg'],
	{
		each: function()
		{
			// this = new image object
			// callback executes on every image load
		},
		all: function()
		{
			$('#main').fadeIn(500);
		}
	});

	$.backstretch(Currel +"/images/body_bg.jpg", {speed: 150});
	
	
})


