//PLF-http://www.jejavascript.net/  menu mobile toujours visible
// divers
var p_top=1 //hauteur debut du menu
var p_left=6 //distance du bord
var p_wth=50 //largeur
var colorbg = ""; //couleur de fond
var colorlien = "#F11F99"; //couleur du texte
var colorsel = ""; //couleur selection
menutexte = new Array;
menulien = new Array;
menutarget = new Array;

// MENU NAVIGATION
menutexte[0]= '<img src="../images/home-chine.gif" width="50" height="39" border="0" title="Entr&eacute;e du Site">'
menulien[0]= 'http://www.yunnan.fr'
menutarget[0]='_top' //dans même page en supprimant les cadres
menutexte[1]= '<img src="../images/villes.gif"  width="38" height="40" border="0" title="Voir P&eacute;kin, Xi&acute;an et Guilin">'
menulien[1]= 'http://www.yunnan.fr/chine/villes.html'
menutarget[1]='_self'//ouverture même page
menutexte[2]= '<img src="../images/home-yunnan.gif"  width="50" height="45" border="0" title="Direction le Yunnan">'
menulien[2]= 'http://www.yunnan.fr/yunnan/yunnan.html'
menutarget[2]='_self'
menutexte[3]= '<img src="../images/mini-voir.png" width="50" height="40" border="0" title="Sites a voir en Chine">'
menulien[3]= 'http://www.yunnan.fr/chine/a-voir-en-chine.html'
menutarget[3]='_self'
menutexte[4]='<img src="../images/mini-recettes.png" width="50" height="40" border="0" title="Recettes de cuisine chinoise">'
menulien[4]='http://www.yunnan.fr/chine/recettes-cuisine.html'
menutarget[4]='_self' 
menutexte[5]= '<img src="../images/livres.gif" width="49" height="40" border="0" title="Conseils de lecture">'
menulien[5]= 'http://www.yunnan.fr/chine/biblio.html'
menutarget[5]='_self'
menutexte[6]= '<img src="../images/cadeau.png" width="40" height="45" border="0" alt="wallpaper"" title="Bonus">'
menulien[6]= 'http://www.yunnan.fr/chine/wallpaper.html' 
menutarget[6]='_self'
menutexte[7]= '<img src="../images/ico-meteo.png" width="50" height="41" border="0" title="M&eacute;t&eacute;o de la Chine en temps r&eacute;el">'
menulien[7]= 'http://www.yunnan.fr/chine/meteo-chine.html'
menutarget[7]='_self'
menutexte[8]= '<img src="../images/quotidien.png" width="50" height="40" border="0" alt="actualites"" title="la Chine aujourdhui">'
menulien[8]= 'http://www.yunnan.fr/chine/chine-aujourdhui.html' 
menutarget[8]='_self'
menutexte[9]= '<img src="../images/links.png" width="50" height="44" border="0" title="Liens externes">'
menulien[9]= 'http://www.yunnan.fr/chine/liens.html'
menutarget[9]='_self'
menutexte[10]= '<img src="../images/sceau-rond2.png" width="40" height="40" border="0" alt="email"" title="et si on ecrivait un petit mot &agrave; l&acute;auteur">'
menulien[10]= 'mailto:webmaster@yunnan.fr?subject=feed-back site chine'
menutarget[10]=''
menutexte[11]= '<img src="../images/coeur.gif" width="40" height="40" border="0" title="M&acute;ajouter &agrave; vos signets">'
menulien[11]= 'http://www.yunnan.fr/chine/chine-favori.html'
menutarget[11]='_new'



// MENU .......
window.onload = pos_menu;
document.write('<SPAN ID="menu" style="position:absolute;top:'+p_top+';left:'+p_left+';"><table bgcolor=\''+colorbg+'\'" border=0 bordercolorlight=\''+colorbg+'\'" bordercolordark=#0000FF WIDTH='+p_wth+'><TR> <TD ALIGN=center><FONT FACE="Verdana, Arial" SIZE=1 COLOR="'+colorlien+'">Menu</FONT></TD></TR>')
var a=0
while (a<menutexte.length) {
document.write('<TR><TD align=center onMouseOut="this.style.background=\''+colorbg+'\'" onMouseOver="this.style.background=\''+colorsel+'\'" STYLE="cursor:hand"><FONT FACE="Verdana, Arial" SIZE=1><B><A HREF="'+menulien[a]+'" TARGET="'+menutarget[a]+'" STYLE="text-decoration:none;color:'+colorlien+'">'+menutexte[a]+'</A></B></FONT></TD></TR>');
a++;
}
document.write('</TR></TABLE></SPAN>')

ie4=document.all
ns6=document.getElementById&&!document.all
ns4=document.layers

function pos_menu() {
if (ie4) {menu.style.pixelTop=document.body.scrollTop+p_top}
else if (ns6) {document.getElementById("menu").style.top=window.pageYOffset+p_top}
else if (ns4) {eval(document.menu.top=eval(window.pageYOffset+p_top));}
if(ie4 || ns6 || ns4)
setTimeout("pos_menu()",1);
}

// script anti-clic droit
function refresh() {  
document.location.reload();  
return false;  
} 
document.oncontextmenu = refresh; 

// script antiframes
if (top != self)
top.location.href = location.href;

