
function bookmark(){
	if (document.all) {window.external.AddFavorite("http://www.gamepedia.fr", "Gamepedia - L'encyclopédie du jeu vidéo nouvelle génération");}
	else if (window.sidebar) {window.sidebar.addPanel("Gamepedia - L'encyclopédie du jeu vidéo nouvelle génération", "http://www.gamepedia.fr", "");}
	}
	
function resetCriteres(){
	if(document.forms[0].recherche_console.value || document.forms[0].recherche_editeur.value || document.forms[0].recherche_developpeur.value || document.forms[0].recherche_genre.value || document.forms[0].recherche_annee.value){
	alert('Vous avez saisi le nom d\'un jeu :\nVos autres critères seront ignorés.');}
	}
	
function Show(koi){
	if (document.all){ layer = document.all(koi).style;}
	else if (document.getElementById){ layer = document.getElementById(koi).style;}
	else if (document.layers){ layer = document.koi;}
	if (layer.display =='none'){layer.display = 'block';}
	}

function Hide(koi){
	if (document.all){ layer = document.all(koi).style;}
	else if (document.getElementById){ layer = document.getElementById(koi).style;}
	else if (document.layers){ layer = document.koi;}
	if (layer.display =='block'){layer.display = 'none';}
	}

function ShowHide(koi){
	if (document.all){ layer = document.all(koi).style;}
	else if (document.getElementById){ layer = document.getElementById(koi).style;}
	else if (document.layers){ layer = document.koi;}
	if (layer.display =='block'){layer.display = 'none';}
	else {layer.display = 'block';}
	}

function ShowForm(nom){
	nom_form = nom + 'Table';
	if (document.all){ koi = document.all(nom_form).style;}
	else if (document.getElementById){ koi = document.getElementById(nom_form).style;}
	else if (document.layers){ koi = document.nom_form;}
	if (koi.display =='none'){ koi.display = 'block'; if(!document.getElementById('wysiwyg' + nom)){generate_wysiwyg(nom, 480, 100);}}
	}
	
function allume(note, what){
	for(i=1; i<=note; i++){document.getElementById(what+'_'+i).src = 'images/star_on.gif';}
	}

function eteind(note, what){
	for(i=1; i<=note; i++){document.getElementById(what+'_'+i).src = 'images/star_off.gif';}
	}

function valide(note, form){
	document.forms[form].elements['stars'].value = note; document.forms[form].submit();
	}