function lien(maframe,monurl)
	{
	window.parent.frames[maframe].location.href = monurl;
	}

function NewWindow(mypage, myname, w, h, scroll)
{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4)
	{
		win.window.focus();
	}
}

function WinPay(mypage, myname, w, h, scroll)
{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable,menubar=yes'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4)
	{
		win.window.focus();
	}
}

function efface_comp()
{
var elt = window.location.href;
elt = elt.replace("&compo=" + document.criteres.compo.value,"");
elt = elt.replace("compo=" + document.criteres.compo.value,"");
elt = elt.replace("&compositeur=" + document.criteres.compositeur.value,"");
elt = elt.replace("compositeur=" + document.criteres.compositeur.value,"");

window.location.replace(elt);
}

function efface_edit()
{
var elt = window.location.href;
elt = elt.replace("&edite=" + document.criteres.edite.value,"");
elt = elt.replace("edite=" + document.criteres.edite.value,"");
elt = elt.replace("&editeur=" + document.criteres.editeur.value,"");
elt = elt.replace("editeur=" + document.criteres.editeur.value,"");

window.location.replace(elt);
}

function efface_instr_p()
{
var elt = window.location.href;
elt = elt.replace("&instru_p=" + document.criteres.instru_p.value,"");
elt = elt.replace("instru_p=" + document.criteres.instru_p.value,"");
elt = elt.replace("&instrument=" + document.criteres.instrument.value,"");
elt = elt.replace("instrument=" + document.criteres.instrument.value,"");

window.location.replace(elt);
}

function efface_epoq()
{
window.document.criteres.epoque.value = "";
window.document.criteres.epoq.value = "";
}

function efface_genre()
{
var elt = window.location.href;
elt = elt.replace("&genr=" + document.criteres.genr.value,"");
elt = elt.replace("genr=" + document.criteres.genr.value,"");
elt = elt.replace("&genre=" + document.criteres.genre.value,"");
elt = elt.replace("genre=" + document.criteres.genre.value,"");

window.location.replace(elt);
}

function efface_diff()
{
window.document.criteres.difficulte.value = "";
window.document.criteres.diff.value = "";
}

function efface_instr()
{
window.document.criteres.instr.value = "";
window.document.criteres.instru.value = "";
}

function efface_arti()
{
var elt = window.location.href;
elt = elt.replace("&arti=" + document.criteres.arti.value,"");
elt = elt.replace("arti=" + document.criteres.arti.value,"");
elt = elt.replace("&artiste=" + document.criteres.artiste.value,"");
elt = elt.replace("artiste=" + document.criteres.artiste.value,"");

window.location.replace(elt);
}
