	if(format == 'tall') {
	
		if(country != 'singapore' && country != 'hongkong') {
			if(language != 'cn') {
				searchbox = '<form action="http://'+country+'.recruit.net/search.html" method="get">'+
					'<div style="height: 288px; width: 180px;background: url(http://www.recruit.net/img/searchbox/'+color+'_vertical/background_'+region+'_'+language+'.gif) no-repeat left center;">'+
						'<div style="padding-top: 103px;padding-left: 15px">'+
							'<input name="query" style="font-weight:bold; font-family: arial; font-size: 16px; border: 1px solid #888888; height: 25px;width: 150px;" type="text"/>'+
						'</div>'+
						'<div style="padding-top: 38px;padding-left: 15px">'+
							'<input name="location" style="font-weight:bold; font-family: arial; font-size: 16px; border: 1px solid #888888; height: 25px;width: 150px;" type="text"/>'+
						'</div>'+
						'<div style="padding-top: 12px;padding-left: 15px">'+
							'<input type="submit" style="font-size: 12px;font-family:arial;background:#F0F0F0;font-weight:bold" value="';
						if(language == 'cn')
							searchbox= searchbox +'&#25628;&#32034;&#24037;&#20316;';
						else if(language == 'jp')
							searchbox= searchbox +'&#20181;&#20107;&#12434;&#26908;&#32034;';
						else 
							searchbox= searchbox +'Search Jobs';
						searchbox = searchbox + '"/>'+				
						'</div>'+
						'<div style="padding-top: 17px;padding-left: 15px">'+
						'<a href="http://www.recruit.net/">'+
							'<img style="border:none" src="http://www.recruit.net/img/searchbox/'+color+'_vertical/recruit_'+language+'.gif" alt="http://www.recruit.net/">'+
						'</a>'+
						'</div>'+
						'<input type="hidden" name="utm_source" value="searchbox">'+
						'<input type="hidden" name="utm_medium" value="searchbox">'+
					'</div>';
			} else {
				searchbox = '<form action="http://'+country+'.recruit.net/search.html" method="get">'+
					'<div style="height: 288px; width: 213px;background: url(http://www.recruit.net/img/searchbox/'+color+'_vertical/background_'+region+'_'+language+'.gif) no-repeat left center;">'+
						'<div style="padding-top: 103px;padding-left: 15px">'+
							'<input name="query" style="font-weight:bold; font-family: arial; font-size: 16px; border: 1px solid #888888; height: 25px;width: 180px;" type="text"/>'+
						'</div>'+
						'<div style="padding-top: 38px;padding-left: 15px">'+
							'<input name="location" style="font-weight:bold; font-family: arial; font-size: 16px; border: 1px solid #888888; height: 25px;width: 180px;" type="text"/>'+
						'</div>'+
						'<div style="padding-top: 12px;padding-left: 15px">'+
							'<input type="submit" style="font-size: 12px;font-family:arial;background:#F0F0F0;font-weight:bold" value="';
						if(language == 'cn')
							searchbox= searchbox +'&#25628;&#32034;&#24037;&#20316;';
						else if(language == 'jp')
							searchbox= searchbox +'&#20181;&#20107;&#12434;&#26908;&#32034;';
						else 
							searchbox= searchbox +'Search Jobs';
						searchbox = searchbox + '"/>'+				
						'</div>'+
						'<div style="padding-top: 10px;padding-left: 15px">'+
						'<a href="http://www.recruit.net/">'+
							'<img style="border:none" src="http://www.recruit.net/img/searchbox/'+color+'_vertical/recruit_'+language+'.gif" alt="http://www.recruit.net/">'+
						'</a>'+
						'</div>'+
						'<input type="hidden" name="utm_source" value="searchbox">'+
						'<input type="hidden" name="utm_medium" value="searchbox">'+
					'</div>';			
			}
		} else {
			searchbox = '<form action="http://'+country+'.recruit.net/search.html" method="get">'+
			'<div style="height: 213px; width: 180px;background: url(http://www.recruit.net/img/searchbox/'+color+'_vertical/background_'+region+'_'+language+'.gif) no-repeat left center;">'+
				'<div style="padding-top: 103px;padding-left: 15px">'+
					'<input name="query" style="font-weight:bold; font-family: arial; font-size: 16px; border: 1px solid #888888; height: 25px;width: 150px;" type="text"/>'+
				'</div>'+
				'<div style="padding-top: 12px;padding-left: 15px">'+
					'<input type="submit" style="font-size: 12px;font-family:arial;background:#F0F0F0;font-weight:bold" value="';
				if(language == 'cn')
					searchbox= searchbox +'&#25628;&#32034;&#24037;&#20316;';
				else if(language == 'jp')
					searchbox= searchbox +'&#20181;&#20107;&#12434;&#26908;&#32034;';
				else 
					searchbox= searchbox +'Search Jobs';
				searchbox = searchbox + '"/>'+				
				'</div>'+
				'<div style="padding-top: 13px;padding-left: 15px">'+
				'<a href="http://www.recruit.net/">'+
					'<img style="border:none" src="http://www.recruit.net/img/searchbox/'+color+'_vertical/recruit_'+language+'.gif" alt="http://www.recruit.net/">'+
				'</a>'+
				'</div>'+
				'<input type="hidden" name="utm_source" value="searchbox">'+
				'<input type="hidden" name="utm_medium" value="searchbox">'+
			'</div>';	
		}
	} else {
		
		if(language != 'cn') {
			searchbox = '<form action="http://'+country+'.recruit.net/search.html" method="get">'+
			'<div style="height: 95px; width: 502px;background: url(http://www.recruit.net/img/searchbox/'+color+'_horizontal/background_'+region+'_'+language+'.gif) no-repeat left center;">'+
				'<div style="padding-top: 40px;padding-left: 15px">'+
					'<span style="">'+
						'<input name="query" style="font-weight:bold; font-family: arial; font-size: 12px; border: 1px solid #888888; height: 18px;width: 150px;" type="text"/>'+
					'</span>'+
					'<span style="padding-top: 38px;padding-left: 15px">';
					if( (country != 'hongkong') && (country != 'singapore') ) {
						searchbox = searchbox + '<input name="location" style="font-weight:bold; font-family: arial; font-size: 12px; border: 1px solid #888888; height: 18px;width: 150px;" type="text"/>';
					}
					
					searchbox = searchbox + '</span>'+
					'<span style="padding-left: 15px">'+
						'<input type="submit" style="font-size: 10px;font-family:arial;background:#F0F0F0;font-weight:bold" value="';
					if(language == 'cn')
						searchbox= searchbox +'&#25628;&#32034;&#24037;&#20316;';
					else if(language == 'jp')
						searchbox= searchbox +'&#20181;&#20107;&#12434;&#26908;&#32034;';
					else 
						searchbox= searchbox +'Search Jobs';
					searchbox = searchbox + '"/>'+				
					'</span>'+
				'</div>'+
				'<div style="padding-left: 350px; padding-top: 0px;">'+
				'<a href="http://www.recruit.net/">'+
					'<img style="border:none" src="http://www.recruit.net/img/searchbox/'+color+'_horizontal/recruit_'+language+'.gif" alt="http://www.recruit.net/"/>		'+
				'</a>'+
				'</div>'+
				'<input type="hidden" name="utm_source" value="searchbox">'+
				'<input type="hidden" name="utm_medium" value="searchbox">'+
			'</div>';
		} else {
			searchbox = '<form action="http://'+country+'.recruit.net/search.html" method="get">'+
			'<div style="height: 118px; width: 555px;background: url(http://www.recruit.net/img/searchbox/'+color+'_horizontal/background_'+region+'_'+language+'.gif) no-repeat left center;">'+
				'<div style="padding-top: 40px;padding-left: 15px">'+
					'<span style="">'+
						'<input name="query" style="font-weight:bold; font-family: arial; font-size: 12px; border: 1px solid #888888; height: 18px;width: 150px;" type="text"/>'+
					'</span>'+
					'<span style="padding-top: 38px;padding-left: 15px">';
					if( (country != 'hongkong') && (country != 'singapore') ) {
						searchbox = searchbox + '<input name="location" style="font-weight:bold; font-family: arial; font-size: 12px; border: 1px solid #888888; height: 18px;width: 150px;" type="text"/>';
					}
					
					searchbox = searchbox + '</span>'+
					'<span style="padding-left: 15px">'+
						'<input type="submit" style="font-size: 10px;font-family:arial;background:#F0F0F0;font-weight:bold" value="';
					if(language == 'cn')
						searchbox= searchbox +'&#25628;&#32034;&#24037;&#20316;';
					else if(language == 'jp')
						searchbox= searchbox +'&#20181;&#20107;&#12434;&#26908;&#32034;';
					else 
						searchbox= searchbox +'Search Jobs';
					searchbox = searchbox + '"/>'+				
					'</span>'+
				'</div>'+
				'<div style="padding-left: 350px; padding-top: 0px;">'+
				'<a href="http://www.recruit.net/">'+
					'<img style="border:none" src="http://www.recruit.net/img/searchbox/'+color+'_horizontal/recruit_'+language+'.gif" alt="http://www.recruit.net/"/>		'+
				'</a>'+
				'</div>'+
				'<input type="hidden" name="utm_source" value="searchbox">'+
				'<input type="hidden" name="utm_medium" value="searchbox">'+
			'</div>';
			
		}
	}
	
if(encoding != '') {
	searchbox = searchbox + '<input type="hidden" name="encoding" value="'+encoding+'"/>';
}
	
searchbox = searchbox + '</form>';

document.write(searchbox);
