window.name="Sheme";

var v=parseInt(navigator.appVersion);
isNetscape=navigator.appName.indexOf('Netscape')>=0;
isExplorer=navigator.appName.indexOf('Explorer')>=0;
if(v>=3) self.focus();


function popupWindow(goLocation, ww, wh)
  {
  //ww=760;  wh=540;
  positionCode='';
  if(v>=4)
    {
    sw  = screen.width;           sh  = screen.height;
    wbx = Math.round((sw-ww)/2);  wby = Math.round((sh-wh)/2);
    if(isExplorer) positionCode='left='+wbx+',top='+wby+',';
    if(isNetscape) positionCode='screenX='+wbx+',screenY='+wby+',';
    }
  newWindow=window.open(goLocation,'LGpopup', 'width='+ww+',height='+wh+','+
    positionCode+
    'toolbar=0,'+
    'scrollbars=1,'+
    'resizable=1');
  if(isNetscape && v>=3) newWindow.focus();
  
  }

function runLink(goLocation)
  {
  if(goLocation!='')
    {
    newWindow=window.open(goLocation, "Sheme");
    if(isNetscape) newWindow.focus();
    }
  }

function jump() 
{
	var selectedIndex = document.menu.choice.selectedIndex;
	if (selectedIndex > 0)
	{	var selection = document.menu.choice.options[selectedIndex].value;
		document.location.href = selection; 
	}
}

function jump1() 
{
	var selectedIndex = document.offices.choice1.selectedIndex;
	if (selectedIndex > 0)
	{	var selection = document.offices.choice1.options[selectedIndex].value;
		document.location.href = selection; 
	}
}

function jump_un(obj)
{
	var selectedIndex = obj.selectedIndex;
	if (selectedIndex > 0)
	{	var selection = obj.options[selectedIndex].value;
		document.location.href = selection; 
	}
}
