
	// initialise arrows
	  	arrow_1			= new Image();
		arrow_2			= new Image();
		arrow_3			= new Image();		
		arrow_4			= new Image();
		arrow_5			= new Image();
		arrow_6			= new Image();
		arrow_7			= new Image();
		arrow_8			= new Image();
		arrow_9			= new Image();


	  	// load arrows
	  	arrow_1.src		= "../img/arrow_1.gif";
		arrow_2.src		= "../img/arrow_2.gif";
		arrow_3.src		= "../img/arrow_3.gif";	
		arrow_4.src		= "../img/arrow_4.gif";
		arrow_5.src		= "../img/arrow_5.gif";
		arrow_6.src		= "../img/arrow_6.gif";
		arrow_7.src		= "../img/arrow_7.gif";
		arrow_8.src		= "../img/arrow_8.gif";
		arrow_9.src		= "../img/arrow_9.gif";
	

	  	// initialise images
	  	error_404		= new Image();
		ad				= new Image();
		magazine		= new Image();
		page			= new Image();
		plaintext		= new Image();
		postcard		= new Image();
		prototype		= new Image();
		word			= new Image();


		// load images
	  	error_404.src	= "img/00_ThisIsNot_404.gif";	
		ad.src			= "img/00_ThisIsNot_ad.gif";
		magazine.src	= "img/00_ThisIsNot_magazine.gif";
		page.src		= "img/00_ThisIsNot_page.gif";
		plaintext.src	= "img/00_ThisIsNot_plaintext.gif";
		postcard.src	= "img/00_ThisIsNot_postcard.gif";
		prototype.src	= "img/00_ThisIsNot_prototype.gif";
		word.src		= "img/00_ThisIsNot_word.gif";
	  	

	  	// initialise Array
	  	var thisIsArray = [];	  	
		var thisIsArray = [error_404, ad, magazine, page, plaintext, postcard, prototype, word];
		
		// setup variables
		var newIcon = "";
		var newArrow = "";
		
		// -----------------------------
		// functions:

		function getImgReference(x) {
		    var def = "arrow_1.gif"
    		
			 if(x == 1)   {def = "arrow_1.gif"}
			 if(x == 2)   {def = "arrow_2.gif"}
			 if(x == 3)   {def = "arrow_3.gif"}
			 if(x == 4)   {def = "arrow_4.gif"}
			 if(x == 5)   {def = "arrow_5.gif"}
			 if(x == 6)   {def = "arrow_6.gif"}
			 if(x == 7)   {def = "arrow_7.gif"}
			 if(x == 8)   {def = "arrow_8.gif"}
			 if(x == 9)   {def = "arrow_9.gif"}
	
			 return def
		}
		
		function changeImages(Ziel,Quelle) {
		  Ziel.src = Quelle;
		}	

		function updateIcons(imgNo, imgPos) {
			// change arrow icons
			r = Math.random();
			elementno = Math.round(r * 9);
			newArrow = getImgReference(elementno);
			newIcon  = "img/" + newArrow;
			changeImages(imgPos, newIcon);
			
			// change ThisIsNot-Image
			r = Math.random();
			elementno = Math.round(r * 7);
			newImageThisIs = thisIsArray[elementno];
			document.ThisIs.src = newImageThisIs.src;

		}
	
		// creates the "text body"
		function writeText(startPos, endPos) {		
			for(i = startPos; i <= endPos; i++) {
				var def  = "arrow_1.gif";
				var size = 'width="15px" height="15px"';
				
				jscommand = 'updateIcons(' + i + ', pos' + i + ')';
				
				document.write('<a href="#" onMouseOver="' + jscommand + '"><img src="img/' + def + '" ' + size + ' border="0" name="pos' + i + '" /></a>');		
			}
		}
		
		// random Image with reload of the page
		var randomImage = thisIsArray[Math.round(Math.random()*7)].src;
