

function Zellfarbe(ImgObjNr,CellId,ActiveItem) {
   
      curs = false;
      gelb = "#ffff00";
      grun = "#006600";
      weis = "#fffff0";
      grau = "#C0C0C0";
      
      switch(ActiveItem) {
          case 0 : ActiveCol = grau;  break;
          case 1 : ActiveCol = gelb; curs = true; break;
          case 2 : ActiveCol = grun; curs = true; break;
          case 9 : ActiveCol = weis; curs = true; break;
          default: ActiveCol = weis; break;  }

	window.document.all[CellId].style.backgroundColor=ActiveCol; 
	if (curs) window.document.all[CellId].style.cursor="hand";
} 

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function setVariables() {
if (navigator.appName == "Netscape") {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else {
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
   }
}
function checkLocation() {
object="object1";
yy=eval(y);
eval(dS+object+sD+v+yy);
setTimeout("checkLocation()",10);
}
//  End -->

