/*
Highlight Table Cells Script- 
Last updated: 99/01/21
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/



var keepstatic=0 //specify whether menu should stay static (works only in IE4+)
var menucolor="000000" //specify menu color
var submenuwidth="90" //specify sub menus' color

/* 	Checks if a form field is empty */
function isEmpty(data)
{
	for ( var i = 0 ; i < data.length ; i++ ) 
	{
		if ( data.substring( i, i+1 ) != ' ' )
			return false;
	}
		return true;
}

/************************************************
 * Function Name	: openWin
 *
 * Description		: Creates a popup window
 *
 * Parameters		: Window attributes path, name, width and height
 *
 * Returns			: None
 *************************************************/
function openWin(filePath, winName, winWidth, winHeight)
{
	window.open(filePath, winName, "width="+winWidth+", height="+winHeight+", toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=yes,copyhistory=no")
}
