function load_pop_free_html(arborescence,large,haut) {
x=(screen.width-(large))/2
y=(screen.height-(haut))/2
direction=arborescence;
fen=window.open(direction,'name','width='+large+',height='+haut+', menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0')

fen.focus();
fen.moveTo(x,y);
}

function load_pop_free(arborescence,large,haut) {
x=(screen.width-(large))/2
y=(screen.height-(haut))/2

fen=window.open("",'','width='+large+',height='+haut+', menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0')
fen.document.write('<html><head></head><body onclick="parent.close();" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0"><table width="100%" height="100%"><tr><td align="center"><table  border="0" cellpadding="1"><tr><td valign="top" bgcolor="#9A9EAA"><img src= "' + arborescence + '"></tr></td></table></tr></td></table></body></html>')
fen.focus();
fen.moveTo(x,y);
}



function load_pop(arbo) {

fen=window.open(arbo,'','width=520,height=500,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0')
fen.focus();
fen.moveTo(0,0);
}

function Loadpage(rub,dossier,page){
direction="../"+page+".html"
opener.top.page.location.href=direction;

}

function switch_rub(urlindex,pageinterne){
opener.top.page.location.href=pageinterne;

}

function pop_auto(name,type) {

chemin=name+"/"+type+".html"

fen=window.open(chemin,'auteur','width=520,height=500, menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0')
fen.focus();
fen.moveTo(0,0);
}

function load_img(rubcouv,namecouv,numcouv) {
x=(screen.width-(500))/2
y=(screen.height-(500))/2
large=500
haut=500

fen=window.open("",'','width='+large+',height='+haut+', menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0')
fen.document.write('<html><head></head><body onclick="parent.close();" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0"><table width="100%" height="100%"><tr><td align="center"><table  border="0" cellpadding="1"><tr><td valign="top" bgcolor="#9A9EAA"><img src= "img/' + namecouv + '_'+ numcouv +'.gif"></tr></td></table></tr></td></table></body></html>')
fen.focus();
fen.moveTo(x,y);
}




