<!--
/***********************************************
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var defaultMenuWidth="200px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<a href="show.php?ref=welcome1apl08a">Us</a>'
linkset[0]+='<hr>' //Optional Separator
linkset[0]+='<a href="show.php?ref=page0001">Introduction to the french canals</a>'
linkset[0]+='<hr>' //Optional Separator

linkset[1]='<a href="show.php?ref=page0002">Introduction page</a>'
linkset[1]+='<hr>' //Optional Separator
linkset[1]+='<a href="show.php?ref=page0003">Regulations - CEVNI</a>'
linkset[1]+='<hr>' //Optional Separator
linkset[1]+='<a href="show.php?ref=page0004">VNF - licence/chomages</a>'
linkset[1]+='<hr>' //Optional Separator
linkset[1]+='<a href="show.php?ref=page0022">Safety and rules for using the waterways</a>'
linkset[1]+='<hr>' //Optional Separator

linkset[2]='<a href="show.php?ref=page0005">Lock operation and opening hours</a>'
linkset[2]+='<hr>' //Optional Separator
linkset[2]+='<a href="show.php?ref=page0006">Signalling and operating systems</a>'
linkset[2]+='<hr>' //Optional Separator
linkset[2]+='<a href="show.php?ref=page0007">Automatic locks</a>'
linkset[2]+='<hr>' //Optional Separator
linkset[2]+='<a href="show.php?ref=page0009">Bridges and tunnels</a>'
linkset[2]+='<hr>' //Optional Separator
linkset[2]+='<a href="show.php?ref=page0010">Locks on the Rhone and Saone</a>'
linkset[2]+='<hr>' //Optional Separator

linkset[3]='<a href="show.php?ref=page0021">Essential and desirable equipment</a>'
linkset[3]+='<hr>' //Optional Separator
linkset[3]+='<a href="show.php?ref=page0021b">Fendering</a>'
linkset[3]+='<hr>' //Optional Separator

linkset[4]='<a href="show.php?ref=page0028a">Mooring</a>'
linkset[4]+='<hr>' //Optional Separator
linkset[4]+='<a href="show.php?ref=page0028b">The mast</a>'
linkset[4]+='<hr>' //Optional Separator
linkset[4]+='<a href="show.php?ref=page0028c">Over-wintering</a>'
linkset[4]+='<hr>' //Optional Separator
linkset[4]+='<a href="show.php?ref=page0028d">Breakdowns and repairs</a>'
linkset[4]+='<hr>' //Optional Separator
linkset[4]+='<a href="show.php?ref=page0028e">Suitable boats</a>'
linkset[4]+='<hr>' //Optional Separator
linkset[4]+='<a href="show.php?ref=pagebarge2amended">Barges</a>'
linkset[4]+='<hr>' //Optional Separator
linkset[4]+='<a href="show.php?ref=rhone">The River Rhone</a>'
linkset[4]+='<hr>' //Optional Separator


linkset[5]='<a href="show.php?ref=page0023">Fuel/water and washing facilities</a>'
linkset[5]+='<hr>' //Optional Separator
linkset[5]+='<a href="show.php?ref=page0023b">Electricity and gas</a>'
linkset[5]+='<hr>' //Optional Separator
linkset[5]+='<a href="show.php?ref=page0024">Health</a>'
linkset[5]+='<hr>' //Optional Separator
linkset[5]+='<a href="show.php?ref=page0025">Pets</a>'
linkset[5]+='<hr>' //Optional Separator
linkset[5]+='<a href="show.php?ref=galleypage0002">Galley</a>'
linkset[5]+='<hr>' //Optional Separator

linkset[6]='<a href="show.php?ref=page0026">Finances/post/telephones and internet</a>'
linkset[6]+='<hr>' //Optional Separator
linkset[6]+='<a href="show.php?ref=page0027">Shopping</a>'
linkset[6]+='<hr>' //Optional Separator
linkset[6]+='<a href="show.php?ref=page0029">Transport to and from France</a>'
linkset[6]+='<hr>' //Optional Separator
linkset[6]+='<a href="show.php?ref=page0030">Language and courtesy</a>'
linkset[6]+='<hr>' //Optional Separator
linkset[6]+='<a href="show.php?ref=page0031">Tourist offices</a>'
linkset[6]+='<hr>' //Optional Separator
linkset[6]+='<a href="show.php?ref=page0032">Police and emergencies</a>'
linkset[6]+='<hr>' //Optional Separator
linkset[6]+='<a href="show.php?ref=glossarypage">Glossary</a>'
linkset[6]+='<hr>' //Optional Separator

linkset[7]='<a href="show.php?ref=page0014">Floating Through France</a>'
linkset[7]+='<hr>' //Optional Separator
linkset[7]+='<a href="show.php?ref=page0014a">An update on Floating Through France</a>'
linkset[7]+='<hr>' //Optional Separator
linkset[7]+='<a href="show.php?ref=page0015">Going the Wrong Way up the Rhone</a>'
linkset[7]+='<hr>' //Optional Separator
linkset[7]+='<a href="show.php?ref=page0014_extra">Floating Through Holland (and Belgium)</a>'
linkset[7]+='<hr>' //Optional Separator
linkset[7]+='<a href="show.php?ref=page0016">Cruising the Inland Waterways of France & Belgium</a>'
linkset[7]+='<hr>' //Optional Separator
linkset[7]+='<a href="show.php?ref=pagepublicspeaking">Public speaking</a>'
linkset[7]+='<hr>' //Optional Separator

linkset[8]='<a href="show.php?ref=page0013">Bibliography</a>'
linkset[8]+='<hr>' //Optional Separator
linkset[8]+='<a href="show.php?ref=page0011apl08">Useful addresses and websites</a>'
linkset[8]+='<hr>' //Optional Separator
linkset[8]+='<a href="show.php?ref=page0011a">Charts and guidebooks</a>'
linkset[8]+='<hr>' //Optional Separator

linkset[9]='<a href="show.php?ref=pictures">R. Yonne and C. du Nivernais, (2008/2009)</a>'
linkset[9]+='<hr>' //Optional Separator
linkset[9]+='<a href="show.php?ref=pictures2">R. Seine below Paris, (2008/2009)</a>'
linkset[9]+='<hr>' //Optional Separator


////No need to edit beyond here

var ie5=document.all && !window.oper
var ns6=document.getElementById

if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')

function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}

function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}

function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}

function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}

function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}

function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}

if (ie5||ns6)
document.onclick=hidemenu
//-->


