/* ****************************************************************************************************	*/
/*													*/
/*	Anzeige grosses Artikelbild (600x450)   function Anzeige(..					*/
/*													*/
/* ****************************************************************************************************	*/

function xxxxxx(seite,format) {
	var win1;
	winStats='toolbar=no,location=no,directories=no,menubar=no,resizable=no,fullscreen=no,scrollbars=no'
	if (format=='q') {
		gross='width="600" height="450"'
		winStats+=',width=600,height=450'
	}else{
		gross='width="450" height="600"'
		winStats+=',width=450,height=600'
	}
	winStats+=',marginwidth="0", marginheight="0", leftmargin="0" ,rightmargin="0", topmargin="0"'
	if (navigator.appName.indexOf("Microsoft")>=0) {
		winStats+=',left=10,top=10'
	}else{
		winStats+=',screenX=10,screenY=10'
	}
	win1=window.open("","Merchandising",winStats);
	win1.close();
	win1=window.open("","Merchandising",winStats);
	win1.document.write('<html><head><title>Artikel - '+seite+'</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body bgcolor="#FFFFFF" text="#000000" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0"><img src="../Fotos/Shop/Gross/'+seite+'.jpg" '+gross+' border="0"></body></html>');
	win1.focus();
}


/* ****************************************************************************************************	*/
/*													*/
/*	Anzeige Popup (dynamische Breite und Höhe)							*/
/*													*/
/*	Die folgenden Eigenschaften sind aus der alten Funktion 'Anzeige()' 				*/
/*	nicht nach 'Popup()' übernommen: 								*/
/*	 a) directories=no   und   fullscreen=no							*/
/*	 b) <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">			*/
/*													*/
/* ****************************************************************************************************	*/
	var win1;

function Popup(name,bild,breite,hoehe) {
	breite2 = String(parseInt(breite) + 18);	
	hoehe2  = String(parseInt(hoehe) + 18);	
/*	alert(typeof win1);				*/
/*	if (win1 !== undefined) {win1.close();} ;	*/
/*	if (win1) {win1.close();} ;			*/
	if (win1) {
		win1.close(); 
		delete win1;
		} ;
	parm1 = "../Scripts/leer.html";
/*	parm3 = "width="+breite2+",height="+hoehe2+",left=20,top=20,location=no,menubar=no,resizable=no,scrollbars=no,toolbar=no"; */
	parm3 = "width="+breite2+",height="+hoehe2+",left=20,top=20";
	win1=window.open(parm1,"",parm3);
	win1.focus();
/*	win1.document.write('<html><body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" ><img src='+bild+' alt='+name+' width='+breite+' height='+hoehe+' border="0"></body></html>'); */
	win1.document.write('<img src='+bild+' alt='+name+' width='+breite+' height='+hoehe+' border="0">');
/*	win1.document.write('Test Joachim Stöppler'); */

	win1.document.title = name;
}


/* ****************************************************************************************************	*/
/*													*/
/*	Hello World!											*/
/*													*/
/* ****************************************************************************************************	*/

function Hello() {
	alert("Hello World! aus JS-Datei");
}

