function lookup(inputString, box) {
        if (box== 1)
		{
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions').hide();
		} else {
			$.post("/assets/snippets/sellphone/rcp.php", {queryString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions').show();
					$('#autoSuggestionsList').html(data);
				}
			});
		}}
        else
        {
          if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions2').hide();
		} else {
			$.post("/assets/snippets/sellphone/rcp.php", {queryString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions2').show();
					$('#autoSuggestionsList2').html(data);
				}
			});
		}}
	} // lookup
	
function fill(thisValue, box) {
               $('#inputString').val(thisValue);
		setTimeout("$('#suggestions').hide();", 200);
               $('#inputString2').val(thisValue);
		setTimeout("$('#suggestions2').hide();", 200);
	}

 function clearMe(formfield){
  if (formfield.defaultValue==formfield.value)
   formfield.value = ""
 }
 
  function doClear(theText) {
     if (theText.value == theText.defaultValue) {
         theText.value = ""
     }
 }
 
