// Menu Mobile en angle toujours visible coin superieur gauche  @ CRUELLS.FR
var p_top=1 //hauteur debut du menu
var p_left=1 //distance du bord
var p_wth=50 //largeur
var colorbg = ""; //couleur de fond
var colorlien = "#000000"; //couleur du texte
var colorsel = "#79A3A3"; //couleur selection
menutexte = new Array;
menulien = new Array;
menutarget = new Array;

var base = "http://www.lycie.fr/";

// Liens
menutexte[0]= '<img src="' + base + 'images/menu/_accueil.png" width="50" height="35"   border="0" title="Accueil">'
menulien[0]= 'index2.html'
menutarget[0]='_top'
menutexte[1]= '<img src="' + base + 'images/menu/_istanbul.png" width="50" height="35"  border="0" title="Istanbul">'
menulien[1]= 'istanbul.html'
menutarget[1]='_self' //dans même page en supprimant les cadres
menutexte[2]= '<img src="' + base + 'images/menu/_lycie.png"  width="50" height="35"   border="0" title="la Lycie">'
menulien[2]= 'lycie.html'
menutarget[2]='_self'
menutexte[3]= '<img src="' + base + 'images/menu/_cappadoce.png"  width="50" height="35"  border="0" title="la Cappadoce en hiver & en automne">'
menulien[3]= 'cappadoce.html'
menutarget[3]='_self'//ouverture même page
menutexte[4]= '<img src="' + base + 'images/menu/_anatolie.png" width="50" height="35"   border="0" title="l&acute;Anatolie, Ankara & Konya">'
menulien[4]= 'anatolie.html'
menutarget[4]='_self'
menutexte[5]= '<img src="' + base + 'images/menu/_est.png" width="50" height="35"   border="0" title="l&acute;Est, de Gaziantep &agrave; Kars">'
menulien[5]= 'est-turquie.html'
menutarget[5]='_self'
menutexte[6]= '<img src="' + base + 'images/menu/_ouest.png" width="50" height="35"   border="0" title="l&acute;Ouest, Egee & Marmara">'
menulien[6]= 'ouest-turquie.html'
menutarget[6]='_self'
menutexte[7]= '<img src="' + base + 'images/menu/_sud.png" width="50" height="35"   border="0" title="Le Sud, d&acute;Antalya &agrave; Antakya">'
menulien[7]= 'sud-turquie.html'
menutarget[7]='_self'
menutexte[8]= '<img src="' + base + 'images/menu/_mer-noire.png" width="50" height="35"  border="0" title="Le nord le long de la Mer Noire">'
menulien[8]= 'nord-turquie.html'
menutarget[8]='_self'
menutexte[9]= '<img src="' + base + 'images/menu/_info.png" width="50" height="35"  border="0" title="Infos pratiques">'
menulien[9]= 'infos.html'
menutarget[9]='_self'
menutexte[10]= '<img src="' + base + 'images/menu/_liens.png" width="50" height="35"   border="0" title="Liens externes">'
menulien[10]= 'liens.html'
menutarget[10]='_self'
menutexte[11]=  '<img src="' + base + 'images/menu/_cartes.png" width="50" height="35"   border="0" title="Plans et Cartes">'
menulien[11]= 'cartes-turquie.html'
menutarget[11]='_self'

// MENU .......
window.onload = pos_menu;

document.write('<SPAN ID="menu" style="position:absolute;top:'+p_top+';left:'+p_left+';"><table backgroundbgcolor=\''+colorbg+'\'" border=0 bordercolorlight=\''+colorbg+'\'" bordercolordark=#0000FF WIDTH='+p_wth+'><TR><TD><img src="' + base + 'images/menu/loupe.png" title="taille du texte" width="23" height="16" align="top"><a href="javascript:fontZoom(140)"><font size="3"><strong>&nbsp;A&nbsp;</strong></font></a><a href="javascript:fontZoom(100)"><font size="2"><strong>A&nbsp;</strong></font></a><a href="javascript:fontZoom(75)"><font size="1"><strong>A</strong></font></a></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="'+base+''+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);
}

function fontZoom(size)
{
 document.getElementById('page').style.fontSize=size+'%'
}

