+<br style="clear: left" /></div>|;
+
+print qq|
+ <div id="shipto" class="tabcontent">
+
+ <table width=100%>
+$shipto
+ <tr>
+ <th align=right nowrap>| . $locale->text('Company Name') . qq|</th>
+ <td><input id=shiptoname name=shiptoname size=35 maxlength=75 value="$form->{shiptoname}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>| . $locale->text('Abteilung') . qq|</th>
+ <td><input id=shiptodepartment_1 name=shiptodepartment_1 size=16 maxlength=75 value="$form->{shiptodepartment_1}">
+ <input id=shiptodepartment_2 name=shiptodepartment_2 size=16 maxlength=75 value="$form->{shiptodepartment_2}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>| . $locale->text('Street') . qq|</th>
+ <td><input id=shiptostreet name=shiptostreet size=35 maxlength=75 value="$form->{shiptostreet}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>|
+ . $locale->text('Zipcode') . "/" . $locale->text('City') . qq|</th>
+ <td><input id=shiptozipcode name=shiptozipcode size=5 maxlength=10 value="$form->{shiptozipcode}">
+ <input id=shiptocity name=shiptocity size=30 maxlength=75 value="$form->{shiptocity}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>| . $locale->text('Country') . qq|</th>
+ <td><input id=shiptocountry name=shiptocountry size=35 maxlength=35 value="$form->{shiptocountry}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>| . $locale->text('Contact') . qq|</th>
+ <td><input id=shiptocontact name=shiptocontact size=30 maxlength=75 value="$form->{shiptocontact}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>| . $locale->text('Phone') . qq|</th>
+ <td><input id=shiptophone name=shiptophone size=30 maxlength=30 value="$form->{shiptophone}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>| . $locale->text('Fax') . qq|</th>
+ <td><input id=shiptofax name=shiptofax size=30 maxlength=30 value="$form->{shiptofax}"></td>
+ </tr>
+ <tr>
+ <th align=right nowrap>| . $locale->text('E-mail') . qq|</th>
+ <td><input id=shiptoemail name=shiptoemail size=45 value="$form->{shiptoemail}"></td>
+ </tr>
+ <tr>
+ <td> </td>
+ </tr>
+ <tr>
+ <td> </td>
+ </tr>
+
+ </table>
+<br style="clear: left" /></div>|;
+
+
+##LINET - added fields for contact person
+ print qq|
+<div id="contacts" class="tabcontent">
+<table>
+ <tr>
+ <td colspan=3>
+ <input type=hidden name=cp_id value=$form->{cp_id}>
+ <table>
+ $ansprechpartner
+ <tr>
+ <th align=left nowrap>| . $locale->text('Greeting') . qq|</th>
+ <td><input id=cp_greeting name=cp_greeting size=40 maxlength=40 value="$form->{cp_greeting}">
+ $select_greeting</td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Title') . qq|</th>
+ <td><input id=cp_title name=cp_title size=40 maxlength=40 value="$form->{cp_title}">
+ $select_title</td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Department') . qq|</th>
+ <td><input id=cp_abteilung name=cp_abteilung size=40 maxlength=40 value="$form->{cp_abteilung}">
+ $select_department</td>
+ </tr>
+ <tr>
+ <th align=left nowrap>|
+ . $locale->text('Given Name') . qq|</th>
+ <td><input id=cp_givenname name=cp_givenname size=40 maxlength=40 value="$form->{cp_givenname}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Name') . qq|</th>
+ <td><input id=cp_name name=cp_name size=40 maxlength=40 value="$form->{cp_name}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Phone1') . qq|</th>
+ <td><input id=cp_phone1 name=cp_phone1 size=40 maxlength=40 value="$form->{cp_phone1}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Phone2') . qq|</th>
+ <td><input id=cp_phone2 name=cp_phone2 size=40 maxlength=40 value="$form->{cp_phone2}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Fax') . qq|</th>
+ <td><input id=cp_fax name=cp_fax size=40 maxlength=40 value="$form->{cp_fax}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Mobile1') . qq|</th>
+ <td><input id=cp_mobile1 name=cp_mobile1 size=40 maxlength=40 value="$form->{cp_mobile1}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Mobile2') . qq|</th>
+ <td><input id=cp_mobile2 name=cp_mobile2 size=40 maxlength=40 value="$form->{cp_mobile2}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Sat. Phone') . qq|</th>
+ <td><input id=cp_satphone name=cp_satphone size=40 maxlength=40 value="$form->{cp_satphone}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Sat. Fax') . qq|</th>
+ <td><input id=cp_satfax name=cp_satfax size=40 maxlength=40 value="$form->{cp_satfax}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Project') . qq|</th>
+ <td><input id=cp_project name=cp_project size=40 maxlength=40 value="$form->{cp_project}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('E-mail') . qq|</th>
+ <td><input id=cp_email name=cp_email size=40 maxlength=40 value="$form->{cp_email}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Private Phone') . qq|</th>
+ <td><input id=cp_privatphone name=cp_privatphone size=40 maxlength=40 value="$form->{cp_privatphone}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Private E-mail') . qq|</th>
+ <td><input id=cp_privatemail name=cp_privatemail size=40 maxlength=40 value="$form->{cp_privatemail}"></td>
+ </tr>
+ <tr>
+ <th align=left nowrap>| . $locale->text('Birthday') . qq|</th>
+ <td><input id=cp_birthday name=cp_birthday size=40 maxlength=40 value="$form->{cp_birthday}"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+ <tr height="5"></tr>|;
+##/LINET
+ print qq| $bcc
+ $tax
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+
+<br style="clear: left" /></div>
+<div id="deliveries" class="tabcontent">
+ <table>
+ $delivery
+ <tr>
+ <th align=left nowrap>| . $locale->text('From') . qq|</th>
+ <td><input id=from name=from size=10 maxlength=10 value="$form->{from}">
+ <input type="button" name="fromB" id="trigger_from" value="?"></td>
+ <th align=left nowrap>| . $locale->text('To (time)') . qq|</th>
+ <td><input id=to name=to size=10 maxlength=10 value="$form->{to}">
+ <input type="button" name="toB" id="trigger_to" value="?"></td>
+ </tr>
+ <tr>
+ <td colspan=4>
+ <div id=delivery>
+ </div>
+ </td>
+ </tr>
+ </table>
+<br style="clear: left" /></div>
+
+</div>
+
+| . $form->write_trigger(\%myconfig, 2, "fromB", "BL", "trigger_from",
+ "toB", "BL", "trigger_to");