//NAVIGATION HAUT
/*
Flash variable menu.swf?rub=x
rub=1 > ASI
rub=2 > CENTRE
rub=3 > LOISIRS // supprimé avril 06
rub=4 > SOLUTION // supprimé avril 06
rub=5 > ESPACE
*/
function GoUrl(chemin) { window.location.href=chemin; }

function rub01_01() {GoUrl("../asi/presentation.asp");}
function rub01_02() {GoUrl("../asi/equipe.asp");}
function rub01_03() {GoUrl("../asi/structure.asp");}
function rub01_04() {GoUrl("../asi/bureau.asp");}

function rub02_01() {GoUrl("../centre/presentation.asp");}
function rub02_02() {GoUrl("../centre/vie.asp");}
function rub02_03() {GoUrl("../centre/inscription.asp");}
function rub02_04() {GoUrl("../centre/facture.asp");}
/*
function rub03_01() {GoUrl("../loisirsAdultes/presentation.asp");}
function rub03_02() {GoUrl("../loisirsAdultes/organisation.asp");}
function rub03_03() {GoUrl("../loisirsAdultes/programme.asp");}

function rub04_01() {GoUrl("../solutions/presentation.asp");}
function rub04_02() {GoUrl("../solutions/journal_smo.asp");}
function rub04_03() {GoUrl("../solutions/dos_techniq.asp");}
function rub04_04() {GoUrl("../solutions/references.asp");}
*/
function rub05_01() {GoUrl("../espace/animateurs.asp");}
function rub05_02() {GoUrl("../espace/mairies.asp");}

//NAV GAUCHE
function menuGau01() {GoUrl("../actus/default.asp");}
function menuGau02() {GoUrl("../photos/default.asp");}
function menuGau03() {GoUrl("../divers/avis.asp");}
function menuGau04() {GoUrl("../divers/contacts.asp");}

// CONTOURS PHOTO1
function contoursImg(chemin) {
document.write("<TABLE width=40 border=0 cellspacing=0 cellpadding=0>");
document.write(" <TR>");
document.write("  <TD><IMG src='../imgs/ContImag/HG.gif' width=14 height=10></TD>");
document.write("  <TD background='../imgs/ContImag/H.gif'><IMG src='../imgs/1x1.gif' width=1 height=10></TD>");
document.write("  <TD><IMG src='../imgs/ContImag/HD.gif' width=12 height=10></TD>");
document.write(" </TR>");
document.write(" <TR>");
document.write("  <TD background='../imgs/ContImag/G.gif'><IMG src='../imgs/1x1.gif' width=14 height=1></TD>");
document.write("  <TD nowrap><IMG src='"+chemin+"'></TD>");
document.write("  <TD background='../imgs/ContImag/D.gif'><IMG src='../imgs/1x1.gif' width=12 height=1></TD>");
document.write(" </TR>");
document.write(" <TR>");
document.write("  <TD><IMG src='../imgs/ContImag/BG.gif' width=14 height=10></TD>");
document.write("  <TD background='../imgs/ContImag/B.gif'><IMG src='../imgs/1x1.gif' width=1 height=10></TD>");
document.write("  <TD><IMG src='../imgs/ContImag/BD.gif' width=12 height=10></TD>");
document.write(" </TR>");
document.write("</TABLE>");
}

// CONTOURS PHOTO2
function contoursImg1(chemin) {
document.write("<TABLE width=30 border=0 cellspacing=0 cellpadding=7 align='left'><TR><TD>");
document.write("<TABLE width=30 border=0 cellspacing=0 cellpadding=0>");
document.write(" <TR>");
document.write("  <TD><IMG src='../imgs/ContImag/HG1.gif' width=3 height=3></TD>");
document.write("  <TD background='../imgs/ContImag/H1.gif'><IMG src='../imgs/1x1.gif' width=3 height=3></TD>");
document.write("  <TD><IMG src='../imgs/ContImag/HD1.gif' width=2 height=3></TD>");
document.write(" </TR>");
document.write(" <TR>");
document.write("  <TD background='../imgs/ContImag/G1.gif'><IMG src='../imgs/1x1.gif' width=3 height=3></TD>");
document.write("  <TD nowrap><IMG src='"+chemin+"'></TD>");
document.write("  <TD background='../imgs/ContImag/D1.gif'><IMG src='../imgs/1x1.gif' width=2 height=2></TD>");
document.write(" </TR>");
document.write(" <TR>");
document.write("  <TD><IMG src='../imgs/ContImag/BG1.gif' width=3 height=6></TD>");
document.write("  <TD background='../imgs/ContImag/B1.gif'><IMG src='../imgs/1x1.gif' width=6 height=6></TD>");
document.write("  <TD><IMG src='../imgs/ContImag/BD1.gif' width=2 height=6></TD>");
document.write(" </TR>");
document.write("</TABLE>");
document.write("</TD><TR></TABLE>");
}

function marge() {
document.write("<IMG src=../imgs/1x1.gif width=20 height=1>");
}

function haut() {
document.write("<DIV align='right' class='txt12'>> <A href='#haut' class='txt12'>Haut page</A></DIV>");
}

function pastille(titre,styleCSS,ancreName,HautPage) {
if (HautPage==1)  {
document.write("<BR>");
haut();
}
else document.write("");
document.write("<A name='"+ancreName+"'></A><BR>");
document.write("<TABLE width=10 border=0 cellspacing=0 cellpadding=0>");
document.write("<TR>");
document.write("<TD class='"+styleCSS+"'><IMG src='../imgs/pastilL.gif' width=7 height=15></TD>");
document.write("<TD nowrap class='"+styleCSS+"'><B>"+titre+"</B></TD>");
document.write("<TD class='"+styleCSS+"'><IMG src='../imgs/pastilR.gif' width=7 height=15></TD>");
document.write("</TR>");
document.write("</TABLE>");
}

function PopCarte() {
carte=window.open("../flash/carte.htm","carte","width=710,height=500");
carte.focus();
}

function PopInscription() {
PopInsc = window.open("../centre/PopIncription.asp","popInsc","width=620,height=400,scrollbars=1");
PopInsc.focus();
}

function plan01() {
plan1=window.open("../plans/plans01.html","plan1","width=441,height=520");
plan1.focus();
}

function plan02() {
plan2=window.open("../plans/plans02.html","plan2","width=473,height=602");
plan2.focus();
}

function plan03() {
plan3=window.open("../plans/plans03.html","plan3","width=500,height=534");
plan3.focus();
}

function plan04() {
plan4=window.open("../plans/plans04.html","plan4","width=442,height=448");
plan4.focus();
}
