/*
Theme Naam: Obsidian
Theme Designer: Florian Verniers
Theme URI: http://metamorph.be
Version: 1.0.0

	Obsidian by Metamorph.be is licensed under a 
	Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
	Based on a work at www.metamorph.be.
	Permissions beyond the scope of this license may be available at http://www.metamorph.be/legal.htm.
*/
$(document).ready(function () { var images = $('#splash li'); var numberImages = images.length; images.css({ opacity: 0 }); $('#splash li.current').css({ opacity: 1.0 }); var oInterval = setInterval(function () {rotateImages();}, 6000);}); function rotateImages(){var oCurImage = $('#splash li.current'); oCurImage.removeClass('current').addClass('previous').animate({ opacity: 0 }, 1000); var oNxtImage = oCurImage.next(); if (oNxtImage.length === 0){oNxtImage = $('#splash li:first');} oNxtImage.css({ opacity: 0 }).addClass('current').animate({ opacity: 1.0 }, 2000);}
