function doClear(theText,standard) {
  if (theText.value == standard) {
    theText.value = ""
  }
}

function jsOpenWindow(myUrl,winName,myTitle,sizeX,sizeY)
{
  myTarget = winName;
  myArgs = "width=" + sizeX + ","
	+ "height=" + sizeY + ","
	+ "location=0,"
	+ "menubar=0,"
	+ "resizable=0,"
	+ "scrollbars=0,"
	+ "status=0,"
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=200,"
	+ "screeny=200,"
	+ "left=200,"
	+ "top=200";
  newWindow = open(myUrl, myTarget, myArgs);
  newWindow.focus();
  return false;
}

function jsOpenWindow2(myUrl,winName,myTitle,sizeX,sizeY)
{
  myTarget = winName;
  myArgs = "width=" + sizeX + ","
	+ "height=" + sizeY + ","
	+ "location=0,"
	+ "menubar=1,"
	+ "resizable=0,"
	+ "scrollbars=1,"
	+ "status=0,"
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=200,"
	+ "screeny=200,"
	+ "left=200,"
	+ "top=200";
  newWindow = open(myUrl, myTarget, myArgs);
  newWindow.focus();
  return false;
}

function showDomain(divId)
{
	document.getElementById(divId).style.display = 'block';
}

function hideDomain(divId)
{
	document.getElementById(divId).style.display = 'none';
}

function doClear(theText,standard) {
  if (theText.value == standard) {
    theText.value = ""
  }
}
