

		document.write('<link type="text/css" href="http://tscreatives.affiliatelabs.com/613/ts_int/wl600x70/ad_906x120_flights.css" rel="stylesheet"/>');

document.write('<div id="maincontain">');
document.write('<form method="get" OnSubmit="return FormSubmit(this,varwUrl,wtarget,affUrl);" name="flightbooking" target="_blank" >');
	document.write('<div id="maintop">');
  document.write('<div id="ts_header">Search for the cheapest airfares! </div>');
		document.write('<div id="inputfields">');
			document.write('<div id="inputleft">');
				document.write('<table border="0" cellspacing="0" cellpadding="0" align="left" style="margin-top:10px;">');
					document.write('<tbody>');		
						document.write('<tr>');						
							document.write('<td colspan="2" class="tshilight">');
								document.write('From');
							document.write('</td>');
							document.write('<td colspan="2" align = "right">');
							
							document.write('<input type="text" onclick = "if(this.value==&#39;Type City Here&#39;){this.value = &#39;&#39;}" onblur ="if(this.value==&#39;&#39;){this.value = &#39;Type City Here&#39;}"  name="td_homeCity" value="'+getCity_From()+'" class="wide"/>');
							document.write('</td>');
						document.write('</tr>');
						document.write('<tr>');
							document.write('<td colspan="2" class="tshilight">');
								document.write('To');
							document.write('</td>	');					
							document.write('<td colspan="2">');
							
								document.write('<input type="text" onclick = "if(this.value==&#39;Type City Here&#39;){this.value = &#39;&#39;}" onblur ="if(this.value==&#39;&#39;){this.value = &#39;Type City Here&#39;}" name="td_destCity" value="'+getCity_To()+'" class="wide"/>');
							document.write('</td>');
						document.write('</tr>');											
					document.write('</tbody>');
				document.write('</table>');			
				document.write('<table border="0" cellspacing="0" cellpadding="0" align="left" style="margin-top:10px;">');
					document.write('<tbody>');		
					document.write('<tr>');
						document.write('<td>');
							document.write('<table border="0" cellspacing="0" cellpadding="0">');		
							document.write('<tr>');
								document.write('<td colspan="2" class="tshilight" style="padding-left:15px;">');
									document.write('Dep.');
								document.write('</td>	');					
								document.write('<td>');
									document.write('<select name="td_homeLeaveDay" id="newHLD_'+tdrange+'" class="tsdropdownday">');
									

								//function call has been omitted
										
										
									document.write('</select>');
								document.write('</td>');
								document.write('<td align="right">');
									document.write('<select name="td_homeLeaveMonth" id="newHLM_'+tdrange+'" class="tsdropdown" style="width:60px;" onChange="swapMonth(this.form);updateDayOptions(this.form, &#39;newHLD&#39;, this.form.td_homeLeaveMonth.value, this.form.td_homeLeaveDay.value);updateDayOptions(this.form, &#39;newDLD&#39;, this.form.td_destLeaveMonth.value, this.form.td_destLeaveDay.value);">');
									
									
									
									//function call has been omitted
										
										
									document.write('</select>');
								document.write('</td>');
							document.write('</tr>');					
							document.write('<tr>');
								document.write('<td colspan="2" class="tshilight" style="padding-left:15px;">');
									document.write('Ret.');
								document.write('</td>');						
								document.write('<td>');
									document.write('<select name="td_destLeaveDay"  id="newDLD_'+tdrange+'"  class="tsdropdownday">');
									
										
									//function call has been omitted
										
									document.write('</select>');
								document.write('</td>');
								document.write('<td align="right">');
									document.write('<select name="td_destLeaveMonth" id="newDLM_'+tdrange+'" class="tsdropdown" style="width:60px;" onChange="swapMonth(this.form);updateDayOptions(this.form, &#39;newDLD&#39;, this.form.td_destLeaveMonth.value, this.form.td_destLeaveDay.value);">');
										
										
										//function call has been omitted
							
										
									document.write('</select>');
								document.write('</td>');
							document.write('</tr>');
							document.write('</table>');
						document.write('</td>');
						document.write('<td>');
						document.write('<table border="0" cellspacing="0" cellpadding="0">');						
						document.write('<tr>');
							document.write('<td class="tshilight" align="right" style="padding-left:22px;">');
								document.write('Pass.');
							document.write('</td>	');					
							document.write('<td colspan="2">');								
								document.write('<select name="td_paxAdults" class="tsdropdownsmall">');
									document.write('<option value=1>1');
									document.write('<option value=2>2');
									document.write('<option value=3>3');
									document.write('<option value=4>4');
									document.write('<option value=5>5');
									document.write('<option value=6>6');
									document.write('<option value=7>7');
									document.write('<option value=7>8');
									document.write('<option value=7>9');
								document.write('</select>');							
							document.write('</td>');
						document.write('</tr>');
						document.write('<tr>');
							document.write('<td colspan="3" style="padding-left:17px;">');	
								document.write('<input type="image" name="submitbtn" id="submitbtn" src="http://www.trafficsynergy.co.za/tstinter/submit.gif" border="0" style="border:0px;margin-top:3px;">');
							document.write('</td>');
						document.write('</tr>');		
						document.write('</table>');
						document.write('</td>');
					document.write('</tr>');					
					document.write('</tbody>');
				document.write('</table>');							
			document.write('</div>');
		document.write('</div>');
		document.write('<div class="clear">&nbsp;</div>');
	document.write('</div>');
	document.write('<div id="mainlow">');
	
	if ( getShowUrl() == 1)
			{
			document.write('<div id="tscontact" style = "text-align:center;font-size:10pt;color:#000">	<div class="tscontactbit"><b>Book your flight online NOW ! Just enter your destinations - Change the date range and click the submit button</b></div>');
			}
		
		
		document.write('</div>');
		
		

	document.write('</div>');

document.write('</form>');
document.write('</div>');
			

	