////////////////////////////////////////////////////////////////////////////////////
//  menusturing voor taalfilosofie.com 
// 
////////////////////////////////////////////////////////////////////////////////////
var KleurAan="#003366"
var KleurUit="#FFFFCC"
var LetKleurAan="black" 
var LetKleurUit="white"

function maakmenu()
{
// declare array
menuData = new Array()
for (i=0; i < 7; i++) {
	menuData[i] = new Array(40)
	for (j=0; j < 20; j++) {
		menuData[i][j] = new Array(2)}}

// enter navigation data into array
// Homepage
menuData[0][0][0]=" Thuis";
menuData[0][0][1]="home.html";
menuData[0][1][0]=" Pagina Lezen";
menuData[0][1][1]="index.html";
menuData[0][2][0]=" Pagina Werken";
menuData[0][2][1]="http://www.ggzbeleid.nl";
menuData[0][3][0]=" Pagina Wandelen";
menuData[0][3][1]="http://samenland.nl";



// enter navigation data into array
// Roland Barthes
menuData[1][0][0]=" inleiding";
menuData[1][0][1]="denker/barthes";
menuData[1][1][0]=" werken van Barthes";
menuData[1][1][1]="denker/barthes/primair";
menuData[1][2][0]=" studies over Barthes";
menuData[1][2][1]="denker/barthes/secundair";
menuData[1][3][0]=" le plaisir du texte";
menuData[1][3][1]="pvdt_inleiding.html";

// enter navigation data into array
// Pvdt
menuData[2][0][0]=" inleiding";
menuData[2][0][1]="pvdt_inleiding.html";
menuData[2][1][0]=" vertaling";
menuData[2][1][1]="pvdt/0.htm";

//Notities
menuData[3][0][0]=" inleiding";
menuData[3][0][1]="not_inleiding.html";
menuData[3][1][0]=" afdwalen";
menuData[3][1][1]="notities/not_derive.html";
menuData[3][2][0]=" fases";
menuData[3][2][1]="notities/not_fases.html";
menuData[3][3][0]=" Maya";
menuData[3][3][1]="notities/not_maya.html";
menuData[3][4][0]=" Nietzsche";
menuData[3][4][1]="notities/not_nietzsche.html";
menuData[3][5][0]=" Tekst";
menuData[3][5][1]="notities/not_tekst.html";
menuData[3][6][0]=" Tel Quel";
menuData[3][6][1]="notities/not_telquel.html";

// enter navigation data into array
// kristeva
menuData[4][0][0]=" inleiding";
menuData[4][0][1]="krist_inleiding.html";
menuData[4][1][0]=" boeken van Kristeva";
menuData[4][1][1]="krist_biblio.html";
menuData[4][2][0]=" boeken over Kristeva";
menuData[4][2][1]="krist_biblio_boekover.html";

// enter navigation data into array
// duras
menuData[5][0][0]=" Friedrich Nietzsche";
menuData[5][0][1]="denker/nietzsche";
menuData[5][1][0]=" James Joyce";
menuData[5][1][1]="schrijver/joyce";
menuData[5][2][0]=" Marguerite Duras";
menuData[5][2][1]="schrijver/duras";
menuData[5][3][0]=" Robert Antelme";
menuData[5][3][1]="schrijver/antelme";
menuData[5][4][0]=" Arthur Rimbaud";
menuData[5][4][1]="schrijver/rimbaud";


// enter navigation data into array
// links
menuData[6][0][0]=" Roland Barthes";
menuData[6][0][1]="links_barthes.html";
menuData[6][1][0]=" Algemeen filosofie";
menuData[6][1][1]="links_filosofie.html";
}

function MaakMenuNot()
{
// declare array
menuData = new Array()
for (i=0; i < 7; i++) {
	menuData[i] = new Array(40)
	for (j=0; j < 20; j++) {
		menuData[i][j] = new Array(2)}}

// enter navigation data into array
// Homepage
menuData[0][0][0]=" Thuis";
menuData[0][0][1]="../home.html";
menuData[0][1][0]=" Pagina Lezen";
menuData[0][1][1]="../index.html";
menuData[0][2][0]=" Pagina Werken";
menuData[0][2][1]="http://www.ggzbeleid.nl";
menuData[0][3][0]=" Pagina Wandelen";
menuData[0][3][1]="http://samenland.nl";



// enter navigation data into array
// Roland Barthes
menuData[1][0][0]=" inleiding";
menuData[1][0][1]="../bar_inleiding.html";
menuData[1][1][0]=" werken van Barthes";
menuData[1][1][1]="../bar_bio.html";
menuData[1][2][0]=" bibliografie inleiding";
menuData[1][2][1]="../bar_biblio.html";
menuData[1][3][0]=" studies over Barthes";
menuData[1][3][1]="../bar_biblio_boek.html";
menuData[1][4][0]=" tijdschriften over Barthes";
menuData[1][4][1]="../bar_biblio_tft.html";
menuData[1][5][0]=" le plaisir du texte";
menuData[1][5][1]="../pvdt_inleiding.html";

// enter navigation data into array
// Pvdt
menuData[2][0][0]=" inleiding";
menuData[2][0][1]="../pvdt_inleiding.html";
menuData[2][1][0]=" vertaling";
menuData[2][1][1]="../pvdt/00.htm";

//Notities
menuData[3][0][0]=" inleiding";
menuData[3][0][1]="../not_inleiding.html";
menuData[3][1][0]=" afdwalen";
menuData[3][1][1]="not_derive.html";
menuData[3][2][0]=" fases";
menuData[3][2][1]="not_fases.html";
menuData[3][3][0]=" Maya";
menuData[3][3][1]="not_maya.html";
menuData[3][4][0]=" Nietzsche";
menuData[3][4][1]="not_nietzsche.html";
menuData[3][5][0]=" Tekst";
menuData[3][5][1]="not_tekst.html";
menuData[3][6][0]=" Tel Quel";
menuData[3][6][1]="not_telquel.html";

// enter navigation data into array
// kristeva
menuData[4][0][0]=" inleiding";
menuData[4][0][1]="../krist_inleiding.html";
menuData[4][1][0]=" boeken van Kristeva";
menuData[4][1][1]="../krist_biblio.html";
menuData[4][2][0]=" boeken over Kristeva";
menuData[4][2][1]="../krist_biblio_boekover.html";

// enter navigation data into array
// duras
menuData[5][1][0]=" Marguerite Duras";
menuData[5][1][1]="../aut_duras.html";
menuData[5][2][0]=" Robert Antelme";
menuData[5][2][1]="../aut_antelme.html";
menuData[5][3][0]=" Camille Laurens";
menuData[5][3][1]="../aut_laurens.html";
menuData[5][4][0]=" Arthur Rimbaud";
menuData[5][4][1]="../aut_rimbaud.html";
menuData[5][5][0]=" Friedrich Nietzsche";
menuData[5][5][1]="../aut_nietzsche.html";
menuData[5][6][0]=" James Joyce";
menuData[5][6][1]="../aut_joyce.html";
// enter navigation data into array
// links
menuData[6][0][0]=" Roland Barthes";
menuData[6][0][1]="../links_barthes.html";
menuData[6][1][0]=" Algemeen filosofie";
menuData[6][1][1]="../links_filosofie.html";
}

function MaakMenuPvdt()
{
// declare array
menuData = new Array()
for (i=0; i < 8; i++) {
	menuData[i] = new Array(40)
	for (j=0; j < 20; j++) {
		menuData[i][j] = new Array(2)}}

// enter navigation data into array
// Homepage
menuData[0][0][0]="Home";
menuData[0][0][1]="../index";
menuData[0][1][0]="Roland Barthes";
menuData[0][1][1]="../denker/barthes";
menuData[0][2][0]="Julia Kristeva";
menuData[0][2][1]="../denker/kristeva";
menuData[0][3][0]="notities";
menuData[0][3][1]="../not_inleiding.html";

// enter navigation data into array
// PvdT
menuData[1][0][0]="inleiding";
menuData[1][0][1]="../pvdt_inleiding.html";
menuData[1][1][0]="vertaling";
menuData[1][1][1]="00.htm";

// enter navigation data into array
// Titel
menuData[2][0][0]="Titelpagina";
menuData[2][0][1]="00.htm";
menuData[2][1][0]=" Inhoudsopgave";
menuData[2][1][1]="47.htm";
//Frag 1
menuData[3][0][0]="Afdrift(A)";
menuData[3][0][1]="10.htm";
menuData[3][1][0]="Affirmatie(A)";
menuData[3][1][1]="1.htm";
menuData[3][2][0]="Alledaags";
menuData[3][2][1]="36.htm";
menuData[3][3][0]="Angst";
menuData[3][3][1]="32.htm";
menuData[3][4][0]="Babel(A)";
menuData[3][4][1]="2.htm";
menuData[3][5][0]="Beluisteren";
menuData[3][5][1]="14.htm";
menuData[3][6][0]="Benoeming";
menuData[3][6][1]="42.htm";
menuData[3][7][0]="Betekening";
menuData[3][7][1]="42.htm";
menuData[3][8][0]="Brio";
menuData[3][8][1]="5.htm";
// enter navigation data into array
// Frag 2
menuData[4][0][0]="Commentaar";
menuData[4][0][1]="9.htm";
menuData[4][1][0]="Droom";
menuData[4][1][1]="40.htm";
menuData[4][2][0]="Fetisj";
menuData[4][2][1]="19.htm";
menuData[4][3][0]="Gebabbel";
menuData[4][3][1]="3.htm";
menuData[4][4][0]="Genootschap";
menuData[4][4][1]="7.htm";
menuData[4][5][0]="Gespletenheid";
menuData[4][5][1]="6.htm";
menuData[4][6][0]="Imaginair";
menuData[4][6][1]="21.htm";
menuData[4][7][0]="Inkapseling";
menuData[4][7][1]="37.htm";
menuData[4][8][0]="Intertekst";
menuData[4][8][1]="22.htm";
menuData[4][8][0]="Isotroop";
menuData[4][8][1]="23.htm";
 
// enter navigation data into array
// frag3
menuData[5][0][0]="Lezen";
menuData[5][0][1]="25.htm";
menuData[5][1][0]="Lichaam";
menuData[5][1][1]="8.htm";
menuData[5][2][0]="Mandarijnendom";
menuData[5][2][1]="26.htm";
menuData[5][3][0]="Modern";
menuData[5][3][1]="27.htm";
menuData[5][4][0]="Nauwkeurigheid";
menuData[5][4][1]="18.htm";
menuData[5][5][0]="Nihilisme";
menuData[5][5][1]="28.htm";
menuData[5][6][0]="Obscurantisme";
menuData[5][6][1]="30.htm";
menuData[5][7][0]="Oedipus";
menuData[5][7][1]="31.htm";
menuData[5][8][0]="Omkering";
menuData[5][8][1]="17.htm";
menuData[5][8][0]="Oorlog(A)";
menuData[5][8][1]="20.htm";
menuData[5][9][0]="Ontroering";
menuData[5][9][1]="15.htm";

// enter navigation data into array
// frag 4
menuData[6][0][0]="Plezier";
menuData[6][0][1]="34.htm";
menuData[6][1][0]="Politiek";
menuData[6][1][1]="35.htm";
menuData[6][2][0]="Rechts";
menuData[6][2][1]="12.htm";
menuData[6][3][0]="Ruil";
menuData[6][3][1]="13.htm";
menuData[6][4][0]="Stem";
menuData[6][4][1]="46.htm";
menuData[6][5][0]="Subject(A)";
menuData[6][5][1]="43.htm";
menuData[6][6][0]="Taalsysteem";
menuData[6][6][1]="24.htm";
menuData[6][7][0]="Theorie";
menuData[6][7][1]="44.htm";
// enter navigation data into array
// frag 5
menuData[7][0][0]="Verveling";
menuData[7][0][1]="16.htm";
menuData[7][1][0]="Voorstelling";
menuData[7][1][1]="38.htm";
menuData[7][2][0]="Waarde";
menuData[7][2][1]="45.htm";
menuData[7][3][0]="Weerstand";
menuData[7][3][1]="39.htm";
menuData[7][4][0]="Wetenschap(A)";
menuData[7][4][1]="41.htm";
menuData[7][5][0]="Zeggen";
menuData[7][5][1]="11.htm";
menuData[7][6][0]="Zin";
menuData[7][6][1]="33.htm";
menuData[7][7][0]="Zijden(A)";
menuData[7][7][1]="4.htm";
}
//--------------------verander niets onder deze lijn--------------------
//gehanteerde vork:
//Gecko voor IE 5+ NS 6+, opera 5+
//IE 4
//NS 4-5
//geen subemenu's
function test()
{if (document.getElementById)
  {
   
  }
  else if (document.all)
  {
    
  }
  else if (document.layers)
  {
    
  }
  else {return}
}



// shows the drop down menu 

function showDDNav(layer)
{ 
if (document.getElementById)
  {
   obj = document.getElementById( layer );
   if (obj) if(obj.style.visibility=='hidden'){obj.style.visibility = 'visible'}
  }
  else if (document.all)
  {
	theObj=eval(document.all[layer]);
		if (theObj) if(theObj.style.visibility=='hidden'){hideElement('SELECT');theObj.style.visibility = 'visible'}
  }
  else if (document.layers)
  {
    var theObj;
		theObj = eval(layer);
  		if (theObj) if(theObj.visibility=='hide'){theObj.visibility = 'show'};
  }
  else {return}
}

// hides the drop down menu 

function hideDDNav(layer)
{if (document.getElementById)
  {
   obj = document.getElementById( layer )
	if (obj) if(obj.style.visibility=='visible'){obj.style.visibility = 'hidden'}
  }
  else if (document.all)
  {
    theObj=eval(document.all[layer]);
		if (theObj) if(theObj.style.visibility=='visible'){showElement('SELECT');theObj.style.visibility = 'hidden'}
  }
  else if (document.layers)
  {
    theObj = eval(layer);
		if (theObj) if(theObj.visibility=='show'){theObj.visibility = 'hide';}
  }
  else {return}
}
// hides drop down menu when menu is active
//alleen voor ie4
function hideDiv()
{
    args=hideDiv.arguments;
	theObj=eval(args[0]);
		// calculate active size of menu
		leftDiv=theObj.offsetLeft +2
		rightDiv=theObj.offsetLeft + theObj.clientWidth -2
		topDiv=theObj.offsetTop +2
		bottomDiv=theObj.offsetTop + theObj.clientHeight -2
		if(window.event.clientY > bottomDiv || 
			window.event.clientY < topDiv || 
			window.event.clientX < leftDiv || 
			window.event.clientX > rightDiv)
			{theObj.style.visibility = 'hidden';showElement('SELECT');}
}

// highlight on menuitem Gecko
function divOver(layer)
{   obj = document.getElementById(layer)
	obj.style.color=LetKleurAan;
	if(obj.style.backgroundColor=KleurAan){obj.style.backgroundColor=KleurUit;};
	
	
}

// highlight off menuitem Gecko
function divOut(layer)
{ obj = document.getElementById(layer)
		obj.style.color=LetKleurUit;
		if(obj.style.backgroundColor=KleurUit){obj.style.backgroundColor=KleurAan;};
		
}
// highlight on menuitem IE4
function divOverIE()
{ args=divOverIE.arguments;
	theObj=eval(args[0]);
	if (theObj) if(theObj.style.backgroundColor=KleurUit){theObj.style.backgroundColor=KleurAan;};
	theObj.style.color=LetKleurUit;
}

// highlight off menuitem IE4
function divOutIE()
{
    args=divOutIE.arguments;
    theObj=eval(args[0]);
	if (theObj) if(theObj.style.backgroundColor=KleurAan){theObj.style.backgroundColor=KleurUit;};
	theObj.style.color=LetKleurAan;
}

// highlight on menuitem netscape 4
function divOverNS(){
	var args, themenu;
	args = divOverNS.arguments;
	themenu = eval(args[0]);
	themenu.bgColor=LetKleurAan
}

// highlight off menuitem netscape 4
function divOutNS(){
	var args, themenu;
	args = divOutNS.arguments;
	themenu = eval(args[0]);
	themenu.bgColor=KleurUit 
}

// goes to specified url
function gotoUrl(){
	args = gotoUrl.arguments;
	location.href=args[0]
}
// hides specified tag IE 4
function hideElement(HTMLtag)
{
	for (i = 20; i < document.all.tags(HTMLtag).length; i++)
	{
		obj = document.all.tags(HTMLtag)[i];
		obj.style.visibility = "hidden";
	}
}

// shows specified tag IE4
function showElement(HTMLtag)
{
	for (i = 1; i < document.all.tags(HTMLtag).length; i++)
	{
		obj = document.all.tags(HTMLtag)[i];
		obj.style.visibility = "visible";
	}
}

// build the divs for IE
var tdID = 0;
function doDiv()
{

if (document.getElementById)
  {
   
   args = doDiv.arguments;
	var divID = args[0];
	var x = args[1];
	var divTop = args[2];
	var divLeft = 148; 
	var arrowPos = "left";
	
	objDiv = "<div id=\"" + divID + "\" style=\"position:absolute; display:block; left:"+ divLeft +"px; top:"+ divTop +"px; width:600px; z-index:1; visibility:hidden; padding-left:2;\" onMouseover=\"showDDNav('"+divID+"')\"  onMouseout=\"hideDDNav('" + divID + "')\">";
		
	for (y = 0; y < 13; y++){
	    if(menuData[x][y][0]!=null){
		objDiv += "<div id=\"x" + tdID + "\" class=\"nav\" style=\"position:relative; background-color:"+KleurAan+"; color:"+LetKleurUit+"; cursor: pointer; width:180px;\" onMouseover=\"divOver('x" + tdID + "')\" onMouseout=\"divOut('x" + tdID + "')\"><span class=\"nav\" onclick=\"gotoUrl('"+menuData[x][y][1]+"')\">"+ menuData[x][y][0] +" </span></div>"
		tdID = tdID +1
		}
	}
	
	objDiv +="</div>"
	
	document.write(objDiv);
  }
  else if (document.all)
  {
     args = doDiv.arguments;
	var divID = args[0];
	var x = args[1];
	var divTop = args[2];
	var divLeft = 130;
	var arrowPos = "left";
	
	objDiv = "<div id=\"" + divID + "\" style=\"position:absolute; left:"+ divLeft +"px; top:"+ divTop +"px; width:180px; z-index:300; background-color:"+KleurAan+"; visibility:hidden; padding-left:2;\" onMouseover=\"showDDNav('"+divID+"')\"  onMouseout=\"hideDiv('document.all[\\'" + divID + "\\']')\">"
		
	for (y = 0; y < 13; y++){
	    if(menuData[x][y][0]!=null){
		objDiv += "<div id=\"x" + tdID + "\" style=\"position:relative; background-color:"+ KleurUit+"; width:180px;\" onMouseover=\"divOverIE('document.all[\\'x" + tdID + "\\']')\" onMouseout=\"divOutIE('document.all[\\'x" + tdID + "\\']')\"><span class=\"navIE4\" onClick=\"gotoUrl('"+menuData[x][y][1]+"')\">"+ menuData[x][y][0] +" </span></div>"
		tdID = tdID +1
		}
	}
		
	objDiv +="</div>"
	
	document.write(objDiv);
  }
  else if (document.layers)
  {
     args = doDiv.arguments;
	var divID = args[0];
	var x = args[1];
	var divTop = args[2];
	var divLeft = 148;
	var arrowPos = "left";

	if(navigator.platform.indexOf("Win") < 0){layerInc=15;layerStyle="navNS";}
	else{layerInc=22;layerStyle="navNS";}	
		
	objDiv = "<layer id=\""+ layerID +"\" Z-INDEX=100 BGCOLOR=\"004D82\" WIDTH=180 LEFT="+ layerLeft +" TOP="+ layerTop +" VISIBILITY=HIDE onmouseover=\"showDDNav('','document.layers[\\'"+ layerID +"\\']')\" onmouseout=\"hideDDNav('','document.layers[\\'"+ layerID +"\\']')\">"
	objDiv +="<layer id=\"line\" BGCOLOR=\"004D82\" WIDTH=180 HEIGHT=4 Z-INDEX=700><center><img src=../images/bar.gif width=180 height=2></center></layer>"
	
	var nestTop=3
		for (y = 0; y < 13; y++){
		    if(menuData[x][y][0]!=null){
			
	objDiv += "<layer id=\"x"+nestLayerID+"\" CLIP=\"2,0,147,22\" class=\""+ layerStyle +"\" Z-INDEX=700 BGCOLOR=\""+KleurAan+"\" HEIGHT=21 WIDTH=130 TOP="+ nestTop +" onmouseover=\"divOverNS('document.layers[\\'"+ layerID +"\\'].document.layers[\\'x"+nestLayerID+"\\']')\" onmouseout=\"divOutNS('document.layers[\\'"+ layerID +"\\'].document.layers[\\'x"+nestLayerID+"\\']')\"><a href=javascript:gotoUrl('"+menuData[x][y][1]+"')><font color=#FFFFFF>"+ menuData[x][y][0]
	objDiv +="</font></a></layer>"		

	nestLayerID=nestLayerID+1
	nestTop=nestTop+layerInc
	objDiv +="<layer id=\"line2\" BGCOLOR=\"004D82\" WIDTH=130 HEIGHT=5 Z-INDEX=700 TOP="+ nestTop +"><center><img src=../images/bar.gif width=180 height=2></center></layer>"
	nestTop=nestTop+2
			}
		}
	objDiv +="<layer id=\"lineEnd\" BGCOLOR=\"004D82\" WIDTH=130 HEIGHT=4 Z-INDEX=700 TOP="+ nestTop +"></layer></layer>"

	document.write(objDiv)
  }
  else {return}
}

function showDDdiv(layer)
{ 
if (document.getElementById)
  {
   obj = document.getElementById( layer );
   if (obj) if(obj.style.display=='none'){obj.style.display = 'block'}
   else {obj.style.display='none'}
  }
  else if (document.all)
  {
	theObj=eval(document.all[layer]);
		if (theObj) if(theObj.style.display=='none'){theObj.style.display = 'block'}
		 else {theObj.style.display='none'}
  }
  else if (document.layers)
  {
    //zit fout in onderstaande code. uitgezet op 211204. waarvoor dient deze functie?
	//var theObj;
	//	theObj = eval(layer);
  	//	if (theObj) if(theObj.display=='none'){theObj.display = 'block'};
	//	else {theObj.display='none'}
  }
  else {return}
}


//Let op bij dit menu.js horen de volgende regels in het ccs bestand:
// een classregel .nav voor Gecko en IE4 opnemen met lettertype, lengte tekstregels
// een classregel .navNS voor de subemenuitems van netscape 4

//Met dank aan Todd Matzke, Web Designer

