function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function openWindow (popup) {
  windowOne = window.open(popup, "newWindow", "width=700,height=590,left=50,top=200,scrollbars=yes,toolbar=no,status=no,resizable=yes,menubar=no,location=no,directories=no");
  windowOne.focus();
}

/* Diese Funktion druckt das aktuelle Fenster */
function printWindow() {
  bV = parseInt(navigator.appVersion)
  if (bV >= 4) window.print()
}

/* if the agbs are not checked */
function chkFormular() {
	if(document.BasketForm.agb.checked == "")  {
		document.getElementById('agb-error').style.visibility = 'visible';
		return false;
	}
}

window.addEvent("domready",function(){
var a = new Accordion(".rgaccord2-toggle","div.rgaccord2-content", {
    alwaysHide:true,
    display:-1,
    opacity:false,
    onActive: function(c,b) {
      c.addClass("act")
    },
    
    onBackground: function(c,b) {
      c.removeClass("act")
    }
}, $("rgaccord2-nest"))

});
