function WindowClose()
{
  // Routine to close the current window...
  close();
  return;
}


function WindowOpen(sURL, iWidth, iHeight)
{
  // Routine to show a window from a link within the help page
  // based on the sURL...
  window.open (sURL,'', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + iWidth + ',height=' + iHeight + ',top=0,left=0');
}

function WindowStaticOpen(sURL, iWidth, iHeight)
{
  // Routine to show a window from a link within the help page
  // based on the sURL...
  window.open (sURL,'', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=' + iWidth + ',height=' + iHeight + ',top=0,left=0');
}

function WindowPrint()
{
  // Print the window...
  window.print();
}

function LinkStyleSet(objElement, bHighlight)
{
	// Function to turn on and off the link
	// highlighting...
	if (bHighlight == 1)
		{
			objElement.style.textDecoration = "underline";
			objElement.style.color = "#ff0000";
		}
	else
		{
			objElement.style.textDecoration = "none";
			objElement.style.color = "#ffffff";
		}
}

function LinkStyleSet2(objElement, bHighlight)
{
	// Function to turn on and off the link
	// highlighting...
	if (bHighlight == 1)
		{
			objElement.style.color = "#FF6601";
			objElement.style.textDecoration = "underline";
		}
	else
		{
			objElement.style.color = "#497BBF";
			objElement.style.textDecoration = "underline";
		}
}

function LinkCursorSet(objElement)
{
	// Function to set the cursor on a link to a "hand"...
	objElement.style.cursor = "hand";
}

