function hidemenu()
{
hidemenu1("A") ;
hidemenu1("B") ;
}
function hidemenu1(aMenu)
{
}
function Newwindow(pageurl,namewin,param)
{window.open(pageurl,namewin,param);}
function record2select()
{division = "selection" ;
selection_act = '
| ' ;
selection_act += " | " ;
empty = "";
selection_act += "X |
" ;
selection_act += "" ;
if (document.getElementById) {
document.getElementById(division).innerHTML = selection_act ;
document.getElementById(division).style.visibility = "visible";}
else if (document.layers) {
dest = document.selection ;
dest.document.write(selection_act) ;
dest.document.close() ;
document.division.visibility = "visible";}
else if (document.all) {
document.all("selection").innerHTML = selection_act ;
division.style.visibility = "visible"; }
}
function record2selectBV()
{division = "selection" ;
selection_act = '| ' ;
selection_act += " | " ;
empty = "";
selection_act += "X |
" ;
selection_act += "" ;
if (document.getElementById) {
document.getElementById(division).innerHTML = selection_act ;
document.getElementById(division).style.visibility = "visible";}
else if (document.layers) {
dest = document.selection ;
dest.document.write(selection_act) ;
dest.document.close() ;
document.division.visibility = "visible";}
else if (document.all) {
document.all("selection").innerHTML = selection_act ;
division.style.visibility = "visible"; }
}
function recordinselect(indice)
{ select_isin[indice] = "1" ;
record2select() ;
urldest = "blank.htm?sel_act=add&select="+select_num[indice]+"&record="+record ;
Xselect.document.location.href = urldest ;}
function recordoutselect(indice)
{ select_isin[indice] = "0" ;
record2select() ;
Xselect.document.location.href ="blank.htm?sel_act=eff&select="+select_num[indice]+"&record="+record ;}
function recordnewselect()
{division = "selectnew" ;
select_new = "" ;
if (document.getElementById) {
document.getElementById(division).innerHTML = select_new ;
document.getElementById(division).style.visibility = "visible";}
else if (document.layers) {
dest = document.selection ;
dest.document.write(select_new) ;
dest.document.close() ;
document.division.visibility = "visible";}
else if (document.all) {
document.all("selection").innerHTML = select_new;
division.style.visibility = "visible"; }}
function newselect()
{select_name = document.select_new['selectnew'].value ;
if (select_name == "")
{ alert('Veuillez saisir une valeur') }
else {
loc = "Record.htm?sel_act=new&select_name="+select_name+"&idlist="+idlist+"&record="+record ;
document.location.href = loc ;}}
function hidediv(division)
{if (document.layers) { document. division.visibility = "hidden" }
else if (document.getElementById) { document.getElementById(division).style.visibility = "hidden" }
else if (document.all) { division.style.visibility = "hidden" }}
function showdiv(division)
{if (document.layers) { document. division.visibility = "visible" }
else if (document.getElementById) { document.getElementById(division).style.visibility = "visible" }
else if (document.all) { division.style.visibility = "visible" }}
document.onclick = hidemenu ;