function t(t, a ,n, p) {
alert("Artikel: "+a+"  Anzahl "+n+ " wurde in den Warenkorb gelegt !"); 
name1 = a+"|"+t+"|"+n+"|"+p;
document.cookie =  name1+"=";}
function CookieSetzen (name, wert, verfall, pfad, domain, sicher) { 
  document.cookie =  name + "=" + escape (wert) + 
		     ((verfall) ? "; expires=" + verfall.toGMTString() : "") + 
		     ((pfad) 		? "; path=" + pfad : "") +
		     ((domain) 	? "; domain=" + domain : "") + 
		     ((sicher) 	? "; secure=" + sicher : "");
}
function WegdaCookie(name, pfad, domain) { 
	Ehemals = new Date (); 
	Ehemals.setTime (Ehemals.getTime () - (365 * 24 * 60 * 60 * 1000));
	CookieSetzen (name, "", Ehemals, pfad, domain); 
  }
function FotoWindow(bild,x,y) {
m =  window.open("","mywindow",directories="no"); 
m.resizeTo(750,650);
m.document.write("<html><head></head><body><center><img src=\""+bild+"\"  ></body></html>"); 
} 
function agb() { 
 //if (form.AGBs________.checked != true )   form.submit.style.visibility = "hidden";  
 //if (form.AGBs________.checked == true )   form.submit.style.visibility = "visible";  
 if (form.AGBs________.checked != true ) alert("Bitte zuerst AGB's bestätigen!");  
 } 

