var main=""; function CONSTRUIREMENU() { main=new CreerMain(350,155,14); m1=new CreerMenu("m1",0,""); main.Add("SELECT YOUR WEB PAGES",300,"m1",""); m1.add("WELCOME ON OUR WEB SITE","http://www.horse-trek.com/index.htm","",""); m1.add("-","","",""); m1.add("UNACCOMPANIED RIDE","http://www.horse-trek.com/librea.htm","",""); m1.add("ACCOMPANIED RIDE","http://www.horse-trek.com/accoma.htm","",""); m1.add("-","","",""); m1.add("MINI RIDES ","http://www.horse-trek.com/ecoa.htm","",""); m1.add("TENAREZE TOUR","http://www.horse-trek.com/tenaa.htm","",""); m1.add("CHATEAU DE BUROS RIDE","http://www.horse-trek.com/burosa.htm","",""); m1.add("-","","",""); m1.add("POINTS IN COMMON","http://www.horse-trek.com/communa.htm","",""); m1.add("BOOKING FORM","http://pagesperso-orange.fr/armagnac.cheval/resera.htm","",""); m1.add("OUR VIDEO CLIP ","http://www.horse-trek.com/Film_UK.htm","",""); m1.add("PHOTO ALBUM","http://www.horse-trek.com/album.htm","",""); m1.add("-","","",""); m1.add("HOW TO FIND THE STABLES","http://www.horse-trek.com/oua.htm","",""); m1.add("SEND US A MESSAGE","mailto:evelien.hiltermann@wanadoo.fr;evelien@horse-trek.com?subject=Demande de renseignements","",""); m1.add("NEW GUESTBOOK","http://users2.smartgb.com/g/g.php?a=s&i=g25-12132-01","","_blank"); m1.add("FORMER GUESTBOOK","http://www.horse-trek.com/Hold_Gues.htm","",""); m1.add("-","","",""); m1.add("OURS PARTNERS","http://www.horse-trek.com/partnera.htm","",""); } CONSTRUIREMENU(); var font="Arial, Helvetica, sans-serif"; var colBarre="004200"; var colFond="004200"; var colContour="yellow"; var colOver="#000000"; var colTextOff="yellow"; var colTextOn="yellow"; var cssTexte=";font-weight:none;color:yellow;font-family:Arial, Helvetica, sans-serif;font-size:10px"; var hauteur=14; var nivmax=4; var delai=10; var isout=0; function CreerMain(X,Y,haut,colFOn,colFOff,colTOn,colTOff) {this.nb=0;this.X=X;this.Y=Y;this.haut=haut;this.Add=AddMain;this.Print=PrintMain;} function AddMain(txt,larg,mnu,url,target) {var m=new Object; m.txt=txt;m.larg=larg,m.mnu=mnu,m.url=url;m.target=target;this.nb++;this[this.nb]=m;if(mnu!=''){eval(mnu+'.parent="'+txt+'"')};} function PrintMain() { X=this.X; Y=this.Y; A=""; for (var i=1;i<=this.nb;i++) { if (this[i].mnu==""){this[i].mnu='0';} if ((document.all)||(window.sidebar)) { var clic=""; var style=""; if(this[i].url!="") {style="cursor:hand;"; clic=" onclick='window.location=\""+this[i].url+"\"'";} A+="
"+this[i].txt+"
"; } if (document.layers) { alert("Version de démo non compatible avec Netscape"); } X+=this[i].larg+1; } document.write(A); } function CreerMenu(nom,niv,target) {this.nb=0; this.X=0;this.Y=0; this.width=1; this.niv=niv; this.parent=""; this.ON=-1;this.nom=nom;this.target=""; if ((target!="")&&(target!=null)) this.target=target;this.add=Add;this.aff=Aff;} function Add(lib,lnk,mnu,target) {var rub = new Object; rub.lib=lib; rub.target=target; rub.lnk=""; if ((lnk!="")&&(lnk!=null)) rub.lnk=lnk; rub.mnu=""; if ((mnu!="")&&(mnu!=null)) {rub.mnu=mnu; mnu.parent=this} this[this.nb]=rub; this.nb++;} function start(i,mnu,x,y) { isout=1;hideall(i);isout=0 if (mnu!=0){mnu.aff(x,y)}; BGCalque("main"+i,colOver); FontCalque("main"+i,colTextOn); SizeCalque("fond",mmgetlarg()-x+20); MoveCalque("fond",x-50,y+1); ShowCalque("fond"); return false; } function onfond() { isout=1; setTimeout("hideall()",delai); } function hideall(i) { if (isout==1) { for (var i=0;i-1) { if (mnu[mnu.ON].mnu!="") { var nom="niv"+mnu[mnu.ON].mnu.niv; HideCalque(nom); hide(mnu[mnu.ON].mnu); } } mnu.ON=-1; } function over(mnu,i) { var nom="niv"+mnu.niv+"n"+i; var nomtd=nom+"td"; isout=0; BGCalque(nom,colOver); FontCalque(nomtd,colTextOn); } function out(mnu,i) { var nom="niv"+mnu.niv+"n"+i; var nomtd=nom+"td"; if (mnu[i].lib!="-") { BGCalque(nom,colFond); FontCalque(nomtd,colTextOff) } } function clear(mnu) { for (var j=0;j0) {Z=u.parent[u.parent.ON].lib+" > "+Z;u=u.parent;} Z=u.parent+" > "+Z; for (var j=0;j") {ok=1;} }window.status=Y; } function mmclick(mnu) { lnk=mnu[mnu.ON].lnk; if (lnk!="") { if (mnu[mnu.ON].target=="_blank") {window.open(lnk)} else { if (mnu[mnu.ON].target=="") {window.location=lnk;} else {parent.frames[mnu[mnu.ON].target].location.href=lnk;} } } } function mmgetlarg() {if (document.layers){return parseInt(document.width)} else {return parseInt(document.body.offsetWidth)}} function AFF() { var n=new Image; n.src="point.gif";var m=new Image; m.src="vide.gif"; if ((document.all)||(window.sidebar)) { var A="";A+="
";A+="
";A+="
";A+="
";} document.write(A);main.Print(); } function Aff(x,y) { var nom=this.nom; var niv="niv"+this.niv; if (this.niv==0) {X=x;Y=y;} else {X=this.parent.X+this.parent.width-2;Y=this.parent.Y+(hauteur+4)*this.parent.ON}if ((document.all)||(window.sidebar)) { var A="" A+=""; for (var i=0;i

"; } else { var img="vide.gif";if (this[i].mnu!="") { img="point.gif"} A+="
"; } } A+="
"+this[i].lib+"
" }else{ var A=""; } } A+="
"; A+=""; for (var i=0;i"+this[i].lib+"
" } if (document.all) {document.all[niv].innerHTML=A+" ";document.all[niv].style.top=Y;document.all[niv].style.left=X;document.all[niv].style.visibility="visible";this.X=X;this.Y=Y;this.width=document.all[niv].clientWidth;} if (window.sidebar) {document.getElementById(niv).innerHTML=A;document.getElementById(niv).style.top=Y;document.getElementById(niv).style.left=X;document.getElementById(niv).style.visibility="visible";this.X=X;this.Y=Y;this.width=document.getElementById(niv).offsetWidth;} if (document.layers) {document.layers[niv].left=X;document.layers[niv].top=Y;document.layers[niv].document.write(A);document.layers[niv].document.close();document.layers[niv].visibility="show";this.X=X;this.Y=Y;this.width=document.layers[niv].clip.width;}} function HideCalque(nom) { if (document.all) {document.all[nom].style.visibility="hidden";} if (window.sidebar) {document.getElementById(nom).style.visibility="hidden";} if (document.layers) {document.layers[nom].visibility="hide";} } function ShowCalque(nom) { if (document.all) {document.all[nom].style.visibility="visible";} if (window.sidebar) {document.getElementById(nom).style.visibility="visible";} if (document.layers) {document.layers[nom].visibility="show";} } function BGCalque(nom,BG) { if (document.all) {document.all[nom].style.backgroundColor=BG;} if (window.sidebar) {document.getElementById(nom).style.backgroundColor=BG;} } function FontCalque(nom,Font) { if (document.all) {document.all[nom].style.color=Font;} if (window.sidebar) {document.getElementById(nom).style.color=Font;} } function MoveCalque(nom,X,Y) { if (document.all) {document.all[nom].style.top=Y;document.all[nom].style.left=X;} if (window.sidebar) {document.getElementById(nom).style.top=Y;document.getElementById(nom).style.left=X;} if (document.layers) {document.layers[nom].top=Y;document.layers[nom].left=X;} } function GetLeft(nom) { if (document.all) {return document.all[nom].style.left;} if (window.sidebar) {return document.getElementById(nom).style.left} if (document.layers) {return document.layers[nom].left;} } function SizeCalque(nom,larg) { if (document.all) {document.all[nom].style.width=larg;} if (window.sidebar) {document.getElementById(nom).style.width=larg;} if (document.layers) {document.layers[nom].width=larg;} }