﻿streng =""
antal = 0

side = new Array(0)
titel = new Array(0)
info = new Array(0)

// WORKS MENU
// In order to add a page in this menu, you should do the following:
// 1. Copy one of the existing pages and give it a new name.
// 2. Copy the top line in the 3 lists below and add these top lines to the top of each list.

// 3. In the newly added line in this list, you should write the filename of the new page, but without ".html"

side[side.length] = "estim"
side[side.length] = "productionof"
side[side.length] = "somestatements"
side[side.length] = "tifo"
side[side.length] = "9scripts"
side[side.length] = "telev"
side[side.length] = "capitalfail"
side[side.length] = "ifyouread"
side[side.length] = "exterior"
side[side.length] = "whatiscap"
side[side.length] = "safety_odense"
side[side.length] = "wasis"
side[side.length] = "monum"
side[side.length] = "meaningis"
side[side.length] = "ifigi"
//side[side.length] = "hyrde"
side[side.length] = "iwill"
side[side.length] = "ofcou"
side[side.length] = "outer"
side[side.length] ="volls"
side[side.length] ="graff"
side[side.length] ="leftu"
side[side.length] ="lang"
side[side.length] ="other"
//side[side.length] ="daysd"
side[side.length] ="doublecinema"
side[side.length] ="kahve"
side[side.length] ="love"
side[side.length] ="all"
//side[side.length] ="allofI"
side[side.length] ="safe"
side[side.length] ="two"
side[side.length] ="within"
side[side.length] ="mapping"
side[side.length] ="evening"
side[side.length] ="doublefeature"


// 4. In the newly added line in this list, you should write the title of the new page that people will read in the menu.

titel[titel.length] = "Estimations"
titel[titel.length] = "Production of Futures. A Science Fiction About Counting."
titel[titel.length] = "Some statements in relation to a bank"
titel[titel.length] = "TIFO (event)"
titel[titel.length] = "9 Scripts from a Nation at War"
titel[titel.length] = "Televised 1: The I, the Anchor, and the Studio"
titel[titel.length] = "Capital Failure (Sold)"
titel[titel.length] = "If You Read This, I'll Give it to You"
titel[titel.length] = "Exterior City"
titel[titel.length] = "What is Capitalism?"
titel[titel.length] = "Safety Graffiti on hedges / in Odense"
titel[titel.length] = "Was ist Oeffentlichkeit?"
titel[titel.length] = "Monument for image production and image consumption"
titel[titel.length] = "Meaning is what hides the instability of one's position"
titel[titel.length] = "If I give you a Name, will you give me one?"
//titel[titel.length] = "Hyrdeh&oslash;j-settlement &#151; balconies"
titel[titel.length] = "I will describe only one more thing today:"
titel[titel.length] = "Of course the pain was not physical"
titel[titel.length] = "Outerplace"
titel[titel.length] = "Vollsmose and the Painting of Balconies"
titel[titel.length] = "Graffiti on Hedges"
titel[titel.length] = "Left Unsaid"
titel[titel.length] = "Languages of 82%"
titel[titel.length] = "Other Double Binds"
//titel[titel.length] = "days.dialogues.walls"
titel[titel.length] = "Double Cinema"
titel[titel.length] = "Kahve &amp; Kul&uuml;p"
titel[titel.length] = "Love is the Poetry of the Mob"
titel[titel.length] = "All of the Houses in the Area&#133; (II)"
//titel[titel.length] = "All of the Houses in the Area&#133; (I)"
titel[titel.length]= "Safety Guarantee"
titel[titel.length] = "Two Doors"
titel[titel.length] = "Withinwithout"
titel[titel.length] = "Mapping Vienna"
titel[titel.length] = "Evening Piece"
titel[titel.length] = "Double Feature"


// 5. In the newly added line in this list, you should write the bubble text of the new page.
//  If you want a menu point to NOT have a bubble text, there should just be a line with "" in the place where you would otherwise write the bubble text.

info[info.length] = "on re-insurance, risk, uncertainty and not-knowing"
info[info.length] = "part of on-going project on global financing"
info[info.length] = "dialogue with Nykredit"
info[info.length] = "productions of TIFOs with Kjernen, Trondheim"
info[info.length] = "with Andrea Geyer, Sharon Hayes, Ashley Hunt, David Thorne"
info[info.length] = "Interviews with news-anchors"
info[info.length] = "Intervention: Placing 'sold'-stickers on price-tags in departments-stores"
info[info.length] = "Distribution and flow of badges"
info[info.length] = "Video installation in 'diorama-cinema'"
info[info.length] = "Video installation with mirrors"
info[info.length] = "Photographs of spray-painted drawings on hedges"
info[info.length] = "intervention in Olympia-Stadt in Muenchen + video-installtion"
info[info.length] = "a newspaper without text as a one-day monument"
info[info.length] = "architectural 8-channel slide installation about the construction of nations-states and airports"
info[info.length] = "list of names from public bathrooms"
info[info.length] = "collages"
//info[info.length] = "collaboration with architects on urban design"
info[info.length] = "posters"
info[info.length] = "language, translation, globalisation, exotism"
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
//info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""
info[info.length] = ""


// Note: there must always be an equal number of lines in each list.
// OBS! For at skrive ?,? og ? skal du istedet inds?tte f?lgende koder:
// ? = &aelig;
// ? = &oslash;
// ? = &aring;


antal = side.length


function writeWorkmenu(siden)
{
for(i=0;i<antal;i++){
	if(siden=="index"){
		streng += "| <a href='works/"
		streng += side[i]
		streng += ".html'"
		if(!(info[i]=="")){
			streng += "title='"
			streng += info[i]
			streng += "'"}	
		streng += ">"			
		streng += titel[i]
		streng += " </a>"
	}else{
		if (side[i]==siden){
			streng += "| "
			streng += titel[i]
			streng += " "
			}else{
				streng += "| <a href='"
				streng += side[i]
				streng += ".html'"
				if(!(info[i]=="")){
					streng += "title='"
					streng += info[i]
					streng += "'"}	
				streng += ">"	
				streng += titel[i]
				streng += " </a>"
				}
	}	}
streng +=" |"
document.write(streng)
}