<script language="javascript">

function hideshow(id, hs) {

  	 if (document.getElementById) { // DOM3 = IE5, NS6
  	    
    		document.getElementById(id).style.display = hs;
  	 }
  	 else {
  	 	 if (document.layers) { // Netscape 4
  			 document.id.display = hs;
  		 }
  		 else { // IE 4
  			 document.payform.elements[id].style.display= hs;
  		 }
  	 } 
}

function validate(chk1){

  if (chk1.checked == false) {
    alert("You have to check 'Terms of Service'.");
    return false;
  }else {  
    return true;
  }
}

</script>
<form action="{address}" method="post" name="payform" id="a" onsubmit="return validate(terms);  ">
<table class="form_o">
<tbody>
 <tr>
    <td>
    {error}
        <table class="form_i">
         <tbody>
           <tr>
             <td class="nag">{lang subscription}</td><td class="nag">{currency}</td>
           </tr>          
          <tr {style type[1]}>
            <td class="lCForm"><input id="type1" onClick="links53(false,false);" name="link_type" value="1" type="radio" {checked type[1]}> <label for="type1">{link type1} {is_reciprocal_1}</label></td>
            <td class="rCForm">{payment type[1]}</td>
          </tr>
          <tr {style type[2]}>
            <td class="lCForm"><input id="type2" onClick="links53(false,false);" name="link_type" value="2" type="radio" {checked type[2]}> <label for="type2">{link type2} {is_reciprocal_2}</label></td>
            <td class="rCForm">{payment type[2]}</td>
          </tr>
          <tr {style type[3]}>
            <td class="lCForm"><input id="type3" onClick="links53(false,false);" name="link_type" value="3" type="radio" {checked type[3]}> <label for="type3">{link type3} {is_reciprocal_3}</label></td>
            <td class="rCForm">{payment type[3]}</td>
          </tr>
          <tr {style type[4]}>
            <td class="lCForm"><input id="type4" onClick="links53(false,false);" name="link_type" value="4" type="radio" {checked type[4]}> <label for="type4">{link type4} {is_reciprocal_4}</label></td>
            <td class="rCForm">{payment type[4]}</td>
          </tr>          
         </tbody>
         </table>
        <table class="form_i">
         <tbody>
           <tr>
             <td class="nag" colspan="2">{lang add site} to this Category: {category}</td>
           </tr>
           <tr>
             <td class="lCForm">{lang title}:<font color="red">*</font></td>
             <td class="rCForm"><input name="title" value="{title value}" maxlength="150" size="58" type="text"></td>
           </tr>           
           <tr class="colored">
             <td class="lCForm">{lang url}:<font color="red">*</font></td>
             <td class="rCForm"><input name="url" value="{url value}" maxlength="150" size="58" type="text"></td>
           </tr>
          </tbody>
          <tbody id="links3" name="links3"  style="display: none;">
           <tr>
             <td class="lCForm">{lang title} 1:</td>
             <td class="rCForm"><input name="title1" value="{title1 value}" maxlength="40" size="58" type="text"></td>
           </tr>           
           <tr class="colored">
             <td class="lCForm">{lang url} 1:</td>
             <td class="rCForm"><input name="url1" value="{url1 value}" maxlength="150" size="58" type="text"></td>
           </tr>           
           <tr>
             <td class="lCForm">{lang title} 2:</td>
             <td class="rCForm"><input name="title2" value="{title2 value}" maxlength="40" size="58" type="text"></td>
           </tr>           
           <tr class="colored">
             <td class="lCForm">{lang url} 2:</td>
             <td class="rCForm"><input name="url2" value="{url2 value}" maxlength="150" size="58" type="text"></td>
           </tr>
           <tr>
             <td class="lCForm">{lang title} 3:</td>
             <td class="rCForm"><input name="title3" value="{title3 value}" maxlength="40" size="58" type="text"></td>
           </tr>           
           <tr class="colored">
             <td class="lCForm">{lang url} 3:</td>
             <td class="rCForm"><input name="url3" value="{url3 value}" maxlength="150" size="58" type="text"></td>
           </tr>
          </tbody>
          <tbody id="links5" name="links5" style="display: none;"> 
           <tr>
             <td class="lCForm">{lang title} 4:</td>
             <td class="rCForm"><input name="title4" value="{title4 value}" maxlength="40" size="58" type="text"></td>
           </tr>           
           <tr class="colored">
             <td class="lCForm">{lang url} 4:</td>
             <td class="rCForm"><input name="url4" value="{url4 value}" maxlength="150" size="58" type="text"></td>
           </tr>
           <tr>
             <td class="lCForm">{lang title} 5:</td>
             <td class="rCForm"><input name="title5" value="{title5 value}" maxlength="40" size="58" type="text"></td>
           </tr>           
           <tr class="colored">
             <td class="lCForm">{lang url} 5:</td>
             <td class="rCForm"><input name="url5" value="{url5 value}" maxlength="150" size="58" type="text"></td>
           </tr>      
          </tbody>                                      
          <tbody> 
           <tr>
             <td class="lCForm">{lang description}:<font color="red">*</font></td>
             <td class="rCForm"><textarea name="description" cols="58" rows="12" id="description">{description value}</textarea></td>
           </tr>  
           <tr class="colored">
             <td class="lCForm">5 {lang keywords}:<font color="red">*</font></td>
             <td class="rCForm"><input name="keywords" value="{keywords value}" maxlength="150" size="58" type="text"></td>
           </tr>                  
           <tr>
             <td class="lCForm">{lang email}:<font color="red">*</font></td>
             <td class="rCForm"><input name="email" value="{email value}" maxlength="255" size="58" type="text"></td>
           </tr>  
           <tr class="colored">
             <td class="lCForm">{lang reciprocal}:</td>
             <td class="rCForm"><input name="reciprocal" value="{reciprocal value}" maxlength="255" size="58" type="text"></td>
           </tr>
           <tr>
             <td class="lCForm">{lang reciprocal}:</td>
             <td class="rCForm"><textarea readonly="readonly" name="my_reciprocal" cols="58" rows="3" id="my_reciprocal">{my_reciprocal value}</textarea></td>
           </tr>           
           {if iscaptcha==1}
           <tr class="colored">
             <td class="lCForm">{captcha text}:<font color="red">*</font></td>
             <td class="rCForm">{captcha input}</td>
           </tr>
           {end iscaptcha}                     
         </tbody>
        </table>
    </td>
 </tr>
 {if iscaptcha==1} 
 <tr><td style="text-align: center;"><input name="captcha_refresh" value="Refresh" type="submit" class="button2"> {captcha img} </td></tr>
 {end iscaptcha}         
 <tr>
  <td style="text-align: center;">
    <div style="background-color: #F9F9F9; text-align: left; padding: 4px;">
    <input type="checkbox" name="terms" id="terms">
    By submitting a listing I agree to the following <a href="submit_guidelines.htm" target="_blank" title="Agreement & TOS"><u><font color="red">Terms of Service</font></u></a> (opens in a New Window):
    to waive any claim(s) relating to the inclusion, exclusion, placement, or deletion of this submission in this directory. 
    To grant royalty-free license to use, edit, publish, copy, modify or delete this submission and to grant editorial power over it's title, description and meta.
    </div>  
  </td>
 </tr>
<tr>
 <td  class="rCForm" style="text-align: center;"><input name="submit_step2" value="{lang next}" type="submit" class="button2"></td>
</tr>
<tr>
<td style="text-align: left;"><a href="{address}" class="link2">&laquo; {lang back}</a></td>
</tr>
</tbody>
</table>
</form>
