/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
// English Version
//Contents for menu 1 - Home button
var menu1=new Array()
menu1[0]='<div class="dropdownbuttons"><a class="web" title="Go to Total France Home Page" href="/index.html">Home</a></div>'
menu1[1]='<div class="dropdownbuttons"><a class="web" title="Find out about different advertising methods on Total France" href="/france/advertising.php">Advertising on Total France</a></div>'
menu1[2]='<div class="dropdownbuttons"><a class="web" title="Register with Total France to make posts in forum, place ads in classifieds, network with other members, etc" href="/france/register.php">Register Free on Total France</a></div>'
menu1[3]='<div class="dropdownbuttons"><a class="web" title="See or change details in my site profile" href="/france/members.php?choice=myprofile">See My Site Profile</a></div>'
menu1[4]='<div class="dropdownbuttons"><a class="web" title="See the site profiles for other Total France members" href="/france/members.php">See Site Profiles of Other Members</a></div>'
menu1[5]='<div class="dropdownbuttons"><a class="web" title="Lost your password? You can have it re-sent" href="/france/main.php?login=lostpass">Send Me My Password</a></div>'
menu1[6]='<div class="dropdownbuttons"><a class="web" title="Change or update my registered e-mail address" href="/france/members.php?choice=myprofile&change=email">Change My e-mail Address</a></div>'
menu1[7]='<div class="dropdownbuttons"><a class="web" title="Change or update my login password" href="/france/members.php?choice=myprofile&change=pass">Change Login Password</a></div>'
menu1[8]='<div class="dropdownbuttons"><a class="web" title="Frequently Asked Questions on technical issues and site usage" href="/france/faq.php">HELP ME! - FAQ pages</a></div>'
menu1[9]='<div class="dropdownbuttons"><a class="web" title="Read the Total France Terms of Use" href="/france/termsofuse.php" target=_blank>Terms of Use</a></div>'
menu1[10]='<div class="dropdownbuttons"><a class="web" title="Read the Total France Privacy Policy" href="/france/help.php?pick=privacy" onClick=\'enterWindow=window.open("/france/help.php?pick=privacy","Privacy","width=550,height=550,top=10,left=10,scrollbars=yes"); return false\'>Privacy Policy</a></div>'

//Contents for menu 2 - Classifieds button
var menu2=new Array()
menu2[0]='<div class="dropdownbuttons"><a class="web" title="Browse the Classifieds by category" href="/france/classified.php">Browse the Classifieds</a></div>'
menu2[1]='<div class="dropdownbuttons"><a class="web" title="Search the Classifieds by keyword" href="/france/classified.php?choice=search">Search the Classified Ads</a></div>'
menu2[2]='<div class="dropdownbuttons"><a class="web" title="See the interesting ads that I have placed on my \'Hotlist\'" href="/france/classified.php?choice=fav">See My \'Hotlisted\' Ads</a></div>'
menu2[3]='<div class="dropdownbuttons"><a class="web" title="Create a completely new ad in a category of my choice" href="/france/classified.php?choice=add&catid=&subcatid=">Create a New Ad</a></div>'
menu2[4]='<div class="dropdownbuttons"><a class="web" title="See a list of my own ads" href="/france/classified.php?choice=my">See My Own Ads</a></div>'
menu2[5]='<div class="dropdownbuttons"><a class="web" title="Tell me when new ads are posted in the categories I specify" href="/france/classified.php?choice=notify">Auto-Notify Me About New Ads</a></div>'

//Contents for menu 3 - Reference button /france/trade_directory.php
var menu3=new Array()
menu3[0]='<div class="dropdownbuttons"><a class="web" title="France-related factsheets on  buying property, DIY, fiction, travel, cooking, etc" href="/france/fiches.php">Total France Factsheets</a></div>'
menu3[1]='<div class="dropdownbuttons"><a class="web" title="Find a service in your region" href="/france/trade_directory.php">TF Trade Directory</a></div>'
menu3[2]='<div class="dropdownbuttons"><a class="web" title="France-related books on buying property, DIY, fiction, travel, cooking, etc" href="/reference/library/library.php">Total France Library</a></div>'
menu3[3]='<div class="dropdownbuttons"><a class="web" title="Latest France-related news" href="/france/francenews.php">France-related News</a></div>'
menu3[4]='<div class="dropdownbuttons"><a class="web" title="Useful Links" href="/france/links.php">Useful Links</a></div>'
menu3[5]='<div class="dropdownbuttons"><a class="web" title="Past Total France Newsletters" href="http://www.totalfrance.com/france/forum/viewtopic.php?t=223">Newsletter Archive</a></div>'
menu3[6]='<div class="dropdownbuttons"><a class="web" href="/france/departements.php" onClick=\'enterWindow=window.open("/france/departements.php","Departments","width=400,height=420,top=10,left=10,scrollbars=yes"); return false\' onmouseover="window.status=\'Departement Map\'; return true;" onmouseout="window.status=\'\'; return true;">French Departement Map</a></div>'
menu3[7]='<div class="dropdownbuttons"><a class="web" title="A map of the French Regions" href="/france/images/regionmap_small.gif" onClick=\'enterWindow=window.open("/france/images/regionmap_small.gif","Regions","width=400,height=400,top=10,left=10,scrollbars=yes"); return false\' onmouseover="window.status=\'Region Map\'; return true;"onmouseout="window.status=\'\'; return true;">France Region Map</a></div>'

//Contents for menu 4 - Web Services button
var menu4=new Array()
menu4[0]='<div class="dropdownbuttons"><a class="web" title="Web Services Home" href="/france/web_home.php">Web Services Home</a></div>'
menu4[1]='<div class="dropdownbuttons"><a class="web" title="Discounted All-in-One web package for those who need a fast and easy web site" href="/france/web_start.php">The \'Web Start\' Package</a></div>'
menu4[2]='<div class="dropdownbuttons"><a class="web" title="Individualised Web Services for those who wish to customise new or existing web sites" href="/france/web_services.php">Customised Web Services</a></div>'
menu4[3]='<div class="dropdownbuttons"><a class="web" title="Availability Pages even a novice can update" href="/france/web_availability.php">Availability Pages Made VERY Easy</a></div>'
menu4[4]='<div class="dropdownbuttons"><a class="web" title="Frequently Asked Questions concerning Web Services" href="/france/web_faq.php">Web Services FAQ</a></div>'
menu4[5]='<div class="dropdownbuttons"><a class="web" title="Contact Total France Web Services" href="/france/web_contactus.php">Contact TF Web Services</a></div>'
menu4[6]='<div class="dropdownbuttons"><a class="web" title="Portfolio Samples" href="/france/web_portfolio.php">Portfolio Samples</a></div>'
menu4[7]='<div class="dropdownbuttons"><a class="web" title="Costs for Total France Web Services" href="/france/web_costs.php">Costs</a></div>'




//Contents for menu 5 - Tools
var menu5=new Array()
menu5[0]='<div class="dropdownbuttons"><a class="web" title="FREE TF Stickers" href="/france/window_sticker.php">FREE TF Stickers</a></div>'
menu5[1]='<div class="dropdownbuttons"><a class="web" title="FREE TF Luggage Tags" href="/france/luggage_tag.php">FREE TF Luggage Tag</a></div>'
menu5[2]='<div class="dropdownbuttons"><a class="web" title="Metric Imperial Converter for weight, length, capacity, volume, etc" href="/reference/imperial_metric_converter.php">Metric Imperial Converter</a></div>'
menu5[3]='<div class="dropdownbuttons"><a class="web" title="Currency Converter" href="http://www.moneycorp.com/tools/currency_converter/convert_new.cfm?ReferringAgentID=10026259" target=_blank>Currency Converter</a></div>'


//Contents for menu 6 - Network
var menu6=new Array()
menu6[0]='<div class="dropdownbuttons"><a class="web" title="Search the TF network for other TF members in your departement" href="/france/dep_members.php">Search the TF Member Network</a></div>'
menu6[1]='<div class="dropdownbuttons"><a class="web" title="" href="/france/dep_members.php?choice=myprofile">Update My Own Network Profile</a></div>'
	
var menuwidth='' //default menu width
var menubgcolor='#c4c4f9'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in milliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editing needed

var ie4=document.all
var ns6=document.getElementById&&!document.all
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
return clickreturnvalue()
}
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
