<!--

if ((navigator.appName.indexOf("Microsoft") != -1) || (navigator.userAgent.indexOf("Opera") != -1) || ( 
(navigator.appName.indexOf("Netscape") != -1) && (parseInt(navigator.appVersion.substring(navigator.appVersion.indexOf(".")-1)) > 4))
 || ((navigator.appName.indexOf("Netscape") != -1) && (navigator.appVersion.indexOf("Mac") != -1) && (parseInt(navigator.appVersion.substring(navigator.appVersion.indexOf(".")-1)) > 3)  ))
  {
    document.write('<link rel="stylesheet" type="text/css" href="css/main_children.css">');
  } 
else 
  {
    document.write('<link rel="stylesheet" type="text/css" href="css/main-netscape_children.css">');
  }




var isN4, isN6, isIE, isIE5, isIE6, thebrowser;
var coll = "";
var styleobj = "";
var bgcolorobj = "";

if (parseInt(navigator.appVersion) >= 4)
{
	if (navigator.appName == "Netscape")
	{
		if (document.getElementById && !document.all)
		{
		isN6 = true;
		thebrowser = 'isN6';
		bgcolorobj  = 'background-color';
		}
		else
		{
		if (document.layers)
		{
		isN4 = true;
		thebrowser = 'isN4';
		bgcolorobj  = 'bgcolor';
		coll = '';
		styleObj = '';
		}
		}
	}
	else
	{
		
		if (navigator.userAgent.indexOf("opera") != -1)
		{
		isIE6 = true;
		thebrowser = 'isIE6';
		bgcolorobj  = 'background-color';	
		}
		else
		{
		
		if ((navigator.appVersion.indexOf("MSIE 5") == -1) && document.all && document.getElementById)
		{
		isIE6 = true;
		thebrowser = 'isIE6';
		bgcolorobj  = 'background-color';	
		}
		else
		{
		
		if ((navigator.appVersion.indexOf("MSIE 5") != -1) || ((navigator.appVersion.indexOf("MSIE 5") != -1) && (navigator.appVersion.indexOf("Mac") != -1) ) )
		
		{
		isIE5 = true;
		thebrowser = 'isIE5';
		bgcolorobj  = 'background-color';
		}
		else
		{
			if (navigator.appVersion.indexOf("MSIE 4") != -1)
			{
			isIE = true;
			thebrowser = 'isIE4';
			coll = 'all.';
			styleObj = '.style';
			bgcolorobj  = 'background-color';
			}
		}
	  }
	}
	}

	if( !isIE && !isIE5 && !isIE6 && !isN4 && !isN6)
	{
	top.location.href = "index-non-dhtml-browser.html";
	}	
	

}
function getObjLeft(obj) {

	if (isN4)
	{
	// this is not working
	return obj.left
	}
	
	if (isN6)
	{
	return obj.pixelLeft
	}
	
	if (isIE || isIE5 || isIE6)
	{	
	return obj.pixelLeft
	}
	
}

function getObjTop(obj) {

	if (isN4)
	{
	// this is not working
	return obj.top
	}
	
	if (isN6)
	{
	return obj.pixelTop
	}
	
	if (isIE || isIE5 || isIE6)
	{	
	return obj.pixelLeft
	}
}


function getObjHeight(obj) {

	if (isN4)
	{
	// this is not working
	return obj.style.clip.height
	}
	
	if (isN6)
	{
	return obj.offsetHeight
	}
	
	if (isIE5 || isIE6)
	{	
	return obj.clientHeight
	}
	
	if (isIE)
	{
	// not working in IE4
	return obj.clientHeight
	}

}

function getObjWidth(obj) {

	if (isN4)
	{
	// this is not working
	return obj.style.clip.width
	}
	
	if (isN6)
	{
	return obj.offsetWidth
	}
	
	if (isIE5 || isIE6)
	{	
	return obj.clientWidth
	}


	if (isIE)
	{
	// not working in IE4	
	return obj.clientWidth
	}
	
	
}

function getInsideWindowWidth() {

	if (isN4 || isN6)
	{
	return window.innerWidth
	}

	
	if (isIE5 || isIE6)
	{
	return document.body.clientWidth
	}

	if (isIE)
	{
	return document.body.innerWidth
	}



}

function getInsideWindowHeight() {

	if (isN4 || isN6)
	{
	return window.innerHeight
	}

	if (isIE5 || isIE6)
	{
	return document.body.clientHeight
	}

	if (isIE)
	{
	return document.body.innerHeight
	}



}

function shiftTo(obj, x, y) {

	if (isN4)
	{
	obj.moveTo(x,y)
	}
	
	if (isIE)
  	{

	document.all.banner.style.pixelLeft = x;
	document.all.banner.style.pixelTop = y;

	// obj.pixelLeft = x
	// obj.pixelTop = y
	}

  	if (isIE5 || isIE6)
  	{
	obj.pixelLeft = x
	obj.pixelTop = y
	}
  
  	if (isN6)
  	{
	obj.left = x
	obj.top = y
	 // document.getElementById("banner").style.left = x;
  	// document.getElementById("banner").style.top = y;
  	}

	
}

function centerIt(idPicked) {

// obj is the dthml positional container object
var obj
var contentObj
var thecon

thecon = "banner";


// if (isIE)
// {
// obj = eval("document." + coll + thecon + ".style");
// contentObj = eval("document." + thecon);
// }


if (isIE)
{

var strw, stry

strx = eval("document.all.banner.clientWidth");
stry = eval("document.all.banner.clientHeight");

// strx = eval("document.all." + idPicked + ".clientWidth");
// stry = eval("document.all." + idPicked + ".clientHeight");


var x = Math.round((getInsideWindowWidth()/2) - (strx/2))
var y = Math.round((getInsideWindowHeight()/2) - (stry/2))

obj= eval("document.all.banner.style");
//contentObj = eval("document.all.banner");

// obj= eval("document." + idPicked + ".style");
// contentObj = eval("document." + idPicked);

}

if (isN4)
{

//Netscape 4 work around
var strw, stry

strx = eval("document." + idPicked + ".clip.width");
stry = eval("document." + idPicked + ".clip.height");

var x = Math.round((getInsideWindowWidth()/2) - (strx/2))
var y = Math.round((getInsideWindowHeight()/2) - (stry/2))

obj= eval("document." + idPicked);
//contentObj = eval("document." + idPicked);

}

if (isN6 || isIE5 || isIE6)
{
obj = eval("document.getElementById('" + idPicked  + "')" + ".style");
contentObj = eval("document.getElementById('" + idPicked  + "')");

//obj = eval("document.getElementById('banner')" + ".style");
//contentObj = eval("document.getElementById('banner')");

var x = Math.round((getInsideWindowWidth()/2) - (getObjWidth(contentObj)/2));
var y = Math.round((getInsideWindowHeight()/2) - (getObjHeight(contentObj)/2));

}

shiftTo(obj, x, y);

obj.visibility = "visible";

}  //end function centerIt()



function moveIt(idPicked, moveDirection) {

// obj is the dthml positional container object
var obj
var contentObj

if (isIE || isN4)
{
obj = eval("document." + coll + idPicked + styleObj)
contentObj = eval("document." + coll + idPicked)
}

if (isN6 || isIE5 || isIE6)
{
obj = eval("document.getElementById('" + idPicked + "')" + ".style");
contentObj = eval("document.getElementById('" + idPicked + "')");
}


var xLeft = getObjLeft(obj);
var yTop = getObjTop(obj);

switch (moveDirection) {

case 'left':
	xLeft += -1;
	yTop += 0;
	break;
case 'right':
	xLeft += 1;
	yTop += 0;
	break;
case 'up':
	xLeft += 0;
	yTop += -1;
	break;
case 'down':
	xLeft += 0;
	yTop += 1;
	break;
}

shiftTo(obj, xLeft, yTop);

obj.visibility = "visible";

}  //end function moveIt(moveDirection)


function showOrHide(idPicked,v) {

// obj is the dthml positional container object
var obj
var contentObj

if (isIE || isN4)
{
obj = eval("document." + coll + idPicked + styleObj);
}

if (isN6 || isIE5 || isIE6)
{
obj = eval("document.getElementById('" + idPicked + "')" + ".style");
}

obj.visibility = v;

}  //end function showOrHide(idPicked,v)

function HideAllObj(pageindex)
{

var allobj;

// All Obj

allobj = new Array();

//allobj[0] = 'homemembersnav';
//allobj[0] = 'home_main_nav';
allobj[0] = 'home_members_text';
allobj[1] = 'home_providers_text';
allobj[2] = 'home_childrenfirst_text';

var objx;

//Loop through to create each inner menu link
for (j=0; j < allobj.length; j++)
{

if (isN6 || isIE5 || isIE6)
{
objx = eval("document.getElementById('" + allobj[j] + "')" + ".style");
}

if (isN4)
{
objx = eval("document." + allobj[j]);
}

if (isIE)
{
objx = eval("document.all." + allobj[j] + ".style");
}

objx.visibility =  'hidden';

}// for j

}// HideAllObj()

function showOrHideObj(menuindex,menustatus)
{

HideAllObj();

var vstatus;

// Check whether obj is to be on = 1 or off = 0
if ( menustatus == 1)
{
vstatus = 'visible';
}
else
{
vstatus = 'hidden';
}

var objv;

if (isN6 || isIE5 || isIE6)
{
objv = eval("document.getElementById('" + menuindex + "')" + ".style");
}

if (isN4)
{
objv = eval("document." + menuindex);
//objv = eval("document." + coll + menuindex + styleObj);
}

if (isIE)
{
objv = eval("document.all." + menuindex + ".style");
}

objv.visibility = vstatus;


}// end showOrHideObj



function openWindow(locURL,windowtype)
{

// Initialize Variables for the Screen.


if (windowtype == 'display')
{
XPos = 200;
YPos = 150;
XWidth = 500;
YHeight = 200;
constLocation = 'yes';
constMenubar = 'yes';
constScrollbars = 'yes';
constStatus = 'yes';
constTitlebar = 'yes';
constToolbar = 'yes';
constResizable = 'yes';
window.newWindow = '';
}


if (windowtype == 'pdf')
{
XPos = 0;
YPos = 0;
XWidth = 600;
YHeight = 480;
constLocation = 'no';
constMenubar = 'no';
constScrollbars = 'yes';
constStatus = 'no';
constTitlebar = 'yes';
constToolbar = 'no';
constResizable = 'yes';
window.newWindow = '';
}

if (windowtype == 'api')
{
XPos = 0;
YPos = 0;
XWidth = 600;
YHeight = 480;
constLocation = 'no';
constMenubar = 'no';
constScrollbars = 'no';
constStatus = 'no';
constTitlebar = 'yes';
constToolbar = 'no';
constResizable = 'no';
window.newWindow = '';
}


// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	XPos = ((screen.availWidth - XWidth) / 2);
	YPos = ((screen.availHeight - YHeight) / 2);
	}

// If the window is open, just refresh the contents, otherwise create new window

if (window.newWindow)
	{
	newWindow.location.href = locURL;
	}
else
	{
	newWindow = window.open(locURL,windowtype,'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=640,height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	if (! newWindow.opener)
		{
		newWindow.opener = window;
		}
		
	if (newWindow.focus)
		{
		newWindow.focus();
		}	
		
	}
	
		

}// end of openWindow(locURL)


function openNewWindow(locURL,winWidth,winHeight)
{

// Initialize Variables for the Screen.

XPos = 400;
YPos = 0;
XWidth = winWidth;
YHeight = winHeight;
constLocation = 'no';
constMenubar = 'no';
constScrollbars = 'no';
constStatus = 'no';
constTitlebar = 'no';
constToolbar = 'no';
constResizable = 'no';
//window.newWindow = '';


// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	YPos = ((screen.availHeight - YHeight) / 2);
	}

// If the window is open, just refresh the contents, otherwise create new window

if (window.newWindow)
	{
	if (isN4){
	newWindow.close();
	}
	else
	{
	newWindow.close();
	}
	newWindow = window.open(locURL,"newWindow",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	//newWindow.location.href = locURL;
	}
else
	{
	newWindow = window.open(locURL,"newWindow",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	if (! newWindow.opener)
		{
		newWindow.opener = window;
		}
	}
	
		
if (newWindow.focus)
	{
	newWindow.focus();
	}
}// end of openNewWindow(locURL)




function openNewWindowScroll(locURL,winWidth,winHeight)
{

// Initialize Variables for the Screen.

XPos = 400;
YPos = 0;
XWidth = winWidth;
YHeight = winHeight;
constLocation = 'no';
constMenubar = 'no';
constScrollbars = 'yes';
constStatus = 'no';
constTitlebar = 'no';
constToolbar = 'no';
constResizable = 'yes';
//window.newWindow = '';


// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	YPos = ((screen.availHeight - YHeight) / 2);
	}

// If the window is open, just refresh the contents, otherwise create new window

if (window.newWindow2)
	{
	if (isN4){
	newWindow2.close();
	}
	else
	{
	newWindow2.close();
	}
	newWindow2 = window.open(locURL,"newWindow2",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	//newWindow.location.href = locURL;
	}
else
	{
	newWindow2 = window.open(locURL,"newWindow2",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	if (! newWindow2.opener)
		{
		newWindow2.opener = window;
		}
	}
	
		
if (newWindow2.focus)
	{
	newWindow2.focus();
	}
}// end of openNewWindow(locURL)


function homeON(dhtmlobj,displaystatus,imagename,imageurl,imagestatus)
{
showOrHideObj(dhtmlobj,displaystatus);
MM_swapImage(imagename,'',imageurl,imagestatus);
}

function homeOFF()
{
HideAllObj();
MM_swapImgRestore();
}

function movebox(idPicked,xstatic,ystatic,y,speed,dist,action) {
// content area name, x-axis, y-axis, speed of drop, distance of drop, action 1=open, 0=close
var tempy, tempdist, x

x = xstatic;


if(action == 1)
{
tempy = y + 1;
}
else
{
tempy = y - 1;
} 	   
	  
var obj

if (isIE || isN4)
{
obj = eval("document." + coll + idPicked + styleObj);
}

if (isN6 || isIE5 || isIE6)
{
obj = eval("document.getElementById('" + idPicked + "')" + ".style");
}

  if (isN4)
  {
  obj.moveTo(x,y);
  //document.thewindowsize.moveTo(x,y);
  }
 
  if (isIE)
  {
  obj.pixelLeft = x;
  obj.pixelTop = y;
  //document.all.thewindowsize.style.pixelLeft = x;
  //document.all.thewindowsize.style.pixelTop = y;
  }
  
  if (isIE5 || isIE6)
  {
  obj.pixelLeft = x;
  obj.pixelTop = y;
  //document.getElementById("thewindowsize").style.pixelLeft = x;
  //document.getElementById("thewindowsize").style.pixelTop = y;
  }
  
  if (isN6)
  {
  obj.left = x;
  obj.top = y;
  //document.getElementById("thewindowsize").style.left = x;
  //document.getElementById("thewindowsize").style.top = y;
  }
  
  
  var string 
  string = "movebox('" + idPicked + "'," + xstatic + "," + ystatic + "," + tempy + "," + speed + "," + dist + "," + action + ");";
  //alert("-" + string + "-");
  
  if(action == 1)
  {
  if (y <= ystatic + dist)
  {
  window.setTimeout(string,speed);
  }
  }
  else
  {
   if (y > ystatic)
  {
  window.setTimeout(string,speed);
  }
  }
  
  
  }// end movebox()

  
function FloatNav(thenav,rightcontent) {
var idName, positionType, containerVisibility, topPosition, leftPosition, zPosition, containerContent, mouseControl, containerBGColor, clientName
var innerbox;

// Do not use "-" in your idName, they do not work in NN4, you can use "_" instead
idName = "navBox";
clientName = "";
positionType = "absolute";
//positionType = "relative";
//containerVisibility = "hidden";
containerVisibility = "visible";
leftPosition = 0;
topPosition = 87;
zPosition = 3;
containerBGColor = "";
mouseControl = '';

//

innerbox =  rightcontent;


//containerContent = '<table border="0" cellspacing="0" cellpadding="0" width="100%">';
//containerContent = containerContent + '<tr><td align="center">';
//containerContent = containerContent + '<table cellspacing="0" cellpadding="0"  border="0" bgcolor="#FFFFFF" width="750">';
//containerContent = containerContent + '<tr><td align="left" valign="top" width="35"><img src="images/pixel_clear.gif" width="35" height="1" border="0" alt=""></td>';
//containerContent = containerContent + '<td align="left" valign="top" width="715">';
//containerContent = containerContent + thenav;

//containerContent = containerContent + '<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="515"><tr><td align="left" valign="top" width="20"><img src="images/pixel_clear.gif" width="20" height="1" border="0" alt=""></td><td align="left" valign="top" width="315"><img src="images/pixel_clear.gif" width="305" height="1" border="0" alt=""></td>';
	
	//<cfset main_width = 505>
	//<cfif IsDefined("rightcol")>
	//<cfset main_width = 305>
	//</cfif>
	
containerContent = '<table cellpadding="0" cellspacing="0" border="0" width="100%">';
containerContent = containerContent + '<tr><td width="45%">&nbsp;</td><td align="left" valign="top" width="20"><img src="images/pixel_clear.gif" width="20" height="1" border="0" alt=""></td><td align="left" valign="top" width="200">' + thenav + '</td><td align="left" valign="top" width="330"><img src="images/pixel_clear.gif" width="330" height="1" border="0" alt=""></td><td align="left" valign="top" width="15"><img src="images/pixel_clear.gif" width="15" height="1" border="0" alt=""></td><td align="left" valign="top" width="170">' + innerbox + '</td><td align="left" valign="top" width="15"><img src="images/pixel_clear.gif" width="15" height="1" border="0" alt=""></td><td width="45%">&nbsp;</td></tr></table>';


//containerContent = '<table cellpadding="0" cellspacing="0" border="0" width="100%">';
//containerContent = containerContent + '<tr><td width="45%">&nbsp;</td><td align="left" valign="top" width="35"><img src="images/pixel_clear.gif" width="35" height="1" border="0" alt=""></td><td align="left" valign="top" width="200">' + thenav + '</td><td align="left" valign="top" height="350"><img src="images/pixel_clear.gif" width="350" height="1" border="0" alt=""></td><td align="left" valign="top" height="15"><img src="images/pixel_clear.gif" width="15" height="1" border="0" alt=""></td><td align="left" valign="top" width="170">' + innerbox + '</td><td align="left" valign="top" height="15"><img src="images/pixel_clear.gif" width="15" height="1" border="0" alt=""></td><td width="45%">&nbsp;</td></tr></table>';


if (isN4)
{
document.write('<layer name="' + idName + '" position="' + positionType + '" visibility="' + containerVisibility + '" left="' + leftPosition + '" top="' + topPosition + '"  z-index="' + zPosition + '"  ' + bgcolorobj + '="' + containerBGColor  + '" ' + mouseControl + '>' + containerContent + '</layer>');
}

if (isIE || isIE5 || isIE6 || isN6)
{
document.write('<div id="' + idName + '" style="position:' + positionType + ';visibility:' + containerVisibility + ';left:' + leftPosition + 'px;top:' + topPosition + 'px; z-index:' + zPosition + ';' + bgcolorobj + ':' + containerBGColor + '" ' + mouseControl + '>' + containerContent + '</div>');
}
} // end of FloatNav
  
//-->


function openNewWindowScroll2(locURL,winWidth,winHeight)
{

// Initialize Variables for the Screen.

XPos = 400;
YPos = 0;
XWidth = winWidth;
YHeight = winHeight;
constLocation = 'no';
constMenubar = 'no';
constScrollbars = 'no';
constStatus = 'no';
constTitlebar = 'no';
constToolbar = 'no';
constResizable = 'yes';
//window.newWindow = '';


// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	YPos = ((screen.availHeight - YHeight) / 2);
	}

// If the window is open, just refresh the contents, otherwise create new window

if (window.newWindow3)
	{
	if (isN4){
	newWindow3.close;
	}
	else
	{
	newWindow3.close;
	}
	newWindow3 = window.open(locURL,"newWindow3",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	//newWindow.location.href = locURL;
	}
else
	{
	newWindow3 = window.open(locURL,"newWindow3",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	if (! newWindow3.opener)
		{
		newWindow3.opener = window;
		}
	}
	
		
if (newWindow3.focus)
	{
	newWindow3.focus();
	}
}// end of openNewWindowScroll2(locURL,winWidth,winHeight)


function openWindows(paper,surveyname){
	
	var urlstr;
	
	urlstr = "preventativebehavioralhealth_loader.cfm?paper=" + paper + "&surveyname=" + surveyname;

		XPos = 400;
		YPos = 0;
		XWidth = 450;
		YHeight = 300;
		constLocation = 'no';
		constMenubar = 'no';
		constScrollbars = 'no';
		constStatus = 'no';
		constTitlebar = 'no';
		constToolbar = 'no';
		constResizable = 'no';

// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	YPos = ((screen.availHeight - YHeight) / 2);
	}


window.open(urlstr,"survey",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	} //openWindows(paper,surveyname)
	
function openNewWindowListserver(locURL,winWidth,winHeight)
{

// Initialize Variables for the Screen.

XPos = 400;
YPos = 0;
XWidth = winWidth;
YHeight = winHeight;
constLocation = 'no';
constMenubar = 'no';
constScrollbars = 'no';
constStatus = 'no';
constTitlebar = 'no';
constToolbar = 'no';
constResizable = 'yes';
window.Listserver = '';


// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	YPos = ((screen.availHeight - YHeight) / 2);
	}

// If the window is open, just refresh the contents, otherwise create new window

if (window.Listserver)
	{
	if (isN4){
	Listserver.close;
	}
	else
	{
	Listserver.close;
	}
	Listserver = window.open(locURL,"Listserver",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	//newWindow.location.href = locURL;
	}
else
	{
	newWindow2 = window.open(locURL,"Listserver",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	if (! Listserver.opener)
		{
		Listserver.opener = window;
		}
	}
	
		
if (Listserver.focus)
	{
	Listserver.focus();
	}
}// end of openNewWindowListserver(locURL,winWidth,winHeight)
	
	
function openNewWindowOTRForm(locURL,winWidth,winHeight)
{

// Initialize Variables for the Screen.

XPos = 400;
YPos = 0;
XWidth = winWidth;
YHeight = winHeight;
constLocation = 'yes';
constMenubar = 'yes';
constScrollbars = 'yes';
constStatus = 'yes';
constTitlebar = 'yes';
constToolbar = 'yes';
constResizable = 'yes';
window.OTRForm = '';


// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	YPos = ((screen.availHeight - YHeight) / 2);
	}

// If the window is open, just refresh the contents, otherwise create new window

if (window.OTRForm)
	{
	if (isN4){
	OTRForm.close;
	}
	else
	{
	OTRForm.close;
	}
	OTRForm = window.open(locURL,"OTRForm",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	//newWindow.location.href = locURL;
	}
else
	{
	newWindow3 = window.open(locURL,"OTRForm",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	if (! OTRForm.opener)
		{
		OTRForm.opener = window;
		}
	}
	
		
if (OTRForm.focus)
	{
	OTRForm.focus();
	}
}// end of openNewWindowOTRForm(locURL,winWidth,winHeight)
	
function openNewWindowMemberBulletin(locURL,winWidth,winHeight)
{

// Initialize Variables for the Screen.

XPos = 400;
YPos = 0;
XWidth = winWidth;
YHeight = winHeight;
constLocation = 'yes';
constMenubar = 'yes';
constScrollbars = 'yes';
constStatus = 'yes';
constTitlebar = 'yes';
constToolbar = 'yes';
constResizable = 'yes';
window.MemberBulletin = '';


// If the Browser can understand the screen object, set window coordinates

if (window.screen)
	{
	YPos = ((screen.availHeight - YHeight) / 2);
	}

// If the window is open, just refresh the contents, otherwise create new window

if (window.MemberBulletin)
	{
	if (isN4){
	MemberBulletin.close;
	}
	else
	{
	MemberBulletin.close;
	}
	MemberBulletin = window.open(locURL,"MemberBulletin",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	//newWindow.location.href = locURL;
	}
else
	{
	newWindow3 = window.open(locURL,"MemberBulletin",'location=' + constLocation + ',menubar=' + constMenubar + ',scrollbars=' + constScrollbars + ',status=' + constStatus + ',titlebar=' + constTitlebar + ',toolbar=' + constToolbar + ',resizable=' + constResizable + ',width=' + XWidth + ',height=' + YHeight + ',left=' + XPos + ',top=' + YPos);

	if (! MemberBulletin.opener)
		{
		MemberBulletin.opener = window;
		}
	}
	
		
if (MemberBulletin.focus)
	{
	MemberBulletin.focus();
	}
}// end of openNewWindowMemberBulletin(locURL,winWidth,winHeight)
	
//-->

