		col_link = "#777777";
		col_hover = "#BBBBBB";
		col_active = "#FFFFFF";
		spc_hover = "0.1ex";
		active = null;
		hover = null;
		prefix = "a_";
		
		s_max = 0.6;
		v_norm = 0.04;
		
		a_home_text = "home :: the main page";
		a_cartoons_text = "cartoons :: jokes mainly in german language (javascript required)";
		a_3dart_text = "3d art :: toony rendered 3d pictures (javascript required)";
		a_animation_text = "animation :: animated cartoons (flash 4 required)";
		a_illustration_text = "adamtoons :: illustration";
		a_games_text = "adamtoons :: interactive";
		a_webdesign_text = "webdesign :: java applets for free use (java 1.1 required) and flash stuff";
		a_links_text = "links :: sites even worse than this one";
		a_contact_text = "contact :: more about the author";

		a_home_title = "adamtoons";
		a_cartoons_title = "adamtoons :: cartoons";
		a_3dart_title = "adamtoons :: 3d art";
		a_animation_title = "adamtoons :: animation";
		a_illustration_title = "adamtoons :: illustration";
		a_games_title = "adamtoons :: interactive";
		a_webdesign_title = "adamtoons :: webdesign";
		a_links_title = "adamtoons :: links";
		a_contact_title = "adamtoons :: contact";
		
		opera = (navigator.userAgent.indexOf("Opera") != -1);		
		
		function inflate(on) {
		
			if (opera) return;
		
			o = (document.all) ? document.all[on] : document.anchors[on];
			//ls = o.style.letterSpacing;
			//s = parseFloat(ls.substring(0, ls.length - 2));
			s = o["letterSpacing"];
			if (! s) s = 0;
			
			if (o == hover) {
				s += v_norm;
			} else {
				s -= v_norm / 2;
			}
			
			if (s > s_max) {
				s = s_max;
			} else if (s < 0) {
				s = 0;
			} else {
				window.setTimeout("inflate('"+on+"')", 10);
			}
			o["letterSpacing"] = s;
			o.style.letterSpacing = s+"ex";
		}
		
		function activate(ID) {
			new_active = null;
			if (ID != "") {
				ID = prefix + ID;
				new_active = (document.all) ? document.all[ID] : document.anchors[ID];
			}
			if (new_active == active) return;
			if (active) active.style.color = col_link;
			if (new_active) new_active.style.color = col_active;
			active = new_active;
			updateTitle();
		}
		
		function updateStatus() {
			if (hover) {
				s = window[hover.name + "_text"];
				if (s) window.status = s;
			} else {
				window.status = "";
			}
		}
		
		function updateTitle() {
			if (active) {
				t = window[active.name + "_title"];
				if (t) top.document.title = t;
			} else {
				top.document.title = a_home_title;
			}
		}
		
		function mouseOver(so) {
			hover = so;
			updateStatus();
			if (active == so) {
				so.style.color = col_active;
			} else {
				so.style.color = col_hover;
			}
			inflate(so.name);
		}

		function mouseOut(so) {
			if (hover == so) hover = null;
			updateStatus();
			if (active == so) {
				so.style.color = col_active;
			} else {
				so.style.color = col_link;
			}
			inflate(so.name);
		}

		function mouseDown(sender) {
		}
		
		function init() {
			if (top.main['title']) activate(top.main['title']);
		}

