function toolTip(id,oElement)
 {
  posY = 0;
  while( oElement != null )
   {
    posY += oElement.offsetTop;
    oElement = oElement.offsetParent;
   }
  document.getElementById('tooltip').style.top=posY;

  if (id == 1)
   {
    txt1 = "Top venues help";
    txt2 = "These are the top four venue pages which our users have viewed online, find out more about these exploration venues by clicking on the thumbnails or click the link below for a full list of locations.  You can also see which venues have been voted on the most by our users, click 'Most rated'."; //Top venues
   }
  if (id == 2)
   {
    txt1 = "Featured explorer help";
    txt2 = "From time to time we like to put our users in the spotlight, this is our current lucky explorer who we've pick for fame, find out more about them by click on to their profile."; //Featured explorer
   }
  if (id == 3)
   {
    txt1 = "Recent comments help";
    txt2 = "This is some of the recent comments that our users have posted on urban and underground exploration venue pages."; //Recent comments
   }
  if (id == 4)
   {
    txt1 = "Top explorers help";
    txt2 = "Users who interact and contribute to the site's community are reward with points.  These users have earned more points than any others on the sites.  To give the newbies a chance you can view the results for new or established users."; //Today's top users
   }
  if (id == 5)
   {
    txt1 = "Featured venue help";
    txt2 = "This website is full of amazing urban and underground exploration venues, here is just one of those places that we thought you should now about.  Click the image to find out more or click the link below for a full list of locations."; //Featured location
   }
  if (id == 6)
   {
    txt1 = "Recent photos + videos help";
    txt2 = "This box shows just three of the newest photos and videos which have been added to the site.  You can view these by clicking on the thumbnail or for more photos and videos, click on the link below."; //Recent photos + videos
   }
  if (id == 7)
   {
    txt1 = "Recent trip report help";
    txt2 = "We allow users on the site to write reports of their exploration adventures, here you will see the latest entries added to the site by your freinds."; //Recent trip reports
   }
  if (id == 8)
   {
    txt1 = "Upcoming event help";
    txt2 = "Here is a list of events which our users have added to the site which are taking place in the next few days, you can add an event by clicking the link below or on your calendar page."; //Upcoming events
   }
  if (id == 9)
   {
    txt1 = "User panel help";
    txt2 = "This box offers easy access to the most common tasks our users perform on the site plus some key stats on your login."; //User panel
   }
  if (id == 10)
   {
    txt1 = "Notifications help";
    txt2 = "Every time another user on the site makes contact with you, tags you or invites you to an event or gang, it will show here."; //Notifications
   }
  if (id == 11)
   {
    txt1 = "Friend's activity help";
    txt2 = "Find out what your friends have been up to here, this box tells you if they have added photos, made new friends, commented or explored a new location."; //Friend's activity
   }
  if (id == 12)
   {
    txt1 = "Answer bank help";
    txt2 = "This is the latest question asked in the Answer Bank.  You can ask the site user's any question you have on your mind.  You can answer this question by clicking the link below or click 'more questions' for more options."; //New on Nettleden
   }
  if (id == 13)
   {
    txt1 = "News help";
    txt2 = "The latest news stories from the world of urban and underground exploration.  You can add to this section using the link below or subscribe to this news feed using the RSS feed at the bottom of this page."; //News
   }
  if (id == 14)
   {
    txt1 = "Search help";
    txt2 = "Here you can search the whole site for underground and urban exploration venues, users and text in any page on the site.  Simply enter what you are looking for in the box below and hit search."; //Search
   }
  if (id == 15)
   {
    txt1 = "Log in help";
    txt2 = "If you have already registered then enter your username and password in the box below to log in."; //Log in
   }
  if (id == 16)
   {
    txt1 = "'Why register?' help";
    txt2 = "This site can be used by anyone but to benefit from all the features the site offers and to enable you to fully interact with other users you should sign up to the site for free."; //Register
   }
  if (id == 17)
   {
    txt1 = "Registration help";
    txt2 = "To sign up to the site you will need to enter your details on the sign up pages as well as selecting or uploading a profile picture.  If you are concerned about how we will use the information you are entering or to find out which of your details will be visible of the website, then follow the privacy link at the bottom of the homepage."; //Register
   }
  if (id == 18)
   {
    txt1 = "Explored by help";
    txt2 = "Here you can see just some of the site’s users who have explored this venue, if you have explored this location and want to add it to your exploration list you can by clicking the add button on the right of the main image.";
   }
  if (id == 19)
   {
    txt1 = "Main image help";
    txt2 = "This photo has been selected as the featured image for this venue, the username of the photographer can be seen below the photo.";
   }
  if (id == 20)
   {
    txt1 = "User options help";
    txt2 = "This box allows you to interact with this venue, add it to your exploration list or add photos or videos.  You can also rate this venue 1-5 by clicking on the stars.";
   }
  if (id == 21)
   {
    txt1 = "In the news help";
    txt2 = "Here you will see links to news stories in the press that relate to this location.  You can submit a new news story by clicking 'add'.";
   }
  if (id == 22)
   {
    txt1 = "Recent photos + videos help";
    txt2 = "Here is just a few of the most recent photos and videos added to this venue by our users.  You can view more by clicking 'more' below or, if you are a registered user, add you own photos or videos to this page.";
   }
  if (id == 23)
   {
    txt1 = "Description help";
    txt2 = "Here you can find the location details for this venue plus a short description of the venue and it's current state.";
   }
  if (id == 24)
   {
    txt1 = "History help";
    txt2 = "This is a more detailed write up on the venue and it's past, clicking 'more' will extend the text shown.<br><br>If you have information about this venue that you feel we are missing then you can add to this text by clicking add.";
   }
  if (id == 25)
   {
    txt1 = "Further reading help";
    txt2 = "Here is a list of links to places where you can find more information about this venue.<br><br>If you have information about this venue that you feel we are missing then you can add to this text by clicking add.";
   }
  if (id == 26)
   {
    txt1 = "Coment help";
    txt2 = "Have your say on this venue, you can add your comment in the box below.  If you are a registered user then your comment will appear instantly, otherwise it may take some time for your comment to be approved.";
   }
  if (id == 26)
   {
    txt1 = "Map help";
    txt2 = "This box displays a map of the location, you can enlarge this map by clicking the link below.";
   }
  if (id == 27)
   {
    txt1 = "Local venues help";
    txt2 = "Here are just of the venues which are local to you (in the same country and region).";
   }
  if (id == 28)
   {
    txt1 = "Random venues help";
    txt2 = "Just a few random venues you might like to have a look at ...go on!";
   }
  if (id == 29)
   {
    txt1 = "Full venue list help";
    txt2 = "Here you can find a full list of all of the venues listed on the website, you can narrow down this list by using the search feature.";
   }
  if (id == 30)
   {
    txt1 = "Search overview help";
    txt2 = "When you enter a search string, we search different areas of the website to find what you are looking for.  These areas include venue pages and user profiles, the two sets of results are shown seperatly.  You can view the full list of links for both categories by clicking either of the links below.";
   }
  if (id == 31)
   {
    txt1 = "Venue search help";
    txt2 = "This is a list venue pages which contain the search term you entered.  If know results are shown try changing your search terms or if you have pages of results try entering more search terms to narrow your results.";
   }
  if (id == 32)
   {
    txt1 = "User search help";
    txt2 = "This is a list users who's profiles contain the search term you entered.  If know results are shown try changing your search terms or if you have pages of results try entering more search terms to narrow your results.";
   }
  if (id == 33)
   {
    txt1 = "Edit profile help";
    txt2 = "Here you can change the details which you entered when you signed up, as well as controling what information is shown on your profile.  To make changes you will need to re-enter your current password at the bottom of the page.";
   }
  if (id == 34)
   {
    txt1 = "Contact us help";
    txt2 = "Due to an increase in the amount of SPAM being sent to this website it has become necessary to filter emails being sent.<br><br>In order to do this, we now ask that you select the reason for contact which best suites your reason for contacting us.<br><br>If none of the queries are relevant to you then please select the last option on the list for 'any other query'.";
   }
  if (id == 35)
   {
    txt1 = "Blog help";
    txt2 = "Here you can read the currently selected blog, this box shows the most recent blog by default unless you have clicked on or followed a link to view a specific blog entry.";
   }
  if (id == 36)
   {
    txt1 = "Recent entries help";
    txt2 = "Here you can see the last ten entries written for this blog, old entries can be found by clicking a link in the archive box on the right of this page.";
   }
  if (id == 37)
   {
    txt1 = "Blog help";
    txt2 = "This box is really pretty self explanitory, it tells you about this blog.";
   }
  if (id == 38)
   {
    txt1 = "RSS feed help";
    txt2 = "These are the news feeds which Nettleden.com generates, it is basically a list of content on the site which can be read by a news reader, you can subscribe to these feeds and be kept up to date on site news and activity.";
   }
  if (id == 39)
   {
    txt1 = "Archive help";
    txt2 = "This box lists months in which blog entries were written, clicking on a month will show you the entries for that month.";
   }
  if (id == 40)
   {
    txt1 = "Help box";
    txt2 = "Hello there, I'm a little help box and you will find me all over the site, just click me if you ever need any help!";
   }
  if (id == 41)
   {
    txt1 = "Suggest a venue help";
    txt2 = "If you can't find the place you are looking for, then you can suggest that a venue be added to the website.";
   }
  if (id == 42)
   {
    txt1 = "More information help";
    txt2 = "Here you can find a list of articles on this website which feature additional information about this venue.";
   }
  if (id == 43)
   {
    txt1 = "In the news help";
    txt2 = "This box contains a list of link to news stories which relate to urban and underground exploration.";
   }
  if (id == 44)
   {
    txt1 = "Suggest news link help";
    txt2 = "You can submit a link to a news story for inclusion on the website, simply copy and paste the address from your browser in to the box below.";
   }
  if (id == 45)
   {
    txt1 = "Change favourites help";
    txt2 = "On this page you can change your top four favourite venues which show on your explorer profile.";
   }
  if (id == 46)
   {
    txt1 = "Explored venue help";
    txt2 = "Here you can see the most recent six venues visited by this explorer, you can see their full exploration list by clicking on the link at the bottom of this box.";
   }
  if (id == 47)
   {
    txt1 = "Explored details help";
    txt2 = "Here you can find out all about this explorer, the box contains their username, location details and various other information depending on the user's privacy settings.  The key at the top right of the box indicates whether this is a VIP user, a hollow key indicates a normal user where as a black key indicates that the user is VIP.";
   }
  if (id == 48)
   {
    txt1 = "Interests help";
    txt2 = "Here you can see what kind of exploration venues this explorer is interested in.";
   }
  if (id == 49)
   {
    txt1 = "Contact menu help";
    txt2 = "You can interact with this explorer using the functions in this box, you can message the user, add them as a friend, request more contact details or report this user.";
   }
  if (id == 50)
   {
    txt1 = "Favourite venues help";
    txt2 = "Explorer's can select their top four venues which they have explored, this box displays this user's favourite.";
   }
  if (id == 51)
   {
    txt1 = "Recent photos + videos help";
    txt2 = "These are the public photos and videos that this user has uploaded to the website recently.  Note, any photos or videos that have been uploaded to private galleries will not be displayed here.";
   }
  if (id == 52)
   {
    txt1 = "Recent comments help";
    txt2 = "These are the comments that this explorer has made on pages, photos and videos recently.";
   }
  if (id == 53)
   {
    txt1 = "Friends help";
    txt2 = "Here you can see the full list of friends that this user has, you can add your own friends by clicking on the option on the explorers profile page.";
   }
  if (id == 54)
   {
    txt1 = "Random explorers help";
    txt2 = "Here are some random explorers, just a few of our many registered users who showed up then the page loaded.";
   }
  if (id == 55)
   {
    txt1 = "Local explorers help";
    txt2 = "Here are just a few random explorers from your local area.";
   }
  if (id == 56)
   {
    txt1 = "Upgrade membership help";
    txt2 = "You can upgrade your membership which will get you access to venue maps, grid references and location details.  It is FREE to upgrade if you are part of a caving group.";
   }
  if (id == 57)
   {
    txt1 = "Private message help";
    txt2 = "Here you can write a private message to send to another explorer.  Simply click the name of the friend you wish to send a message to and then enter the message you want to send in the box on the left.";
   }
  if (id == 58)
   {
    txt1 = "Trip reports help";
    txt2 = "Here you can read the currently selected trip report, this box shows the most recent report by default unless you have clicked on or followed a link to view a specific report.";
   }
  if (id == 59)
   {
    txt1 = "Recent reports help";
    txt2 = "Here you can see the last ten trip reports written by this explorer, old reports can be found by clicking a link in the archive box on the right of this page.";
   }
  if (id == 60)
   {
    txt1 = "Archive help";
    txt2 = "This box lists months in which trip reports were written, clicking on a month will show you the reports for that month.";
   }
  if (id == 61)
   {
    txt1 = "Venue details help";
    txt2 = "Here you can find out more about the venue which these trip reports relate to.";
   }
  if (id == 62)
   {
    txt1 = "Explore details help";
    txt2 = "Here you can find out more about the explore who wrote these trip reports.";
   }
  if (id == 63)
   {
    txt1 = "Compose a trip report help";
    txt2 = "Here you can publish a write up about your exploration trip, you can tag up to five venues which you visited on the trip and up to ten explorers who attended the trip with you.";
   }
  if (id == 64)
   {
    txt1 = "Reports management help";
    txt2 = "Here you can manage your trip reports and see the total number of comments your reports have recieved.";
   }
  if (id == 65)
   {
    txt1 = "Ask a question help";
    txt2 = "Here you can post an urban or underground exploration related question for the users of Nettleden.com to answer.";
   }
  if (id == 66)
   {
    txt1 = "Answer Bank help";
    txt2 = "Here you can see a list of the most recently asked questions on the site and a list of questions which have not yet been answered by our users, you can click for more.";
   }
  if (id == 67)
   {
    txt1 = "Answer Bank search help";
    txt2 = "Find a question, you can search for a word or phrase which might appear in the question.";
   }
  if (id == 68)
   {
    txt1 = "Question by location help";
    txt2 = "From here you can click through to all of the questions add to the Answer Bank, they are sorted by country and region.";
   }
  if (id == 69)
   {
    txt1 = "Question for... help";
    txt2 = "Here you can see all of the questions for the country you clicked on, the questions are sorted by region.";
   }

  if (id == 70)
   {
    txt1 = "Question help";
    txt2 = "You are now viewing on of the questions added to Nettleden's Answer Bank.  If the question has already been answered then you will see these answers below.  You can also add an answer by typing it in to the box below.";
   }
  if (id == 71)
   {
    txt1 = "Account settings help";
    txt2 = "Here you can change your privacy settings, which emails you recieve from the website, opt in or out of our mailing list and change the appearance of the website.";
   }
  if (id == 72)
   {
    txt1 = "Gangs help";
    txt2 = "This box shows the gangs you are currently a member of, if you are not a member of any gangs, you can start your own by clicking the button to the right.";
   }
  if (id == 73)
   {
    txt1 = "Create gang help";
    txt2 = "This page allows you to start your own gang and invite your friends to join.  A gang is a private exploration group, once set up only members you invite will be able to see the gang.";
   }
  if (id == 74)
   {
    txt1 = "Gang wall help";
    txt2 = "The wall is a place for chat, banter and comments between gang members - as gangs are private the wall is completely un-moderated.";
   }
  if (id == 75)
   {
    txt1 = "Gang details help";
    txt2 = "This box lists the details of the gang you are viewing including the explorer who created, if no one is listed as the creator of the gang, it means they have left leaving the gang orphaned.  If a gang has been orphaned it is not possible to make any changes to the gang and new members cannot be invited to join.";
   }
  if (id == 76)
   {
    txt1 = "Gang news help";
    txt2 = "The gang news box contains information added and updated by the gang owner.";
   }
  if (id == 77)
   {
    txt1 = "Gang members help";
    txt2 = "Here you can see just some of the members of this gang, there may be more which you can view by clicking the link in the bottom right hand corner of this box.";
   }
  if (id == 78)
   {
    txt1 = "Gang events help";
    txt2 = "When events are added to this group, you will see this private events listed here - you can click an event for more details.";
   }
  if (id == 79)
   {
    txt1 = "Private gallery help";
    txt2 = "Photos uploaded to this gallery are only visible to members of this gang.";
   }
  if (id == 80)
   {
    txt1 = "Social bookmark help";
    txt2 = "These sites allow you to store, tag and share links across the internet. You can share these links both with friends and people with similar interests. You can also access your links from any computer you happen to be using.";
   }






  if (id == 995)
   {
    txt1 = "Map";
    txt2 = "Sorry, no map is available for this location.";
   }
  if (id == 996)
   {
    txt1 = "Access status";
    txt2 = "In order to reduce unathorised visits and vandalism to the venues listed on this website, we restrict certain information from new and uknown users.<br><br>To find out how to gain access to this information for free, <a href='upgrade.php'>click here</a>.";
   }
  if (id == 997)
   {
    txt1 = "Grid reference";
    txt2 = "In order to reduce unathorised visits and vandalism to the venues listed on this website, we restrict certain information from new and uknown users.<br><br>To find out how to gain access to this information for free, <a href='upgrade.php'>click here</a>.";
   }
  if (id == 998)
   {
    txt1 = "Map";
    txt2 = "In order to reduce unathorised visits and vandalism to the venues listed on this website, we restrict certain information from new and uknown users.<br><br>To find out how to gain access to this information for free, <a href='upgrade.php'>click here</a>.";
   }
  if (id == 999)
   {
    txt1 = "Help unavailable";
    txt2 = "Sorry, there is no help available for this part of the website.";
   }




  if (id == 0) text ="";
  if (1 <= id)
   {
    text = "<table width='420' cellpadding='3' cellspacing='0' border='0'><tr><td class='tipbox'>";
    text = text + "<table width='100%' cellpadding='0' cellspacing='0' border='0'><tr><td><b>";
    text = text + txt1;
    text = text + "</b></td><td><div align='right'><a href='javascript:toolTip(0)'><img src='/images/close.jpg' width='12' height='12' alt='Close help box' border='0'></a></div></td></tr></table>";
    text = text + txt2;
    text = text + "</td></tr></table>";
   }
  document.getElementById('tooltip').innerHTML  = text;
 }