function detailswindow(theURL,features,isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-600)/2;
    var myTop = (screen.height-720)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,'details',features+((features!='')?',':'')+'width='+720+',height='+700);
}

function checkagb() {
// set var radio_choice to false
var radio_choice = false;

// Loop from zero to the one minus the number of radio button selections
for (counter = 0; counter < bezahlform.bezahlung.length; counter++)
{
// If a radio button has been selected it will return true
// (If not it will return false)
if (bezahlform.bezahlung[counter].checked)
radio_choice = true; 
}

if (!radio_choice)
{
// If there were no selections made display an alert box 
		alert("Sie m&uuml;ssen unseren AGBs zustimmen bevor Sie eine Bestellung t&auml;tigen k&ouml;nnen");
return (false);
}
return (true);
}
