
<br />
{if $ok==1}
<table width="100%"  border="0" cellpadding="3" cellspacing="1" class="box_inner">
  <tr>
    <td class="row_second">{$lang.contact_message_ok}</td>
  </tr>
</table>
{else}
<script language="javascript" type="text/javascript">
function check_cform(){ldelim}
	if( (document.getElementById('cemail').value == "") || (document.getElementById('cemail').value.indexOf('@') == -1) ){ldelim}
	alert('{$lang.contact_noemail}');
	document.getElementById('cemail').focus();
	return false;
	{rdelim}
	
	if( (document.getElementById('message').value == "") || (document.getElementById('message').value.length <= 5) ){ldelim}
	alert('{$lang.contact_nomessage}');
	document.getElementById('message').focus();
	return false;
	{rdelim}
{rdelim}
</script>
<form action="index.php?do=send&amp;p=contact" method="post" enctype="multipart/form-data" onsubmit="return check_cform();" >
  <table width="100%"  border="0" cellpadding="3" cellspacing="1" class="box_inner">
    <tr>
      <td colspan="2">{$lang.contact_header}</td>
    </tr>
    <tr>
      <td width="20%">{$lang.contact_title}</td>
      <td>
	  <select name="{$lang.contact_title}" id="{$lang.contact_title}">
	  <option value="{$lang.contact_title_mr}">{$lang.contact_title_mr}</option>
	  <option value="{$lang.contact_title_mrs}">{$lang.contact_title_mrs}</option>
	 {*  <option value="{$lang.contact_title_company}">{$lang.contact_title_company}</option> *}
      </select></td>
    </tr>
    <tr class="row_first">
      <td width="20%">{$lang.contact_firstname}</td>
      <td><input name="{$lang.contact_firstname}" type="text" size="45" /></td>
    </tr>
    <tr class="row_second">
      <td width="20%">{$lang.contact_lastname}</td>
      <td><input name="{$lang.contact_lastname}" type="text" size="45" /></td>
    </tr>
    <tr class="row_first">
      <td width="20%">{$lang.contact_email}</td>
      <td><input name="cemail" id="cemail" type="text" size="45" /></td>
    </tr>
   <tr class="row_second">
      <td>{$lang.contact_subject}</td>
      <td><input name="{$lang.contact_subject}" id="{$lang.contact_subject}" type="text" size="45" /></td>
    </tr>
    <tr class="row_first">
      <td>{$lang.contact_text}</td>
      <td><textarea name="{$lang.contact_text}" cols="55" rows="10" id="message"></textarea></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input name="Submit" type="submit" class="button" value="{$lang.send}" />
      <input name="Submit" type="reset" class="button" value="{$lang.contact_button_reset}" /></td>
    </tr>
  </table>
</form>
{/if}
{* 
<br />
Hinweis: Sie k&ouml;nnen hier nat&uuml;rlich alle Elemente einf&uuml;gen, die Sie ben&ouml;tigen. Es werden alle Form- Daten &uuml;bertragen.<br />
*}
