//PopUpFenster Regestrierung	
function registration(url,name,width,heigh){
 regFenster=window.open(url, name, "width="+width+",height="+heigh+", menubar=no, scrollbars=no");
 regFenster.focus();
}

//PopUpFenster Artikel		
function NeuFenster(url,name,width,heigh,close){
 MeinFenster=window.open(url, name, "width="+width+",height="+heigh+",menubar=yes,scrollbars=yes,resizable=yes");
 MeinFenster.focus();
 
 if(close){
	close_window();
 }
}

//Focus
function inputfocus(){
 document.form.formfeld.focus();
}

// JavaScript Check all Checkboxes
function check() {
	for(var x=0;x<document.produktlist.elements.length;x++)
	{ 
		var y=document.produktlist.elements[x];
		if(document.produktlist.elements[x].disabled==1)
		{
		}else{
		if(y.name!='checkall') y.checked=document.produktlist.checkall.checked;	
		}
	}	
}
function check1() {
	for(var x=0;x<document.produktlist.elements.length;x++)
	{ 
		var y=document.produktlist.elements[x];
		if(document.produktlist.elements[x].disabled==1)
		{
		}else{
		if(y.name!='checkall1') y.checked=document.produktlist.checkall1.checked;	
		}
	}	
}

function close_window(){
	close();
}

function goparent(url) {
    opener.location = url;
}
