function newWindow(URL)
{  
	var infowin = window.open(URL,"NewWindow",
		"width=600,height=436,toolbar=no,resizable=yes,scrollbars=yes,menubar=no,status=no");
	infowin.focus();
}

function NewSearch(Feld)
{
  url=Feld;
  window.location.href=url;
}

function Reset(Feld)
{
	window.location.href=Feld;
}

function Klick(Feld)
{
	
	
	var Author="%";
	var Volume="%";
	var Keywords="%";

	
	
	
	for (i=0; i<document.Select.Author.length; i++)
	{
	  if (document.Select.Author.options[i].selected)
		{
			Author=document.Select.Author.options[i].value;
			Author=Parameter(Author);
			break;
		}
	}

	for (i=0; i<document.Select.Volume.length; i++)
	{
		if (document.Select.Volume.options[i].selected)
		{
			Volume=document.Select.Volume.options[i].value;
			Volume=Parameter(Volume);
			break;
		}
	}

	for (i=0; i<document.Select.Keywords.length; i++)
	{
		if (document.Select.Keywords.options[i].selected)
		{
			Keywords=document.Select.Keywords.options[i].value;			
			Keywords=Parameter(Keywords);
			break;
		}
	}
  
 url=Feld+ '?Au=' +Author+ '&Vo=' +Volume+ '&Ke='+ Keywords+ '&St='+document.Select.SearchText.value;    
  window.location.href=url;	
}

function Parameter(Text)
	{
	var Wert="";
 
	Text=escape(Text);
	Text=Text.replace(/\+/,"%2B");
	return Text;
	}

var openextra1;
function extra1(url,fenster) {
openextra1=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=450,height=375,screenX=60,screenY=60,left=60,top=60');
openextra1.focus(); 
}


var openextra2;
function extra2(url,fenster) {
openextra2=window.open(url,fenster,'toolbar=0,locationbar=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0,width=900,height=500,screenX=60,screenY=60,left=60,top=60');
openextra2.focus(); 
}


function testen()
//{
 //  if(document.Bestellung.SD_Vorname.value == "")
 //   {
 //    alert("Bitte geben Sie Ihren Vornamen an");
 //    document.Bestellung.SD_Vorname.focus();
 //    return false;
//    }
//   if(document.Bestellung.SD_Name.value == "")
  //  {
 //    alert("Bitte geben Sie Ihren Namen an");
 //    document.Bestellung.SD_Name.focus();
 //    return false;
 //   }
  // if(document.Bestellung.FIRMA.value == "")
  //  {
  //   alert("Bitte geben Sie den Namen Ihres Unternehmens an");
  //   document.Bestellung.FIRMA.focus();
   //  return false;
 //   }
 //  if(document.Bestellung.STRASSE.value == "")
 //   {
 //    alert("Bitte geben Sie Ihre Strasse und Hausnummer an");
 //    document.Bestellung.STRASSE.focus();
//     return false;
//    }
 //   if(document.Bestellung.ORT.value == "")
  //  {
//     alert("Bitte geben Sie Ihren Wohnort an");
   //  document.Bestellung.ORT.focus();
   //  return false;
  //  }
 //  if(document.Bestellung.PLZ.value == "")
  //  {
  //   alert("Bitte geben Sie Ihre Postleitzahl an");
 //    document.Bestellung.PLZ.focus();
 //    return false;
 //   }
	//if (document.Bestellung.BEZUG.checked == "" )
		//{
		//alert('Bitte bestätigen Sie die Bezugsbedingungen.');
		//document.Bestellung.BEZUG.focus();
   //  	return false;

	//}
    // --- eMail - Überprüfen ---
    {
	var tmp_eMail=document.Bestellung.SD_EMail.value;
	tmp_test=tmp_eMail.indexOf('@');
	if (tmp_eMail == ""){
        alert("Bitte geben Sie Ihre EMail-Adresse an");
		document.Bestellung.SD_EMail.focus();
		return false;
    }
    else if (tmp_test==(-1)){
        alert("Bitte geben Sie eine gültige EMail-Adresse an");
		document.Bestellung.SD_EMail.focus();
		return false;
    }
    //--

    //alert("Einen Augenblick bitte");
     return true
}
// -->
