function enlarge(f,w,h) {
w+=20; h+=20;
wdw=window.open(f,"wenlarge","titlebar=no,toolbar=no,status=no,location=no,menubar=yes,resizable=no,scrollbars=no,width="+w+",height="+h);
wdw.focus();
}

function inblank(f,w,h) {
wdw=window.open(f,"winblank","titlebar=yes,toolbar=no,status=no,location=no,menubar=yes,resizable=yes,scrollbars=no,width="+w+",height="+h);
wdw.focus(); 
}

function hs(mn) {
if (window.innerHeight) return this.innerHeight+mn;
else if (document.body.offsetHeight) return document.body.offsetHeight-4+mn; else return '';
} 

function setPointer(theRow, thePointerColor, theNormalBgColor) {
	var theCells = null;
	if (thePointerColor == '' || typeof(theRow.style) == 'undefined') return false;
	if (typeof(document.getElementsByTagName) != 'undefined') {
		theCells = theRow.getElementsByTagName('td');
	} else if (typeof(theRow.cells) != 'undefined') {
  		theCells = theRow.cells;
		} else return false;
	var rowCellsCnt  = theCells.length;
	var currentColor = null;
	var newColor     = null;
	// Opera does not return valid values with "getAttribute"
	if (typeof(window.opera) == 'undefined' && typeof(theCells[0].getAttribute) != 'undefined' && typeof(theCells[0].getAttribute) != 'undefined') {
  	currentColor = theCells[0].getAttribute('bgcolor');
  	newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase()) ? theNormalBgColor : thePointerColor;
 		for (var c = 0; c < rowCellsCnt; c++) theCells[c].setAttribute('bgcolor', newColor, 0);
	} else {
  	currentColor = theCells[0].style.backgroundColor;
  	newColor     = (currentColor.toLowerCase() == thePointerColor.toLowerCase()) ? theNormalBgColor : thePointerColor;
  	for (var c = 0; c < rowCellsCnt; c++) {
			theCells[c].style.backgroundColor = newColor;
			theCells[c].style.cursor = 'hand';
		}
	}
	return true;
}