function numbersonly(e)
{var unicode=e.charCode?e.charCode:e.keyCode
if(unicode!=8){if(unicode<48||unicode>57)
return false}}
function fnTrapKD(btn,event){if(document.all){if(event.keyCode==13){event.returnValue=false;event.cancel=true;btn.click();}}
else if(document.getElementById){if(event.which==13){event.returnValue=false;event.cancel=true;btn.click();}}
else if(document.layers){if(event.which==13){event.returnValue=false;event.cancel=true;btn.click();}}}
var state='hidden';function showhide(layer_ref){if(state=='block')
{state='hidden';document.getElementById('imgexpand').src='/images/icon_expand.gif';var onclickhide=$find("HideEdentityAnimation").get_OnClickBehavior().get_animation();onclickhide.play();}
else
{state='block';document.getElementById('imgexpand').src='/images/icon_collapse.gif';var onclick=$find("ShowEdentityAnimation").get_OnClickBehavior().get_animation();onclick.play();}}
function onUpdating(){var updateProgressDiv=$get('updateProgressDiv');updateProgressDiv.style.display='';var topScroll=Math.max(document.body.scrollTop,document.documentElement.scrollTop);updateProgressDiv.style.marginLeft="-"+parseInt(updateProgressDiv.offsetWidth/2)+"px";updateProgressDiv.style.marginTop=topScroll+"px";}
function onUpdated(){var updateProgressDiv=$get('updateProgressDiv');updateProgressDiv.style.display='none';}
function doPaging(pageNo)
{ var txtBox = $get('txtPageNo'); txtBox.value = pageNo; var searchBut = $get('ebaySearch'); searchBut.click(); }

