var menuAccueil;
var accueil;
var menuForum;
var forum;
/*var menuVideo;
var video;*/
var menuBonus;
var bonus;
var menuFreeroll;
var freeroll;
var menuRakeback;
var rakeback;
var menuVip;
var vip;
var menuArticles;
var articles;
var menuLogiciels;
var logiciels;
/*var menuReferez;
var referez;*/


AJS.AEV(window, 'load', function() {
	initializeMenu();
});

function initializeMenu() {
	menuAccueil = document.getElementById("menu_accueil");
	menuAccueil.flag = false;
	
	menuAccueil.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuAccueil.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuAccueil.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--accueil.toggle();-->
		top.location.href='/index-fr.php';
		
	}
	
	menuForum = document.getElementById("menu_forum");
	menuForum.flag = false;
	
	menuForum.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuForum.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuForum.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--forum.toggle();-->
		top.location.href='http://www.webpokersource.com/forum';
		
	}
	
	
	/*menuVideo = document.getElementById("menu_video");
	menuVideo.flag = false;
	
	menuVideo.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuVideo.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuVideo.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		video.toggle();
		<!--top.location.href='/video/video.php';-->
		
	}*/
	
	menuBonus = document.getElementById("menu_bonus");
	menuBonus.flag = false;
	
	menuBonus.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuBonus.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuBonus.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--bonus.toggle();-->
		top.location.href='/bonus/index-fr.php';
	}
	
	menuFreeroll = document.getElementById("menu_freeroll");
	menuFreeroll.flag = false;
	
	menuFreeroll.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuFreeroll.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuFreeroll.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--freeroll.toggle();-->
		top.location.href='/freerolls/index-fr.php';
	}
	
	menuRakeback = document.getElementById("menu_rakeback");
	menuRakeback.flag = false;
	
	menuRakeback.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuRakeback.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuRakeback.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--rakeback.toggle();-->
		top.location.href='/rakeback/index-fr.php';
	}
	
	menuVip = document.getElementById("menu_vip");
	menuVip.flag = false;
	
	menuVip.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuVip.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuVip.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--vip.toggle();-->
		top.location.href='/vip/index-fr.php';
	}
	
	menuArticles = document.getElementById("menu_articles");
	menuArticles.flag = false;
	
	menuArticles.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuArticles.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuArticles.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--articles.toggle();-->
		top.location.href='/articles/index-fr.php';
	}
	
	menuLogiciels = document.getElementById("menu_logiciels");
	menuLogiciels.flag = false;
	
	menuLogiciels.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuLogiciels.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuLogiciels.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		<!--logiciels.toggle();-->
		top.location.href='/logiciels/index-fr.php';
	}
	
	/*menuReferez = document.getElementById("menu_referez");
	menuReferez.flag = false;
	
	menuReferez.onmouseover = function() {
		this.style.background='#c9c9c9';
	}
	
	menuReferez.onmouseout= function() {
		if (!this.flag) this.style.background='#e0e0e0';
	}
	
	menuReferez.onclick = function() {
		if (!this.flag)
		{
			this.flag = true;
			this.style.background='#c9c9c9';
		}
		else
		{
			this.style.background='#e0e0e0';
			this.flag = false;
		}
		
		referez.toggle();
		<!--top.location.href='referez/referez.php';-->
	}*/
	
	accueil = new fx.Height('accueil', {duration: 400});
	accueil.hide();
	forum = new fx.Height('forum', {duration: 400});
	forum.hide();
	/*video = new fx.Height('video', {duration: 400});
	video.hide();*/
	bonus = new fx.Height('bonus', {duration: 400});
	bonus.hide();
	freeroll = new fx.Height('freeroll', {duration: 400});
	freeroll.hide();
	rakeback = new fx.Height('rakeback', {duration: 400});
	rakeback.hide();
	vip = new fx.Height('vip', {duration: 400});
	vip.hide();
	articles = new fx.Height('articles', {duration: 400});
	articles.hide();
	logiciels = new fx.Height('logiciels', {duration: 400});
	logiciels.hide();
	/*referez = new fx.Height('referez', {duration: 400});
	referez.hide();*/
}