﻿drawingsStreng =""
drawingsAntal = 0


drawingsSide = new Array(0)
drawingsTitel = new Array(0)
drawingsInfo = new Array(0)

// DRAWINGS 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"

drawingsSide[drawingsSide.length] ="exteriorstills"
drawingsSide[drawingsSide.length] ="6tables"
drawingsSide[drawingsSide.length] ="distrib"
drawingsSide[drawingsSide.length] ="yourb"
drawingsSide[drawingsSide.length] ="fitti"
drawingsSide[drawingsSide.length] ="stand"
//drawingsSide[drawingsSide.length] ="top10"
//drawingsSide[drawingsSide.length] ="ilove"
drawingsSide[drawingsSide.length] ="howto"
drawingsSide[drawingsSide.length] ="threenotes"
drawingsSide[drawingsSide.length] ="every"
drawingsSide[drawingsSide.length] ="airba"
drawingsSide[drawingsSide.length] ="safet"

// 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.

drawingsTitel[drawingsTitel.length] = "Exterior City Sets of Stills"
drawingsTitel[drawingsTitel.length] = "6 tables for a final and definite mapping of the city"
drawingsTitel[drawingsTitel.length] = "Distribution (lines and curves of desire)"
drawingsTitel[drawingsTitel.length] = "Your body is an image"
drawingsTitel[drawingsTitel.length] = "Fitting/voting"
drawingsTitel[drawingsTitel.length] = "Danish Standards"
//drawingsTitel[drawingsTitel.length] = "Top 10 Movies Ever Made"
//drawingsTitel[drawingsTitel.length] = "I Love the State, the State Loves Me"
drawingsTitel[drawingsTitel.length] = "How to Photograph Women"
drawingsTitel[drawingsTitel.length] = "Three Notes on Architecture"
drawingsTitel[drawingsTitel.length] = "Everything in Capitalism"
drawingsTitel[drawingsTitel.length]= "Airbags"
drawingsTitel[drawingsTitel.length] = "Safety"

// 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.

drawingsInfo[drawingsInfo.length] = "digital collage"
drawingsInfo[drawingsInfo.length] = "collages"
drawingsInfo[drawingsInfo.length] = "digital collage"
drawingsInfo[drawingsInfo.length] = "drawing for a billboard"
drawingsInfo[drawingsInfo.length] = "drawings for a newspaper"
drawingsInfo[drawingsInfo.length] = "drawing for a wall"
//drawingsInfo[drawingsInfo.length] = ""
//drawingsInfo[drawingsInfo.length] = ""
drawingsInfo[drawingsInfo.length] = "drawings for a manual"
drawingsInfo[drawingsInfo.length] = "drawings for posters"
drawingsInfo[drawingsInfo.length] = "drawings for walls"
drawingsInfo[drawingsInfo.length] = "drawing for advertising space"
drawingsInfo[drawingsInfo.length] = "drawings for manuals, films and more"

// 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;


drawingsAntal = drawingsSide.length

function writeDrawingsmenu(siden)
{
for(i=0;i<drawingsAntal;i++){
	if(siden=="index"){
		drawingsStreng += "| <a href='drawings/"
		drawingsStreng += drawingsSide[i]
		drawingsStreng += ".html'"
		if(!(drawingsInfo[i]=="")){
			drawingsStreng += "title='"
			drawingsStreng += drawingsInfo[i]
			drawingsStreng += "'"}	
		drawingsStreng += ">"			
		drawingsStreng += drawingsTitel[i]
		drawingsStreng += " </a>"
	}else{
		if (drawingsSide[i]==siden){
			drawingsStreng += "| "
			drawingsStreng += drawingsTitel[i]
			drawingsStreng += " "
			}else{
				drawingsStreng += "| <a href='"
				drawingsStreng += drawingsSide[i]
				drawingsStreng += ".html'"
				if(!(drawingsInfo[i]=="")){
					drawingsStreng += "title='"
					drawingsStreng += drawingsInfo[i]
					drawingsStreng += "'"}	
				drawingsStreng += ">"	
				drawingsStreng += drawingsTitel[i]
				drawingsStreng += " </a>"
				}
	}	}
drawingsStreng +=" |"
document.write(drawingsStreng)
}