// JavaScript Document
function doLink(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//-------------------------------------------------------------------
// Popupfenster mit Scrollbars (Größenverstellbar) öffnen
//-------------------------------------------------------------------
var newwindow = '';
function openPopupWithScrollbarsSize(url, width, height, windowname) {
  var left = (screen.width / 2) - width / 2; 
  var top = (screen.height / 2) - height / 2; 

  var styleStr = 'toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+',top='+top+',screenX='+left+',screenY='+top;
  if (!newwindow.closed && newwindow.location)
	{
		newwindow.close();
	}
  newwindow = window.open(url, windowname, styleStr);
  if (!newwindow.opener) newwindow.opener = self;
}