var layerRef="null";var styleSwitch="null";var visibleVar="null";var hiddenVar="null";var pxSwitch="null";
var widthClipSwitch="null";var heightClipSwitch="null";var availWidth="null";var availHeight="null";

window.defaultStatus='Willkommen bei surfspot.de - The Surfer\'s InfoZine';

// Generelle Funktionen: Spotsuche und Formfeld
var searchStatus = false;
function clearDefaultQuery(el) {
	if (el.defaultValue==el.value) el.value = "";
	if (el.style) el.style.cssText = "";
	}


/**
 * 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 setPointer(theRow, thePointerColor)
{
    if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') {
        return false;
    }

    var row_cells_cnt           = theRow.cells.length;
    for (var c = 0; c < row_cells_cnt; c++) {
        theRow.cells[c].bgColor = thePointerColor;
    }

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