/*
window.onload=function(){
	// alert(document.cookie);
	if (readCookie('firstvisit') == 'No') {
		i85nosplash();
	} else {
		setCookie('firstvisit', 'No', 0);
		setTimeout("i85splash()", 1500);
	}	
}
*/

window.onload=function(){
	// alert(document.cookie);
	setTimeout("i85logotext()", 500);
	setTimeout("i85tagline()", 2500);
	setTimeout("i85splash()", 4500);
}

// Show tagline
function i85logotext() {
	new Effect.Appear('logo_the', {duration: 1, queue: {position:'front', scope: 'logo_the'} });
	new Effect.Appear('logo_group', {duration: 1, queue: {position:'front', scope: 'logo_group'} });
	
}

// Show tagline
function i85tagline() {
	new Effect.Appear('tagline', {duration: 1, queue: {position:'front', scope: 'splash'} });
}

// Show and then fade splash screen layer
function i85splash() {
	new Effect.Fade('splash', {duration: 1, queue: {position:'end', scope: 'splash'} });	
	new Effect.Appear('nosplash', {duration: 1, queue: {position:'end', scope: 'splash'} });
}



// Don't show splash screen
function i85nosplash() {
	new Effect.Fade('splash', {duration: 0, queue: {position:'front', scope: 'splash'} });	
	new Effect.Appear('nosplash', {duration: 0, queue: {position:'end', scope: 'splash'} });	
}