// Wechselt die Linkfarbe fuer die Mouseoversfunction color(obj_id, color) {	document.getElementById(obj_id).style.color = color;	}last_still_data = '';last_swf_data = '';// Wechselt den Detailscreen beim anklicken eines Thumbnailsfunction change_screen(screen_data,tn,still_data) {	last_still_data = still_data;	last_swf_data = screen_data;		document.getElementById("proj_screen").innerHTML = screen_data;	for(var x = 0; x < document.images.length; x++) {		if(document.images[x].name.substr(0,2) == 'tn') {			if(document.images[x].name == tn) {				document.getElementById(tn).style.borderWidth = '2px';				document.getElementById(tn).style.borderStyle = 'solid';				document.getElementById(tn).style.borderColor = tn_fgcolor;				}			else {				document.getElementById(document.images[x].name).style.borderWidth = '0px';				document.getElementById(document.images[x].name).style.borderStyle = 'none';				document.getElementById(document.images[x].name).style.borderColor = tn_fgcolor;				}			}		}	}	// Blendet den Textlayer ueber ein Bild einfunction rm() {	if(last_still_data) {		document.getElementById("proj_screen").innerHTML = last_still_data;		}	document.getElementById("project_detail_txtlayer").style.visibility = 'visible';	}	// Blendet den Textlayer ueber ein Bild ausfunction rl() {	if(last_swf_data) {		document.getElementById("proj_screen").innerHTML = last_swf_data;		}	document.getElementById("project_detail_txtlayer").style.visibility = 'hidden';	}	// Scrollerfunktionen  32 ist ein Projektspeed = 2;calls = 0;stop_by = 128;function move_down(scroll_elem) {	if(calls) { return; }	if (parseInt(document.getElementById(scroll_elem).style.top)<=(document.getElementById(scroll_elem).offsetHeight*(-1)+300)) {		return;		}	if(window.s_up) { clearInterval(s_up); }	if(window.s_down) { clearInterval(s_down); }	calls = 0;	s_down=setInterval("move_one_pixel_down('"+scroll_elem+"')",'20');	}function move_one_pixel_down(scroll_elem) {	calls++;	document.getElementById(scroll_elem).style.top=parseInt(document.getElementById(scroll_elem).style.top)-speed+"px";	if(calls >= stop_by) { clearInterval(s_down); calls = 0; }	}function move_up(scroll_elem) {	if(calls) { return; }	if (parseInt(document.getElementById(scroll_elem).style.top) >= 0) {		return;		}	if(window.s_up) { clearInterval(s_up); }	if(window.s_down) { clearInterval(s_down); }	calls = 0;	s_up=setInterval("move_one_pixel_up('"+scroll_elem+"')",'20');	}function move_one_pixel_up(scroll_elem) {	calls++;	document.getElementById(scroll_elem).style.top=parseInt(document.getElementById(scroll_elem).style.top)+speed+"px";	if(calls >= stop_by) { clearInterval(s_up); calls = 0; }	}function stopscroll() {	if (window.s_down) { clearInterval(s_down); }	if (window.s_up) { clearInterval(s_up); }	calls = 0;	}function movetop(scroll_elem) {	stopscroll();	document.getElementById(scroll_elem).style.top=0+"px";	}
