// JavaScript Document

/****************************************************************************************
PRELOADING
*****************************************************************************************/
var chemin = "./img/";
var ext = ".png";
var liste_images = new Array('logo','entrez_jaune','enter_jaune','titre','fond','accueil','histoire','videos','liens','sceenshot','contacts','accueil_j', 'histoire_j', 'screenshot_j','videos_j', 'liens_j', 'contacts_j', 'glubb', 'logo_Synaptic','commingsoon');
document.image_chargee = new Array();

function prechargement() {

	for ( i = 0; i < liste_images.length; i++ ) {
		document.image_chargee[i] = new Image;
		document.image_chargee[i].src = chemin + liste_images[i] + ext;
		}
	}

/****************************************************************************************
mail
*****************************************************************************************/
	
function mail()
{
	str = "mailto:";
	str1 = "postmaster";
	str2 = "@glubiesplanet.com";
	document.getElementById("mail").href = str+str1+str2;
	document.getElementById("mail2").href = str+str1+str2;
}
/****************************************************************************************
RollOvers
*****************************************************************************************/
function overfr()
{
	document.getElementById("entrez").src="./img/entrez_jaune.png";
}

function outfr()
{
	document.getElementById("entrez").src="./img/entrez_blanc.png";
}

function overen()
{
	document.getElementById("enter").src="./img/enter_jaune.png";
}

function outen()
{
	document.getElementById("enter").src="./img/enter_blanc.png";
}

function overAccueil()
{
	document.getElementById("accueil").src="../img/accueil_j.png";
}

function outAccueil()
{
	document.getElementById("accueil").src="../img/accueil.png";
}

function overHistoire()
{
	document.getElementById("histoire").src="../img/histoire_j.png";
}

function outHistoire()
{
	document.getElementById("histoire").src="../img/histoire.png";
}

function overScreenshot()
{
	document.getElementById("screenshot").src="../img/screenshot_j.png";
}

function outScreenshot()
{
	document.getElementById("screenshot").src="../img/screenshot.png";
}

function overVideos()
{
	document.getElementById("videos").src="../img/videos_j.png";
}

function outVideos()
{
	document.getElementById("videos").src="../img/videos.png";
}

function overLiens()
{
	document.getElementById("liens").src="../img/liens_j.png";
}

function outLiens()
{
	document.getElementById("liens").src="../img/liens.png";
}

function overDownload()
{
	document.getElementById("download").src="../img/download_j.png";
}

function outDownload()
{
	document.getElementById("download").src="../img/download.png";
}

function overContacts()
{
	document.getElementById("contacts").src="../img/contacts_j.png";
}

function outContacts()
{
	document.getElementById("contacts").src="../img/contacts.png";
}

function overJeu()
{
	document.getElementById("jeu").src="../img/jeu_j.png";
}

function outJeu()
{
	document.getElementById("jeu").src="../img/jeu.png";
}

function overHome()
{
	document.getElementById("Home").src="../img/home_j.png";
}

function outHome()
{
	document.getElementById("Home").src="../img/home.png";
}

function overStory()
{
	document.getElementById("Story").src="../img/story_j.png";
}

function outStory()
{
	document.getElementById("Story").src="../img/story.png";
}

function overGame()
{
	document.getElementById("Game").src="../img/game_j.png";
}

function outGame()
{
	document.getElementById("Game").src="../img/game.png";
}

function overLinks()
{
	document.getElementById("Links").src="../img/links_j.png";
}

function outLinks()
{
	document.getElementById("Links").src="../img/links.png";
}



