    function goto_url(location)
      { if (location == '')
          {work1='index.shtml';}
     else {work1=location;}
        window.location.href=work1;
      }

    function openPopup(pURL, pName, pHeight, pWidth, pTop, pLeft, pAttrib)
      { var url;
	var name;
	var attrib;
	var newWindow;
	ua=navigator.userAgent;
	isMSIE=(ua != null && ua.indexOf("MSIE") != -1);

	if (pURL == '')
	  {url=window.location.href;}
     else {url=pURL;}
	name=pName;
// IE *requires* this...
	if (isMSIE)
	  {name='newMail';}
	if (pAttrib == '')
	  { attrib='scrollbars=no,toolbar=no,location=no,menubar=no,status=no,resizable=no';
	    attrib=attrib+',directories=false,statusbar=false,locationbar=false,ontop=true';
	  }
// copyhistory=no
// dependent
     else {attrib=pAttrib;}
	if (pTop != '')
	  {attrib='top='+pTop+','+attrib;}
//     else {attrib='top=100,'+attrib;}
	if (pLeft == '')
	  {attrib='left='+pLeft+','+attrib;}
//     else {attrib='left=100,'+attrib;}
	if (pHeight == '')
	  {attrib='height=500,'+attrib;}
     else {attrib='height='+pHeight+','+attrib;}
	if (pWidth == '')
	  {attrib='width=300,'+attrib;}
     else {attrib='width='+pWidth+','+attrib;}

	newWindow=window.open(url, name, attrib);
        if (newWindow.focus) {newWindow.focus();}
      }

    function navOverEffect(object)
      { if (object.className == 'NavLink') object.className='NavLinkOver';
      }

    function navOutEffect(object)
      { if (object.className == 'NavLinkOver') object.className='NavLink';
      }

