<!--
function boldText(elem)
{
  if (document.styleSheets)
  {
    elem.style.fontWeight="bold"
  }
}
function normalText(elem)
{
  if (document.styleSheets)
  {
    elem.style.fontWeight="normal"
  }
}
function memInfo(url)
{
  window.open(url, "Member", "toolbar=no,scrollbars=yes,width=400,height=300,resizable=yes");
}


function OpenNewWindow(url, name, options) {
	var temp = window.open(url, name, options);
	temp.focus();
	return temp;
	}
function OpenModule(WName, PageName, Width, Height, Parameters) {
	var temp = OpenModule2(WName,PageName,Width,Height,Parameters,0,0,0,1,0,1);
	}
function OpenDtlStmt(WName, Parameters, Width, Height, Menubar, ToolBar, Location, ScrollBar, StatusBar, Resize) {
	// The URL for the facility detail
	var url = 'dtlstatement.asp?refno=' + Parameters;

	// Open the window
	var temp = OpenURL(url, WName, Width, Height, Menubar, ToolBar, Location, ScrollBar, StatusBar, Resize);
	}

function OpenURL(url, WName, Width, Height, Menubar, ToolBar, Location, ScrollBar, StatusBar, Resize) {

	// Get the window settings, set defaults if no settings are provided
	if(ToolBar == 1) {showToolBar = 'toolbar=yes';} else {showToolBar = 'toolbar=no';}
	if(Menubar == 1) {showMenuBar = 'menubar=yes';} else {showMenuBar = 'menubar=no';}
	if(Location == 1) {showLocation = 'location=yes';} else {showLocation = 'location=no';}
	if(ScrollBar == 1) {showScrollBar = 'scrollbars=yes';} else {showScrollBar = 'scrollbars=no';}
	if(StatusBar == 1) {showStatusBar = 'status=yes';} else {showStatusBar = 'status=no';}
	if(Resize == 1) {showResize = 'resizable=yes';} else {showResize = 'resizable=no';}

	// Get this window's position
	var x = 0;
	var y = 0;
	var w = 0;
	var h = 0;
	w = screen.AvailWidth;
	h = screen.AvailHeight;

	// Modify the position - CENTER THE NEW WINDOW
	x = (w-Width)/2;
	y = (h-Height)/2;

	// Open the window
	var temp = OpenNewWindow(url, WName, 'width=' + Width + ',height=' + Height + ',' + showStatusBar + ',' + showToolBar + ',' + showMenuBar + ',' + showLocation + ',' + showScrollBar + ',' + showResize + ',screenX=' + x + ',screenY=' + y + ',left=' + x + ',top=' + y);
	}
// -->
