var GenWin=null;


function open_help( url, ttl, ht, wi) {
  if (ht == null ) {
	  ht = 400;
  }
  if (wi == null ) {
	  wi = 360;
  }
	
// specify window parameters
  HelpWin = window.open( url, ttl,"width="+wi+",height="+ht+",status,scrollbars,resizable, screenX=20,screenY=40,left=20,top=40");

	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape")
	   HelpWin.focus();
}


// open new window
function openWindow(url, name, w, h) {
  popupWin = window.open(url, name, ' toolbar = 1, scrollbars = 1, resizable,width=' + w + ',height=' + h);
}


function open_staff( url, ttl, ht, wi) {
  if (ht == null ) {
	  ht = 400;
  }
  if (wi == null ) {
	  wi = 640;
  }
	
// specify window parameters
  StaffWin = window.open( url, ttl,"width="+wi+",height="+ht+",status,scrollbars,resizable, screenX=20,screenY=40,left=20,top=40");

	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape")
	   HelpWin.focus();
}
function open_director( url, ttl, ht, wi) {
  if (ht == null ) {
	  ht = 400;
  }
  if (wi == null ) {
	  wi = 640;
  }
	
// specify window parameters
  StaffWin = window.open( url, ttl,"width="+wi+",height="+ht+",status,scrollbars,resizable, screenX=20,screenY=40,left=20,top=40");

	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape")
	   Staffwin.focus();
   }
	 
	 
function open_gen( url, ttl, ht, wi) {
  if (ht == null ) {
	  ht = 500;
  }
  if (wi == null ) {
	  wi = 600;
  }
  if (ttl == null ) {
	  ttl = "National Wellness Conference";
  }
	url = encodeURI(url);
  GenWin=window.open(url,ttl,"width="+wi+",height="+ht+",status,scrollbars,resizable,menubar,screenX=20,screenY=40,left=20,top=40");

	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape")
	GenWin.focus();
}
	 
function popUp(URL,ht, wi) {
 day = new Date();
 id = day.getTime();
 if (ht == null ) {
	  ht = 400;
 }
 if (wi == null ) {
	 wi = 600;
 }	 
 eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width="+wi+",height="+ht+"');");
}	 

function gothere(f,fval) {
   var thebox=document.ddwindow
   
   newwindow=window.open("")
   newwindow.location=
     f.elements[fval].options[f.elements[fval].selectedIndex].value
}
