					<form id="commentform" action="#" method="post">
						<input type="hidden" name="comment" value="1" />
						<input type="hidden" name="remember" value="1" />
						<?php
						printCommentErrors();
						?>
						<table border="0">
							<tr>
								<td>
									<?php echo gettext("Name:"); ?>
										<label>
										(<input type="checkbox" name="anon" value="1"<?php if ($stored['anon']) echo " CHECKED"; ?> /> <?php echo gettext("<em>anonymous</em>"); ?>)
										</label>
								</td>
								<td>
									<?php
									if ($disabled['name']) {
										?>
										<div class="disabled_input" style="background-color:LightGray;color:black;">
											<?php
											echo $stored['name'];
											?>
											<input type="hidden" id="name" name="name" value="<?php echo $stored['name'];?>" />
										</div>
										<?php
									} else {
										?>
										<input type="text" id="name" name="name" size="22" value="<?php echo $stored['name'];?>" class="inputbox" />
										<?php										
									}
									?>
								</td>
							</tr>
							<tr>
								<td>
									<label for="email"><?php echo gettext("E-Mail:"); ?></label>
								</td>
								<td>
									<?php
									if ($disabled['email']) {
										?>
										<div class="disabled_input" style="background-color:LightGray;color:black;">
											<?php
											echo $stored['email'];
											?>
											<input type="hidden" id="email" name="email" value="<?php echo $stored['email'];?>" />
										</div>
										<?php
									} else {
										?>
										<input type="text" id="email" name="email" size="22" value="<?php echo $stored['email'];?>" class="inputbox" />
										<?php								
									}
									?>
								</td>
							</tr>
							<tr>
								<td>
									<label for="website"><?php echo gettext("Site:"); ?></label>
								</td>
								<td>
									<?php
									if ($disabled['website']) {
										?>
										<div class="disabled_input" style="background-color:LightGray;color:black;">
											<?php
											echo $stored['website'];
											?>
											<input type="hidden" id="website" name="website" value="<?php echo $stored['website'];?>" />
										</div>
										<?php		
									} else {	
										?>							
										<input type="text" id="website" name="website" size="22" value="<?php echo $stored['website'];?>" class="inputbox" />
										<?php
									}
									?>
								</td>
							</tr>
							<?php
							if (getOption('comment_form_addresses')) {
								?>
								<tr>
									<td>
										<label for="0-comment_form_street"><?php echo gettext('street:'); ?></label>
									</td>
									<td>
										<?php
											if ($disabled['street']) {
												?>
												<div class="disabled_input" style="background-color:LightGray;color:black;">
													<?php
													echo $stored['street'];
													?>
														<input type="hidden" id="0-comment_form_street" name="0-comment_form_street" value="<?php echo $stored['street'];?>" />
												</div>
												<?php
											} else {
												?>
												<input type="text" name="0-comment_form_street" id="comment_form_street" class="inputbox" size="22" value="<?php echo $stored['street']; ?>" />
												<?php									
											}
										?>
									</td>
								</tr>
								<tr>
									<td>
										<label for="0-comment_form_city"><?php echo gettext('city:'); ?></label>
									</td>
									<td>
										<?php
										if ($disabled['city']) {
											?>
											<div class="disabled_input"  style="background-color:LightGray;color:black;">
												<?php
												echo $stored['city'];
												?>
												<input type="hidden" id="0-comment_form_city" name="0-comment_form_city" value="<?php echo $stored;?>" />
											</div>
											<?php
										} else {
											?>
											<input type="text" name="0-comment_form_city" id="comment_form_city" class="inputbox" size="22" value="<?php echo $stored['city']; ?>" />
											<?php								
										}
										?>
									</td>
								</tr>
								<tr>
									<td><label for="0-comment_form_state"><?php echo gettext('state:'); ?></label></td>
									<td>
										<?php
										if ($disabled['state']) {
											?>
											<div class="disabled_input" style="background-color:LightGray;color:black;">
												<?php
												echo $stored['state'];
												?>
												<input type="hidden" id="0-comment_form_state" name="0-comment_form_state" value="<?php echo $stored['state'];?>" />
											</div>
											<?php
										} else {
											?>
											<input type="text" name="0-comment_form_state" id="comment_form_state" class="inputbox" size="22" value="<?php echo $stored['state']; ?>" />
											<?php									
										}
										?>
									</td>
								</tr>
								<tr>
									<td><label for="0-comment_form_country"><?php echo gettext('country:'); ?></label></td>
									<td>
										<?php
										if ($disabled['country']) {
											?>
											<div class="disabled_input"  style="background-color:LightGray;color:black;">
												<?php
												echo $stored['country'];
												?>
												<input type="hidden" id="0-comment_form_country" name="0-comment_form_country" value="<?php echo $stored['country'];?>" />
											</div>
											<?php
										} else {
											?>
											<input type="text" name="0-comment_form_country" id="comment_form_country" class="inputbox" size="22" value="<?php echo $stored['country']; ?>" />
											<?php									
										}
										?>
									</td>
								</tr>
								<tr>
									<td><label for="0-comment_form_postal"><?php echo gettext('postal code:'); ?></label></td>
									<td>
										<?php
										if ($disabled['postal']) {
											?>
											<div class="disabled_input"  style="background-color:LightGray;color:black;">
												<?php
												echo $stored['postal'];
												?>
												<input type="hidden" name="0-comment_form_postal" value="<?php echo $stored['postal'];?>" />
											</div>
											<?php
										} else {
											?>
											<input type="text" id="0-comment_form_country" name="0-comment_form_postal" id="comment_form_postal" class="inputbox" size="22" value="<?php echo $stored['postal']; ?>" />
											<?php									
										}
										?>
									</td>
								</tr>
								<?php
								}
							if (getOption('Use_Captcha')) {
 								$captchaCode=generateCaptcha($img); ?>
 								<tr>
	 								<td>
	 									<label for="code">
		 									<?php echo gettext("Enter Captcha:"); ?>
		 									<img src=<?php echo "\"$img\"";?> alt="Code" align="middle" />
	 									</label>
	 								</td>
	 								<td>
	 									<input type="text" id="code" name="code" size="22" class="inputbox" />
	 									<input type="hidden" name="code_h" value="<?php echo $captchaCode;?>" />
	 								</td>
 								</tr>
								<?php
							}
							?>
							<tr>
								<td colspan="2">
									<label>
									<input type="checkbox" name="private" value="1"<?php if ($stored['private']) echo " CHECKED"; ?> />
									<?php echo gettext("Private comment (don't publish)"); ?>
									</label>
								</td>
							</tr>
						</table>
						<textarea name="comment" rows="6" cols="42" class="textarea_inputbox"><?php echo $stored['comment']; ?></textarea>
						<br />
						<input type="submit" value="<?php echo gettext('Add Comment'); ?>" class="pushbutton" />
					</form>