var defaultMenuWidth="160px"

 //--------------------------------set default menu width.

var linkset=new Array()
//---------------------------------SPECIFY MENU SETS AND THEIR LINKS

//---------global sites

linkset[0]='<a href="http://www.andalucian-experience.co.uk" target="_blank">Andalucian Experience</a>'
linkset[0]+='<a href="http://www.horizonte-vertical.net"target="_blank">Horizonte Vertical</a>'
linkset[0]+='<a href="http://www.hotelcaliforniaspain.com"target="_blank">Hotel California</a>'
linkset[0]+='<a href="http://www.doyouwanna.net"target="_blank">Do you wanna</a>'
linkset[0]+='<a href="http://www.flypiedrahita.com"target="_blank">Fly Piedrahita</a>'
linkset[0]+='<a href="http://www.escapexc.com"target="_blank">Escape-XC</a>'
linkset[0]+='<a href="http://www.maison-du-moulin.co.uk"target="_blank">Annecy-mdm</a>'
linkset[0]+='<a href="http://www.lastresort.info"target="_blank">The Last Resort</a>'
linkset[0]+='<a href="http://www.xtc-paragliding.com"target="_blank">XTC-Slovenia</a>'
linkset[0]+='<a href="http://www.lejair.com"target="_blank">Lijair</a>'
linkset[0]+='<a href="http://www.austrianarena.com"target="_blank">Austrian Arena</a>'
linkset[0]+='<a href="http://www.fly1166.com"target="_blank">Clear Skies-Pyrenees</a>'
linkset[0]+='<a href="http://www.flyspain.co.uk"target="_blank">Fly Spain</a>'
linkset[0]+='<a href="http://www.ikarus.com.tr/english/index.htm"target="_blank">Oludeniz:Live</a>'
linkset[0]+='<a href="http://www.skynomad.com/"target="_blank">SkyNomad:Bulgaria</a>'
linkset[0]+='<a href="http://www.absolute-adventure.com/engleski/letenje.php"target="_blank">Absolute:Croatia</a>'

//-------------asia  http://www.nirvanaadventures.com/home/home.html

linkset[1]='<a href="http://www.nepal-paragliding.com"target="_blank">Nepal</a>'
linkset[1]+='<a href="http://www.pgashram.com/paragliding.html"target="_blank">Ashram:India</a>'
linkset[1]+='<a href="http://www.adventure-x.com"target="_blank">Adventure-X</a>'
linkset[1]+='<a href="http://www.flyingfever.net"target="_blank">Flying Fever</a>'
linkset[1]+='<a href="http://www.hkpa.net"target="_blank">Hong Kong</a>'
linkset[1]+='<a href="http://www.wingstaiwan.com/"target="main">Wings:Taiwan</a>'
linkset[1]+='<a href="http://www.nirvanaadventures.com/home/home.html"target="main">Nirvana:India</a>'
linkset[1]+='<a href="http://www.thai-paragliding.com/"target="_blank">ThaiPara-Thailand</a>'
linkset[1]+='<a href="http://www.airfield.co.kr/english/English_index.asp"target="_blank">Airfield-Korea</a>'
linkset[1]+='<a href="http://parafly-china.com/about%20us.htm"target="_blank">Parafly-China</a>'

//--------------africa

linkset[2]='<a href="http://www.para-taxi.com/about-us.shtml"target="_blank">Para-Taxi</a>'
linkset[2]+='<a href="http://www.cloudbase-paragliding.co.za/intro.html"target="_blank">Cloudbase:S.A.</a>'
linkset[2]+='<a href="http://www.xs4all.nl/~nees64/para/link.htm"target="_blank">African-Euro</a>'
linkset[2]+='<a href="http://www.birdmen.co.za"target="_blank">Birdmen-Cape Town</a>'
linkset[2]+='<a href="http://www.sahpa.co.za/sahpa/main.jsp"target="_blank">SAHPA-South Africa</a>'
linkset[2]+='<a href="http://www.paragliding.co.za/ppg/"target="_blank">Powered-South Africa</a>'
linkset[2]+='<a href="http://eternitypress.co.za/freshair/"target="_blank">Fresh Air-Cape Town</a>'
linkset[2]+='<a href="http://http://www.flyza.co.za/front.htm"target="_blank">Para Adventures-SA</a>'
linkset[2]+='<a href="http://www.paraglide-south-africa.com/"target="_blank">Paraglide-S.A.</a>'
linkset[2]+='<a href="http://www.blusky.co.za/"target="_blank">Blusky-Cape Town</a>'

//--------------usa and southern hemisphere

linkset[3]='<a href="http://www.geocities.com/tom_the_flyboy/"target="_blank">Flyboy-Australia</a>'
linkset[3]+='<a href="http://www.butterflyparagliding.co.uk/new_zealand.htm"target="_blank">Butterfly-NZ</a>'
linkset[3]+='<a href="http://www.skywings.co.nz/"target="_blank">Skywings-NZ</a>'
linkset[3]+='<a href="http://www.wingsandwaves.co.nz"target="_blank">Wings&Waves-NZ</a>'
linkset[3]+='<a href="http://www.flytorrey.com"target="_blank">Fly Torrey-USA</a>'
linkset[3]+='<a href="http://www.aspenparagliding.com"target="_blank">Aspen-USA</a>'
linkset[3]+='<a href="http://www.interturkestates.com"target="_blank">California</a>'
linkset[3]+='<a href="http://wingsofrogallo.org/"target="_blank">San Francisco</a>'
linkset[3]+='<a href="http://www.ushga.org/"target="_blank">USHGA</a>'
linkset[3]+='<a href="http://soga.ca/"target="_blank">Soga-Ontario-Canada</a>'
linkset[3]+='<a href="http://www.tandemhanggliding.com/"target="_blank">Queenstown Adventure-NZ</a>'
linkset[3]+='<a href="http://www.viparagliding.com/"target="_blank">Vancouver Island</a>'
linkset[3]+='<a href="http://www.extremeair.co.nz/Main/index.htm"target="_blank">Extreme Air-NZ</a>'
linkset[3]+='<a href="http://www.volerparapente.com.ar/"target="_blank">Argentina</a>'
linkset[3]+='<a href="http://www.hanggliding.com.au/"target="_blank">Sydney-Australia</a>'
linkset[3]+='<a href="http://www.paragliding-tales-and-reviews.com/"target="_blank">Australian ParaTails</a>'
linkset[3]+='<a href="http://www.parapente.com.ar/"target="_blank">Argentina-Parapente</a>'
linkset[3]+='<a href="http://www.parapentelatino.com.ar/"target="_blank">Extreme Latino</a>'
linkset[3]+='<a href="http://www.simonvacher.com/"target="_blank">Dominic Republic</a>'
linkset[3]+='<a href="http://www.flyranch.com.ar/html/en/defaultI.htm"target="_blank">Fly Ranch-Argentina</a>'
linkset[3]+='<a href="http://www.volerparapente.com.ar/"target="_blank">Argentina</a>'
linkset[3]+='<a href="http://www.parapente.cl/frames.htmwww.hanggliding.com.au/"target="_blank">Chile-Parapente</a>'
linkset[3]+='<a href="http://skylineparagliding.50megs.com/Jamaica/"target="_blank">Skyline-Jamaica</a>'

//-------------------weather site links

linkset[4]='<a href="http://www.xcweather.co.uk/"target="_blank">XC weather</a>'
linkset[4]+='<a href="http://rasp.inn.leedsmet.ac.uk/RASPtable.html" target="_blank">Rasp:tables</a>'
linkset[4]+='<a href="http://www.metbrief.com/EGRR.html#24" target="_blank">Synoptic:MetBrief:Static</a>'
linkset[4]+='<a href="http://theyr.tv/cg/cboy/NA?_cookiecheck=1" target="_blank">theyr.tv (v-nice)</a>'
linkset[4]+='<a href="http://www.metoffice.gov.uk/weather/uk/surface_pressure.html" target="_blank">Synoptic:MetOffice:Anim</a>'
linkset[4]+='<a href="http://www.bbc.co.uk/weather/ukweather/southeast/wind.shtml#no_url" target="_blank">BBC SE Anim</a>'
linkset[4]+='<a href="http://www.weatherstations.co.uk/aws_map.htm"target="_blank">ProData - Independent:AWS</a>'
linkset[4]+='<a href="http://www.windguru.cz/int/index.php"target="_blank">Coastal Wind (windguru)</a>'
linkset[4]+='<a href="http://www.stella-maris.org.uk/mml/wxindex3.shtml"target="_blank">Stella-Maris (Mesomap-live)</a>'
linkset[4]+='<a href="http://www.hernebaysailingclub.co.uk/live-weather"target="_blank">Herne Bay Sailing Club</a>'
linkset[4]+='<a href="http://www.wunderground.com/wundermap/?lat=51.357&lon=1.098&zoom=13"target="_blank">Herne Bay (WunderMap)</a>'
linkset[4]+='<a href="http://www.board-worx.com/live_weather.html"target="_blank"> Whitstable (board-worx)</a>'
linkset[4]+='<a href="http://chat2me247.com/seasalter/seasalter-weather-station.htm"target="_blank">Seasalter (Live-EastKent)</a>'
linkset[4]+='<a href="http://www.iossc.org.uk/weather/index.php"target="_blank">Isle of Sheppey (iossc)</a>'
linkset[4]+='<a href="http://www.windfinder.com/forecasts/wind_weather_forecast_google_map.htm?lat=51.45&lng=0.75&z=9&offset=3&s=51.45,0.75"target="_blank">Windfinder:KentMap</a>'
linkset[4]+='<a href="http://www.wunderground.com/wundermap/?lat=51.101&lon=1.215&zoom=13"target="_blank">The Warren (WunderMap)</a>'
linkset[4]+='<a href="http://www.hssc.net/"target="_blank">Hythe:Livefeed (hssc)</a>'
linkset[4]+='<a href="http://www.wunderground.com/swf/Rapid_Fire.swf?units=metric&station=MAS355" target="_blank">Dover:Live (RapidFire)</a>'
linkset[4]+='<a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=51.262%2C0.631"target="_blank">Maidstone:Jubilee Corner</a>'
linkset[4]+='<a href="http://www.skylinkweather.com/metar/metarmapindex.php?stationid=EG93"target="_blank">Maidstone (Skylink)</a>'
linkset[4]+='<a href="http://www.weather2u.com/forecast.asp?l=en&CO=GB&LiD=816593&t=C"target="_blank">Maidstone (weather2u)</a>'
linkset[4]+='<a href="http://uk.weather.com/weather/local/UKXX0091?x=8&y=9"target="_blank">Maidstone (uk.weather)</a>'
linkset[4]+='<a href="http://www.skylink-pro.com/headcorn/index.php"target="_blank">Headcorn-Aerodrome</a>'
linkset[4]+='<a href="http://weather.hythefm.com/flash.html" target="_blank">Rainham:Live</a>'
linkset[4]+='<a href="http://www.halling-weather.co.uk"target="_blank">Halling:Livefeed</a>'
linkset[4]+='<a href="http://www.tonbridge-weather.org.uk/home.htm"target="_blank">Tonbridge:Livefeed</a>'
linkset[4]+='<a href="http://www.ashingtonwx.co.uk/livewx.html"target="_blank">Ashington-Dyke(ish):Live</a>'
linkset[4]+='<a href="http://www.metoffice.gov.uk/weather/uk/observations/"target="_blank">Met:nationwide</a>'
linkset[4]+='<a href="http://www.westwind.ch/"target="_blank">Westwind:Europe</a>'
linkset[4]+='<a href="http://www.met-office.gov.uk/weather/marine/inshore_area6.html"target="_blank">Inshore waters (met-office)</a>'
linkset[4]+='<a href="http://www.metcheck.com/V40/UK/HOME/"target="_blank">Met Check</a>'
linkset[4]+='<a href="http://www-frd.fsl.noaa.gov/mab/soundings/java/gifs/"target="_blank">Thermal Activity</a>'
linkset[4]+='<a href="http://www.eastbourne.gov.uk/environment/weather/live"target="_blank">EBC:Eastbourne Live</a>'
linkset[4]+='<a href="http://nhlookout.camstreams.com/"target="_blank">Newhaven Webcam</a>'
//----------------------uk club links

linkset[5]='<a href="http://www.flybubble.co.uk/"target="_blank">FlyBubble Paragliding</a>'
linkset[5]+='<a href="http://www.learnparagliding.co.uk/"target="_blank">Apex Paragliding School</a>'
linkset[5]+='<a href="http://www.flymidwales.org.uk"target="_blank">Mid-Wales HGPGC</a>'
linkset[5]+='<a href="http://www.nwhgpc.org.uk"target="_blank">North Wales HGPGC</a>'
linkset[5]+='<a href="http://www.ndhpc.f9.co.uk"target="_blank">North Devon HGPGC</a>'
linkset[5]+='<a href="http://www.nysc.org.uk"target="_blank">North Yorks SWC</a>'
linkset[5]+='<a href="http://www.para-excellence.co.uk"target="_blank">Para-Excellence</a>'
linkset[5]+='<a href="http://www.another-planet.com"target="_blank">Parapente Ecosse</a>'
linkset[5]+='<a href="http://www.snowdoniaskysports.co.uk"target="_blank">Snowdonia Sky Sports</a>'
linkset[5]+='<a href="http://www.hp-h.com/p/flydevon"target="_blank">South Devon hgpgc</a>'
linkset[5]+='<a href="http://www.sewhgpgc.co.uk"target="_blank">SE Wales hgpgc</a>'
linkset[5]+='<a href="http://www.swwsc.co.uk"target="_blank">SW Wales Soaring Club</a>'
linkset[5]+='<a href="http://www.northern-paragliding.com/online-shop/gin-gingo-470.html"target="_blank">Northern Paragliding</a>'
linkset[5]+='<a href="http://www.tvhgc.co.uk/"target="_blank">Thames Valley hgc</a>'
linkset[5]+='<a href="http://www.flywelshborders.org.uk"target="_blank">Welsh Borders pgc</a>'
linkset[5]+='<a href="http://www.icaruswings.co.uk"target="_blank">Icarus Wings (Hampshire)</a>'
linkset[5]+='<a href="http://www.derbyshiresoaringclub.org.uk"target="_blank">Derbyshire S.C.</a>'
linkset[5]+='<a href="http://www.cumbriasoaringclub.co.uk"target="_blank">Cumbria S.C.</a>'
linkset[5]+='<a href="http://www.dhpc.org.uk"target="_blank">Dales HGPGC</a>'
linkset[5]+='<a href="http://www.flywight.co.uk"target="_blank">Isle of Wight hgc</a>'
linkset[5]+='<a href="http://www.shgc.org.uk"target="_blank">Southern hgc</a>'
linkset[5]+='<a href="http://www.longmynd.org"target="_blank">Long Mynd S.C.</a>'
linkset[5]+='<a href="http://www.malvern-hang.org.uk"target="main">Malvern hgc</a>'
linkset[5]+='<a href="http://www.paramotoruk.com"target="_blank">The Lemmings</a>'
linkset[5]+='<a href="http://www.airworks.co.uk/"target="_blank">Airworks</a>'
linkset[5]+='<a href="http://www.greendragons.co.uk"target="_blank">GreenDragons</a>'
linkset[5]+='<a href="http://www.d-aviation.co.uk/"target="_blank">D-Aviation</a>'
linkset[5]+='<a href="http://www.airsports.co.uk"target="_blank">Airsports</a>'
linkset[5]+='<a href="http://www.wessexhgpg.org.uk/index.asp"target="_blank">Wessex hgc</a>'

//---------------------------dhv and misc sites
linkset[6]='<a href="http://antigravity-acro.com"target="_blank">AntiGravity-Acro(UK)</a>'
linkset[6]+='<a href="http://www.acromacedonia.com/"target="_blank">Acro Macedonia</a>'
linkset[6]+='<a href="http://www.axispara.co.uk/"target="_blank">Axis Paragliders</a>'
linkset[6]+='<a href="http://www.simplygradient1.blogspot.com/"target="_blank">Simply Gradient</a>'
linkset[6]+='<a href="http://www.expandingknowledge.com/Jerome/PG/Main.htm"target="_blank">Expanding Knowledge</a>'
linkset[6]+='<a href="http://www.acro-base.com/news.php?lang=En"target="_blank">Acro-Base</a>'
linkset[6]+='<a href="http://bernabon.club.fr/index.html"target="_blank">The Flying Frog</a>'
linkset[6]+='<a href="http://www.tripsandflights.com/en-html/index.php?continent=5"target="_blank">Global Site Guide</a>'
linkset[6]+='<a href="http://www.para2000.org/wings/index.html"target="_blank">Para2000:Review</a>'
linkset[6]+='<a href="http://www.parateam.com/images/"target="_blank">ParaTeam Video</a>'
linkset[6]+='<a href="http://www.shv-fsvl.ch/d/verband/galerie.htm"target="_blank">Global Gallery</a>'
linkset[6]+='<a href="http://home.comcast.net/~stipakb/xrays.html"target="_blank">Pilot Injuries</a>'
linkset[6]+='<a href="http://66.249.93.104/translate_c?hl=en&u=http://www.dhv.de/typo/"target="_blank">DHV Reports</a>'
linkset[6]+='<a href="http://www.dhv.de/DHVonlineDB/source/searchresultpage.php?lang=EN&code=last&limitdays=365"target="_blank">DHV Extra</a>'
linkset[6]+='<a href="http://www.xmurillo.com/parapente.html"target="_blank">Xavier Murillo</a>'
linkset[6]+='<a href="http://paragliding-lessons.com/article/index.htm"target="_blank">Techniques explained</a>'
linkset[6]+='<a href="http://www.parateam.com/images/"target="_blank">ParaTeam Video</a>'
linkset[6]+='<a href="http://www.ojovolador.com/eng/index.html"target="_blank">Ojovolador</a>'
linkset[6]+='<a href="http://www.paraglidingearth.com/en-html/"target="_blank">Paragliding Earth</a>'
linkset[6]+='<a href="http://www.paraglidingforum.com/index.php"target="_blank">Paragliding Forum</a>'
linkset[6]+='<a href="http://www.pgcomps.org.uk/"target="_blank">UK-XC-League(old)</a>'
linkset[6]+='<a href="http://www.xcleague.com/xc/index.php"target="_blank">UK-XC-League(beta)</a>'
linkset[6]+='<a href="http://europaragliding.com/"target="_blank">European League</a>'
linkset[6]+='<a href="http://www.paraglidingworldcup.org/main.php"target="_blank">P.W.C. League</a>'

var ie5=document.all && !window.opera
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 is contained in another
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

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

