function fenster(seite, weite, hoehe,name){ 
var mon, toppos, leftpos; 

toppos = (screen.height - hoehe)/2; 
leftpos = (screen.width - weite)/2; 
features = "scrollbars=1,location=0,toolbar=0,menubar=0,resizable=1,status=0"; 
mon = window.open(seite,"name","width="+weite+",height="+hoehe+",top="+toppos+",left="+leftpos+","+features); 
//mon.document.title=name;
mon.focus();
} 

function fenster1(seite, weite, hoehe, name){ 
var mon, toppos, leftpos; 

toppos = (screen.height - hoehe)/2; 
leftpos = (screen.width - weite)/2; 
features = "scrollbars=1,location=0,toolbar=0,menubar=0,resizable=1,status=0"; 
mon = window.open(seite,"name","width="+weite+",height="+hoehe+",top="+toppos+",left="+leftpos+","+features); 
mon.document.write('<head><title>'+name+'</title></head><body><table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center" valign="middle"><img src='+seite+' width="'+eval(weite-40)+'"></td></tr></table></body>');
//mon.document.title=name;
mon.focus();
}

function warenkorb_bestaetigung(){
	var weite=550;
	var hoehe=200;
	var html='';
	html+='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">';
	html+='<html>';
	html+='<head>';
	html+='	<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">';
	html+='	<title>Confirmation</title>';
	html+='	<link href="styles.css" rel="stylesheet" media="screen">';
	html+='</head>';
	html+='<body>';
	html+='<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">';
	html+='	<tr>';
	html+='		<td align="center"><b><span class="h12">L\'article est ajout&egrave; &agrave; votre panier !</span></b><br>';
	html+='		<br>';
	html+='		<br>';
	html+='		<br>';
	html+='		<br>';
	html+='		<table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='			<tr>';
	html+='				<td align="center" width="50%"><input style="font-size:12pt;border:1px solid #C0C0C0;cursor:pointer;color:black;font-weight:bold;background:#FFE78B;" onclick="window.close();" type="button" name="submitButtonName" value="&lt;- Continuer vos achats" border="0"></td>';
	html+='				<td align="center"><input style="font-size:12pt;border:1px solid #C0C0C0;cursor:pointer;color:black;font-weight:bold;background:#FFE78B;" onclick="opener.location.href=\'warenkorb.php\';" type="button" name="submitButtonName" value="Mon panier -&gt;" border="0"></td>';
	html+='			</tr>';
	html+='		</table>';
	html+='		</td>';
	html+='	</tr>';
	html+='</table>';
	html+='</body>';
	html+='</html>';
	
	toppos = (screen.height - hoehe)/2; 
	leftpos = (screen.width - weite)/2; 
	features = "scrollbars=1,location=0,toolbar=0,menubar=0,resizable=1,status=0"; 
	mon = window.open("about:_blank","","width="+weite+",height="+hoehe+",top="+toppos+",left="+leftpos+","+features); 
	mon.document.write(html);
	//mon.document.title=name;
	mon.focus();
}

function MM_displayStatusMsg(msgStr)
{ 
  status=msgStr;
  document.MM_returnValue = true;
}
