function animateFront(c, t){

	var h, s;

	if(c == 1){
		h = "landDiv";
		s = "marineDiv";
		c = 0;
	} else {
		h = "marineDiv";
		s = "landDiv";
		c = 1;
	}
	if($(h).fx){$(h).fx.stop();}
	if($(s).fx){$(s).fx.stop();}
	$(h).fx = $(h).effect('opacity', {duration: 2000}).start(0);
	$(s).fx = $(s).effect('opacity', {duration: 2000}).start(1);
	setTimeout('animateFront(' + c + ',' + t + ')', t);
}

window.addEvent('domready', function(){

	if ( $('front_content') ) {
//		animateFront(1, 10000);
	};

});
