/* 	File: global.js
	Contents: Konstanten der Randomimage Funktion
	Author: Techdivision, Daniel Sasjadvolk */

  var objekte= new Array()
   
  //Objkete
  objekte[objekte.length]='/global/images/top/top01.jpg';
  objekte[objekte.length]='/global/images/top/top02.jpg';
  objekte[objekte.length]='/global/images/top/top03.jpg';
  objekte[objekte.length]='/global/images/top/top04.jpg';
  
  o=parseInt(Math.random()*objekte.length);
  o=(isNaN(o))?0:o;							  
  
/**
 * Sets/unsets the pointer in browse mode
 *
 * @param   object   the table row
 * @param   object   the color to use for this row
 *
 * @return  boolean  whether pointer is set or not
 */
function setTDPointer(theCell, thePointerColor)
{
    if (thePointerColor == '' || typeof(theCell.style) == 'undefined') {
        return false;
    }
	
	theCell.style.backgroundColor = thePointerColor;

    return true;
} // end of the 'setTDPointer()' function

