//<!--
//1@@m3

function queryFocus()
{if(document.ucsearch&&document.ucsearch.satitle)
{document.ucsearch.satitle.focus();}}
function init()
{if(typeof cmdName=='undefined'||!cmdName||(cmdName!='TopReviewers'))
queryFocus();var oCJ=ebay.oDocument.oCookieJar;if(oCJ.readCookielet("ebay","js")!="1")oCJ.setOptimizationCookie();}

//2@@m2

URIBuilder=function(uri){this.uri=this.decode(uri);this.params=new Array();var match=this.uri.match("(([^:]*)://([^:/]*)(:([0-9]+))?)?([^?#]*)([?]([^#]*))?(#(.*))?");if(match==null)return;this.protocol=(match.length>2)?match[2]:"";this.host=(match.length>3)?match[3]:"";this.port=(match.length>5)?match[5]:"";this.href=(match.length>6)?match[6]:"";var query=(match.length>8)?match[8]:"";var isapi=this.href.match(/eBayISAPI.dll/i);if(isapi)this.parseIsapi(query);else this.parseQuery(query);this.fragment=(match.length>10)?match[10]:"";};URIBuilder.prototype.protocol="";URIBuilder.prototype.host="";URIBuilder.prototype.port="";URIBuilder.prototype.href="";URIBuilder.prototype.query="";URIBuilder.prototype.fragment="";URIBuilder.prototype.parseQuery=function(query){var pairs=(query)?query.split("&"):new Array();for(var pdx=0;(pdx<pairs.length);pdx++)this.parseParam(pairs[pdx]);};URIBuilder.prototype.parseIsapi=function(query){var pairs=(query)?query.split("&"):new Array();this.href=this.href.concat("?",(pairs.length>0)?pairs[0]:"");for(var pdx=1;(pdx<pairs.length);pdx++)this.parseParam(pairs[pdx]);};URIBuilder.prototype.parseParam=function(param){var pair=param.split("=");var name=pair[0];var param=(this.params[name]!=null)?this.params[name]:(this.params[name]=new Array());param[param.length]=decodeURIComponent((pair.length>1)?pair[1]:"");};URIBuilder.prototype.decode=function(uri){this.encoded=uri.match(/QQ/);if(this.encoded==null)return uri;uri=uri.replace(/QQ/,"?").replace(/QQ/g,"&");return uri.replace(/Z/g,"=");};URIBuilder.prototype.encode=function(uri){uri=uri.replace(/\?/,"QQ").replace(/&/g,"QQ");return uri.replace(/=/g,"Z");};URIBuilder.prototype.appendParam=function(name,value){var params=this.params;var param=(params[name]!=null)?params[name]:(params[name]=new Array());param.push(value);};URIBuilder.prototype.toString=function(encode){var uri=(this.protocol)?this.protocol.concat("://"):"";if(this.host)uri=uri.concat(this.host);if(this.port)uri=uri.concat(":",this.port);if(this.href)uri=uri.concat(this.href);var query="";for(var name in this.params){var param=this.params[name];for(var idx=0;(idx<param.length);idx++){query=param[idx]?query.concat("&",name,"=",encodeURIComponent(param[idx])):query.concat("&",name);}}
if(uri.match("[?]"))uri=uri.concat(query);else if(query=query.substring(1))uri=uri.concat("?",query);if(this.fragment)uri=uri.concat("#",this.fragment);encode=(encode!=null)?encode:this.encoded;return this.uri=(encode)?this.encode(uri):uri;};

//3@@m2

function onSearch()
{var form=document.forms["ucsearch"];if(form!=null)
form.submit();return false;}
function onUCSearchGoToPage(){var form=document.forms["rpaging"];this.config=ebay.oDocument.getConfig("UCSearchGoTo");if(this.config==null){return false;}
var page=form.elements[this.config.onUCSearchGoToPage.name];if((page==null)||isNaN(page.value))
return false;var uri=new URIBuilder(this.config.onUCSearchGoToPage.url);uri.appendParam(page.name,page.value);document.location.href=uri.toString();return false;};
// b=10790584 -->
