function menuItem(item){
if (item == "accueil"){return "http://www.artistesasuivre.org"; }
if (item == "artistes"){return "artistes.htm"; }
if (item == "villages"){return "villages.htm"; }
if (item == "evenements"){return "evenements.htm"; }
if (item == "itineraires"){return "itineraires.htm"; }
if (item == "serestaurer"){return "serestaurer.htm"; }
if (item == "sponsors"){return "sponsors.htm"; }
if (item == "lechemin"){return "lechemin.htm"; } 
if (item == "quisommesnous"){return "quisommesnous.htm"; } 
if (item == "remerciments"){return "remerciments.htm"; }
if (item == "aire"){return "quisommesnous.htm"; } 
if (item == "nouscontacter"){return "nouscontacter.htm"; }
if (item == "liens"){return "liens.htm"; }
if (item == "appelacandidature"){return "appelacandidature.htm"; }
if (item == "adhesion"){return "adherer.htm"; }

if (item == "artchoum"){return "artchoum.htm"; }
if (item == "beaufort"){return "beaufort.htm"; }
if (item == "becco"){return "becco.htm"; }
if (item == "beer"){return "beer.htm"; }
if (item == "benabou"){return "benabou.htm"; }
if (item == "bourbilleres"){return "bourbilleres.htm"; }
if (item == "bourdon"){return "bourdon.htm"; }
if (item == "canuto"){return "canuto.htm"; }
if (item == "castagnas"){return "castagnas.htm"; }
if (item == "chauvet"){return "chauvet.htm"; }
if (item == "cuxac"){return "cuxac.htm"; }
if (item == "djebel"){return "djebel.htm"; }
if (item == "dossantos"){return "dossantos.htm"; }
if (item == "dravet"){return "dravet.htm"; }
if (item == "el"){return "el.htm"; }
if (item == "figue-henric"){return "figue-henric.htm"; }
if (item == "gaio"){return "gaio.htm"; }
if (item == "gatz"){return "gatz.htm"; }
if (item == "gonzalez"){return "gonzalez.htm"; }
if (item == "gosse"){return "gosse.htm"; }
if (item == "greefhorst_p"){return "greefhorst_p.htm"; }
if (item == "grieser"){return "grieser.htm"; }
if (item == "hallbert"){return "hallbert.htm"; }
if (item == "hardy"){return "hardy.htm"; }
if (item == "hennes"){return "hennes.htm"; }
if (item == "herrera"){return "herrera.htm"; }
if (item == "kaa"){return "kaa.htm"; }
if (item == "karcher"){return "karcher.htm"; }
if (item == "lafont"){return "lafont.htm"; }
if (item == "langlois"){return "langlois.htm"; }
if (item == "lecompte"){return "lecompte.htm"; }
if (item == "leverger"){return "leverger.htm"; }
if (item == "madelaine"){return "madelaine.htm"; }
if (item == "mesplie"){return "mesplie.htm"; }
if (item == "milroy"){return "milroy.htm"; }
if (item == "moss"){return "moss.htm"; }
if (item == "moumni"){return "moumni.htm"; }
if (item == "nauzin"){return "nauzin.htm"; }
if (item == "pech"){return "pech.htm"; }
if (item == "ponsengels"){return "ponsengels.htm"; }
if (item == "revoil"){return "revoil.htm"; }
if (item == "rozenblat"){return "rozenblat.htm"; }
if (item == "samblanet"){return "samblanet.htm"; }
if (item == "santos"){return "santos.htm"; }
if (item == "sarda"){return "sarda.htm"; }
if (item == "schwartz"){return "schwartz.htm"; }
if (item == "semat"){return "semat.htm"; }
if (item == "stockhausen"){return "stockhausen.htm"; }
if (item == "tcham"){return "tcham.htm"; }
if (item == "vanorbeek"){return "vanorbeek.htm"; }
if (item == "venezia"){return "venezia.htm"; }
if (item == "wal"){return "wal.htm"; }
if (item == "watanabe"){return "watanabe.htm"; }
if (item == "zarno"){return "zarno.htm"; }

if (item == "acin"){return "acin.htm"; }
if (item == "argence"){return "argence.htm"; }
if (item == "azais"){return "azais.htm"; }
if (item == "bakker"){return "bakker.htm"; }
if (item == "barty"){return "barty.htm"; }
if (item == "bergamelli"){return "bergamelli.htm"; }
if (item == "bowden"){return "bowden.htm"; }
if (item == "chaney"){return "chaney.htm"; }
if (item == "clausse"){return "clausse.htm"; }
if (item == "cuadros"){return "cuadros.htm"; }
if (item == "dempster"){return "dempster.htm"; }
if (item == "diprima"){return "diprima.htm"; }
if (item == "dubois"){return "dubois.htm"; }
if (item == "eolia"){return "eolia.htm"; }
if (item == "fredericq"){return "fredericq.htm"; }
if (item == "frigerio"){return "frigerio.htm"; }
if (item == "gaje"){return "gaje.htm"; }
if (item == "ginisty"){return "ginisty.htm"; }
if (item == "greefhorst_a"){return "greefhorst_a.htm"; }
if (item == "karbe"){return "karbe.htm"; }
if (item == "kozapi"){return "kozapi.htm"; }
if (item == "lloret"){return "lloret.htm"; }
if (item == "longbray"){return "longbray.htm"; }
if (item == "mann"){return "mann.htm"; }
if (item == "marianne"){return "marianne.htm"; }
if (item == "masseyeff"){return "masseyeff.htm"; }
if (item == "maurino"){return "maurino.htm"; }
if (item == "morazin"){return "morazin.htm"; }
if (item == "pedro"){return "pedro.htm"; }
if (item == "pellenz"){return "pellenz.htm"; }
if (item == "pfund"){return "pfund.htm"; }
if (item == "ruales"){return "ruales.htm"; }
if (item == "santos"){return "santos.htm"; }

if (item == "ashdown"){return "ashdown.htm"; }
if (item == "barnades"){return "barnades.htm"; }
if (item == "boot"){return "boot.htm"; }
if (item == "bruschle"){return "bruschle.htm"; }

if (item == "castell"){return "castell.htm"; }
if (item == "caro"){return "caro.htm"; }
if (item == "chalet"){return "chalet.htm"; }
if (item == "clemens"){return "clemens.htm"; }
if (item == "collectif"){return "collectif.htm"; }
if (item == "corby"){return "corby.htm"; }
if (item == "couret"){return "couret.htm"; }
if (item == "cuspi"){return "cuspi.htm"; }
if (item == "darde"){return "darde.htm"; }
if (item == "darde_j"){return "darde_j.htm"; }
if (item == "defaucher"){return "defaucher.htm"; }
if (item == "degans"){return "degans.htm"; }
if (item == "deguilhem"){return "deguilhem.htm"; }
if (item == "dervish"){return "dervish.htm"; }
if (item == "desombre"){return "desombre.htm"; }
if (item == "deumier"){return "deumier.htm"; }
if (item == "dirles"){return "dirles.htm"; }
if (item == "douhairet"){return "douhairet.htm"; }
if (item == "duault"){return "duault.htm"; }
if (item == "fabre"){return "fabre.htm"; }
if (item == "fourquet"){return "fourquet.htm"; }
if (item == "gossec"){return "gossec.htm"; }
if (item == "gourvil"){return "gourvil.htm"; }
if (item == "guillemot"){return "guillemot.htm"; }
if (item == "gypen"){return "gypen.htm"; }
if (item == "halaburda"){return "halaburda.htm"; }
if (item == "jacques"){return "jacques.htm"; }

if (item == "laplume"){return "laplume.htm"; }
if (item == "liaunet"){return "liaunet.htm"; }
if (item == "madso"){return "madso.htm"; }
if (item == "malbreil"){return "malbreil.htm"; }
if (item == "mariniello"){return "mariniello.htm"; }
if (item == "martinez"){return "martinez.htm"; }
if (item == "milroy"){return "milroy.htm"; }
if (item == "mimine"){return "mimine.htm"; }

if (item == "muzellec"){return "muzellec.htm"; }
if (item == "nada"){return "nada.htm"; }


if (item == "richard"){return "richard.htm"; }
if (item == "romero"){return "romero.htm"; }
if (item == "sahuc"){return "sahuc.htm"; }



if (item == "smith"){return "smith.htm"; }
if (item == "socquet"){return "socquet.htm"; }
if (item == "trezipur"){return "trezipur.htm"; }
if (item == "soubabere"){return "soubabere.htm"; }
if (item == "soulatge_g"){return "soulatge_g.htm"; }
if (item == "theatre"){return "theatre.htm"; }

if (item == "vanthillo"){return "vanthillo.htm"; }
if (item == "verger"){return "verger.htm"; }
if (item == "wittich"){return "wittich.htm"; }

if (item == "alet"){ return "commune_ALET.htm"; }
if (item == "antugnac"){ return "commune_ANTUGNAC.htm"; }
if (item == "arques"){ return "commune_ARQUES.htm"; }
if (item == "brenac"){ return "commune_BRENAC.htm"; }
if (item == "campagne"){ return "commune_campagne.htm"; }
if (item == "cassaignes"){ return "commune_cassaignes.htm"; }
if (item == "chateau"){ return "commune_chateau.htm"; }
if (item == "coudons"){ return "commune_coudons.htm"; }
if (item == "couiza"){ return "commune_couiza.htm"; }
if (item == "esperaza"){ return "commune_esperaza.htm"; }
if (item == "fa"){ return "commune_fa.htm"; }
if (item == "ferriol"){ return "commune_StFerriol.htm"; }
if (item == "ginoles"){ return "commune_ginoles.htm"; }
if (item == "granes"){ return "commune_granes.htm"; }
if (item == "laval"){ return "commune_laval.htm"; }
if (item == "lucsuraude"){ return "commune_lucsuraude.htm"; }
if (item == "nebias"){ return "commune_nebias.htm"; }
if (item == "paracol"){ return "commune_paracol.htm"; }
if (item == "parahou"){ return "commune_parahou.htm"; }
if (item == "peyrolles"){ return "commune_peyrolles.htm"; }
if (item == "quillan"){ return "commune_quillan.htm"; }
if (item == "rennes"){ return "commune_rennes.htm"; }
if (item == "rouvenac"){ return "commune_rouvenac.htm"; }
if (item == "roquetaillade"){ return "commune_roquetaillade.htm"; }
if (item == "serres"){ return "commune_serres.htm"; }
if (item == "sougraignes"){ return "commune_sougraignes.htm"; }
if (item == "stjulia"){ return "commune_stjulia.htm"; }
if (item == "stjust"){ return "commune_stjust.htm"; }
if (item == "soulatge"){ return "commune_soulatge.htm"; }

if (item == "null"){ return "null.htm"; }
if (item == "2010"){return "http://www.artistesasuivre.org/2010/index.htm"; }
if (item == "2009"){return "http://www.artistesasuivre.org/2009/index.htm"; }
if (item == "2008"){return "http://www.artistesasuivre.org/2008/index.html"; }
if (item == "2007"){return "http://www.artistesasuivre.org/2007/index.html"; }
if (item == "2006"){return "http://www.artistesasuivre.org/2006/index.html"; }
if (item == "2005"){return "http://www.artistesasuivre.org/2005/index.shtml"; }
if (item == "2004"){return "http://www.artistesasuivre.org/2004/index.html"; }
if (item == "2003"){return "http://www.artistesasuivre.org/2003/index.html"; }
}
function linkItem(item){
if (item == "azais"){ return "http://frederiqueazais.hautetfort.com"; }
if (item == "argence1"){ return "http://www.myspace.com/christophe.argence"; }
if (item == "barty"){ return "http://www.audeartistes.org/Barty.html"; }
if (item == "benabou"){ return "http://martine.benabou.free.fr"; }
if (item == "bowden"){ return "http://www.garthbowden.com"; }
if (item == "castagnas"){ return "http://www.photosnomades.com"; }
if (item == "chaney"){ return "http://suziechaney.com"; }
if (item == "cuadros"){ return "http://www.albertocuadrosartsingulier.com"; }
if (item == "dempster"){ return "http://www.thebranch.biz"; }
if (item == "diprima"){ return "http://www.paoladiprima.fr"; }
if (item == "djebel"){ return "http://www.djebel.org"; }
if (item == "dossantos"){ return "http://www.anna-dossantos.com"; }
if (item == "fredericq"){ return "http://guyfredericq.hautetfort.com"; }
if (item == "frigerio"){ return "http://www.manufrigerio.com"; }
if (item == "gaje"){ return "http://www.el-drac.es"; }
if (item == "greefhorst_a"){ return "http://www.greefhorst.net"; }
if (item == "greefhorst_p"){ return "http://www.pauline-greefhorst.com"; }
if (item == "kozapi"){ return "http://www.myspace.com/kozapi"; }
if (item == "lloret"){ return "http://mathildelloret.com"; }
if (item == "mann"){ return "http://www.myspace.com/once-upon-a-time"; }
if (item == "masseyeff"){ return "http://www.yannmasseyeff.com"; }
if (item == "maurino"){ return "http://pagesperso-orange.fr/christiane.maurino"; }
if (item == "morazin"){ return "http://christine-morazin.com"; }
if (item == "moss"){ return "http://www.jonathan-moss.com"; }
if (item == "pellenz"){ return "http://www.jo-pellenz.de"; }
if (item == "pfund"){ return "http://www.nicolepfund.com"; }
if (item == "pons_engels"){ return "http://www.artmajeur.com/patriciapons"; }
if (item == "santos"){ return "http://www.marta-santos.com"; }
if (item == "tcham"){ return "http://www.annietcham.com"; }

if (item == "cg11"){ return "http://www.cg11.fr/"; }
if (item == "constitution"){ return "http://www.assemblee-nationale.fr/connaissance/constitution.asp"; }
if (item == "boot"){ return "http://www.anjabootkeramiek.com"; }
if (item == "degans"){ return "http://www.bobelbobel.com"; }
if (item == "canuto"){ return "http://www.agnescanuto.com"; }
if (item == "clemens"){ return "http://www.ellieclemens.com"; }
if (item == "collectif"){ return "http://www.scotchead.net"; }
if (item == "dervish"){ return "http://www.dervish-art.com"; }
if (item == "dirles"){ return "http://www.myspace.com/bricedirles"; }
if (item == "eliette"){ return "http://www.eliette.com"; }
if (item == "fourquet"){ return "http://f.fourquet.free.fr"; }
if (item == "ginisty"){ return "http://www.sandrineginisty.com"; }
if (item == "halaburda"){ return "http://www.halaburda.com"; }
if (item == "jacques"){ return "http://chris.jacques.free.fr"; }
if (item == "kaa"){ return "http://www.myspace.com/arglepion"; }
if (item == "laplume"){ return "http://www.anne-laplume.com"; }
if (item == "mariniello"){ return "http://www.monica-mariniello.com"; }
if (item == "milroy"){ return "http://victoriamilroy.free.fr"; }
if (item == "mimine"){ return "http://mimine.org"; }
if (item == "muzellec"){ return "http://www.photomuz.net/blog"; }
if (item == "nada"){ return "http://www.myspace.com/vsrk"; }
if (item == "sarda"){ return "http://www.artmajeur.com/sarda"; }
if (item == "socquet"){ return "http://www.photos100cibles.com"; }
if (item == "trezipur"){ return "http://www.myspace.com/sarafalao"; }
if (item == "vanorbeek"){ return "http://www.artdeev.com"; }
if (item == "audeartists"){ return "http://www.audeartistes.org/"; }
if (item == "languedoc"){ return "http://fr.wikipedia.org/wiki/Languedoc"; }
if (item == "recto"){ return "/documents/bulletin_recto.pdf"; }
if (item == "verso"){ return "/documents/bulletin_verso.pdf"; }
if (item == "dessinerlenu"){ return "http://www.artists.name"; }
if (item == "fournil"){ return "http://dugrainaupain.com"; }
if (item == "wittich"){ return "http://www.fw-art.com"; }
/*misc*/
if (item == "audetourisme"){ return "http://www.audetourisme.com/"; }
if (item == "cheminsetmots"){ return "http://www.lr2l.fr/agenda/des-chemins-et-des-mots.html"; }
/*liens*/
if (item == "odysseus"){ return "http://ensemble-odysseus-limoux.blogspot.com"; }
if (item == "artistay"){ return "http://www.artistay.com"; }
/*villages*/
if (item == "rennes"){ return "http://www.renneslesbains.org/"; }
if (item == "chateau"){ return "http://fr.wikipedia.org/wiki/Rennes-le-Château"; }
/*se restaurer*/
if (item == "aufildeleau"){ return "http://cafedefa.blogspot.com/"; }
if (item == "luzenac"){ return "http://www.domainedeluzenac.com/"; }
/*sponsors*/
if (item == "aubergedufaby"){ return "http://www.aubergedufaby.com/"; }
if (item == "aerobus"){ return "http://www.aerobus-hautevallee.com"; }
if (item == "betula"){ return "http://www.quillan-bedandbreakfast.com"; }
if (item == "bigou"){ return "http://www.charcuterie-bigou.com"; }
if (item == "cartier"){ return "http://www.hotelcartier.com"; }
if (item == "consulting"){ return "http://www.aude-consulting-immobilier.com"; }
if (item == "cooper"){ return "http://www.lavaldieu.com/"; }
if (item == "faby"){ return "http://www.aubergedufaby.com/"; }
if (item == "ferando"){ return "http://www.domainedeluzenac.com/"; }
if (item == "fleurdelo"){ return "http://www.fleurdelo.skyblog.com"; }
if (item == "hdcimmo"){ return "http://www.hdcimmo.com/"; }
if (item == "huillet"){ return "http://www.huilletprocie.com"; }
if (item == "jardinenchante"){ return "http://www.le-jardin-enchante.com"; }
if (item == "locdanes"){ return "http://www.locdanes.fr"; }
if (item == "marin"){ return "http://www.ets-marin.com"; }
if (item == "microcosme"){ return "http://www.microcosme.fr"; }
if (item == "mmi"){ return "http://www.mmimmobilier.com"; }
if (item == "monblason"){ return "http://www.monblason.com"; }
if (item == "mournac"){ return "http://www.mournac.com"; }
if (item == "planel"){ return "http://www.planel-paysage.com/"; }
if (item == "SOFB"){ return "http://www.southoffrancebreaks.com"; }
if (item == "solaroma"){ return "http://solaroma.com"; }
if (item == "tailleur2"){ return "http://www.tailleur2pierre.com"; }
if (item == "tatanka"){ return "http://pizza-snack-aude.com/"; }
if (item == "clarandapdf"){ return "clarandamail.pdf"; }
/*logo*/
if (item == "logocomcom"){ return "http://www.paysdecouiza.fr/"; }
if (item == "logocomcomantugnac"){ return "http://www.paysdecouiza.fr/site/antugnac/"; }
if (item == "logocomcomcassaignes"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article5"; }
if (item == "logocomcomcouiza"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article7"; }
if (item == "logocomcomlucsuraude"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article12"; }
if (item == "logocomcompeyrolles"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article16"; }
if (item == "logocomcomchateau"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article17"; }
if (item == "logocomcomrennes"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article18"; }
if (item == "logocomcomroquetaillade"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article19"; }
if (item == "logocomcomserres"){ return "http://www.paysdecouiza.fr/pays-de-couiza/spip.php?article20"; }

if (item == "candidre2012"){ return "appelcandidature2012-1de2.pdf"; }
if (item == "candidve2012"){ return "appelcandidature2012-2de2.pdf"; }
if (item == "adherer2011"){ return "documents/adhesion11.pdf"; }
}
var BrowserDetect = {
	init: function () {
		this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
		this.version = this.searchVersion(navigator.userAgent)
			|| this.searchVersion(navigator.appVersion)
			|| "an unknown version";
		this.OS = this.searchString(this.dataOS) || "an unknown OS";
	},
	searchString: function (data) {
		for (var i=0;i<data.length;i++)	{
			var dataString = data[i].string;
			var dataProp = data[i].prop;
			this.versionSearchString = data[i].versionSearch || data[i].identity;
			if (dataString) {
				if (dataString.indexOf(data[i].subString) != -1)
					return data[i].identity;
			}
			else if (dataProp)
				return data[i].identity;
		}
	},
	searchVersion: function (dataString) {
		var index = dataString.indexOf(this.versionSearchString);
		if (index == -1) return;
		return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
	},
	dataBrowser: [
		{
			string: navigator.userAgent,
			subString: "Chrome",
			identity: "Chrome"
		},
		{ 	string: navigator.userAgent,
			subString: "OmniWeb",
			versionSearch: "OmniWeb/",
			identity: "OmniWeb"
		},
		{
			string: navigator.vendor,
			subString: "Apple",
			identity: "Safari"
		},
		{
			prop: window.opera,
			identity: "Opera"
		},
		{
			string: navigator.vendor,
			subString: "iCab",
			identity: "iCab"
		},
		{
			string: navigator.vendor,
			subString: "KDE",
			identity: "Konqueror"
		},
		{
			string: navigator.userAgent,
			subString: "Firefox",
			identity: "Firefox"
		},
		{
			string: navigator.vendor,
			subString: "Camino",
			identity: "Camino"
		},
		{		// for newer Netscapes (6+)
			string: navigator.userAgent,
			subString: "Netscape",
			identity: "Netscape"
		},
		{
			string: navigator.userAgent,
			subString: "MSIE",
			identity: "Explorer",
			versionSearch: "MSIE"
		},
		{
			string: navigator.userAgent,
			subString: "Gecko",
			identity: "Mozilla",
			versionSearch: "rv"
		},
		{ 		// for older Netscapes (4-)
			string: navigator.userAgent,
			subString: "Mozilla",
			identity: "Netscape",
			versionSearch: "Mozilla"
		}
	],
	dataOS : [
		{
			string: navigator.platform,
			subString: "Win",
			identity: "Windows"
		},
		{
			string: navigator.platform,
			subString: "Mac",
			identity: "Mac"
		},
		{
			string: navigator.platform,
			subString: "Linux",
			identity: "Linux"
		}
	]

};
BrowserDetect.init();	
