﻿// *****************************************************************************
// **                                SETTINGS                                 **
// *****************************************************************************
// 'linka' use this if part of the URL is the same in ALL the links
// In this example all the files are in a subfolder called 'pages'
linka='pages/';

// the filename of the page the menu appears in eg 'menu.html'
thisPage='menu.html';

// Do you want to use images for the category bullets?
// If so then specify the path to your images folder from the menu page
imgPath='images/';

// do you want to use images for the category bullets?
lev1img='yes';					// insert yes or no

// give image names and dimensions
lev1OpName='open.gif';			// open image name
lev1OpHeight='10';				// image height
lev1OpWidth='10';				// image width

lev1ClosName='closed.gif';		// closed image name
lev1ClosHeight='10';			// image height
lev1ClosWidth='10';				// image width

// do you want to use images for the sub-category bullets?
lev2img='no';		// insert yes or no

// give image names and dimensions
lev2Name='bullet.gif';			// image name
lev2Height='10';				// image height
lev2Width='16';					// image width

// do you want to use a text character for the sub-category bullets?
lev2Char='yes';		// insert yes or no

// set bullet character for level 2 bullets
bullet = '*';

// base target - the frame that the links are targetting
base = 'main';

// *****************************************************************************
// **                             END OF SETTINGS                             **
// *****************************************************************************

// pulls 'page' variable out of URL - do not alter
	var x = 0
	page = location.search.substr(1).split("?")
	for (x=0;x<=page.length;x++) {
		eval(page)
		}
page = escape(page);
page = page.slice(7);

// do not alter this bit
function subMenu(name,linkb) {
 this.name = name;
 this.linkb = linkb;
}
document.write('<BASE target="' + base + '">');

// *****************************************************************************
// **                             BUILD MENU DATA                             **
// *****************************************************************************
// Racen
if (page=='facts') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Racens profil','Racens profil.html');
thisMenu[1] = new subMenu(' Racens historie','Historie.html');
thisMenu[2] = new subMenu(' FCI standard','FCI.html');
thisMenu[3] = new subMenu(' Mentalbeskrivelse','UHM.html');
thisMenu[4] = new subMenu(' Pelspleje','Pelspleje.html');
}

// DSK
if (page=='dsk') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Generelt','DSK.html');
thisMenu[1] = new subMenu(' Hyrdekursus','Hyrde.html');
thisMenu[2] = new subMenu(' Juniordag','juniordag.html');
thisMenu[3] = new subMenu(' Klubweekend','KW.html');
thisMenu[4] = new subMenu(' Navne-tlf-mail-adr','DSK.html');
thisMenu[5] = new subMenu(' Love','love.html');
thisMenu[6] = new subMenu(' UHM','UHM.html');
thisMenu[7] = new subMenu(' Udstilling','Udstilling.html');
}

// Diverse
if (page=='info') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Avlsvejledning for Schapendoes','Etiske regler.html');
thisMenu[1] = new subMenu(' Etiske avlsregler','Etiske regler.html');
thisMenu[2] = new subMenu(' Fotoalbum','album.html');
thisMenu[3] = new subMenu(' Hvalpe-certificat','hvalpecert.html');
thisMenu[4] = new subMenu(' Sygdomsregistrering','sygdomsreg.html');
thisMenu[5] = new subMenu(' &Aring;rets Udstillingshund','AA uds.html');
thisMenu[6] = new subMenu(' &Aring;rets Lydighedshund','AA LP.html');
thisMenu[7] = new subMenu(' &Aring;rets Agilityhund','AA AG.html');
thisMenu[8] = new subMenu(' &Aring;rets Agility resultatskema','Agility_resultatskema.htm');
thisMenu[9] = new subMenu(' &Oslash;jenunders&oslash;gelser','eye.html');

}

// Blanketter
if (page=='medl') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Indmeldelse i DSK','dsktilm.php');
thisMenu[1] = new subMenu(' On-line tilmelding','formular2.php');
thisMenu[2] = new subMenu(' Blanket til udstiling og LP','Tilmeldingsskema.html');
thisMenu[3] = new subMenu(' Tilmelding til &Oslash;vrige arrangementer','formular2.php');
thisMenu[4] = new subMenu(' Udstillingsgebyrer og -klasser','Udstgebyr.html');
}

// G&aring;ture
if (page=='gaa') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' G&aring;ture generelt','Gaature.html');
thisMenu[1] = new subMenu(' Geelsskov','GGeels.html');
thisMenu[2] = new subMenu(' Ish&oslash;j','GIshoj.html'); 
thisMenu[3] = new subMenu(' Tommerup','GTommerup.html');
thisMenu[4] = new subMenu(' Tommerup oktober04','GTommerup2.html');
thisMenu[5] = new subMenu(' Saksild Strand','GOdder.html');
}

// Hanhunde
if (page=='hanl') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Hanhundelisten','Hanhundeliste.html');
}

// Hvalpe
if (page=='hvalp') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Hvalpelisten','Hvalpeliste.html');
thisMenu[1] = new subMenu(' Etiske avlsregler','Etiske regler.html');
thisMenu[2] = new subMenu(' Hvalpe-certificat','hvalpecert.html');

}

// Kalender
if (page=='kal') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' 2010','kalender10.html');
}

// Links
if (page=='links') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Opdr&aelig;ttere & klubber','links.html');
}

// Nyheder
if (page=='nyt') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Nyt i 2009','Nyt2009.html');
}

// INDEX
if (page=='index') {
thisMenu = new Array();
thisMenu[0] = new subMenu(' Avlsbed&oslash;mmelse','Avlsbedommelse.html');
thisMenu[1] = new subMenu(' Avlsregler','Etiske regler.html');
thisMenu[2] = new subMenu(' Avlsvejledning','Etiske regler.html');
thisMenu[3] = new subMenu(' Euro schapendoes show','ESS07.html');
thisMenu[4] = new subMenu(' Fotoalbum','http://picasaweb.google.com/schapendoesdk');
thisMenu[5] = new subMenu(' Generelt','DSK.html');
thisMenu[6] = new subMenu(' G&aring;ture generelt','Gaature.html');
thisMenu[7] = new subMenu(' Hvalpelisten','Hvalpeliste.html');
thisMenu[8] = new subMenu(' Hvalpe-certificat','hvalpecert.html');
thisMenu[9] = new subMenu(' Historie','Historie.html');
thisMenu[10] = new subMenu(' Hyrdekursus','Hyrde.html');
thisMenu[11] = new subMenu(' Juniordag','juniordag.html');
thisMenu[12] = new subMenu(' Juniordag2003','Juniordag2003.html');
thisMenu[13] = new subMenu(' Juniordag2004','Juniordag04.html');
thisMenu[14] = new subMenu(' Kalender2008','kalender08.html');
thisMenu[15] = new subMenu(' Kontaktpersoner i DSK','DSK.html');
thisMenu[16] = new subMenu(' Klubweekend (KW)','KW.html.html');
thisMenu[17] = new subMenu(' Links','links.html');
thisMenu[18] = new subMenu(' Medlemsskab af DSK','dsktilm.php');
thisMenu[19] = new subMenu(' Nyt','Nyt.html');
thisMenu[20] = new subMenu(' ON-line tilmelding','formular2.php');
thisMenu[21] = new subMenu(' Pelspleje','Pelspleje.html');
thisMenu[22] = new subMenu(' Profil','Racens profil.html');
thisMenu[23] = new subMenu(' Standard','FCI.html');
thisMenu[24] = new subMenu(' Sygdomsregistrering','sygdomsreg.html');
thisMenu[25] = new subMenu(' Tilmelding','Tilmelding.html');
thisMenu[26] = new subMenu(' Udstilling','Udstilling.html');
thisMenu[27] = new subMenu(' UHM','UHM.html');
thisMenu[28] = new subMenu(' &Oslash;jenunders&oslash;gelser','eye.html');
thisMenu[29] = new subMenu(' &Aring;rets Udstillingshund','AA uds.html');
thisMenu[30] = new subMenu(' &Aring;rets Lydighedshund','AA LP.html');
thisMenu[31] = new subMenu(' &Aring;rets Agilityhund','AA AG.html');
thisMenu[32] = new subMenu(' &Aring;rets Agility resultatskema','Agility_resultatskema.htm');
}
