function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}




function checkKeyword() 
{ 
if(window.document.rubriken.keyword.value=="")  
{ 
alert("Bitte einen Suchbegriff angeben."); 
return false; 
} 
} 



function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


 
function checkhauptgruppe1() {
	 var IDhauptgruppe1   = document.rubriken.IDhauptgruppe1.value;
	 window.location.href ='/index.php?id=42&IDstoff='+IDhauptgruppe1;
	 return true;
}

 
 function checkabfallart1() {
	 var IDabfallart1   = document.rubriken.IDabfallart1.value;
	 window.location.href ='/index.php?id=42&IDabfallart='+IDabfallart1;
	 return true;
}





function checkuntergruppe3() {
	 var IDhauptgruppe1    = document.rubriken.IDhauptgruppe1.value;
	 var IDhauptgruppe2    = document.rubriken.IDhauptgruppe2.value;
	 var IDhauptgruppe3    = document.rubriken.IDhauptgruppe3.value;
	 var IDuntergruppe1    = document.rubriken.IDuntergruppe1.value;
	 var IDuntergruppe2    = document.rubriken.IDuntergruppe2.value;
	 var IDuntergruppe3    = document.rubriken.IDuntergruppe3.value;
	 window.location.href='artikel_anlegen.php3?IDuntergruppe1='+IDuntergruppe1+'&IDhauptgruppe1='+IDhauptgruppe1+'&IDhauptgruppe2='+IDhauptgruppe2+'&IDuntergruppe2='+IDuntergruppe2+'&IDuntergruppe3='+IDuntergruppe3+'&IDhauptgruppe3='+IDhauptgruppe3;
	 return true;
}

function checkkategoriesearch() {
	 var IDkategorie = document.adsearch.IDhauptkategorie.value;
	 window.location.href='index.php4?content=adsearch&IDkategorie='+IDkategorie;
	 return true;
}



function checkrubriksearch() {
	 var IDkategorie = document.adsearch.IDhauptkategorie.value;
	 var IDrubrik    = document.adsearch.IDrubrik.value;
	 window.location.href='index.php4?content=adsearch&IDkategorie='+IDkategorie+'&IDrubrik='+IDrubrik;
	 return true;
}


function checkunterrubrik() { 
	  var IDkategorie   = document.kategorie.IDhauptkategorie.value;
	  var IDrubrik      = document.kategorie.IDrubrik.value;
	  var IDunterrubrik = document.kategorie.IDunterrubrik.value;
	 window.location.href='index.php4?step3=true&js=true&content=publish&IDkategorie='+IDkategorie+'&IDrubrik='+IDrubrik+'&IDunterrubrik='+IDunterrubrik;
	 return true;
}

function checkkategorie2() {
	  var IDrubrik      = document.kategorie.IDrubrik.value;
	  var IDunterrubrik = document.kategorie.IDunterrubrik.value;
	 var IDkategorie  = document.kategorie.IDhauptkategorie.value;
	 var IDkategorie2 = document.kategorie.IDhauptkategorie2.value;
	 window.location.href='index.php4?step3=true&js=true&content=publish&IDkategorie='+IDkategorie+'&IDkategorie2='+IDkategorie2+'&IDrubrik='+IDrubrik+'&IDunterrubrik='+IDunterrubrik;
	 return true;
}

function checkrubrik2() {
	 var IDkategorie   = document.kategorie.IDhauptkategorie.value;
	 var IDrubrik      = document.kategorie.IDrubrik.value;
	 var IDunterrubrik = document.kategorie.IDunterrubrik.value;
     var IDkategorie2  = document.kategorie.IDhauptkategorie2.value;
	 var IDrubrik2     = document.kategorie.IDrubrik2.value;
	 window.location.href='index.php4?step3=true&js=true&content=publish&IDkategorie='+IDkategorie+'&IDrubrik='+IDrubrik+'&IDkategorie2='+IDkategorie2+'&IDrubrik2='+IDrubrik2+'&IDunterrubrik='+IDunterrubrik;
	 return true;
}

function checkunterrubrik2() { 
	  var IDkategorie   = document.kategorie.IDhauptkategorie.value;
	  var IDrubrik      = document.kategorie.IDrubrik.value;
	  var IDunterrubrik = document.kategorie.IDunterrubrik.value;
	  
	  var IDkategorie2   = document.kategorie.IDhauptkategorie2.value;
	  var IDrubrik2      = document.kategorie.IDrubrik2.value;
	  var IDunterrubrik2 = document.kategorie.IDunterrubrik2.value;
 
	 window.location.href='index.php4?step3=true&js=true&content=publish&IDkategorie='+IDkategorie+'&IDrubrik='+IDrubrik+'&IDunterrubrik='+IDunterrubrik+'&IDkategorie2='+IDkategorie2+'&IDrubrik2='+IDrubrik2+'&IDunterrubrik2='+IDunterrubrik2;
	 return true;
}


  
 function checkartikelmerkmale() {
	 var IDproduct   = document.attribs.IDproduct.value;
	 var IDartikelmerkmal    = document.attribs.IDartikelmerkmal.value;
	  window.location.href='artikelmerkmale_anlegen.php3?IDproduct='+IDproduct+'&IDartikelmerkmal='+IDartikelmerkmal;
	  return true;
}
 
 
 
