


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();
}
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 = 400;
  }
  if (wi == null ) {
	  wi = 360;
  }
  if (ttl == null ) {
	  ttl = "Midwest Hardware Association";
  }
	
	
// specify window parameters
  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+"');");
}	 