Index: /views/mods/mod_kundenverwaltung/checkout_customer_inner.phtml
===================================================================
--- /views/mods/mod_kundenverwaltung/checkout_customer_inner.phtml	(revision 5777)
+++ /views/mods/mod_kundenverwaltung/checkout_customer_inner.phtml	(revision 5779)
@@ -1,23 +1,33 @@
 <?php
 
-	/**
-	 * Template fÃŒr die Registrierung wÃ€hrend des Checkouts
-	 * wird von checkout.phtml eingebunden
-	 */
+ /**
+  * Template für die Registrierung während des Checkouts
+  * wird von checkout.phtml eingebunden
+  */
 
 ?>
-<div class="wpsg_checkoutblock">
-	<label for="wpsg_mod_kundenverwaltung_pwd1"><?php echo __("Passwort", "wpsg"); ?>
-	<?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
-	</label>
-	<input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="mod_kundenverwaltung_pwd1" name="wpsg[mod_kundenverwaltung][pwd1]" value="" />			
+<label for="checkout_login" style="line-height:35px; margin-top:25px; cursor:pointer;">    
+	<?php /* display:none, bis Option aktiv */ ?>   
+  	<input <?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'checked="checked"':''); ?> type="checkbox" id="checkout_login" value="" onclick="jQuery('#checkout_login_fields').toggle();">&nbsp;
+ <span class="wpsg-checkbox-label">Ich möchte ein Kundenkonto anlegen.</span>
+</label>         
+
+<?php /* aktiv bei Registrierungszwang - aktiv bei Fehlermeldung */ ?>
+<div id="checkout_login_fields" style="display:<?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'block':'none'); ?>;">    
+ <div class="wpsg_checkoutblock">
+  <label for="wpsg_mod_kundenverwaltung_pwd1"><?php echo __("Passwort", "wpsg"); ?>
+  <?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
+  </label>
+  <input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd1", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="mod_kundenverwaltung_pwd1" name="wpsg[mod_kundenverwaltung][pwd1]" value="" />   
+ </div>
+
+ <div class="wpsg_checkoutblock">  
+  <label for="wpsg_mod_kundenverwaltung_pwd2"><?php echo __("Passwort wiederholen", "wpsg"); ?>
+  <?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
+  </label>
+  <input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd2", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="wpsg_mod_kundenverwaltung_pwd2" name="wpsg[mod_kundenverwaltung][pwd2]" value="" />
+ </div>
+
+ <div class="wpsg_clear"></div>
+ 
 </div>
-
-<div class="wpsg_checkoutblock">		
-	<label for="wpsg_mod_kundenverwaltung_pwd2"><?php echo __("Passwort wiederholen", "wpsg"); ?>
-	<?php if ($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1') { ?><span class="wpsg_required">*</span><?php } ?>:
-	</label>
-	<input class="wpsg_checkout <?php echo (($this->get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand') == '1')?'validate[required]':''); ?> <?php echo ((in_array("mod_kundenverwaltung_pwd2", (array)$this->view['error']))?'wpsg_error':''); ?>" type="password" id="wpsg_mod_kundenverwaltung_pwd2" name="wpsg[mod_kundenverwaltung][pwd2]" value="" />
-</div>
-
-<div class="wpsg_clear"></div>
Index: /views/warenkorb/checkout.phtml
===================================================================
--- /views/warenkorb/checkout.phtml	(revision 5777)
+++ /views/warenkorb/checkout.phtml	(revision 5779)
@@ -60,19 +60,4 @@
 		
 	} );
-
-	/* Checkout aktiv, wird Passwortabfrage für Kundenkonto angezeigt */
-	function setVisibility2(id) {
-		
-		if(document.getElementById('bt2').value=='Hide Layer'){
-
-			document.getElementById('bt2').value = 'Show Layer';
-			document.getElementById(id).style.display = 'none';
-
-		}else{
-			
-			document.getElementById('bt2').value = 'Hide Layer';
-			document.getElementById(id).style.display = 'inline';
-		}
-	} 
 		
 /* ]]> */</script>
@@ -239,13 +224,7 @@
 				<?php /* $this->callMods('checkout_customer_inner'); START */ ?>
 				
-				<?php /* Passwortabfrage für Neuregistrierung */ ?>
-
-				<label for="checkout_login"><br />
-		       		<input type=checkbox name=type id='bt2' value='Show Layer' onclick="setVisibility2('sub4')">
-            		<span class="wpsg-checkbox-label">Ich möchte ein Kundenkonto anlegen.</span>
-       			</label>         
-				<div id="sub4" class="wpsg_checkout_login_aktiv">    
-    				<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_customer_inner'); ?>
-       			</div>
+				<?php /* Passwortabfrage für Neuregistrierung */ ?> 
+    			<?php echo $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_customer_inner'); ?>
+       
 				<?php /*echo $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_customer_inner'); */ ?>
 				
