function showlastitem(sender,e)
{

    var comletionList=$find('AutoCompleteEx').get_completionList();
    var noOfElements=comletionList.childNodes.length;
    for(i=0;i<comletionList.childNodes.length;i++)
    {   
        var _value=comletionList.childNodes[i]._value;       
        var text=_value[0];
        var moreText=_value[1];
        var imgeUrl= _value[2];
        comletionList.childNodes[i]._value=text;
        comletionList.childNodes[i].innerHTML=_value;
        if ( noOfElements==i+1 && noOfElements>11 ) {
           // comletionList.childNodes[i].innerHTML='<font color=red>'+_value+'</font>';
           
           comletionList.childNodes[i].innerHTML='<span id = moreResults >'+_value+'</span>';
           
        }
        else
        (
            comletionList.childNodes[i].innerHTML='<font color=#003366>'+_value+'</font>'
            
        
        )

    }
   
}



function selectValue(source,e)
{
if(e._item.innerText)
   source.get_element().value = e._item.innerText;
  else
  source.get_element().value = e._item.textContent;

}










   

