document.write(
"<tr style='border:solid black 1px'><td colspan='3'><form style=''>" +
"		<table width='100%' style='border: solid rgb(103, 114, 132) 1px; background:#dee2e7'>" +
"			<tr>" +
"				<td valign='top'>" +
"					<b>Sort By</b><br />" +
"					<select style='font-size:85%' onclick='addUl();' onchange='sortByClickHandler(event);' id='sortSelect'>" +
"						<option value='none' selected='selected'>---- Please Choose ----</option>" +
"						<option value='packprice_asc'>PRICE -  PACK (lowest first)</option>" +
"						<option value='packprice_desc'>PRICE - PACK (highest first)</option>" +
"						<option value='unitprice_asc'>PRICE - EACH (lowest first)</option>" +
"						<option value='unitprice_desc'>PRICE - EACH (highest first)</option>" +
"						<option value='rating_desc'>RATING (highest first)</option>" +
"						<option value='rating_asc'>RATING (lowest first)</option>" +
"						<option value='packsize_asc'>PACK SIZE (lowest first)</option>" +
"						<option value='packsize_desc'>PACK SIZE (highest first)</option>" +
"						<option value='brand_asc'>BRAND (alphabetical)</option>" +
"						<option value='brand_desc'>BRAND (reverse order)</option>'" +
"					</select>" +
"				</td>" +
"				<td valign='top'>" +
"					<b>Brand (Filter)</b><br />" +
"					<input style='font-size:85%' type='text' value='None' size='12' id='brandFilter' onclick='addUl(); this.value=\"\"; sort();' onchange='sort()'>" +
"					<input type='button' value='CLEAR' style='font-size:75%' onclick='addUl(); document.getElementById(\"brandFilter\").value=\"\"; sort();' />" +
"				</td>" +
"				<td valign='top'>" +
"					<b>Price Range</b><br />" +
"					&pound;<input style='font-size:85%' type='text' id='minprice' value='0' size='4' onclick='addUl(); this.value=\"\"; sort();' onchange='sort()' />" +
"					to " +
"					&pound;<input style='font-size:85%' type='text' id='maxprice' value='99999' size='6' onclick='addUl(); this.value=\"\"; sort();' onchange='sort()' />" +
"				</td>" +
"				<td valign='bottom'>" +
"					<input type='button' value='GO' onclick='addUl(); sort();' />" +
"				</td>" +
"			</tr>" +
"		</table>" +
"		<table width='100%' style='border: none; margin-top:5px;'>" +
"			<tr>" +
"				<td colspan='4'><span style='font-size:75%'><b>NOTE:</b> Sort by \"PRICE - PACK\" goes by total pack price, regardless of how many items each pack contains. \"PRICE - EACH\" goes by what price <i>each item</i> in a pack works out at.</span></td>" +
"			</tr>" +
"		</table>" +
"</form></td></tr>"
);

