<!--
	/*** FUNCTIONS MUESSEN NOCH ZUSSAMENGEFASST WERDEN !!! VIEL TRASH ***/
	
	news = Array();
	news[0] = "Speed & Fun für Jedermann ?";
	news[1] = "Formula Kartbahn Nürnberg !"; 
	news[2] = "Ob 222, 333, 500 Runden,  6, 9, 12 oder 24 Stunden";
	news[3] = "bei uns erleben Sie Rennfeeling pur !";
	news[4] = "Formula Kartbahn Nürnberg !";
	
	x = 0;
	
	function mainNewsTicker() {
		document.news.tbox.value = news[x];
		setTimeout(mainNewsTicker,4000);
		if (x < 4) {
			x++;
		}
		else {
			x = 0;
		}
	}
		
	
	function doNavLink(contlink) {
		if (contlink != "NOLINK") {
			top.frames[3].location.href = contlink;
			parent.frames['mainfrm'].location.href = contlink;
		}
	}
	
	function gotoInternLink(ilink) {
		top.frames[2].location.href = ilink;
	}
	
	function imgchg(imgname,stat,wo) {		
		if (stat == 0) {
			document.images[imgname].src = "images/square_hi.gif";
		}
		else {
			document.images[imgname].src = "images/square.gif";
		}
	}
	
	function setImgOver(wich) {
		document.images[wich].src = "images/square_hi.gif";
	}
	
        function setsmile(Zeichen) {
        	document.mess.text.value =
		document.mess.text.value + Zeichen;
		document.mess.text.focus();
	}
	
	function userdetail(wichuser) {
		window.open("../gb/userdetail.php?user="+wichuser,"userdetail","height=162px, width=300px,status=no");
	}
	
	function rttermsinfo(wichuser) {
		window.open("rtevent_info.php?entry_id="+wichuser,"rrtermsinfo","height=162px, width=320px,status=no");
	}
	
	function pn_imgchg(imgname,mode,stat) {
		if (mode == "p") {
			if (stat == "off") {
				document.images[imgname].src = "images/history/prev_img.gif";
			}
			else {
				document.images[imgname].src = "images/history/prev_img_over.gif";
			}
		}
		else {
			if (stat == "off") {
				document.images[imgname].src = "images/history/next_img.gif";
			}
			else {
				document.images[imgname].src = "images/history/next_img_over.gif";
			}
		}
	}
	
	function viewbigimg(wichimg) {
		window.open("showimg.php?img="+wichimg,"bilder","height=180px, width=240px,status=no");
	}
	
	function viewmap(wichimg) {
		window.open("showimg.php?img="+wichimg,"bilder","height=256px, width=364px,status=no");
	}
	
	function egimg(w,h,wichimg) {
		window.open("showimg.php?img="+wichimg,"img"+h,"height="+h+"px, width="+w+"px,status=no");
	}
	
	
	
		
		
//-->