// Functions for changing the background image (intro, submenu)function change_background_intro(pattern){	parent.background=pattern;	parent.pixel.location.reload();	self.location.href = "../02_introduction/introduction.html";}function change_background_submenu(){	switch(parent.background){		case "intro": 	change_background("modern");						break;		case "modern": 	change_background("hippie");						break;		case "hippie": 	change_background("binary");						break;		case "binary": 	change_background("retro");						break;										case "retro": 	change_background("tribal");						break;						case "tribal": 	change_background("modern");						break;	}}function change_background(pattern){	parent.background=pattern;	parent.pixel.location.reload();	self.location.reload();}// Functions for changing the project (portfolio)var actual_project = 1;var actual_layer = "project1";var max_project = 10;function change_project(num) {	actual_image = "p" + actual_project;	selected_image = "p" + num;	selected_layer = "project" + num;	document.images[actual_image].src = "../00_common/img/button_page_off.gif";	document.images[selected_image].src = "../00_common/img/button_page_on.gif";	document.images['screenshot'].src = "../04_portfolio/img/pic_portfolio_"+num+".jpg";	getElement(actual_layer).visibility = "hidden";	getElement(selected_layer).visibility = "visible";	actual_project = num;	actual_layer = "project" + num;}function previous_project() {	if (actual_project > 1)		change_project(actual_project-1);	}function next_project() {	if (actual_project < max_project)	change_project(actual_project+1);}// Functions for changing the galleryvar actual_gallery = 1;var actual_thumb = 1;var max_gallery = 4;function change_gallery(num){	actual_image = "g" + actual_gallery;	selected_image = "g" + num;	document.images[actual_image].src = "../00_common/img/button_page_off.gif";	document.images[selected_image].src = "../00_common/img/button_page_on.gif";		actual_gallery = num;		document.images["thumb_1_1"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_1.jpg";	document.images["thumb_1_2"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_2.jpg";	document.images["thumb_1_3"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_3.jpg";		document.images["thumb_2_1"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_4.jpg";	document.images["thumb_2_2"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_5.jpg";	document.images["thumb_2_3"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_6.jpg";		document.images["thumb_3_1"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_7.jpg";	document.images["thumb_3_2"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_8.jpg";	document.images["thumb_3_3"].src = "../06_gallery/img/pic_thumb_gallery_"+actual_gallery+"_9.jpg";		change_zoom(1);}function previous_gallery(){	if (actual_gallery > 1)		change_gallery(actual_gallery-1);}function next_gallery(){	if (actual_gallery < max_gallery)		change_gallery(actual_gallery+1);}function change_zoom(num) {	actual_thumb = num;	document.images["zoom"].src = "../06_gallery/img/pic_zoom_gallery_"+actual_gallery+"_"+actual_thumb+".jpg";}// Functions for changing the linksvar actual_links = "design";var actual_links_layer = "divdesign";function change_links(selected_links) {	selected_links_layer = "div" + selected_links;	document.images[actual_links].src = "../07_links/img/button_links_"+actual_links+"_off.gif";	document.images[selected_links].src = "../07_links/img/button_links_"+selected_links+"_on.gif";	getElement(actual_links_layer).visibility = "hidden";	getElement(selected_links_layer).visibility = "visible";	actual_links = selected_links;	actual_links_layer = "div" + selected_links;}// general functions for  netscapefunction redo() {  			window.location.reload();		}if (NN4) window.onresize = redo;